:root {
  /* Compact phone rhythm; families retain their own surfaces and framing. */
  --nemely-phone-section-space: 44px;
  --nemely-phone-stack-gap: 24px;
  --nemely-phone-photo-height: 220px;
  --nemely-phone-hero-photo-height: 200px;
  /* Brand colors. Add or change brand colors here, never in a page file. */
  --nemely-color-navy: #333366;
  --nemely-color-navy-dark: #171c3e;
  --nemely-color-ink: #24364c;
  --nemely-color-orange: #fe7400;
  --nemely-color-orange-hover: #e96800;
  --nemely-color-paper: #f6f2ea;
  --nemely-color-white: #ffffff;
  --nemely-color-border: #e3e3e6;
  --nemely-color-orange-soft: #fff1e5;
  --nemely-editorial-photo-film: color-mix(in srgb, var(--nemely-color-orange-soft) 76%, var(--nemely-color-orange));
  --nemely-editorial-photo-film-opacity: .24;
  --nemely-surface-contact-warm: #ffe9d8;
  --nemely-color-control-soft: #f3f0ec;
  --nemely-color-overlay: rgba(23, 28, 62, 0.24);
  /* Warm editorial surfaces used by the shared Insights mosaic. */
  --nemely-color-warm-paper: #fffcf7;
  --nemely-color-ivory: #f6f2ea;
  --nemely-color-stone: #d8d0c6;
  --nemely-color-editorial-navy: #333366;
  --nemely-color-editorial-ink: #202033;
  --nemely-color-muted-ink: #656572;
  --nemely-color-orange-ink: #ac4900;
  /* Approved brand orange for highlighted headings, including every hero. */
  --nemely-color-orange-heading: var(--nemely-color-orange);
  --nemely-color-white-line: rgba(255, 255, 255, .35);
  --nemely-color-navy-line: rgba(32, 32, 51, .24);
  --nemely-color-footer-line: rgba(51, 51, 102, .16);
  --nemely-color-navy-panel: #2a2a56;
  --nemely-color-on-dark-muted: #d2d2df;
  --nemely-color-on-dark-accent: #ffad6b;
  --nemely-surface-blue-hover: color-mix(in srgb, var(--nemely-color-navy) 92%, var(--nemely-color-white));
  /* Softly lit, raised panels on navy surfaces; no backdrop blur required. */
  --nemely-surface-raised-dark: linear-gradient(135deg, color-mix(in srgb, var(--nemely-color-navy) 86%, var(--nemely-color-white)), var(--nemely-color-navy-panel));
  --nemely-shadow-raised-dark: 0 24px 56px color-mix(in srgb, var(--nemely-color-navy-dark) 65%, transparent), 0 0 58px -14px color-mix(in srgb, var(--nemely-color-on-dark-accent) 24%, transparent), inset 0 1px 0 color-mix(in srgb, var(--nemely-color-white) 14%, transparent);
  --nemely-shadow-photo: 0 24px 60px rgba(32, 32, 51, .18);
  --nemely-gradient-photo: linear-gradient(180deg, transparent 55%, rgba(32, 32, 51, .16));
  --nemely-surface-page: var(--nemely-color-ivory);
  --nemely-surface-section: var(--nemely-color-warm-paper);
  --nemely-surface-insight-card: color-mix(in srgb, var(--nemely-color-ivory) 94%, var(--nemely-color-orange));
  --nemely-surface-contact: var(--nemely-color-editorial-navy);
  --nemely-surface-footer: var(--nemely-color-ivory);
  --nemely-gradient-editorial: linear-gradient(to top, #202044 0%, rgba(32, 32, 68, .78) 28%, rgba(32, 32, 68, .12) 70%, transparent);

  /* Typography and layout shared by custom page types. */
  --nemely-font-body: Poppins, Arial, sans-serif;
  --nemely-font-editorial: 'Avenir Next', Avenir, 'Helvetica Neue', Arial, sans-serif;
  --nemely-editorial-width: 1380px;
  /* Shared gutters and rhythm for the prospect contact, Insights and footer. */
  --nemely-ending-gutter: 48px;
  --nemely-ending-space: clamp(44px, 5vw, 72px);
  --nemely-ending-overlap: 44px;
  --nemely-ending-radius: 48px;
  --nemely-ending-heading-size: clamp(2rem, 3.3vw, 3.5rem);
  /* Compact portrait invitation, without changing the Insights/footer rhythm. */
  --nemely-contact-content-width: 920px;
  --nemely-contact-portrait-width: 280px;
  --nemely-portrait-mobile-width: 220px;
  --nemely-portrait-mobile-inset: 16px;
  --nemely-portrait-mobile-gap: 22px;
  --nemely-portrait-mobile-ratio: 1;
  --nemely-portrait-mobile-position: 50% 30%;
  --nemely-portrait-mobile-space: 28px;
  --nemely-contact-space: clamp(36px, 3.5vw, 48px);
  --nemely-radius-editorial: 26px;
  --nemely-heading-weight: 600;
  --nemely-heading-hero-size: clamp(3.6rem,5.9vw,6.35rem);
  --nemely-heading-display-size: clamp(2.75rem,4.7vw,5.15rem);
  /* Article titles follow their text column, not the full viewport. */
  --nemely-article-title-display-size: clamp(2.125rem, 12cqi, 5.25rem);
  --nemely-article-title-standard-size: clamp(2rem, 11cqi, 4.5rem);
  --nemely-article-title-compact-size: clamp(1.875rem, 9.5cqi, 3.75rem);
  --nemely-editorial-title-leading: 1.06;
  --nemely-editorial-title-tracking: -.05em;
  --nemely-insight-feature-title-size: clamp(1.75rem, 11cqi, 4rem);
  --nemely-insight-feature-title-standard-size: clamp(1.75rem, 9cqi, 3.25rem);
  --nemely-insight-feature-title-compact-size: clamp(1.5rem, 10cqi, 3.25rem);
  --nemely-insight-card-title-size: clamp(1.5rem, 2vw, 1.875rem);
  --nemely-insight-card-title-compact-size: clamp(1.375rem, 1.7vw, 1.625rem);
  --nemely-insight-card-title-leading: 1.14;
  /* The same readable FAQ scale across Solutions, Services and Products. */
  --nemely-faq-heading-size: clamp(2rem, 3.4vw, 2.75rem);
  --nemely-faq-section-space: clamp(56px, 6vw, 85px);
  --nemely-faq-column-gap: clamp(32px, 5vw, 72px);
  --nemely-faq-question-size: 22px;
  --nemely-faq-question-weight: var(--nemely-heading-weight);
  --nemely-faq-question-leading: 1.4;
  --nemely-faq-question-tracking: -.025em;
  --nemely-faq-answer-size: 16px;
  --nemely-faq-answer-leading: 1.7;
  --nemely-faq-row-space: 22px;
  --nemely-faq-answer-gap: 16px;
  --nemely-faq-control-gap: 20px;
  --nemely-action-radius: 999px;
  --nemely-action-height: 56px;
  --nemely-action-padding: 14px 27px;
  --nemely-action-gap: 14px;
  --nemely-action-weight: 700;
  --nemely-content-width: 1180px;
  --nemely-page-gutter: 48px;
  --nemely-page-gutter-mobile: 34px;
  --nemely-section-space: 120px;
  --nemely-section-space-mobile: 78px;
  --nemely-sticky-nav-height: 72px;
  --nemely-section-bar-height: 64px;
  --nemely-radius-control: 7px;
  --nemely-radius-panel: 8px;
  --nemely-shadow-soft: 0 18px 45px rgba(23, 28, 62, 0.12);
  --nemely-disclosure-open-duration: 320ms;
  --nemely-disclosure-close-duration: 240ms;
  --nemely-disclosure-easing: cubic-bezier(.22, 1, .36, 1);
  --nemely-mobile-menu-width: 430px;
  --nemely-mobile-menu-gutter: 24px;
  --nemely-mobile-menu-row-height: 84px;
  --nemely-header-height: 92px;
  --nemely-header-height-mobile: 84px;
  --nemely-sticky-header-offset: var(--nemely-header-height);
  --nemely-navigation-width: 1440px;
  --nemely-surface-navigation: var(--nemely-surface-page);
  --nemely-surface-navigation-glass: color-mix(in srgb, var(--nemely-surface-navigation) 86%, transparent);
  --nemely-navigation-backdrop: blur(16px);
  --nemely-navigation-label-size: 17px;
  --nemely-navigation-link-size: 15px;
  --nemely-navigation-group-size: 14px;
  --nemely-navigation-mobile-label-size: 23px;
  --nemely-navigation-brand-duration: 420ms;
  --nemely-navigation-brand-easing: cubic-bezier(.22, 1, .36, 1);
  /* The approved lockup reserves its left quarter for the orange symbol. */
  --nemely-navigation-brand-symbol-share: 25%;
  --nemely-surface-login: var(--nemely-color-navy);
  --nemely-surface-login-hover: var(--nemely-color-navy-dark);
  --nemely-surface-navigation-feature: var(--nemely-color-warm-paper);
  --nemely-radius-navigation: 16px;
  --nemely-shadow-navigation: 0 22px 50px rgba(23, 28, 62, 0.16);
}

@media (max-width: 1279px) {
  :root {
    --nemely-sticky-header-offset: var(--nemely-header-height-mobile);
  }
}

@media (max-width: 639px) {
  :root { --nemely-sticky-header-offset: var(--nemely-header-height-mobile); }
}

@media (max-width: 760px) {
  :root {
    --nemely-faq-question-size: 20px;
    --nemely-faq-row-space: 20px;
    --nemely-ending-gutter: 24px;
    --nemely-ending-overlap: 28px;
    --nemely-ending-radius: 32px;
    --nemely-contact-portrait-width: var(--nemely-portrait-mobile-width);
  }
}
