/* ==========================================================================
   NexGen Data Partners — global stylesheet (design system)
   Mobile-first. No frameworks. Tokens from Build Brief Section 4.
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --bg: #070B16;
  --bg-2: #0B1224;
  --surface: #111A30;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #F3F6F8;
  --muted: #9AA4B2;
  --accent: #2EC4A8;
  --accent-deep: #0E8A76;
  --accent-soft: #8BE8D6;
  --notice: #F2B84B;
  --on-accent: #04110E;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --header-h: 64px;
}

/* 2. RESET ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-soft); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
summary { cursor: pointer; }
[hidden] { display: none !important; }

@media (min-width: 900px) { body { font-size: 18px; } }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--accent); color: var(--on-accent); padding: 12px 20px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--on-accent); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 3. LAYOUT ---------------------------------------------------------------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 900px) { .container { padding-inline: 32px; } }
.section { position: relative; padding-block: 64px; }
.section--alt { background: var(--bg-2); }
@media (min-width: 900px) { .section { padding-block: 112px; } }
.measure { max-width: 68ch; }
.stack > * + * { margin-top: var(--s-5); }
.section-head { max-width: 760px; margin-bottom: var(--s-7); }
.section-head .eyebrow { margin-bottom: var(--s-4); }
.section-head p { margin-top: var(--s-4); color: var(--muted); }

/* Grid texture: lines every 52px, faded toward the edges */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%); }

/* 4. TYPE ------------------------------------------------------------------ */
h1, h2, .display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 7vw, 84px); line-height: 1.02; overflow-wrap: break-word; }
h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 20px; line-height: 1.3; }
.hl { color: var(--accent-soft); font-style: italic; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.eyebrow--muted { color: var(--muted); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 62ch; }
.small { font-size: 14px; color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* 5. BUTTONS & LINKS ------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--r-sm); border: 1px solid transparent; font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center; transition: box-shadow .2s, background-color .2s, border-color .2s, transform .2s; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 1px var(--accent), 0 8px 32px rgba(46, 196, 168, 0.28); }
.btn--primary:active { background: var(--accent-deep); color: #fff; }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--accent); color: var(--accent-soft); }
.btn--l { min-height: 56px; padding: 16px 32px; font-size: 17px; }
.btn--s { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }

/* 6. ANNOUNCEMENT BAR ------------------------------------------------------ */
.announcement { position: relative; background: var(--surface); border-bottom: 1px solid var(--line); }
.announcement__inner { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 52px 0 20px; text-align: center; }
.announcement a { position: relative; display: inline-flex; align-items: center; min-height: 40px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink); text-decoration: none; line-height: 1.5; }
.announcement a::after { content: ""; position: absolute; inset: -2px 0; } /* 44px hit area on a 40px bar */
.announcement a span { color: var(--accent); }
@media (max-width: 699px) { .announcement a { flex-direction: column; justify-content: center; padding-block: 6px; } .announcement a span { display: block; } .announcement__long { display: block; } }
.announcement a:hover { color: var(--accent-soft); }
.announcement__close { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--muted); border-radius: var(--r-sm); }
.announcement__close:hover { color: var(--ink); }
@media (min-width: 900px) { .announcement a { font-size: 13px; letter-spacing: 0.08em; } }

/* 7. HEADER + MENU --------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7, 11, 22, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; min-height: 44px; }
.logo:hover { color: var(--ink); }
.logo svg { height: 38px; width: auto; }
.logo__name { font-family: var(--font-body); font-weight: 700; font-size: 22px; fill: currentColor; }
.logo__sub { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.26em; fill: var(--muted); }
.nav { display: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__cta-long { display: none; }
.menu-toggle { min-height: 44px; min-width: 44px; padding: 0 16px; background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.menu-toggle:hover { border-color: var(--accent); }
@media (min-width: 900px) {
  .nav { display: flex; gap: 14px; }
  .nav a { font-size: 14px; }
  .menu-toggle { display: none; }
  .logo svg { height: 34px; }
}
@media (min-width: 1120px) {
  .nav { gap: 22px; } .nav a { font-size: 15px; }
  .site-header__cta-short { display: none; }
  .site-header__cta-long { display: inline; }
  .logo svg { height: 38px; }
}

.menu-overlay { position: fixed; inset: 0; z-index: 200; display: none; flex-direction: column; background: var(--bg); padding: 0 20px 32px; overflow-y: auto; }
.menu-overlay.is-open { display: flex; }
.menu-overlay__bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.menu-overlay nav ul { margin-top: var(--s-5); }
.menu-overlay nav a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 32px; color: var(--ink); text-decoration: none; }
.menu-overlay nav a[aria-current="page"] { color: var(--accent-soft); font-style: italic; }
.menu-overlay .btn { margin-top: var(--s-6); }
body.menu-open { overflow: hidden; }

/* 8. HERO ------------------------------------------------------------------ */
.hero { padding-block: 56px 64px; overflow: hidden; }
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
.hero h1 { margin-top: var(--s-4); font-size: clamp(40px, 5.4vw, 76px); }
.nb { white-space: nowrap; }
.hero .lead { margin-top: var(--s-5); }
.hero .btn-row { margin-top: var(--s-6); }
.hero__fine { margin-top: var(--s-5); font-size: 14px; color: var(--muted); max-width: 52ch; }
.hero__art { display: none; }
@media (min-width: 900px) {
  .hero { padding-block: 96px 112px; }
  .hero__grid { grid-template-columns: 1.25fr 1fr; gap: var(--s-8); }
  .hero__art { display: block; }
}
.stack-art { width: 100%; height: auto; overflow: visible; }
.stack-art .layer { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; }
.stack-art .layer--dim { stroke: rgba(255, 255, 255, 0.16); }
.stack-art .layer--top { stroke: var(--accent); fill: rgba(46, 196, 168, 0.07); stroke-width: 1.4; }
.stack-art .node { fill: var(--accent); }
.stack-art .node--hollow { fill: var(--bg); stroke: rgba(255, 255, 255, 0.4); stroke-width: 1; }
.stack-art .drop { stroke: rgba(46, 196, 168, 0.4); stroke-dasharray: 3 5; fill: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s-6); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(17, 26, 48, 0.6); font-size: 14px; color: var(--ink); line-height: 1.3; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* 9. VALUE BAND ------------------------------------------------------------ */
.value-band { background: var(--bg-2); border-block: 1px solid var(--line); padding-block: 56px; }
.value-band__grid { display: grid; gap: var(--s-5); align-items: center; }
.value-band__number { font-family: var(--font-display); font-size: clamp(56px, 13vw, 168px); line-height: 0.95; letter-spacing: -0.02em; color: var(--accent); overflow-wrap: anywhere; }
.value-band__copy { color: var(--muted); max-width: 52ch; }
.value-band__copy strong { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .value-band { padding-block: 80px; } .value-band__grid { grid-template-columns: auto 1fr; gap: var(--s-8); } }

/* 10. CARDS ---------------------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-6); }
@media (min-width: 900px) { .card { border-radius: var(--r-lg); padding: var(--s-7); } }
.card h3 { margin-bottom: var(--s-3); }
.card p { color: var(--muted); }
.card .eyebrow { display: block; margin-bottom: var(--s-4); }
.card .link-arrow { margin-top: var(--s-4); }
.cards-2 { display: grid; gap: var(--s-5); }
.cards-4 { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards-2 { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
@media (min-width: 1100px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.card--path { display: flex; flex-direction: column; }
.card--path .card__lead { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; color: var(--ink); margin-bottom: var(--s-4); }
.card--path .link-arrow { margin-top: auto; padding-top: var(--s-4); }
.card--icon .icon { width: 40px; height: 40px; margin-bottom: var(--s-4); color: var(--accent); }

/* 11. STEPS ---------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.steps__num { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; color: var(--accent); padding-top: 6px; }
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--muted); max-width: 60ch; }
@media (min-width: 900px) {
  .steps li { grid-template-columns: 88px 1fr; padding-block: var(--s-6); }
  .steps h3 { font-size: 22px; margin-bottom: 8px; }
}

/* 12. DATA-FLOW DIAGRAM ---------------------------------------------------- */
.flow { display: grid; gap: var(--s-5); }
.flow__path { display: grid; gap: 0; align-items: stretch; }
.flow__node { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: var(--s-5); text-align: center; }
.flow__node .eyebrow { display: block; margin-bottom: 6px; }
.flow__node strong { font-weight: 600; font-size: 18px; line-height: 1.3; display: block; }
.flow__node--buyer { border-color: rgba(46, 196, 168, 0.5); }
.flow__arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: var(--s-4) 0; color: var(--accent); }
.flow__arrow span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.flow__arrow svg { width: 24px; height: 40px; }
.flow__arrow .arrow-h { display: none; }
.flow__side { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; padding: var(--s-4) var(--s-5); border: 1px dashed rgba(46, 196, 168, 0.5); border-radius: var(--r-md); color: var(--muted); }
.flow__side strong { color: var(--ink); font-weight: 600; }
.flow__side .eyebrow { color: var(--accent); }
.flow__caption { color: var(--muted); max-width: 62ch; margin-top: var(--s-5); }
@media (min-width: 900px) {
  .flow__path { grid-template-columns: 1fr 180px 1fr; }
  .flow__arrow { padding: 0 var(--s-3); }
  .flow__arrow .arrow-v { display: none; }
  .flow__arrow .arrow-h { display: block; width: 100%; height: 24px; }
  .flow__node { display: flex; flex-direction: column; justify-content: center; padding: var(--s-6); }
  .flow__side { max-width: 460px; margin-inline: auto; position: relative; }
  .flow__side::before { content: ""; position: absolute; top: -24px; left: 50%; height: 24px; border-left: 1px dashed rgba(46, 196, 168, 0.5); }
}

/* 13. SPEC TABLE ----------------------------------------------------------- */
.spec-table { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child > * { border-bottom: 0; }
.spec-table thead th { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 400; background: rgba(255, 255, 255, 0.02); }
.spec-table tbody th { font-weight: 500; color: var(--muted); width: 38%; font-size: 16px; }
.spec-table td { color: var(--ink); font-size: 16px; }
@media (min-width: 900px) { .spec-table th, .spec-table td { padding: 20px 28px; } .spec-table tbody th, .spec-table td { font-size: 17px; } }

/* 14. NOTICE + CTA BAND ---------------------------------------------------- */
.notice { border: 1px solid rgba(242, 184, 75, 0.35); border-left: 4px solid var(--notice); background: rgba(242, 184, 75, 0.06); border-radius: var(--r-sm); padding: 16px 20px; color: var(--ink); font-size: 16px; }
.notice strong { color: var(--notice); font-weight: 600; }
.cta-band { padding-block: 72px; border-block: 1px solid var(--line); background: var(--bg-2); }
.cta-band__inner { display: grid; gap: var(--s-6); }
.cta-band h2 { margin-top: var(--s-3); }
.cta-band p { color: var(--muted); max-width: 58ch; margin-top: var(--s-4); }
.cta-band .btn-row { align-self: center; }
@media (min-width: 900px) { .cta-band { padding-block: 104px; } .cta-band__inner { grid-template-columns: 1.4fr 1fr; align-items: center; gap: var(--s-8); } .cta-band--center .cta-band__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; } .cta-band--center .btn-row { justify-content: center; } }
.cta-band--center .cta-band__inner { text-align: center; justify-items: center; }
.cta-band--center .btn-row { justify-content: center; }

/* 15. FAQ ------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 64px; padding-block: 16px; font-weight: 500; font-size: 18px; line-height: 1.35; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-family: var(--font-mono); font-size: 18px; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 24px; color: var(--muted); max-width: 68ch; }

/* 16. FOOTER --------------------------------------------------------------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: 64px 40px; font-size: 15px; }
.site-footer__grid { display: grid; gap: var(--s-7); }
.site-footer h2 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-3); }
.site-footer ul li a, .site-footer address a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.site-footer ul li a:hover, .site-footer address a:hover { color: var(--accent-soft); }
.site-footer address { font-style: normal; color: var(--muted); }
.site-footer address a { color: var(--accent); }
.site-footer__about { color: var(--muted); max-width: 40ch; margin-top: var(--s-4); }
.site-footer__legal { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); display: grid; gap: var(--s-4); }
.site-footer__disclaimer { color: var(--muted); font-size: 14px; max-width: 90ch; }
.site-footer__copy { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* 17. FORMS (scoped to .nxg-form; used with Fluent Forms / WPForms) -------- */
.nxg-form label, .nxg-form .ff-el-input--label label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 16px; color: var(--ink); }
.nxg-form .ff-el-is-required.asterisk-right label::after { color: var(--accent); content: " *"; }
.nxg-form input[type="text"], .nxg-form input[type="email"], .nxg-form input[type="tel"], .nxg-form input[type="url"], .nxg-form select, .nxg-form textarea { width: 100%; min-height: 48px; padding: 12px 16px; background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-size: 16px; }
.nxg-form textarea { min-height: 140px; resize: vertical; }
.nxg-form ::placeholder { color: var(--muted); opacity: 1; }
.nxg-form input:focus, .nxg-form select:focus, .nxg-form textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.nxg-form .ff-el-is-error input, .nxg-form .ff-el-is-error select, .nxg-form .ff-el-is-error textarea { border-color: #FF8A80; }
.nxg-form .error, .nxg-form .text-danger { color: #FFB4AB; font-size: 14px; margin-top: 6px; }
.nxg-form input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--accent); margin-right: 10px; vertical-align: middle; }
.nxg-form button[type="submit"], .nxg-form .ff-btn-submit { width: 100%; min-height: 56px; background: var(--accent); color: var(--on-accent); border: 0; border-radius: var(--r-sm); font-weight: 600; font-size: 17px; }
.nxg-form button[type="submit"]:hover, .nxg-form .ff-btn-submit:hover { box-shadow: 0 8px 32px rgba(46, 196, 168, 0.28); }

/* 18. MOTION --------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
/* No-JS: never hide content */
.no-js .reveal { opacity: 1; transform: none; }

/* helpers added after QA */
.announcement .ann-dot { font-style: normal; white-space: pre; }
@media (max-width: 699px) { .announcement .ann-dot { display: none; } }


/* ==========================================================================
   Design pass 2: editorial split layout, less template chrome
   ========================================================================== */
.split { display: grid; gap: var(--s-6); }
.split__head h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; }
.split__head p { margin-top: var(--s-4); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: var(--s-9); align-items: start; }
  .split__head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Two paths: one panel, one dividing line (not two identical cards) */
.paths__title { margin-bottom: var(--s-6); font-size: clamp(32px, 4vw, 52px); }
.paths { display: grid; border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden; }
.paths__item { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); padding: var(--s-6); }
.paths__item p { color: var(--muted); }
.paths__item .btn { margin-top: auto; }
.paths__item--alt { background: var(--surface); border-top: 1px solid var(--line-strong); }
.paths__who { font-family: var(--font-mono); font-weight: 400; font-size: 13px; letter-spacing: 0.04em; color: var(--accent); }
.paths__lead { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; color: var(--ink) !important; max-width: 20ch; }
@media (min-width: 900px) {
  .paths { grid-template-columns: 1fr 1fr; }
  .paths__item { padding: var(--s-8); min-height: 440px; }
  .paths__item--alt { border-top: 0; border-left: 1px solid var(--line-strong); }
}

/* Definition rows (data types) */
.rows { border-top: 1px solid var(--line-strong); }
.rows > div { display: grid; gap: 4px; padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.rows dt { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.rows dd { color: var(--muted); max-width: 52ch; }
@media (min-width: 700px) { .rows > div { grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: baseline; } }

/* Facts (compliance): plain text blocks on a top rule, no cards or icons */
.facts { display: grid; gap: var(--s-6) var(--s-7); }
.facts > div { border-top: 1px solid var(--line-strong); padding-top: var(--s-4); }
.facts h3 { margin-bottom: 8px; }
.facts p { color: var(--muted); }
@media (min-width: 700px) { .facts { grid-template-columns: 1fr 1fr; } }

/* Data flow: quieter labels */
.flow__title { margin-bottom: var(--s-7); max-width: 18ch; }
.flow__tag { display: block; margin-bottom: 6px; font-size: 14px; color: var(--muted); }
.flow__side strong { font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.flow__arrow span { text-transform: none; letter-spacing: 0.02em; font-size: 13px; }

/* About teaser: plain heading block */
.section-head--plain { margin-bottom: 0; }

/* One orchestrated moment: hero loads in, the data stack settles. Nothing else animates on load. */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-in] { animation: nxg-in .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 90ms); }
  .stack-art .layer, .stack-art .drop, .stack-art .node, .stack-art .node--hollow { animation: nxg-settle 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .stack-art .layer:nth-of-type(1) { --lift: -150px; animation-delay: .1s; }
  .stack-art .layer:nth-of-type(2) { --lift: -110px; animation-delay: .15s; }
  .stack-art .layer:nth-of-type(3) { --lift: -70px; animation-delay: .2s; }
  .stack-art .layer:nth-of-type(4), .stack-art .layer:nth-of-type(5) { --lift: 0px; animation-name: nxg-fade; }
  .stack-art .drop, .stack-art .node, .stack-art .node--hollow, .stack-art .labels { animation: nxg-fade .8s ease both; animation-delay: .9s; }
}
@keyframes nxg-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes nxg-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nxg-settle { from { opacity: 0; transform: translateY(var(--lift, 0)); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Design pass 3: crafted details + inner-page components
   ========================================================================== */
h1, h2, h3 { text-wrap: balance; }
p, dd, li, figcaption { text-wrap: pretty; }

/* Items still waiting on the client. Visible on purpose; remove at launch. */
.placeholder { display: inline-block; padding: 2px 10px; border: 1px dashed var(--notice); border-radius: 6px; color: var(--notice); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; line-height: 1.6; vertical-align: baseline; }
.placeholder-block { margin-top: var(--s-4); }

/* Inner page hero */
.page-hero { padding-block: 56px 56px; overflow: hidden; }
.page-hero h1 { font-size: clamp(38px, 5.2vw, 68px); max-width: 16ch; margin-top: var(--s-4); }
.page-hero .lead { margin-top: var(--s-5); }
.page-hero .btn-row { margin-top: var(--s-6); }
.page-hero__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) { .page-hero { padding-block: 88px 80px; } .page-hero__grid--split { grid-template-columns: 1.3fr 1fr; gap: var(--s-8); } }

/* Hero stack with labelled layers */
.stack-art text { font-family: var(--font-body); font-size: 15px; fill: var(--ink); }
.stack-art .label-line { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; fill: none; }
.stack-art .label-top { fill: var(--accent-soft); }
.stack-art .cap { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; fill: var(--muted); }

/* Chips as a plain list under a heading */
.chips--tight { margin-top: 0; }

/* What you keep: sentence list + pull statement */
.keep { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.keep li { padding-block: var(--s-4); border-bottom: 1px solid var(--line); font-size: 19px; display: flex; gap: 14px; align-items: baseline; }
.keep li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg) translateY(-1px); }
.pull { margin-top: var(--s-6); font-family: var(--font-display); font-style: italic; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; padding-left: var(--s-5); border-left: 3px solid var(--accent); max-width: 30ch; }

/* Can / cannot lists */
.cancan { display: grid; gap: var(--s-6); }
.cancan__col { border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: var(--s-6); background: var(--surface); }
.cancan__col h3 { margin-bottom: var(--s-4); font-size: 22px; font-family: var(--font-display); font-weight: 400; }
.cancan__col li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding-block: 10px; border-top: 1px solid var(--line); color: var(--ink); font-size: 16px; line-height: 1.5; }
.cancan__col li:first-of-type { border-top: 0; }
.cancan__col svg { width: 20px; height: 20px; margin-top: 3px; }
.cancan__col--yes svg { color: var(--accent); }
.cancan__col--no svg { color: #FF8A80; }
@media (min-width: 900px) { .cancan { grid-template-columns: 1fr 1fr; } .cancan__col { padding: var(--s-7); } }

/* Redaction illustration */
.redact { display: grid; gap: var(--s-4); }
.redact__pane { border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: var(--s-5); background: var(--surface); }
.redact__pane h3 { font-size: 15px; font-family: var(--font-mono); font-weight: 400; color: var(--muted); margin-bottom: var(--s-4); }
.redact__pane--out { border-color: rgba(46, 196, 168, 0.45); }
.redact__pane--out h3 { color: var(--accent); }
.redact dl { display: grid; gap: 0; font-family: var(--font-mono); font-size: 14px; }
.redact dl > div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding-block: 9px; border-top: 1px dashed var(--line); }
.redact dl > div:first-child { border-top: 0; }
.redact dt { color: var(--muted); }
.redact dd { color: var(--ink); }
.redact .bar { display: inline-block; height: 1em; width: 7em; background: var(--ink); border-radius: 2px; vertical-align: -0.15em; }
.redact .bar--s { width: 4em; } .redact .bar--l { width: 9em; }
.redact__note { margin-top: var(--s-4); }
@media (min-width: 900px) { .redact { grid-template-columns: 1fr 1fr; gap: var(--s-6); } .redact__pane { padding: var(--s-6); } }

/* Fit check */
.fit { border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface); padding: var(--s-6); }
.fit__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: baseline; margin-bottom: var(--s-4); }
.fit__count { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.fit fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: var(--s-4) 0; min-width: 0; }
.fit legend { padding: 0; float: left; width: 100%; font-size: 18px; margin-bottom: var(--s-3); }
.fit fieldset > div { clear: both; display: flex; gap: 10px; }
.fit label { position: relative; }
.fit input { position: absolute; opacity: 0; inset: 0; }
.fit label span { display: inline-flex; align-items: center; justify-content: center; min-width: 76px; min-height: 44px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-weight: 500; cursor: pointer; }
.fit input:checked + span { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.fit input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.fit__result { margin-top: var(--s-4); padding: var(--s-4) var(--s-5); border-left: 3px solid var(--accent); background: rgba(46, 196, 168, 0.08); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-weight: 500; }
.fit__foot { margin-top: var(--s-4); }
@media (min-width: 900px) { .fit { padding: var(--s-7); } }

/* Steps with margin notes (who does it / what can slow it) */
.steps__meta { margin-top: var(--s-3); display: grid; gap: 4px; font-size: 15px; color: var(--muted); }
.steps__meta b { font-weight: 500; color: var(--ink); }
.steps__slow { font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--accent-soft); padding-left: var(--s-4); border-left: 2px solid rgba(139, 232, 214, 0.4); }
.steps__slow b { font-family: var(--font-body); font-style: normal; font-weight: 500; font-size: 14px; color: var(--muted); margin-right: 6px; }

/* Ledger: who signs what */
.ledger { border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.ledger > div { display: grid; gap: 4px; padding: var(--s-4) var(--s-5); border-top: 1px solid var(--line); }
.ledger > div:first-child { border-top: 0; }
.ledger__who { font-weight: 600; }
.ledger__what { color: var(--muted); }
.ledger__status { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
@media (min-width: 900px) { .ledger > div { grid-template-columns: 260px 1fr 220px; gap: var(--s-6); align-items: baseline; padding: var(--s-5) var(--s-6); } .ledger__status { text-align: right; } }

/* Checklist (before you sign) */
.checks { display: grid; gap: var(--s-4); counter-reset: none; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-block: var(--s-4); border-top: 1px solid var(--line-strong); }
.checks svg { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.checks h3 { font-size: 18px; margin-bottom: 4px; }
.checks p { color: var(--muted); }
@media (min-width: 900px) { .checks { grid-template-columns: 1fr 1fr; column-gap: var(--s-7); } }

/* Data Manifest: cover mock-up as a physical object, facts row, contents */
.cover-mock { position: relative; max-width: 380px; margin-inline: auto; padding: 0 0 24px 0; }
.cover-mock::before, .cover-mock::after { content: ""; position: absolute; inset: 14px -14px -4px 14px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--bg-2); z-index: 0; }
.cover-mock::after { inset: 28px -28px -18px 28px; background: var(--bg); opacity: .8; }
.cover-mock img { position: relative; z-index: 1; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); transform: rotate(-1.6deg); }
.facts-row { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.facts-row > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.facts-row dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); padding-top: 4px; }
.facts-row dd { color: var(--ink); }
@media (min-width: 900px) { .facts-row { grid-template-columns: repeat(5, auto); border-top: 1px solid var(--line-strong); } .facts-row > div { grid-template-columns: 1fr; gap: 6px; border-bottom: 0; padding: var(--s-4) var(--s-4) 0 0; } .facts-row dt { padding: 0; } }
.toc { counter-reset: toc; border-top: 1px solid var(--line-strong); }
.toc li { display: grid; grid-template-columns: 56px 1fr; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 18px; }
.toc li span { font-family: var(--font-mono); font-size: 13px; color: var(--accent); padding-top: 4px; }
.toc small { display: block; color: var(--muted); font-size: 15px; }
.next-list { display: grid; gap: var(--s-3); }
.next-list li { display: flex; gap: 12px; align-items: baseline; }
.next-list li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg) translateY(-1px); }

/* Forms (preview markup; Fluent Forms reuses these names via .nxg-form) */
.chooser { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-5); }
.chooser button { min-height: 52px; padding: 0 24px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: transparent; font-weight: 600; }
.chooser button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.formwrap { margin-top: var(--s-6); }
.formwrap .notice { margin-bottom: var(--s-5); }
.nxg-form { display: grid; gap: var(--s-5); max-width: 760px; }
.nxg-form .row2 { display: grid; gap: var(--s-5); }
@media (min-width: 700px) { .nxg-form .row2 { grid-template-columns: 1fr 1fr; } }
.nxg-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.nxg-form legend { padding: 0; margin-bottom: 8px; font-weight: 500; }
.nxg-form .checks-group { display: grid; gap: 6px; }
.nxg-form .checks-group label { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; font-weight: 400; }
.nxg-form .ack { padding: var(--s-4) var(--s-5); border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); }
.nxg-form .ack label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; margin: 0; }
.nxg-form .ack input { margin-top: 3px; flex: none; }
.nxg-form .hint { font-size: 14px; color: var(--muted); margin-top: 6px; }
.nxg-form .count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-align: right; margin-top: 4px; }
.nxg-form .req { color: var(--accent); }
.nxg-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { max-width: 760px; padding: var(--s-5); border-left: 3px solid var(--accent); background: rgba(46, 196, 168, 0.08); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.contact-block { font-style: normal; display: grid; gap: 2px; }
.contact-block a { display: inline-flex; min-height: 44px; align-items: center; }

/* Legal placeholder + prose */
.legal-note { max-width: 56ch; font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; }
.prose p + p { margin-top: var(--s-4); }
.prose { max-width: 62ch; }
.pairs { display: grid; gap: var(--s-5); }
.pairs h3 { margin-bottom: 6px; }
.pairs p { color: var(--muted); }
@media (min-width: 900px) { .pairs--3 { grid-template-columns: repeat(3, 1fr); } }
.list-plain li { padding-block: 10px; border-top: 1px solid var(--line); }
.list-plain li:last-child { border-bottom: 1px solid var(--line); }

/* long definition rows (compliance) stack the term over the text */
.rows--stack > div { grid-template-columns: 1fr !important; gap: 6px !important; }
.rows--stack dd { max-width: 62ch; }

/* Stat strip: facts only, quiet (the big number lives in the value band) */
.stat-strip { padding-block: 40px; }
.stat-strip__grid { display: grid; gap: var(--s-5); }
.stat-strip__grid > div { display: flex; flex-direction: column; gap: 8px; padding-top: var(--s-4); border-top: 1px solid var(--line-strong); }
.stat-strip dd { font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); line-height: 1; color: var(--ink); }
.stat-strip dd { order: -1; }
.stat-strip dt { color: var(--muted); font-size: 15px; max-width: 28ch; }
@media (min-width: 700px) { .stat-strip { padding-block: 56px; } .stat-strip__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-7); } }

.rows--single > div { grid-template-columns: 1fr !important; }
.rows--single dt { max-width: 40ch; }

.stat-strip__grid > li { padding-top: var(--s-4); border-top: 1px solid var(--line-strong); font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
.stat-strip__grid .placeholder { display: block; margin-top: 10px; font-size: 12px; width: max-content; max-width: 100%; }
.redact { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .redact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.redact__pane { min-width: 0; }
.redact dd, .redact dt { min-width: 0; overflow-wrap: anywhere; }
.redact dl > div { grid-template-columns: minmax(0, 7em) minmax(0, 1fr); }
.redact .bar { max-width: 100%; }

/* ==========================================================================
   Motion: three illustrations. Calm, looping, only while visible, off for reduced-motion.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* 1. Hero layer stack: a scan passes down the data layers; dashed drops flow; corner nodes pulse. */
  .hero__art .stack-art .layer, .hero__art .stack-art .drop, .hero__art .stack-art .node { animation-play-state: running; }
  .hero__art.in-view .stack-art .layer:nth-of-type(3) { animation: nxg-settle 1.1s cubic-bezier(.2,.7,.2,1) .2s both, nxg-scan 6s ease-in-out 2.4s infinite; }
  .hero__art.in-view .stack-art .layer:nth-of-type(2) { animation: nxg-settle 1.1s cubic-bezier(.2,.7,.2,1) .15s both, nxg-scan 6s ease-in-out 2.9s infinite; }
  .hero__art.in-view .stack-art .layer:nth-of-type(1) { animation: nxg-settle 1.1s cubic-bezier(.2,.7,.2,1) .1s both, nxg-scan 6s ease-in-out 3.4s infinite; }
  .hero__art.in-view .stack-art .layer--top:nth-of-type(4) { animation: nxg-fade 1.1s ease both, nxg-top 6s ease-in-out 1.9s infinite; }
  .hero__art.in-view .stack-art .drop { animation: nxg-fade .8s ease .9s both, nxg-drop 1.6s linear 1.7s infinite; }
  .hero__art.in-view .stack-art .node { transform-box: fill-box; transform-origin: center; animation: nxg-fade .8s ease .9s both, nxg-node 3s ease-in-out 2s infinite; }
  .hero__art.in-view .stack-art .node:nth-of-type(2n) { animation-delay: .9s, 2.6s; }

  /* 2. Data flow: de-identified data travels provider to buyer; NexGen's dashed box stays still (it is not in the flow). */
  .flow.in-view .arrow-h .ln, .flow.in-view .arrow-v .ln { stroke-dasharray: 5 7; animation: nxg-dash 1s linear infinite; }
  .flow.in-view .flow__node--buyer { animation: nxg-arrive 4s ease-in-out infinite; }

  /* 3. Manifest cover: arrives once, then floats; the pages behind drift slightly against it. */
  .cover-mock.in-view img { animation: nxg-cover-in .9s cubic-bezier(.2,.7,.2,1) both, nxg-float 7s ease-in-out .9s infinite alternate; }
  .cover-mock.in-view::before { animation: nxg-back 7s ease-in-out .9s infinite alternate; }
  .cover-mock.in-view::after { animation: nxg-back 7s ease-in-out 1.3s infinite alternate-reverse; }
}
@keyframes nxg-scan { 0%, 70%, 100% { stroke: rgba(255,255,255,.28); } 18% { stroke: rgba(46,196,168,.85); } }
@keyframes nxg-top { 0%, 70%, 100% { fill: rgba(46,196,168,.07); } 8% { fill: rgba(46,196,168,.2); } }
@keyframes nxg-drop { to { stroke-dashoffset: -16; } }
@keyframes nxg-node { 0%, 100% { scale: 1; } 50% { scale: 1.45; } }
@keyframes nxg-dash { to { stroke-dashoffset: -24; } }
@keyframes nxg-arrive { 0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(46,196,168,0); } 80% { box-shadow: 0 0 28px 0 rgba(46,196,168,.22); } }
@keyframes nxg-cover-in { from { opacity: 0; transform: translateY(26px) rotate(-3deg); } to { opacity: 1; transform: translateY(0) rotate(-1.6deg); } }
@keyframes nxg-float { from { transform: translateY(0) rotate(-1.6deg); } to { transform: translateY(-9px) rotate(-1deg); } }
@keyframes nxg-back { from { translate: 0 0; } to { translate: 5px 6px; } }

/* ==========================================================================
   Data-flow diagram, pass 2: NexGen sits above and connects by dashed lines (introductions);
   the solid glowing stream runs provider to buyer underneath and never touches it.
   ========================================================================== */
.flow__icon { width: 30px; height: 30px; margin-bottom: 14px; fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.flow__node { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 60%), var(--surface); align-items: center; }
.flow__node--buyer { background: linear-gradient(180deg, rgba(46,196,168,.10), rgba(46,196,168,0) 70%), var(--surface); }
.flow__arrow { color: var(--accent); }
.flow__arrow .ln { stroke-width: 2; }
.flow__arrow svg { filter: drop-shadow(0 0 5px rgba(46,196,168,.55)); }
.flow__side { background: transparent; }
@media (max-width: 899px) {
  .flow__side { position: relative; margin-top: 28px; }
  .flow__side::before { content: ""; position: absolute; left: 50%; bottom: 100%; height: 28px; border-left: 1px dashed rgba(46,196,168,.5); top: auto; }
}
@media (min-width: 900px) {
  .flow { grid-template-areas: "side" "path" "cap"; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .flow__path { grid-area: path; position: relative; --col: calc((100% - 200px) / 4); }
  .flow__side { grid-area: side; margin: 0 auto 60px; position: relative; padding: var(--s-5) var(--s-7); border-style: solid; background: var(--bg); }
  .flow__side::before { display: none; }
  .flow__side::after { content: ""; position: absolute; left: 50%; top: 100%; height: 30px; border-left: 1px dashed rgba(46,196,168,.55); }
  .flow__path::before { content: ""; position: absolute; top: -30px; left: var(--col); right: var(--col); border-top: 1px dashed rgba(46,196,168,.55); }
  .flow__node::before { content: ""; position: absolute; left: 50%; bottom: 100%; height: 30px; border-left: 1px dashed rgba(46,196,168,.55); }
  .flow__path { grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr); }
  .flow__caption { grid-area: cap; margin-top: var(--s-6); }
  .flow__arrow span { font-size: 13px; margin-bottom: 4px; }
}
.flow__icon { display: block; margin-inline: auto; }

/* ==========================================================================
   Design pass 4: icon cards, timeline steps, stat strip as part of the value band,
   decorative hero art on inner pages, sticky CTA on mobile.
   ========================================================================== */
.cards4 { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .cards4 { grid-template-columns: 1fr 1fr; } }
.cards4 li { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, transform .2s; }
.cards4 li:hover { border-color: rgba(46, 196, 168, .5); }
.cards4 .ic { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: rgba(46, 196, 168, .1); fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cards4 span { font-family: var(--font-display); font-size: clamp(20px, 2vw, 24px); line-height: 1.25; color: var(--ink); }

/* Steps as a timeline: a vertical rail with numbered nodes. */
.steps { border-top: 0; position: relative; }
.steps li { position: relative; grid-template-columns: 56px 1fr; border-bottom: 0; padding-block: 0 var(--s-6); }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: linear-gradient(var(--accent), rgba(46, 196, 168, .12)); opacity: .55; }
.steps li:last-child::before { display: none; }
.steps__num { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); font-size: 13px; letter-spacing: .04em; color: var(--accent); }
.steps__text { padding-top: 8px; }
.steps h3 { font-size: clamp(19px, 1.8vw, 22px); }

/* Stat strip reads as the foot of the value band, not a separate section. */
.stat-strip--band { background: var(--bg-2); padding-block: 0 56px; margin-top: -1px; }
.stat-strip--band .stat-strip__grid > li { font-size: clamp(22px, 2.4vw, 30px); border-top-color: var(--line); color: var(--ink); }
.stat-strip--band .stat-strip__grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .stat-strip--band .stat-strip__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-7); } }
.value-band { border-bottom: 0; padding-bottom: 40px; }

/* Inner page heroes: quiet layered-grid mark on the right (decorative). */
.page-hero { position: relative; }
.page-hero__art { display: none; }
@media (min-width: 1000px) {
  .page-hero__art { display: block; position: absolute; right: max(24px, calc((100vw - var(--container, 1200px)) / 2)); top: 50%; width: clamp(210px, 21vw, 300px); transform: translateY(-50%); opacity: .8; pointer-events: none; }
}
.page-hero__art svg { width: 100%; height: auto; fill: none; }
.page-hero__art path { stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.page-hero__art .l1, .page-hero__art .l2 { stroke: rgba(255, 255, 255, .24); }
.page-hero__art .lt { stroke: var(--accent); stroke-width: 1.4; fill: rgba(46, 196, 168, .07); }
.page-hero__art circle { fill: var(--accent); }

/* Sticky CTA, phones only, after the first screen. */
.sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 11, 22, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line-strong); transform: translateY(110%); transition: transform .3s ease; }
.sticky-cta { visibility: hidden; }
.sticky-cta.is-on { transform: none; visibility: visible; }
.sticky-cta .btn { flex: 1; padding-inline: 10px; font-size: 14px; white-space: nowrap; min-height: 44px; }
@media (min-width: 900px) { .sticky-cta { display: none !important; } }
@media (max-width: 899px) { .site-footer { padding-bottom: 84px; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta, .cards4 li { transition: none; } }

@media (min-width: 1000px) { .page-hero .container > :not(.page-hero__art) { max-width: 640px; } .page-hero .container > .btn-row { max-width: 640px; } }

/* ==========================================================================
   Design pass 5: softer, more dimensional, inspired by the clinic references
   (rounded glass cards, gradient washes, translucent spheres, pill tags, stat tiles)
   but kept inside the brief's dark navy + teal tokens. No photos, no drop shadows.
   ========================================================================== */
:root { --glass: linear-gradient(160deg, rgba(255,255,255,.065), rgba(255,255,255,.012) 55%); --edge: rgba(255,255,255,.1); }

/* Glass surfaces */
.card, .cancan__col, .redact__pane, .fit, .flow__node, .cards4 li, .spec-table, .ledger, .formwrap, .nxg-form .ack {
  background: var(--glass), var(--surface);
  border-color: var(--edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}
.card, .cancan__col, .fit, .cards4 li, .formwrap { border-radius: 20px; }
.redact__pane--after, .flow__node--buyer { background: linear-gradient(160deg, rgba(46,196,168,.16), rgba(46,196,168,.02) 65%), var(--surface); }

/* Pill tags (eyebrows) */
.hero .eyebrow, .page-hero .eyebrow, .section .eyebrow, .cta-band .eyebrow, .split__head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(46,196,168,.1); border: 1px solid rgba(46,196,168,.28);
}
.hero .eyebrow::before, .page-hero .eyebrow::before, .section .eyebrow::before, .cta-band .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.eyebrow--muted { background: rgba(255,255,255,.04) !important; border-color: var(--line) !important; }
.eyebrow--muted::before { background: var(--muted) !important; }

/* Atmosphere: soft teal and blue washes behind heroes and bands */
.hero, .page-hero { background: radial-gradient(55% 60% at 88% 18%, rgba(46,196,168,.16), transparent 70%), radial-gradient(40% 45% at 6% 100%, rgba(70,110,230,.13), transparent 70%); }
.cta-band { background: radial-gradient(50% 120% at 100% 0, rgba(46,196,168,.14), transparent 70%), radial-gradient(40% 100% at 0 100%, rgba(70,110,230,.1), transparent 70%), var(--bg-2); position: relative; overflow: hidden; }
.section--alt { background: radial-gradient(45% 55% at 100% 0, rgba(46,196,168,.07), transparent 70%), var(--bg-2); }

/* Translucent spheres, like the glass bubbles in the reference: pure CSS, decorative */
.value-band { position: relative; overflow: hidden; background: radial-gradient(55% 90% at 18% 50%, rgba(46,196,168,.14), transparent 70%), var(--bg-2); }
.value-band::before, .value-band::after, .cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.14), rgba(255,255,255,.02) 45%, transparent 70%); border: 1px solid rgba(255,255,255,.08); }
.value-band::before { width: 340px; height: 340px; right: -90px; top: -120px; }
.value-band::after { width: 150px; height: 150px; right: 18%; bottom: -60px; border-color: rgba(46,196,168,.2); }
.cta-band::before { width: 260px; height: 260px; left: -90px; bottom: -130px; }
.cta-band::after { width: 110px; height: 110px; right: 12%; top: -40px; border-color: rgba(46,196,168,.22); }
.value-band > *, .cta-band > * { position: relative; z-index: 1; }
.value-band__number { background: linear-gradient(180deg, var(--accent-soft), var(--accent) 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Stat strip: three glass tiles */
.stat-strip--band .stat-strip__grid > li { padding: 22px 24px; border: 1px solid var(--edge); border-radius: 20px; background: var(--glass), var(--surface); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }

/* Two paths: two separate highlighted cards instead of one split box */
.paths { border: 0; border-radius: 0; overflow: visible; gap: var(--s-4); }
.paths__item { border: 1px solid var(--edge); border-radius: 24px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); transition: transform .25s, border-color .25s; background: linear-gradient(160deg, rgba(46,196,168,.2), rgba(46,196,168,.02) 62%), var(--surface); }
.paths__item--alt { border-top: 1px solid var(--edge); border-left: 1px solid var(--edge) !important; background: linear-gradient(160deg, rgba(90,130,255,.18), rgba(90,130,255,.02) 62%), var(--surface); }
.paths__item:hover { border-color: rgba(46,196,168,.5); }
.paths__who { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.07); }

/* FAQ as separate rounded rows */
.faq { border-top: 0; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--edge); border-radius: 16px; background: var(--glass), var(--surface); padding-inline: 22px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(46,196,168,.4); }

/* Manifest contents: rounded bars with large numerals, like the reference contents slide */
.toc { border-top: 0; display: grid; gap: 10px; }
.toc li { align-items: center; padding: 16px 22px; border: 1px solid var(--edge); border-radius: 18px; background: linear-gradient(90deg, rgba(46,196,168,.12), rgba(46,196,168,.015) 70%), var(--surface); grid-template-columns: 64px 1fr; }
.toc li span { padding-top: 0; font-family: var(--font-display); font-size: 30px; color: var(--accent-soft); }

/* Chips and the cover mock */
.chip { background: var(--glass), rgba(17,26,48,.7); padding: 9px 16px; }
.cover-mock { filter: drop-shadow(0 0 60px rgba(46,196,168,.12)); }
@media (prefers-reduced-motion: reduce) { .paths__item { transition: none; } }
.stat-strip--band .stat-strip__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .stat-strip--band .stat-strip__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat-strip--band .stat-strip__grid > li { min-width: 0; overflow-wrap: anywhere; padding: 20px; }
.stat-strip__grid .placeholder { white-space: normal; width: auto; max-width: 100%; }

/* ==========================================================================
   Design pass 6: full glass. Frosted translucent surfaces over soft colour orbs,
   a floating glass header, and one consistent section-header treatment.
   Still the brief's navy + teal tokens; no photos.
   ========================================================================== */
:root { --g-bg: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.035) 52%, rgba(255,255,255,.065)); --g-edge: rgba(255,255,255,.17); --g-blur: blur(16px) saturate(150%); }

/* 1. Colour orbs behind every section so the glass has something to refract */
.section { position: relative; isolation: isolate; overflow: clip; }
.section::before, .section::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(70px); }
.section::before { width: 420px; height: 420px; right: -120px; top: 8%; background: rgba(46,196,168,.22); }
.section::after { width: 380px; height: 380px; left: -140px; bottom: 4%; background: rgba(70,110,230,.2); }
.section:nth-of-type(even)::before { right: auto; left: -120px; background: rgba(70,110,230,.2); }
.section:nth-of-type(even)::after { left: auto; right: -140px; background: rgba(46,196,168,.2); }

/* 2. Glass everywhere */
.card, .cancan__col, .redact__pane, .fit, .flow__node, .flow__side, .cards4 li, .spec-table, .ledger, .formwrap, .nxg-form .ack,
.paths__item, .faq details, .toc li, .stat-strip--band .stat-strip__grid > li, .chip, .notice, .cover-mock img {
  background: var(--g-bg);
  -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur);
  border: 1px solid var(--g-edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(255,255,255,.04), 0 10px 40px rgba(0,0,0,.25);
}
.notice { background: linear-gradient(145deg, rgba(242,184,75,.16), rgba(242,184,75,.04)); border-color: rgba(242,184,75,.4); border-left: 4px solid var(--notice); }
.paths__item { background: linear-gradient(150deg, rgba(46,196,168,.26), rgba(255,255,255,.04) 60%); }
.paths__item--alt { background: linear-gradient(150deg, rgba(90,130,255,.26), rgba(255,255,255,.04) 60%); }
.redact__pane--after, .flow__node--buyer { background: linear-gradient(150deg, rgba(46,196,168,.24), rgba(255,255,255,.04) 65%); border-color: rgba(46,196,168,.4); }
.toc li { background: linear-gradient(90deg, rgba(46,196,168,.22), rgba(255,255,255,.04) 75%); }
.spec-table > *, .ledger > * { background: transparent; }
.flow__side { border-style: solid; }
.cover-mock img { background: none; }
.nxg-form input[type="text"], .nxg-form input[type="email"], .nxg-form input[type="tel"], .nxg-form input[type="url"], .nxg-form select, .nxg-form textarea {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--secondary { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.btn--secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(46,196,168,.6); }
.btn--primary { box-shadow: inset 0 1px 0 rgba(255,255,255,.45); }
.announcement { background: rgba(14,24,48,.7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.sticky-cta { background: rgba(10,16,32,.6); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
.steps__num { background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 0 16px rgba(46,196,168,.25); }
.cards4 .ic { background: rgba(46,196,168,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card, .cancan__col, .redact__pane, .fit, .flow__node, .flow__side, .cards4 li, .spec-table, .ledger, .formwrap, .paths__item, .faq details, .toc li { background-color: var(--surface); }
}

/* 3. Floating glass header */
.site-header { top: 10px; margin: 10px auto 0; width: calc(100% - 20px); max-width: 1280px; border: 1px solid var(--g-edge); border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.03)), rgba(9,14,28,.55);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 12px 40px rgba(0,0,0,.35); }

/* 4. Section headers: glowing bar, soft white-to-blue gradient text, same on every section */
.section h2:not(.visually-hidden), .cta-band h2 {
  background: linear-gradient(180deg, #ffffff 30%, #a9bbd6 120%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.section h2:not(.visually-hidden)::before, .cta-band h2::before {
  content: ""; display: block; width: 52px; height: 5px; margin-bottom: 20px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft)); box-shadow: 0 0 18px rgba(46,196,168,.7);
}
.section h2 .hl, .cta-band h2 .hl { -webkit-text-fill-color: var(--accent-soft); }
.cta-band--center h2::before { margin-inline: auto; }
.split__head h2 { padding-bottom: 2px; }
@media (prefers-reduced-motion: reduce) { .section::before, .section::after { filter: blur(70px); } }
.menu-overlay { background: radial-gradient(60% 40% at 90% 0, rgba(46,196,168,.2), transparent 70%), rgba(7,11,22,.86) !important; -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); }

/* ==========================================================================
   Design pass 7: typography. Same three families from the brief, set with more care:
   tighter display tracking, lighter lead text, balanced headlines, lining numerals,
   weight contrast between Outfit's light/regular/medium.
   ========================================================================== */
body { font-weight: 400; line-height: 1.65; font-kerning: normal; font-optical-sizing: auto; font-feature-settings: "kern", "liga"; letter-spacing: 0.002em; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd, .lead { text-wrap: pretty; }

/* Display: Instrument Serif is high-contrast and condensed; track it tight and let size do the work */
h1, h2, .display { letter-spacing: -0.028em; font-feature-settings: "kern", "liga", "lnum"; }
h1 { font-size: clamp(42px, 7.2vw, 88px); line-height: 0.99; }
h2 { font-size: clamp(34px, 4.9vw, 62px); line-height: 1.04; letter-spacing: -0.025em; }
.page-hero h1 { letter-spacing: -0.03em; }
.hl { letter-spacing: -0.02em; }
.value-band__number { letter-spacing: -0.04em; line-height: 0.88; }

/* UI and body: Outfit, with real weight contrast */
.lead { font-weight: 300; font-size: clamp(19px, 2.3vw, 23px); line-height: 1.55; color: #b9c3d1; letter-spacing: 0.004em; }
.hero__fine, .small { font-weight: 400; }
h3 { font-weight: 500; font-size: 21px; letter-spacing: -0.008em; line-height: 1.28; }
.btn { font-weight: 500; letter-spacing: 0.012em; }
.nav a { font-weight: 450; letter-spacing: 0.006em; }
.nxg-form label { font-weight: 500; letter-spacing: 0.005em; }
.faq summary { font-weight: 450; letter-spacing: -0.003em; }
.paths__item p, .card p, .cards4 + p { font-weight: 300; font-size: 1.04em; color: #b4bfcd; }
.steps p { font-weight: 300; color: #b4bfcd; }
.spec-table dt, .spec-table th { font-weight: 400; }
.spec-table dd, .spec-table td { font-weight: 500; }
.site-footer p, .site-footer li { font-weight: 300; }
.site-footer__disclaimer { font-weight: 300; line-height: 1.7; }

/* Mono labels: smaller, a little looser, medium weight so they read as labels not code */
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; }
.paths__who { font-size: 12.5px; letter-spacing: 0.06em; }

/* Numerals */
.steps__num, .stat-strip li, .value-band__number, .cards4 span, .toc li span { font-variant-numeric: lining-nums; }
.steps__num { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.stat-strip--band .stat-strip__grid > li { letter-spacing: -0.015em; }

/* Serif accents */
.pull, .keep .pull { letter-spacing: -0.012em; }
.cards4 span { letter-spacing: -0.012em; }
.toc li span { letter-spacing: -0.02em; }

/* Hero typing effect (JS adds .tch spans; reduced motion skips it) */
.is-typing .tch { opacity: 0; animation: nxg-type 0.01s steps(1, end) forwards; }
@keyframes nxg-type { to { opacity: 1; } }
.is-typing .tch { position: relative; }
.is-typing .tch::after { content: ""; position: absolute; right: -0.05em; top: 0.12em; bottom: 0.1em; width: 0.05em; background: var(--accent-soft); opacity: 0; border-radius: 1px; animation: nxg-cur 26ms steps(1, end) forwards; animation-delay: inherit; }
@keyframes nxg-cur { 0% { opacity: 1; } 99% { opacity: 1; } 100% { opacity: 0; } }
.is-typing:not(.is-typed) .tch.tlast::after { animation: nxg-caret 0.9s steps(1) infinite; animation-delay: inherit; }
@keyframes nxg-caret { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.is-typed .tch::after { display: none; }

/* Fix: pass-7 paragraph rule shrank the serif lead inside the two path cards */
.paths__item .paths__lead { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; max-width: 20ch; margin-top: var(--s-2); }
.paths__item p:not(.paths__lead) { font-size: 17px; line-height: 1.65; }
.paths__item { gap: var(--s-5); }
.steps .steps__slow { font-weight: 400; color: var(--accent-soft); }

/* ==========================================================================
   Design pass 8: data-flow diagram as a "stage" with glowing endpoints.
   Same content and structure; styling only.
   ========================================================================== */
.flow { position: relative; padding: clamp(24px, 4vw, 56px); border: 1px solid var(--edge); border-radius: 32px; overflow: hidden;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(46,196,168,.16), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(90,130,255,.14), transparent 70%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 36px 36px,
    rgba(255,255,255,.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 80px -30px rgba(0,0,0,.7); }

/* nodes: round icon badge with halo */
.flow__node { border-radius: 22px; padding: var(--s-6) var(--s-5); gap: 0; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 18px 40px -22px rgba(0,0,0,.8); }
.flow__node strong { font-size: 19px; font-weight: 500; letter-spacing: -0.005em; max-width: 22ch; margin-inline: auto; }
.flow__icon { box-sizing: border-box; width: 68px; height: 68px; padding: 18px; margin-bottom: 18px; border-radius: 50%; stroke-width: 1.4; opacity: 1;
  background: radial-gradient(circle at 50% 35%, rgba(46,196,168,.28), rgba(46,196,168,.05) 70%);
  border: 1px solid rgba(46,196,168,.45); box-shadow: 0 0 0 8px rgba(46,196,168,.07), 0 0 0 16px rgba(46,196,168,.035), 0 0 28px rgba(46,196,168,.25); }
.flow__node--buyer .flow__icon { background: radial-gradient(circle at 50% 35%, rgba(46,196,168,.5), rgba(46,196,168,.1) 70%); stroke: #eafff9; }

/* lane between nodes: label chip + glowing line with travelling packets */
.flow__arrow span { padding: 5px 12px; border-radius: 999px; background: rgba(46,196,168,.12); border: 1px solid rgba(46,196,168,.35); color: var(--accent-soft); font-size: 12.5px; letter-spacing: 0.03em; white-space: nowrap; }
.flow__arrow { position: relative; }
.flow__arrow::before, .flow__arrow::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #bff5e8; box-shadow: 0 0 12px 3px rgba(46,196,168,.7); opacity: 0; }

/* NexGen sits outside the flow: soft glass pill, connector ends in glowing dots */
.flow__side { border-radius: 999px; padding: 18px 36px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(46,196,168,.45); box-shadow: 0 0 0 6px rgba(46,196,168,.05), 0 14px 40px -18px rgba(46,196,168,.5); }
.flow__side strong { font-size: 24px; }
.flow__side span { font-size: 15px; }
.flow__caption { max-width: 62ch; margin-inline: auto; text-align: center; color: #b4bfcd; font-weight: 300; }

@media (min-width: 900px) {
  .flow__node::before { border-left-style: dotted; border-left-width: 2px; border-color: rgba(46,196,168,.6); }
  .flow__path::before { border-top-style: dotted; border-top-width: 2px; border-color: rgba(46,196,168,.6); }
  .flow__side::after { border-left-style: dotted; border-left-width: 2px; border-color: rgba(46,196,168,.6); }
  .flow__node { min-height: 210px; }
  .flow__arrow { padding-top: 34px; }
}

@media (prefers-reduced-motion: no-preference) {
  .flow.in-view .flow__side { animation: nxg-halo 3.6s ease-in-out infinite; }
  @keyframes nxg-halo { 0%, 100% { box-shadow: 0 0 0 6px rgba(46,196,168,.05), 0 14px 40px -18px rgba(46,196,168,.5); } 50% { box-shadow: 0 0 0 12px rgba(46,196,168,.09), 0 14px 50px -14px rgba(46,196,168,.7); } }
  .flow.in-view .flow__icon { animation: nxg-ring 3.6s ease-in-out infinite; }
  @keyframes nxg-ring { 0%, 100% { box-shadow: 0 0 0 8px rgba(46,196,168,.07), 0 0 0 16px rgba(46,196,168,.035), 0 0 28px rgba(46,196,168,.25); } 50% { box-shadow: 0 0 0 11px rgba(46,196,168,.1), 0 0 0 22px rgba(46,196,168,.04), 0 0 36px rgba(46,196,168,.4); } }
  @media (min-width: 900px) {
    .flow.in-view .flow__arrow::before, .flow.in-view .flow__arrow::after { top: calc(50% + 34px); left: 6%; animation: nxg-packet 2.6s linear infinite; }
    .flow.in-view .flow__arrow::after { animation-delay: 1.3s; }
  }
  @media (max-width: 899px) {
    .flow.in-view .flow__arrow::before, .flow.in-view .flow__arrow::after { left: calc(50% - 4px); top: 40px; animation: nxg-packet-v 2.2s linear infinite; }
    .flow.in-view .flow__arrow::after { animation-delay: 1.1s; }
  }
  @keyframes nxg-packet { 0% { left: 6%; opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { left: 90%; opacity: 0; } }
  @keyframes nxg-packet-v { 0% { top: 36px; opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
}

/* Fix: data-type cards. Short labels read better in Outfit than in tightly tracked display serif. */
.cards4 li { gap: var(--s-5); padding: var(--s-6) var(--s-5); min-height: 168px; }
.cards4 span { font-family: var(--font-body); font-weight: 500; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.4; letter-spacing: -0.005em; color: var(--ink); max-width: 24ch; }
.split__head .small { font-size: 16px; font-weight: 300; line-height: 1.65; color: #b4bfcd; max-width: 38ch; margin-top: var(--s-4); }

/* ==========================================================================
   Design pass 9: forms. Calmer labels, solid readable fields, custom checkboxes.
   ========================================================================== */
.formwrap { padding: clamp(22px, 3.2vw, 40px); border: 1px solid var(--edge); border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02) 60%), rgba(10,16,30,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 70px -34px rgba(0,0,0,.8); }
.formwrap .notice { margin-bottom: var(--s-6); font-size: 15px; font-weight: 400; line-height: 1.6; }
.formwrap .notice strong { font-weight: 600; }
.nxg-form { gap: 22px; max-width: none; }
.nxg-form .row2 { gap: 22px; }
.nxg-form label, .nxg-form legend { margin-bottom: 8px; font-size: 14.5px; font-weight: 500; letter-spacing: 0.01em; color: #dbe3ee; }
.nxg-form legend { margin-bottom: 10px; }
.nxg-form .req { margin-left: 2px; }
.nxg-form input[type="text"], .nxg-form input[type="email"], .nxg-form input[type="tel"], .nxg-form input[type="url"], .nxg-form select, .nxg-form textarea {
  min-height: 52px; padding: 13px 16px; font-family: var(--font-body); font-size: 16px; font-weight: 400; color: var(--ink);
  background: rgba(6,10,20,.55); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; box-shadow: inset 0 1px 2px rgba(0,0,0,.35);
  transition: border-color .2s, background .2s, box-shadow .2s; }
.nxg-form input:hover, .nxg-form select:hover, .nxg-form textarea:hover { border-color: rgba(255,255,255,.3); }
.nxg-form input:focus, .nxg-form select:focus, .nxg-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; background: rgba(6,10,20,.75); box-shadow: 0 0 0 5px rgba(46,196,168,.12); }
.nxg-form ::placeholder { color: #7f8b9c; font-weight: 300; }
.nxg-form select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%232EC4A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; }
.nxg-form select option { background: #0c1424; color: var(--ink); }
.nxg-form textarea { min-height: 150px; line-height: 1.55; }
.nxg-form .hint { margin-top: 8px; font-size: 13.5px; font-weight: 300; color: #9aa6b6; }
.nxg-form .count { font-size: 12px; color: #7f8b9c; }

/* checkbox list: tidy rows with custom boxes */
.nxg-form .checks-group { gap: 8px; }
.nxg-form .checks-group label { padding: 10px 14px; min-height: 48px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.03); font-size: 15.5px; font-weight: 400; letter-spacing: 0; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.nxg-form .checks-group label:hover { border-color: rgba(46,196,168,.45); background: rgba(46,196,168,.06); }
.nxg-form .checks-group label:has(input:checked) { border-color: rgba(46,196,168,.6); background: rgba(46,196,168,.1); }
.nxg-form input[type="checkbox"] { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0 2px 0 0; border: 1.5px solid rgba(255,255,255,.4); border-radius: 7px; background: rgba(6,10,20,.6); display: inline-grid; place-content: center; cursor: pointer; transition: background .15s, border-color .15s; }
.nxg-form input[type="checkbox"]::after { content: ""; width: 11px; height: 6px; border-left: 2.2px solid #04211b; border-bottom: 2.2px solid #04211b; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .15s; }
.nxg-form input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.nxg-form input[type="checkbox"]:checked::after { transform: rotate(-45deg) scale(1); }
.nxg-form input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.nxg-form .ack { padding: 18px 20px; border-radius: 16px; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.nxg-form .ack label { font-size: 15px; line-height: 1.6; font-weight: 400; letter-spacing: 0; color: #cfd8e4; cursor: pointer; }
.nxg-form .ack input { margin-top: 2px; }
.nxg-form button[type="submit"] { min-height: 58px; border-radius: 14px; font-size: 17px; font-weight: 600; letter-spacing: 0.01em; margin-top: 4px; }
.form-success { padding: var(--s-5); border: 1px solid rgba(46,196,168,.4); border-radius: 16px; background: rgba(46,196,168,.08); }

/* ==========================================================================
   Design pass 10 (calm): section entrance, scroll progress, cursor ring.
   Subtle and cheap: opacity + transform only, short distances, no blur filters.
   Active only when JS adds html.fx / .cur-on (never for reduced motion).
   ========================================================================== */
html.fx .fx-s .fx-i { opacity: 0; transform: translateY(14px);
  transition: opacity .55s ease-out, transform .6s cubic-bezier(.22,.8,.3,1); transition-delay: calc(var(--fx, 0) * 50ms); }
html.fx .fx-s.fx-in .fx-i { opacity: 1; transform: none; }

.fx-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 300; transform-origin: left; transform: scaleX(0); background: var(--accent); pointer-events: none; will-change: transform; }

/* ==========================================================================
   Performance pass: keep Lighthouse mobile fast.
   ========================================================================== */
/* Below-the-fold sections are laid out and painted only when near the viewport */
main > section ~ section, .site-main > section ~ section { content-visibility: auto; contain-intrinsic-size: auto 720px; }

/* Ambient loops: transform/opacity only; the expensive box-shadow loops are removed */
@media (prefers-reduced-motion: no-preference) {
  .flow.in-view .flow__side, .flow.in-view .flow__icon, .flow.in-view .flow__node--buyer { animation: none; }
}
.flow__arrow { contain: layout paint; }

/* Phones: drop the costly effects (backdrop blur, blurred orbs, long entrance travel) */
@media (max-width: 899px) {
  .section::before, .section::after { display: none; }
  .flow__node, .flow__side, .formwrap, .paths__item, .cards4 li, .card, .faq details, .toc li, .stat-strip--band .stat-strip__grid > li, .chip, .notice, .nxg-form input, .nxg-form select, .nxg-form textarea, .btn--secondary {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  html.fx .fx-s .fx-i { transform: translateY(8px); }
}

/* Timeline motion: rail fills, steps light up as they are reached (html.steps-live is added by JS) */
html.steps-live .steps li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--accent); box-shadow: 0 0 8px rgba(46,196,168,.7); transform: scaleY(0); transform-origin: top; transition: transform .7s cubic-bezier(.4,0,.2,1); }
html.steps-live .steps li.is-passed::after { transform: scaleY(1); }
html.steps-live .steps li:last-child::after { display: none; }
html.steps-live .steps li .steps__num { transition: background-color .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease, scale .4s ease; }
html.steps-live .steps li:not(.is-reached) .steps__num { background: var(--bg); color: rgba(143,233,214,.55); border-color: rgba(46,196,168,.35); box-shadow: none; }
html.steps-live .steps li.is-reached .steps__num { background: var(--accent); color: var(--on-accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(46,196,168,.14), 0 0 18px rgba(46,196,168,.4); }
html.steps-live .steps li.is-current .steps__num { scale: 1.08; }
html.steps-live .steps__text { transition: opacity .5s ease, transform .5s ease; }
html.steps-live .steps li:not(.is-reached) .steps__text { opacity: .45; transform: translateX(-6px); }

/* ==========================================================================
   Design pass 11: UX review fixes + purposeful motion
   ========================================================================== */

/* -- fixes -- */
/* eyebrow pill already marks the section: do not stack the teal bar right under it */
.cta-band .eyebrow + h2::before, .section .eyebrow + h2::before { display: none; }
.cta-band .eyebrow { margin-bottom: var(--s-4); }
/* headings: never split a hyphenated word across lines */
h1, h2, h3 { hyphens: manual; -webkit-hyphens: manual; }
.split__head h2 { text-wrap: balance; }
@media (min-width: 900px) { #redact-title { white-space: normal; } #redact-title { text-wrap: balance; } }
#redact-title { overflow-wrap: normal; word-break: keep-all; }

/* phones: equal-width, full-width calls to action; shorter icon cards; tighter step titles */
@media (max-width: 639px) {
  .hero .btn-row .btn, .page-hero .btn-row .btn, .paths__item .btn, .cta-band .btn-row .btn { width: 100%; }
  .paths__item { align-items: stretch; }
  .cards4 li { flex-direction: row; align-items: center; gap: var(--s-4); min-height: 0; padding: var(--s-4) var(--s-5); }
  .cards4 .ic { flex: none; }
  .steps h3 { overflow-wrap: normal; }
}

/* -- header gets a touch more presence once you scroll -- */
.site-header { transition: background-color .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background-color: rgba(8,13,26,.82); box-shadow: 0 14px 40px -18px rgba(0,0,0,.8); }

/* -- hover micro-interactions (only on pointer devices) -- */
@media (hover: hover) {
  .btn { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
  .nav a { transition: color .2s ease; }
}

/* -- FAQ opens smoothly (progressive: browsers without ::details-content just open instantly) -- */
@supports selector(details::details-content) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size .35s ease, opacity .3s ease, content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; opacity: 1; }
}
.faq summary::after { transition: transform .25s ease, background-color .25s ease; }
.faq details[open] summary::after { transform: rotate(180deg); background-color: rgba(46,196,168,.14); }

/* -- results appear instead of popping in -- */
@media (prefers-reduced-motion: no-preference) {
  .fit__result:not([hidden]), .form-success:not([hidden]) { animation: nxg-pop .45s cubic-bezier(.22,.8,.3,1) both; }
  @keyframes nxg-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

  /* de-identification example: the black bars wipe in when the section arrives, showing what de-identification does */
  html.fx .fx-s .redact__pane--after .bar { transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.4,0,.2,1) .5s; }
  html.fx .fx-s.fx-in .redact__pane--after .bar { transform: scaleX(1); }
  html.fx .fx-s .redact__pane--after div:nth-child(2) .bar { transition-delay: .7s; }
  html.fx .fx-s .redact__pane--after div:nth-child(3) .bar { transition-delay: .9s; }

  /* fit check: a thin bar fills as questions are answered */
  .fit__count { position: relative; }
}

/* Count-up numbers: fixed width so the text next to them does not jump while counting */
.count > span:not(.visually-hidden) { display: inline-block; min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; }

/* Provider-type marquee (added by JS; without JS the chips simply wrap as before) */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: nxg-marquee 38s linear infinite; will-change: transform; }
.marquee__track .chips { flex-wrap: nowrap; flex: none; margin: 0; padding-right: 10px; }
.marquee__track .chip { white-space: nowrap; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes nxg-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* "$0 upfront." wipes in once, left to right, when the band arrives */
@media (prefers-reduced-motion: no-preference) {
  html.fx .fx-s .value-band__number { clip-path: inset(-5% 100% -5% 0); transition: opacity .6s ease, transform .9s cubic-bezier(.22,.8,.3,1), clip-path 1.1s cubic-bezier(.4,0,.2,1) .15s; }
  html.fx .fx-s.fx-in .value-band__number { clip-path: inset(-5% -2% -5% 0); }
}

/* Eyebrow pills: the dot breathes, and a soft light sweeps across once as the pill appears.
   transform/opacity only; off for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow, .page-hero .eyebrow, .section .eyebrow, .cta-band .eyebrow, .split__head .eyebrow { position: relative; overflow: hidden; isolation: isolate; }
  .hero .eyebrow::before, .page-hero .eyebrow::before, .section .eyebrow::before, .cta-band .eyebrow::before { animation: nxg-breathe 2.6s ease-in-out infinite; }
  .eyebrow--muted::before { animation: none !important; }
  .hero .eyebrow::after, .page-hero .eyebrow::after, .section .eyebrow::after, .cta-band .eyebrow::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transform: translateX(-120%);
    background: linear-gradient(100deg, transparent 30%, rgba(143,233,214,.28) 50%, transparent 70%); }
  .hero .eyebrow::after, .page-hero .eyebrow::after { animation: nxg-sweep 1.4s cubic-bezier(.4,0,.2,1) .5s 1 both; }
  html.fx .fx-s .eyebrow::after { animation: none; }
  html.fx .fx-s.fx-in .eyebrow::after { animation: nxg-sweep 1.4s cubic-bezier(.4,0,.2,1) .35s 1 both; }
  .section .eyebrow:not(.fx-i)::after, .cta-band .eyebrow:not(.fx-i)::after { animation: none; }
  @keyframes nxg-breathe { 0%, 100% { transform: scale(1); opacity: .65; } 50% { transform: scale(1.7); opacity: 1; } }
  @keyframes nxg-sweep { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
}

/* Hero claim chips arrive one after another, then each dot pops once */
@media (prefers-reduced-motion: no-preference) {
  .hero .chips[data-in], .page-hero .chips[data-in] { animation: none; }
  .hero .chips .chip, .page-hero .chips .chip { opacity: 0; animation: nxg-chip .55s cubic-bezier(.22,.8,.3,1) both; animation-delay: calc(.9s + var(--k, 0) * .16s); }
  .hero .chips .chip:nth-child(1), .page-hero .chips .chip:nth-child(1) { --k: 0; }
  .hero .chips .chip:nth-child(2), .page-hero .chips .chip:nth-child(2) { --k: 1; }
  .hero .chips .chip:nth-child(3), .page-hero .chips .chip:nth-child(3) { --k: 2; }
  .hero .chips .chip:nth-child(4), .page-hero .chips .chip:nth-child(4) { --k: 3; }
  .hero .chips .chip:nth-child(5), .page-hero .chips .chip:nth-child(5) { --k: 4; }
  .hero .chips .chip::before, .page-hero .chips .chip::before { animation: nxg-dotpop .6s ease-out both; animation-delay: calc(1.1s + var(--k, 0) * .16s); }
  @keyframes nxg-chip { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
  @keyframes nxg-dotpop { 0% { transform: scale(0); } 60% { transform: scale(1.8); } 100% { transform: scale(1); } }
}

/* ==========================================================================
   Hero radar (desktop): faint rings and a slow sweep behind the layered grid;
   four pins connect to the centre in turn and are tied to the four claim chips.
   ========================================================================== */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .hero__art { position: relative; }
  .hero__art.in-view::before { content: ""; position: absolute; left: 50%; top: 39.5%; width: 94%; aspect-ratio: 1; margin: -47% 0 0 -47%; border-radius: 50%; pointer-events: none;
    background: conic-gradient(from 0deg, rgba(46,196,168,0) 0 70%, rgba(46,196,168,.2) 98%, rgba(143,233,214,.45) 100%);
    -webkit-mask-image: radial-gradient(circle, #000 0 62%, transparent 63%); mask-image: radial-gradient(circle, #000 0 62%, transparent 63%);
    animation: nxg-sweep-rot 9s linear infinite; will-change: transform; opacity: .85; }
  @keyframes nxg-sweep-rot { to { transform: rotate(360deg); } }
  .hero__art .hud { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; fill: none; }
  .hud__ring { stroke: rgba(46,196,168,.22); stroke-width: 1; stroke-dasharray: 2 7; transform-box: fill-box; transform-origin: center; }
  .hud__ring--a { animation: nxg-sweep-rot 40s linear infinite; }
  .hud__ring--b { stroke: rgba(255,255,255,.1); animation: nxg-sweep-rot 70s linear infinite reverse; }
  .hud__pin { pointer-events: auto; cursor: default; }
  .hud__box { stroke: rgba(255,255,255,.28); stroke-width: 1; fill: rgba(8,13,26,.6); transition: stroke .3s, fill .3s; }
  .hud__dot { fill: rgba(255,255,255,.45); transition: fill .3s; }
  .hud__line { stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset .7s cubic-bezier(.4,0,.2,1), opacity .3s; filter: drop-shadow(0 0 4px rgba(46,196,168,.7)); }
  .hud__pin.is-on .hud__line { stroke-dashoffset: 0; opacity: 1; }
  .hud__pin.is-on .hud__box { stroke: var(--accent); fill: rgba(46,196,168,.16); }
  .hud__pin.is-on .hud__dot { fill: #bff5e8; }
  /* the chip tied to the active pin */
  .hero .chips .chip { transition: border-color .3s ease, background-color .3s ease, color .3s ease; }
  .hero .chips .chip.is-lit { border-color: rgba(46,196,168,.7); background-color: rgba(46,196,168,.14); }
}
.steps__num { white-space: nowrap; overflow: hidden; }

/* ==========================================================================
   Cursor (2026): dot + morphing ring. Only with a mouse, never for reduced motion.
   ========================================================================== */
.cx-dot, .cx-ring { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: 0; will-change: transform; }
html.cx-on .cx-dot, html.cx-on .cx-ring { opacity: 1; }
html.cx-on.cx-field .cx-dot, html.cx-on.cx-field .cx-ring { opacity: 0; }
.cx-dot { width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #d8fff6; box-shadow: 0 0 0 1.5px rgba(4,20,18,.7), 0 0 14px rgba(46,196,168,.55); transition: opacity .2s, scale .2s ease; }
.cx-ring { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(143,233,214,.55); background: rgba(46,196,168,0);
  transition: transform .16s cubic-bezier(.22,.8,.3,1), width .28s cubic-bezier(.22,.8,.3,1), height .28s cubic-bezier(.22,.8,.3,1), border-radius .28s ease, background-color .25s ease, border-color .25s ease, opacity .2s ease, scale .2s ease; }
.cx-ring.is-hot { border-color: rgba(143,233,214,.95); background: rgba(46,196,168,.12); }
html.cx-link .cx-dot { opacity: 0 !important; }
.cx-ring.is-down { scale: .92; background: rgba(46,196,168,.22); }
/* the system arrow is hidden while the custom cursor is live; form fields keep the normal cursor */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.cx-on:not(.cx-field), html.cx-on:not(.cx-field) * { cursor: none !important; }
  /* over a button or link: the normal pointing hand comes back, and the ring holds still around the element */
  html.cx-on.cx-link:not(.cx-field), html.cx-on.cx-link:not(.cx-field) * { cursor: pointer !important; }
}
@media (prefers-reduced-motion: reduce), (hover: none) { .cx-dot, .cx-ring { display: none; } }

/* ==========================================================================
   Page-load intro: a brief branded screen (diamond mark + progress line) that lifts after ~0.6s.
   CSS only, so it appears on first paint and can never get stuck; it ignores clicks, and is
   skipped for reduced motion and printing.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html::before { content: ""; position: fixed; inset: 0; z-index: 100000; background: radial-gradient(60% 50% at 50% 45%, #0f2a2c 0%, #070b16 70%); pointer-events: none;
    animation: nxg-load-out .45s cubic-bezier(.6,0,.2,1) .7s forwards; }
  html::after { content: ""; position: fixed; left: 50%; top: 50%; z-index: 100001; width: 30px; height: 30px; margin: -15px 0 0 -15px; background: var(--accent); pointer-events: none;
    box-shadow: 0 0 40px 6px rgba(46,196,168,.45); transform: rotate(45deg) scale(.4); opacity: 0;
    animation: nxg-load-mark 1.15s cubic-bezier(.2,.7,.2,1) forwards; }
  body::before { content: ""; position: fixed; left: 50%; top: 50%; z-index: 100001; width: 120px; height: 2px; margin: 46px 0 0 -60px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--accent), #bff5e8); pointer-events: none;
    transform: scaleX(0); transform-origin: left; animation: nxg-load-bar .75s cubic-bezier(.4,0,.2,1) forwards, nxg-load-gone .2s ease .7s forwards; }
  @keyframes nxg-load-mark { 0% { opacity: 0; transform: rotate(45deg) scale(.4); } 35% { opacity: 1; transform: rotate(135deg) scale(1); } 70% { opacity: 1; transform: rotate(135deg) scale(1); } 100% { opacity: 0; transform: rotate(135deg) scale(1.6); } }
  @keyframes nxg-load-bar { to { transform: scaleX(1); } }
  @keyframes nxg-load-gone { to { opacity: 0; } }
  @keyframes nxg-load-out { to { opacity: 0; visibility: hidden; } }
}
@media print { html::before, html::after, body::before { display: none !important; } }

/* ---- Legal pages (Privacy Policy) ---- */
.legal__meta { margin-top: var(--s-5); color: var(--muted); font-size: 15px; }
.legal__grid { display: grid; gap: var(--s-6); }
.legal__toc { font-size: 15px; }
.legal__toc-t { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); margin-bottom: var(--s-3); }
.legal__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal__toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s; }
.legal__toc a:hover, .legal__toc a:focus-visible { color: var(--ink); border-left-color: var(--accent, #2EC4A8); }
.legal__body { max-width: 72ch; }
.legal__sec { scroll-margin-top: 96px; padding-bottom: var(--s-7); }
.legal__sec h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin-bottom: var(--s-4); }
.legal__sec h3 { font-family: var(--font-body, inherit); font-size: 18px; font-weight: 600; margin: var(--s-5) 0 var(--s-3); }
.legal__sec p, .legal__sec li { line-height: 1.7; }
.legal__sec p + p, .legal__sec ul + p, .legal__sec p + ul { margin-top: var(--s-4); }
.legal__sec ul { list-style: disc; padding-left: 1.25em; display: grid; gap: var(--s-3); }
.legal__sec li::marker { color: var(--accent, #2EC4A8); }
.legal__sec a { text-decoration: underline; text-underline-offset: 3px; }
.legal__addr { font-style: normal; line-height: 1.8; margin-top: var(--s-4); padding-left: var(--s-4); border-left: 2px solid var(--accent, #2EC4A8); }
@media (min-width: 960px) {
  .legal__grid { grid-template-columns: 260px minmax(0, 1fr); gap: var(--s-8, 72px); align-items: start; }
  .legal__toc { position: sticky; top: 104px; }
}
.legal__sec p.legal__lead { margin-top: var(--s-5); margin-bottom: calc(var(--s-3) * -1); }


/* ==========================================================================
   Design pass 13: refined dark, enterprise-technical. Near-black page, flat panels with
   hairline borders (no glass, no glow), tight grotesk headlines, small mono labels,
   a near-white primary button, and hairline dividers between sections.
   Brand teal is kept as the single accent. Styling only; no copy changes.
   ========================================================================== */
:root {
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #070A12; --bg-2: #0A0E18; --surface: #0D121E;
  --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.15);
  --ink: #EEF1F7; --muted: #9BA5B8;
  --accent: #2EC4A8; --accent-soft: #8BE8D6; --accent-deep: #0E8A76; --on-accent: #04110E;
  --glass: linear-gradient(transparent, transparent); --edge: rgba(255,255,255,.08);
  --g-bg: linear-gradient(transparent, transparent); --g-edge: rgba(255,255,255,.08); --g-blur: none;
  --btn-bg: #EDF1F8; --btn-ink: #0A0E18;
}
body { font-size: 16px; line-height: 1.62; font-weight: 400; background: var(--bg); }
@media (min-width: 900px) { body { font-size: 17px; } }

/* type */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 500; }
h1 { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.03; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.7vw, 50px); line-height: 1.06; letter-spacing: -0.03em; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; }
.page-hero h1 { letter-spacing: -0.035em; }
.hl, .section h2 .hl, .cta-band h2 .hl { font-style: normal; color: var(--accent-soft); -webkit-text-fill-color: var(--accent-soft); letter-spacing: inherit; }
.lead, .paths__item p, .card p, .cards4 + p, .steps p, .flow__caption, .split__head .small { color: var(--muted); font-weight: 400; }
.lead { font-size: clamp(17px, 1.7vw, 19px); line-height: 1.6; }
.site-footer p, .site-footer li, .nxg-form .hint, .nxg-form ::placeholder { font-weight: 400; }
.value-band__number { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.05em; }
.toc li span { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: var(--muted); }

/* header + announcement: flat, full width, hairline */
.announcement { background: var(--bg-2); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.announcement a { font-size: 12px; letter-spacing: .08em; text-transform: none; }
.site-header, .site-header.is-scrolled { top: 0; margin: 0; width: 100%; max-width: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: rgba(7,10,18,.92); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav a { font-size: 14px; font-weight: 450; }

/* buttons */
.btn { border-radius: 7px; font-size: 14.5px; font-weight: 500; min-height: 42px; padding: 10px 18px; letter-spacing: 0; }
.btn--l { min-height: 46px; padding: 12px 22px; font-size: 15px; }
.btn--s { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.btn--primary, .btn--primary:hover { background: var(--btn-bg); color: var(--btn-ink); box-shadow: none; border-color: transparent; }
.btn--primary:hover { background: #fff; }
.btn--primary:active { background: #D9DFEA; color: var(--btn-ink); }
.btn--secondary { background: transparent; border-color: var(--line-strong); color: var(--ink); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn--secondary:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.3); color: var(--ink); }
.nxg-form button[type="submit"] { border-radius: 8px; min-height: 50px; font-size: 15.5px; font-weight: 500; }

/* labels */
.eyebrow { font-size: 12px; letter-spacing: .14em; font-weight: 500; color: var(--muted); }
.hero .eyebrow, .page-hero .eyebrow { padding: 0; border: 0; background: none; border-radius: 0; color: var(--muted); }
.section .eyebrow, .cta-band .eyebrow, .split__head .eyebrow { padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 5px; background: rgba(255,255,255,.02); color: var(--muted); }
.hero .eyebrow::before, .page-hero .eyebrow::before, .section .eyebrow::before, .cta-band .eyebrow::before { display: none; }
.eyebrow--muted { background: rgba(255,255,255,.02) !important; border-color: var(--line-strong) !important; }

/* calm backgrounds: no orbs, no spheres, hairline dividers */
.section::before, .section::after, .value-band::before, .value-band::after, .cta-band::before, .cta-band::after { display: none; }
.hero, .page-hero { background: radial-gradient(60% 70% at 86% 8%, rgba(46,196,168,.09), transparent 70%); background-color: var(--bg); }
.cta-band, .value-band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--alt { background: var(--bg-2); }
.section + .section, .section + .value-band, .stat-strip + .section { border-top: 1px solid var(--line); }
.section { padding-block: clamp(64px, 8vw, 104px); }

/* section heading: plain, no gradient, no glowing bar */
.section h2:not(.visually-hidden), .cta-band h2 { background: none; -webkit-text-fill-color: currentColor; color: var(--ink); }
.section h2:not(.visually-hidden)::before, .cta-band h2::before { display: none; }

/* panels: flat, hairline border, small radius */
.card, .cancan__col, .redact__pane, .fit, .flow__node, .cards4 li, .spec-table, .ledger, .formwrap, .nxg-form .ack, .paths__item, .toc li,
.stat-strip--band .stat-strip__grid > li, .notice {
  background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid var(--line); box-shadow: none;
}
.card, .cancan__col, .fit, .cards4 li, .paths__item, .stat-strip--band .stat-strip__grid > li, .toc li { border-radius: 10px; }
.formwrap { border-radius: 14px; }
.paths__item, .paths__item--alt, .cards4 li, .card {
  background: linear-gradient(90deg, var(--accent) 0 38px, transparent 38px) top left / 100% 2px no-repeat, var(--surface);
  border-left: 1px solid var(--line) !important; border-top: 1px solid var(--line);
}
.paths__item:hover, .cards4 li:hover { border-color: rgba(255,255,255,.2); }
.paths__who { background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 5px; font-family: var(--font-mono); font-size: 12px; }
.redact__pane--after, .flow__node--buyer { background: linear-gradient(180deg, rgba(46,196,168,.08), transparent 70%), var(--surface); border-color: rgba(46,196,168,.32); }
.toc li { background: var(--surface); }
.spec-table thead th { background: rgba(255,255,255,.03); }
.notice { background: rgba(242,184,75,.07); border: 1px solid rgba(242,184,75,.28); border-left: 3px solid var(--notice); border-radius: 8px; }
.cards4 .ic { background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 8px; box-shadow: none; }

/* FAQ: hairline rows, no cards */
.faq { gap: 0; border-top: 1px solid var(--line); }
.faq details { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding-inline: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.faq details[open] { border-color: var(--line); }

/* chips: small rectangles */
.chip { border-radius: 6px; background: rgba(255,255,255,.03); padding: 7px 12px; font-size: 13.5px; border: 1px solid var(--line-strong); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.hero .chip { background: none; border-color: var(--line); color: var(--muted); }
.hero .chip::before { background: var(--accent); }

/* timeline: flat numerals on a hairline rail */
.steps__num { background: var(--bg); border: 1px solid var(--line-strong); color: var(--muted); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.steps li::before { background: var(--line-strong); opacity: 1; }
html.steps-live .steps li::after { box-shadow: none; }
html.steps-live .steps li:not(.is-reached) .steps__num { background: var(--bg); color: var(--muted); border-color: var(--line-strong); box-shadow: none; }
html.steps-live .steps li.is-reached .steps__num { background: var(--accent); color: var(--on-accent); border-color: var(--accent); box-shadow: none; }

/* data-flow: a flat framed panel with a faint grid */
.flow { background: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 36px 36px, linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 36px 36px, var(--bg-2);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: none; }
.flow__node { border-radius: 10px; box-shadow: none; }
.flow__icon { background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); box-shadow: none; border-radius: 10px; }
.flow__node--buyer .flow__icon { background: rgba(46,196,168,.14); border-color: rgba(46,196,168,.5); stroke: var(--accent-soft); }
.flow__side { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 16px 28px; }
.flow__arrow span { background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); color: var(--muted); border-radius: 5px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; }
.flow__arrow::before, .flow__arrow::after { box-shadow: none; background: var(--accent); width: 6px; height: 6px; }
@media (prefers-reduced-motion: no-preference) { .flow.in-view .flow__side, .flow.in-view .flow__icon { animation: none; } }

/* forms */
.formwrap { background: var(--surface); }
.nxg-form label, .nxg-form legend { color: var(--ink); }
.nxg-form input[type="text"], .nxg-form input[type="email"], .nxg-form input[type="tel"], .nxg-form input[type="url"], .nxg-form select, .nxg-form textarea {
  background: #080C15; border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nxg-form input:hover, .nxg-form select:hover, .nxg-form textarea:hover { border-color: rgba(255,255,255,.3); }
.nxg-form input:focus, .nxg-form select:focus, .nxg-form textarea:focus { background: #080C15; box-shadow: 0 0 0 4px rgba(46,196,168,.14); }
.nxg-form ::placeholder { color: #7D889B; }
.nxg-form .hint, .nxg-form .count { color: var(--muted); }
.nxg-form .checks-group label { border-radius: 8px; background: rgba(255,255,255,.02); border-color: var(--line); }
.nxg-form .ack { border-radius: 10px; }
.nxg-form input[type="checkbox"] { border-radius: 5px; }
.form-success { border-radius: 10px; }

/* footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); }
.cx-dot { box-shadow: 0 0 0 1.5px rgba(4,20,18,.7); }

/* pass 13 refinements */
h1 { font-size: clamp(36px, 4.9vw, 64px); }
.value-band__number { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; color: var(--ink); font-size: clamp(64px, 11vw, 148px); }
.value-band strong, .value-band b { white-space: nowrap; }
.stat-strip--band { padding-top: 40px; }
html.steps-live .steps li:not(.is-reached) .steps__text { opacity: .62; }
.stat-strip--band .stat-strip__grid > li { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; }
.nxg-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%238BE8D6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 14px 9px; }
.nxg-form button[type="submit"] { background: var(--btn-bg); color: var(--btn-ink); border-color: transparent; }
.nxg-form button[type="submit"]:hover { background: #fff; }
.paths__who { align-self: flex-start; }

/* ==========================================================================
   Pass 14: motion lifted from the reference videos, kept calm.
   header progress line, hero blur-in, card spotlight, live checklist, stage sweep.
   ========================================================================== */
/* header progress line (replaces the line at the very top of the page) */
.fx-progress { display: none; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(var(--sp, 0)); pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
  /* hero text sharpens in while the intro lifts */
  @keyframes nxg-blurin { from { filter: blur(7px); transform: translateY(6px); } to { filter: blur(0); transform: none; } }
  .hero .lead, .page-hero .lead { animation: nxg-blurin 1s cubic-bezier(.2,.7,.2,1) .5s backwards; }
  .hero .btn-row, .page-hero .btn-row { animation: nxg-blurin 1s cubic-bezier(.2,.7,.2,1) .65s backwards; }
  .hero__fine, .hero .chips { animation: nxg-blurin 1s cubic-bezier(.2,.7,.2,1) .8s backwards; }
}

/* card spotlight */
@media (hover: hover) and (pointer: fine) {
  .card, .paths__item, .cards4 li, .cancan__col, .fit, .toc li, .stat-strip--band .stat-strip__grid > li { position: relative; }
  .card::after, .paths__item::after, .cards4 li::after, .cancan__col::after, .fit::after, .toc li::after, .stat-strip--band .stat-strip__grid > li::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0), rgba(46,196,168,.11), transparent 65%); }
  .card:hover::after, .paths__item:hover::after, .cards4 li:hover::after, .cancan__col:hover::after, .fit:hover::after, .toc li:hover::after, .stat-strip--band .stat-strip__grid > li:hover::after { opacity: 1; }
}
.cards4 .ic { transition: border-color .3s, background-color .3s; }
.cards4 li:hover .ic { border-color: rgba(46,196,168,.5); background: rgba(46,196,168,.12); }

/* live checklist rows */
.checks li, .ledger > div, .rows--stack > div { transition: background-color .5s ease, box-shadow .5s ease; }
.checks li.is-live, .ledger > div.is-live, .rows--stack > div.is-live { background: rgba(46,196,168,.06); box-shadow: inset 2px 0 0 var(--accent); }
.rows--stack > div.is-live { padding-left: 14px; }
.rows--stack > div { transition: background-color .5s ease, box-shadow .5s ease, padding-left .4s ease; }
.rows--stack > div.is-live dt, .ledger > div.is-live .ledger__who { color: var(--accent-soft); }

/* data-flow stage: a faint scan line crosses the panel while it is on screen */
@media (prefers-reduced-motion: no-preference) {
  .flow::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 100%; pointer-events: none; opacity: 0;
    background: linear-gradient(90deg, transparent calc(100% - 90px), rgba(46,196,168,.10) calc(100% - 1px), rgba(46,196,168,.6)); transform: translateX(-100%); }
  .flow.in-view::after { animation: nxg-scanline 7s linear infinite; }
  @keyframes nxg-scanline { 0% { transform: translateX(-100%); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }
}

/* ==========================================================================
   Pass 16: two home sections (organization cards, approval panel)
   ========================================================================== */
.head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-4) var(--s-6); }
.head-row h2 { max-width: 18ch; }
.head-sub { margin-top: var(--s-5); max-width: 62ch; color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); }
.notice-line { margin-top: var(--s-5); display: inline-block; max-width: 100%; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(255,255,255,.03); font-size: 14.5px; font-weight: 500; color: var(--ink); }
.head-row .link-arrow, .ctl-links .link-arrow { font-size: 15px; font-weight: 500; color: var(--ink); }
.head-row .link-arrow:hover, .ctl-links .link-arrow:hover { color: var(--accent-soft); }

.orgcards { display: grid; gap: 12px; margin-top: var(--s-7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .orgcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .orgcards { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.orgcards li { position: relative; display: flex; }
.orgcards a { position: relative; display: flex; flex-direction: column; gap: var(--s-3); width: 100%; padding: 20px 18px 22px; text-decoration: none; color: var(--muted); font-size: 14.5px; line-height: 1.5;
  background: linear-gradient(90deg, var(--accent) 0 38px, transparent 38px) top left / 100% 2px no-repeat, var(--surface); border: 1px solid var(--line); border-radius: 10px; transition: border-color .25s ease; }
.orgcards a:hover { border-color: rgba(255,255,255,.22); }
.orgcards__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; color: var(--ink); }
.orgcards__top strong { font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
.orgcards__top svg { flex: none; margin-top: 3px; color: var(--muted); transition: color .25s, transform .25s; }
.orgcards a:hover .orgcards__top svg { color: var(--accent-soft); transform: translate(2px, -2px); }

.ctl-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .ctl-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-9); } }
.ctl-copy h2 { margin-top: var(--s-4); }
.ctl-copy .lead { margin-top: var(--s-5); max-width: 46ch; color: var(--muted); }
.ctl-links { display: flex; flex-wrap: wrap; gap: 0 var(--s-6); margin-top: var(--s-5); }
.ctl-panel { padding: clamp(20px, 2.6vw, 30px); background: linear-gradient(90deg, var(--accent) 0 60px, transparent 60px) top left / 100% 2px no-repeat, var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; }
.ctl-panel__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ctl-panel__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ctl-panel__badge { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 5px; color: var(--accent-soft); background: rgba(46,196,168,.12); border: 1px solid rgba(46,196,168,.3); }
.ctl-panel__title { margin-top: var(--s-5); font-size: clamp(22px, 2.3vw, 28px); font-weight: 500; letter-spacing: -0.025em; }
.ctl-rows { margin-top: var(--s-4); }
.ctl-rows li { display: grid; grid-template-columns: 20px 92px minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 14px 10px; margin-inline: -10px; border-top: 1px solid var(--line); border-radius: 6px; transition: background-color .5s ease, box-shadow .5s ease; }
.ctl-rows li:first-child { border-top: 0; }
.ctl-rows svg { margin-top: 2px; }
.ctl-rows svg .ring { fill: rgba(46,196,168,.14); stroke: rgba(46,196,168,.5); stroke-width: 1; }
.ctl-rows svg path { stroke: var(--accent-soft); }
.ctl-rows strong { font-weight: 600; font-size: 15px; color: var(--ink); }
.ctl-rows span { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.ctl-rows li.is-live { background: rgba(46,196,168,.06); box-shadow: inset 2px 0 0 var(--accent); }
.ctl-rows li.is-live strong { color: var(--accent-soft); }
@media (max-width: 520px) { .ctl-rows li { grid-template-columns: 20px minmax(0, 1fr); } .ctl-rows li span { grid-column: 2; } }
.ctl-panel__cap { margin-top: var(--s-5); font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ctl-panel__never { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-3); padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.ctl-panel__never .tag { position: relative; padding: 4px 10px; border-radius: 4px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); background: rgba(255,255,255,.05); border: 1px solid var(--line-strong); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.35); }
.ctl-panel__badge { white-space: nowrap; flex: none; }
.ctl-panel__label { min-width: 0; }

/* ==========================================================================
   Pass 17: fit check as a step-by-step wizard (class added by JS; no JS = the plain list)
   ========================================================================== */
.fit--wizard { position: relative; overflow: hidden; padding-top: calc(var(--s-6) + 6px); }
.fit__bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line); }
.fit__bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform .45s cubic-bezier(.4,0,.2,1); }
.fit--wizard .fit__head { margin-bottom: var(--s-5); }
.fit--wizard .fit__head h3 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fit--wizard fieldset { border: 0; padding: var(--s-4) 0 var(--s-5); min-height: 190px; }
.fit--wizard legend { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.025em; margin-bottom: var(--s-5); max-width: 28ch; }
.fit--wizard fieldset > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 460px; }
.fit--wizard label span { width: 100%; justify-content: flex-start; min-height: 64px; padding: 0 20px; font-size: 17px; font-weight: 500; border-radius: 10px; background: rgba(255,255,255,.02); transition: border-color .2s, background-color .2s; }
.fit--wizard label:hover span { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.05); }
.fit--wizard input:checked + span { background: rgba(46,196,168,.14); border-color: var(--accent); color: var(--ink); }
.fit--wizard input:checked + span::after { content: ""; margin-left: auto; width: 14px; height: 8px; border-left: 2px solid var(--accent-soft); border-bottom: 2px solid var(--accent-soft); transform: rotate(-45deg) translateY(-2px); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes nxg-step-r { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
  @keyframes nxg-step-l { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
  .fit--wizard fieldset.is-in-r { animation: nxg-step-r .32s cubic-bezier(.22,.8,.3,1) both; }
  .fit--wizard fieldset.is-in-l { animation: nxg-step-l .32s cubic-bezier(.22,.8,.3,1) both; }
  .fit__review:not([hidden]) { animation: nxg-step-r .4s cubic-bezier(.22,.8,.3,1) both; }
}
.fit__bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.fit__bottom .fit__foot { margin: 0; }
.fit__nav { display: flex; gap: 8px; }
.fit__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); transition: border-color .2s, background-color .2s, opacity .2s; }
.fit__btn:hover:not(:disabled) { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.05); }
.fit__btn:disabled { opacity: .35; cursor: default; }
.fit__btn:focus-visible, .fit__edit:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.fit__review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fit__tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fit__edit { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(46,196,168,.4); background: rgba(46,196,168,.1); color: var(--accent-soft); font-size: 14px; font-weight: 500; }
.fit__edit:hover { background: rgba(46,196,168,.18); }
.fit__review-res .fit__result { margin: var(--s-5) 0 0; padding: 0; border: 0; background: none; border-radius: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -0.03em; color: var(--ink); }
.fit__review-rows { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 var(--s-5); margin: var(--s-5) 0 0; }
.fit__review-rows dt, .fit__review-rows dd { margin: 0; padding: 12px 0; border-top: 1px dashed var(--line-strong); font-size: 15px; }
.fit__review-rows dt { color: var(--muted); }
.fit__review-rows dd { font-weight: 600; text-align: right; color: var(--ink); }
.fit__review-rows dd.is-yes { color: var(--accent-soft); }
.fit__review-cta { margin-top: var(--s-5); }
@media (max-width: 520px) { .fit--wizard fieldset > div { grid-template-columns: 1fr 1fr; } .fit__bottom { flex-wrap: wrap; } }

/* ==========================================================================
   Pass 18: theme menu (Light / Dark / Auto) and the light palette.
   Dark is the default. Light flips the tokens; the hero, page heads, CTA band, value band
   and footer stay deep navy so the brand keeps its anchor. No copy changes.
   ========================================================================== */
.site-header__actions { position: relative; }
.theme { position: relative; }
.theme__btn { display: grid; place-items: center; width: 40px; height: 38px; border-radius: 7px; border: 1px solid transparent; background: transparent; color: var(--ink); transition: background-color .2s, border-color .2s; }
.theme__btn:hover, .theme__btn[aria-expanded="true"] { background: rgba(127,140,160,.14); border-color: var(--line-strong); }
.theme__btn:focus-visible, .theme__list button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.theme .ti--light { display: none; }
html[data-theme-r="light"] .theme .ti--light { display: block; }
html[data-theme-r="light"] .theme .ti--dark { display: none; }
.theme__list { position: absolute; right: 0; top: calc(100% + 10px); z-index: 300; min-width: 180px; margin: 0; padding: 6px; list-style: none; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); }
.theme__list button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); font-size: 15px; font-weight: 500; text-align: left; }
.theme__list button:hover, .theme__list button:focus-visible { background: rgba(127,140,160,.16); }
.theme__list button[aria-checked="true"] { background: rgba(127,140,160,.14); }
.theme__list svg { flex: none; color: var(--muted); }
.theme__tick { margin-left: auto; width: 12px; height: 7px; border-left: 2px solid transparent; border-bottom: 2px solid transparent; transform: rotate(-45deg) translateY(-2px); }
.theme__list button[aria-checked="true"] .theme__tick { border-color: var(--ink); }
@media (max-width: 899px) { .theme__btn { width: 38px; } .theme__list { right: -4px; } }

html[data-theme-r="light"] { color-scheme: light; }
html[data-theme-r="dark"] { color-scheme: dark; }
html[data-theme-r="light"] {
  --bg: #F6F8FB; --bg-2: #ECF0F6; --surface: #FFFFFF;
  --line: rgba(15,28,51,.10); --line-strong: rgba(15,28,51,.20);
  --ink: #0F1C33; --muted: #46566B;
  --accent: #0F7A68; --accent-deep: #0B6556; --accent-soft: #0B6556; --on-accent: #FFFFFF;
  --edge: rgba(15,28,51,.10); --g-edge: rgba(15,28,51,.10);
  --btn-bg: #0F1C33; --btn-ink: #FFFFFF;
}
/* brand navy zones keep the dark tokens in both modes */
html[data-theme-r="light"] :is(.hero, .page-hero, .cta-band, .value-band, .site-footer, .sticky-cta) {
  --bg: #070A12; --bg-2: #0A0E18; --surface: #0D121E;
  --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.15);
  --ink: #EEF1F7; --muted: #9BA5B8;
  --accent: #2EC4A8; --accent-deep: #0E8A76; --accent-soft: #8BE8D6; --on-accent: #04110E;
  --edge: rgba(255,255,255,.08); --g-edge: rgba(255,255,255,.08);
  --btn-bg: #EDF1F8; --btn-ink: #0A0E18;
  color: var(--ink); background-color: var(--bg);
}
html[data-theme-r="light"] :is(.hero, .page-hero, .cta-band, .value-band, .site-footer) .btn--primary:hover { background: #fff; }
html[data-theme-r="light"] .site-header, html[data-theme-r="light"] .site-header.is-scrolled { background: rgba(246,248,251,.92); }
html[data-theme-r="light"] .announcement { background: var(--bg-2); }
html[data-theme-r="light"] .btn--primary:hover { background: #1B2D4D; color: #fff; }
html[data-theme-r="light"] .btn--primary:active { background: #0A1424; color: #fff; }
html[data-theme-r="light"] .btn--secondary:hover { background: rgba(15,28,51,.05); border-color: rgba(15,28,51,.4); }
html[data-theme-r="light"] .nxg-form button[type="submit"]:hover { background: #1B2D4D; color: #fff; }
html[data-theme-r="light"] .menu-overlay { background: rgba(246,248,251,.97) !important; }

/* hairline fills that were white-on-dark become navy-on-light (page sections only; navy zones are excluded) */
html[data-theme-r="light"] .section :is(.eyebrow, .chip, .flow__icon, .flow__arrow span, .cards4 .ic, .paths__who, .notice-line, .ctl-panel__never .tag, .nxg-form .checks-group label) { background: rgba(15,28,51,.04); }
html[data-theme-r="light"] .section .eyebrow--muted { background: rgba(15,28,51,.04) !important; }
html[data-theme-r="light"] .section .spec-table thead th { background: rgba(15,28,51,.04); }
html[data-theme-r="light"] .section :is(.paths__item, .cards4 li, .orgcards a):hover { border-color: rgba(15,28,51,.32); }
html[data-theme-r="light"] .section .nxg-form :is(input, select, textarea):hover { border-color: rgba(15,28,51,.45); }
html[data-theme-r="light"] .section .fit--wizard label span { background: #fff; }
html[data-theme-r="light"] .section .fit--wizard label:hover span { border-color: rgba(15,28,51,.4); background: rgba(15,28,51,.03); }
html[data-theme-r="light"] .section .fit--wizard input:checked + span { background: rgba(15,122,104,.1); border-color: var(--accent); }
html[data-theme-r="light"] .section .fit--wizard input:checked + span::after { border-color: var(--accent); }
html[data-theme-r="light"] .section .fit__btn:hover:not(:disabled) { border-color: rgba(15,28,51,.4); background: rgba(15,28,51,.05); }
html[data-theme-r="light"] .section .fit__edit { border-color: rgba(15,122,104,.4); background: rgba(15,122,104,.08); color: var(--accent-deep); }
html[data-theme-r="light"] .section .fit__review-rows dd.is-yes { color: var(--accent-deep); }
html[data-theme-r="light"] .section .flow { background: linear-gradient(rgba(15,28,51,.04) 1px, transparent 1px) 0 0 / 36px 36px, linear-gradient(90deg, rgba(15,28,51,.04) 1px, transparent 1px) 0 0 / 36px 36px, var(--bg-2); }
html[data-theme-r="light"] .section a:not(.btn) { color: var(--accent); }
html[data-theme-r="light"] .section a:not(.btn):hover { color: var(--accent-deep); }
html[data-theme-r="light"] .section .notice { background: #FFF6E0; border-color: #E8C46A; border-left-color: #B7791F; color: var(--ink); }
html[data-theme-r="light"] .section .notice :is(strong, b) { color: #6B4200; }
html[data-theme-r="light"] .section .notice a { color: #7A4B00; }
html[data-theme-r="light"] .section .nxg-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%230F7A68' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E"); }
html[data-theme-r="light"] .section .nxg-form select option { background: #fff; color: var(--ink); }
html[data-theme-r="light"] .cx-dot { background: #0F7A68; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(15,28,51,.25); }
html[data-theme-r="light"] .cx-ring { border-color: rgba(15,122,104,.7); }
html[data-theme-r="light"] .theme__list { box-shadow: 0 18px 40px -18px rgba(15,28,51,.35); }
html[data-theme-r="light"] ::selection { background: rgba(15,122,104,.25); }
.site-header .btn { white-space: nowrap; }

/* Pass 19: terms table sits on the page like the rest of the layout (no boxed card), hairline rows only */
.section .spec-table, .spec-table { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; border-top: 1px solid var(--line-strong); }
.spec-table thead th { background: transparent !important; padding: 14px 24px 14px 0; border-bottom: 1px solid var(--line-strong); }
.spec-table tbody th, .spec-table td { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--line); background: transparent; }
.spec-table tbody tr:last-child > * { border-bottom: 1px solid var(--line-strong); }
.spec-table td { font-weight: 450; }
.spec-table tbody th { width: 34%; font-weight: 400; }
.spec-table tbody tr { position: relative; transition: background-color .25s; }
.spec-table tbody tr:hover > * { background: rgba(127,140,160,.07); }
@media (min-width: 900px) { .spec-table thead th, .spec-table tbody th, .spec-table td { padding-right: 32px; } .spec-table tbody th { width: 32%; } }
@media (max-width: 599px) { .spec-table tbody th { width: 40%; font-size: 15px; } .spec-table td { font-size: 15px; } }

/* Pass 20: forms in light mode (white fields, dark text, visible borders, readable placeholders) */
html[data-theme-r="light"] .nxg-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea) {
  background-color: #fff; color: #0F1C33; border: 1px solid rgba(15,28,51,.32); box-shadow: none; }
html[data-theme-r="light"] .nxg-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea):hover { border-color: rgba(15,28,51,.55); }
html[data-theme-r="light"] .nxg-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea):focus { background-color: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(15,122,104,.16); }
html[data-theme-r="light"] .nxg-form ::placeholder { color: #5C6B7F; opacity: 1; }
html[data-theme-r="light"] .nxg-form :is(label, legend) { color: #0F1C33; }
html[data-theme-r="light"] .nxg-form .ack label { color: #1C2B45; }
html[data-theme-r="light"] .nxg-form .hint { color: #46566B; }
html[data-theme-r="light"] .nxg-form .count { color: #46566B; }
html[data-theme-r="light"] .nxg-form select option { background: #fff; color: #0F1C33; }
html[data-theme-r="light"] .nxg-form input[type="checkbox"] { background: #fff; border: 1.5px solid rgba(15,28,51,.55); }
html[data-theme-r="light"] .nxg-form input[type="checkbox"]::after { border-color: #fff; }
html[data-theme-r="light"] .nxg-form input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
html[data-theme-r="light"] .nxg-form .checks-group label { background: #F6F8FB; border: 1px solid rgba(15,28,51,.2); color: #0F1C33; }
html[data-theme-r="light"] .nxg-form .checks-group label:hover { border-color: rgba(15,122,104,.55); background: rgba(15,122,104,.06); }
html[data-theme-r="light"] .nxg-form .checks-group label:has(input:checked) { border-color: rgba(15,122,104,.65); background: rgba(15,122,104,.1); }
html[data-theme-r="light"] .nxg-form .ack { background: #F6F8FB; border: 1px solid rgba(15,28,51,.2); }
html[data-theme-r="light"] .formwrap { background: #fff; }
html[data-theme-r="light"] .nxg-form .req, html[data-theme-r="light"] .nxg-form abbr { color: #0B6556; }
html[data-theme-r="light"] .form-success { background: rgba(15,122,104,.08); border-color: rgba(15,122,104,.4); color: #0F1C33; }
html[data-theme-r="light"] .section .nxg-form select, html[data-theme-r="light"] .nxg-form select { background-repeat: no-repeat; background-position: right 18px center; background-size: 14px 9px; }
@media (max-width: 899px) { .site-header .btn--s, .theme__btn { min-height: 44px; } .theme__btn { width: 44px; } }
@media (max-width: 599px) { .fit--wizard fieldset { min-height: 0; padding-bottom: var(--s-4); } }
/* Pass 21: the sans headline font has no true italic; drop the leftover serif-era faux italics */
.steps__slow, .pull, .menu-overlay nav a[aria-current="page"] { font-style: normal; }
.steps__slow { font-size: 17px; }
.pull { font-weight: 500; letter-spacing: -0.02em; }

/* Pass 22: buttons inside the navy zones (hero, CTA bands, value band, footer) keep their dark-mode look in light mode, including hover */
html[data-theme-r="light"] :is(.hero, .page-hero, .cta-band, .value-band, .site-footer, .sticky-cta) .btn--primary,
html[data-theme-r="light"] :is(.hero, .page-hero, .cta-band, .value-band, .site-footer, .sticky-cta) .btn--primary:focus-visible { background: #EDF1F8; color: #0A0E18; }
html[data-theme-r="light"] :is(.hero, .page-hero, .cta-band, .value-band, .site-footer, .sticky-cta) .btn--primary:hover { background: #fff; color: #0A0E18; }
html[data-theme-r="light"] :is(.hero, .page-hero, .cta-band, .value-band, .site-footer, .sticky-cta) .btn--primary:active { background: #D9DFEA; color: #0A0E18; }
html[data-theme-r="light"] :is(.hero, .page-hero, .cta-band, .value-band, .site-footer, .sticky-cta) .btn--secondary { background: transparent; border-color: rgba(255,255,255,.15); color: #EEF1F7; }
html[data-theme-r="light"] :is(.hero, .page-hero, .cta-band, .value-band, .site-footer, .sticky-cta) .btn--secondary:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.35); color: #EEF1F7; }
html[data-theme-r="light"] :is(.hero, .page-hero, .cta-band, .value-band, .site-footer) a:not(.btn) { color: #8BE8D6; }
html[data-theme-r="light"] :is(.hero, .page-hero, .cta-band, .value-band, .site-footer) a:not(.btn):hover { color: #fff; }
