/* SellersNetPay design system. Mobile first (375, 768, 1024, 1280). Tokens first, then base, components, page
   sections, the kit's legacy classes (portal, legal pages) and finally the motion states used by assets/js/motion.js.
   Color tokens are redefined for dark mode twice: under prefers-color-scheme (unless the visitor forced light) and
   under [data-theme="dark"] (the footer theme switch). Every animated state has a reduced-motion final state. */

/* ================================================================ tokens */
:root {
  --navy-950: #061631; --navy-900: #0A2146; --navy-800: #0E2C5C; --navy-700: #123A73; --navy-600: #1B4F94;
  --blue-400: #5B8FD9;
  --green-800: #1F5F1A; --green-700: #2A7521; --green-600: #3A8C2A; --green-500: #4DA531; --green-400: #6CC24A;
  --green-100: #E8F5E1; --slate-500: #5F6368; --gold: #C9A36A;

  --bg: #F5F8FC; --surface: #FFFFFF; --surface-2: #EEF3F9; --ink: #0B1B33; --muted: #51607A;
  --line: #DCE4EF; --line-2: #C6D3E3; --heading: var(--navy-700);
  --debit: #B42318; --credit: #2A7521; --warn: #9A6700;
  --link: var(--navy-600); --focus: var(--navy-600);
  --accent: var(--green-700); --accent-hover: var(--green-800); --accent-soft: var(--green-100); --accent-ink: #1F5F1A;
  --seg-keep: var(--green-500); --seg-owed: var(--navy-700); --seg-agent: #C9A36A; --seg-fees: var(--debit);
  --glass: rgba(255, 255, 255, .8); --glass-line: rgba(18, 58, 115, .08);
  --dot: rgba(18, 58, 115, .09);
  --pill-on: var(--navy-900); --pill-on-ink: #fff;

  --r-sm: 12px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(10, 33, 70, .06), 0 1px 3px rgba(10, 33, 70, .08);
  --shadow-md: 0 4px 10px -2px rgba(10, 33, 70, .07), 0 14px 30px -10px rgba(10, 33, 70, .16);
  --shadow-lg: 0 10px 24px -8px rgba(10, 33, 70, .12), 0 36px 72px -20px rgba(10, 33, 70, .28);
  --shadow-glow: 0 0 0 1px rgba(77, 165, 49, .22), 0 14px 40px -10px rgba(77, 165, 49, .5);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem;
  --wrap: 1200px; --gutter: clamp(16px, 4vw, 32px); --header-h: 68px;
  --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-in: cubic-bezier(.5, 0, .75, 0); --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: light;
}
@media (min-width: 1024px) { :root { --header-h: 76px; } }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07142A; --surface: #0D1F3D; --surface-2: #12284A; --ink: #E8EEF7; --muted: #A3B1C6;
    --line: #22385C; --line-2: #2E4A75; --heading: #F2F6FC;
    --debit: #FF8A7A; --credit: #6CC24A; --warn: #E8B04B;
    --link: var(--blue-400); --focus: var(--blue-400);
    --accent-soft: #13301F; --accent-ink: #8FD66F; --seg-owed: var(--blue-400); --pill-on: var(--blue-400); --pill-on-ink: var(--navy-950);
    --glass: rgba(9, 24, 49, .8); --glass-line: rgba(163, 177, 198, .12); --dot: rgba(163, 177, 198, .08);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3); --shadow-md: 0 14px 30px -12px rgba(0, 0, 0, .55);
    --shadow-lg: 0 36px 72px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #07142A; --surface: #0D1F3D; --surface-2: #12284A; --ink: #E8EEF7; --muted: #A3B1C6;
  --line: #22385C; --line-2: #2E4A75; --heading: #F2F6FC;
  --debit: #FF8A7A; --credit: #6CC24A; --warn: #E8B04B;
  --link: var(--blue-400); --focus: var(--blue-400);
  --accent-soft: #13301F; --accent-ink: #8FD66F; --seg-owed: var(--blue-400); --pill-on: var(--blue-400); --pill-on-ink: var(--navy-950);
  --glass: rgba(9, 24, 49, .8); --glass-line: rgba(163, 177, 198, .12); --dot: rgba(163, 177, 198, .08);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3); --shadow-md: 0 14px 30px -12px rgba(0, 0, 0, .55);
  --shadow-lg: 0 36px 72px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ================================================================ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  font: 400 clamp(1rem, .97rem + .15vw, 1.0625rem)/1.55 var(--font);
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
picture { display: contents; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { color: var(--heading); margin: 0 0 var(--s4); text-wrap: balance; font-weight: 800; }
h1 { font-size: clamp(2.35rem, 1.45rem + 4vw, 4.25rem); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.4vw, 3rem); line-height: 1.08; letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 1.08rem + .35vw, 1.35rem); line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
h4 { font-size: 1rem; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 var(--s4); }
em { font-style: normal; color: var(--green-700); }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s6) 0; }
::selection { background: rgba(77, 165, 49, .28); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.money, .num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; }

@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) em { color: var(--green-400); } }
:root[data-theme="dark"] em { color: var(--green-400); }

.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--navy-900); color: #fff; font-weight: 700; text-decoration: none; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em; }

/* ================================================================ layout */
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { position: relative; padding-block: clamp(4rem, 2.8rem + 5vw, 7.5rem); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); }
.section--tint { background: var(--surface-2); }
.section--navy { background: var(--navy-900); color: #D6E0EE; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .lead, .section--navy p { color: #BCC9DC; }
.section--navy a:not(.btn) { color: #9FC2F0; }
.section--navy :focus-visible { outline-color: var(--green-400); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.6rem + 2vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { margin-inline: auto; }
.section-head h2 { margin-bottom: var(--s4); }
.lead { color: var(--muted); font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem); line-height: 1.55; margin: 0; max-width: 42rem; }
.section-head--center .lead { margin-inline: auto; }
.grid { display: grid; gap: var(--s5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.stack > * + * { margin-top: var(--s4); }

/* dark section texture */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: url("/assets/img/bg/grain.svg"); opacity: .09; mix-blend-mode: overlay;
}

/* layered waves between light and navy */
.wave-divider { height: clamp(36px, 5vw, 84px); background: url("/assets/img/bg/waves.svg") center bottom / 100% 100% no-repeat; margin-bottom: -1px; }
.wave-divider--flip { transform: scaleY(-1); margin: -1px 0 0; }
.wave-divider--footer { background-image: url("/assets/img/bg/waves-950.svg"); margin-top: clamp(3rem, 2rem + 4vw, 6rem); }
body.portal .wave-divider--footer { display: none; }

/* ================================================================ eyebrow, badge, chip */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em; width: fit-content; margin: 0 0 var(--s4);
  padding: .42em .9em .42em .75em; border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2;
  color: var(--accent-ink); background: var(--accent-soft); border: 1px solid rgba(77, 165, 49, .28);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 3px rgba(77, 165, 49, .2); flex: none; }
.section--navy .eyebrow, .on-navy .eyebrow, .story .eyebrow { color: var(--green-400); background: rgba(108, 194, 74, .1); border-color: rgba(108, 194, 74, .3); }
.badge {
  display: inline-flex; align-items: center; gap: .35em; padding: .2em .6em; border-radius: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4;
  color: var(--warn); border: 1px solid currentColor; vertical-align: .2em;
}
.badge--green { color: var(--accent-ink); background: var(--accent-soft); border-color: transparent; }
.chip {
  display: inline-flex; align-items: center; gap: .45em; min-height: 32px; padding: .3em .8em; border-radius: var(--r-pill);
  font-size: .85rem; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line);
}
.chip .ic { color: var(--green-600); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); position: relative; flex: none; }
.dot-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green-500); opacity: 0; animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ================================================================ buttons */
.btn {
  --btn-bg: var(--surface); --btn-ink: var(--ink); --btn-line: var(--line-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.25rem; border-radius: var(--r-sm); border: 1px solid var(--btn-line);
  background-color: var(--btn-bg); color: var(--btn-ink); font: 700 .975rem/1.2 var(--font); letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: transform .18s var(--ease-out), background-color .18s, border-color .18s, box-shadow .25s, color .18s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn .ic { width: 1.1em; height: 1.1em; }
.btn--primary {
  --btn-bg: var(--green-700); --btn-ink: #fff; --btn-line: transparent;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 1px 2px rgba(10, 33, 70, .2), 0 8px 20px -8px rgba(42, 117, 33, .6);
}
.btn--primary:hover { --btn-bg: var(--green-800); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, var(--shadow-glow); }
.btn--ghost { --btn-bg: var(--surface); }
.btn--ghost:hover { --btn-line: var(--focus); color: var(--heading); }
.btn--navy { --btn-bg: var(--navy-900); --btn-ink: #fff; --btn-line: transparent; }
.btn--navy:hover { --btn-bg: var(--navy-800); }
.btn--light { --btn-bg: #fff; --btn-ink: var(--navy-900); --btn-line: transparent; }
.btn--light:hover { box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .5); }
.btn--outline-light { --btn-bg: rgba(255, 255, 255, .04); --btn-ink: #fff; --btn-line: rgba(255, 255, 255, .38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-line: rgba(255, 255, 255, .7); }
.btn--sm { min-height: 44px; padding: .55rem 1rem; font-size: .9rem; border-radius: 11px; }
.btn--lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.04rem; border-radius: 14px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 1.2em; height: 1.2em; margin: -.6em 0 0 -.6em; border-radius: 50%;
  border: 2px solid var(--btn-ink); border-right-color: transparent; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; }
.link-arrow .ic { transition: transform .2s var(--ease-out); }
.link-arrow:hover .ic { transform: translateX(3px); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.icon-btn .ic { width: 20px; height: 20px; }

/* ================================================================ header */
.announce { background: var(--navy-950); color: #E8EEF7; font-size: .88rem; text-align: center; padding: .55rem 0; }
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--green-500), var(--green-400) 60%, var(--blue-400));
}
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.is-stuck { border-bottom-color: var(--glass-line); box-shadow: 0 8px 24px -18px rgba(10, 33, 70, .45); }
.header__in { display: flex; align-items: center; gap: var(--s4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.brand__logo { display: block; width: auto; height: 46px; }
@media (min-width: 1024px) { .brand__logo { height: 54px; } }
.nav { display: none; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: var(--s2); }
.header__signin {
  display: none; align-items: center; gap: .45em; min-height: 44px; padding: 0 .75rem; border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none;
}
.header__signin:hover { background: var(--surface-2); }
.header__cta { display: none; }
@media (min-width: 560px) { .header__cta { display: inline-flex; } }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.nav-toggle .ic { width: 22px; height: 22px; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 2px; margin-left: var(--s5); }
  .nav a {
    position: relative; padding: .6rem .8rem; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: .95rem;
    text-decoration: none; transition: color .15s, background-color .15s;
  }
  .nav a:hover { color: var(--heading); background: var(--surface-2); }
  .nav a[aria-current="page"] { color: var(--heading); }
  .nav a[aria-current="page"]::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px; border-radius: 2px; background: var(--green-500); }
  .nav-toggle { display: none; }
  .header__signin { display: inline-flex; }
}
@media (min-width: 1024px) and (max-width: 1179px) { .header__cta .ic, .header__signin .ic { display: none; } .nav { margin-left: var(--s2); } .nav a { padding-inline: .6rem; } }
.portal-nav { margin-left: auto; display: flex; gap: var(--s1); flex-wrap: wrap; }
.portal-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .94rem; }
.portal-nav a:hover, .portal-nav a[aria-current="page"] { color: var(--heading); background: var(--surface-2); }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(6, 22, 49, .52); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s ease; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 400px); display: flex; flex-direction: column;
  background: var(--surface); box-shadow: var(--shadow-lg); padding: var(--s3) var(--s5) calc(var(--s5) + env(safe-area-inset-bottom));
  transform: translateX(100%); transition: transform .2s var(--ease-in); overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; transition: transform .38s var(--ease-out); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 60px; margin-bottom: var(--s4); }
.drawer__nav { display: grid; }
.drawer__nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line);
  color: var(--heading); font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; text-decoration: none;
}
.drawer__nav a .ic { color: var(--muted); }
.drawer__nav a[aria-current="page"] { color: var(--green-700); }
.drawer__foot { margin-top: auto; padding-top: var(--s6); display: grid; gap: var(--s3); }
.drawer__note { display: flex; gap: .5em; align-items: center; margin: 0; color: var(--muted); font-size: .88rem; }
html.drawer-open { overflow: hidden; }

/* ================================================================ cards and surfaces */
.card {
  position: relative; display: flex; flex-direction: column; gap: var(--s2); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.card h3 { margin: 0; }
.card p { color: var(--muted); margin: 0; }
.card--hover { transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card--glass { background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.card--navy { background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border-color: rgba(255, 255, 255, .12); color: #D6E0EE; box-shadow: none; }
.card--navy h3 { color: #fff; }
.card--navy p { color: #BCC9DC; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; margin-bottom: var(--s2);
  border-radius: 14px; color: var(--green-700); background: var(--accent-soft); border: 1px solid rgba(77, 165, 49, .22);
}
.card__icon .ic { width: 22px; height: 22px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card__icon { color: var(--green-400); } }
:root[data-theme="dark"] .card__icon { color: var(--green-400); }
.card--navy .card__icon, .section--navy .card__icon { color: var(--green-400); background: rgba(108, 194, 74, .1); border-color: rgba(108, 194, 74, .25); }
.card__link { margin-top: auto; padding-top: var(--s3); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; color: var(--muted); }
.checks .ic { flex: none; width: 20px; height: 20px; padding: 3px; margin-top: .15em; border-radius: 50%; color: #fff; background: var(--green-600); stroke-width: 3; }
.checks strong { color: var(--ink); }
.section--navy .checks li, .pros .checks li { color: #C7D3E4; }
.section--navy .checks strong, .pros .checks strong { color: #fff; }

/* ================================================================ forms */
.form { margin: 0; }
.form__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4) var(--s5); }
@media (min-width: 640px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: .45rem; min-width: 0; align-content: start; }
.field--full, .field--wide { grid-column: 1 / -1; }
.field > label, .field > legend, .field__label { font-weight: 700; font-size: .92rem; color: var(--ink); transition: color .15s; padding: 0; }
.field:focus-within > label { color: var(--focus); }
.field__opt, .field .hint { font-weight: 500; color: var(--muted); }
.field__hint, .field small { color: var(--muted); font-size: .84rem; line-height: 1.45; }
.field__err { margin: 0; color: var(--debit); font-size: .85rem; font-weight: 600; display: flex; gap: .4em; align-items: flex-start; }
.req { color: var(--debit); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }

input, select, textarea { font: inherit; color: var(--ink); }
.field > input, .field > select, .field > textarea {
  width: 100%; min-height: 52px; padding: .75rem .95rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--surface-2); transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field > textarea { min-height: 8rem; resize: vertical; }
.field > input:focus, .field > select:focus, .field > textarea:focus {
  outline: none; background: var(--surface); border-color: var(--focus); box-shadow: 0 0 0 4px rgba(27, 79, 148, .16);
}
.input {
  position: relative; display: flex; align-items: center; min-height: 52px; min-width: 0;
  border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface-2);
  transition: border-color .15s, box-shadow .2s, background-color .15s;
}
.input:hover { border-color: var(--line-2); }
.input:focus-within { background: var(--surface); border-color: var(--focus); box-shadow: 0 0 0 4px rgba(27, 79, 148, .16); }
.input input, .input select, .input textarea {
  flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; outline: none; box-shadow: none;
  padding: .8rem .95rem; font: 500 1.02rem/1.3 var(--font); color: var(--ink);
}
.input input.num, .input input[inputmode="decimal"], .input input[type="date"] { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.input textarea { min-height: 8rem; resize: vertical; }
.input select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.6rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238193AD' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .85rem center no-repeat;
}
.input select option { color: #0B1B33; background: #fff; }
.input__affix { padding-inline: .95rem 0; color: var(--muted); font: 500 1rem var(--mono); flex: none; }
.input__affix--end { padding-inline: 0 .95rem; }
.input:has(.input__affix:first-child) input { padding-left: .4rem; }
.input:has(.input__affix--end) input { padding-right: .4rem; }
.input.is-bad, .input:has([aria-invalid="true"]) { border-color: var(--debit); background: color-mix(in srgb, var(--debit) 6%, var(--surface-2)); }
input[aria-invalid="true"] { border-color: var(--debit); }
::placeholder { color: var(--muted); opacity: .75; }
input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.85); } }
:root[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.85); }

/* segmented pill control (radio group). data-motion="segmented" adds the sliding pill. */
.seg {
  position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; max-width: 100%;
  border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); justify-self: start; width: fit-content;
}
.seg label { position: relative; z-index: 1; display: inline-flex; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg label > span {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 44px; padding: 0 1rem;
  border-radius: 10px; font-weight: 600; font-size: .94rem; color: var(--muted); cursor: pointer; white-space: nowrap;
  transition: color .2s, background-color .2s, box-shadow .2s;
}
.seg label:hover > span { color: var(--ink); }
.seg input:checked + span { color: var(--heading); background: var(--surface); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }
.seg__pill {
  position: absolute; left: 0; top: 0; z-index: 0; border-radius: 10px; background: var(--surface);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); pointer-events: none;
  transition: transform .4s var(--ease-out), width .4s var(--ease-out), height .4s var(--ease-out);
}
.seg.has-pill input:checked + span { background: transparent; box-shadow: none; }
.seg--block { display: flex; width: auto; justify-self: stretch; }
.seg--block label { flex: 1 1 auto; }
.seg--block label > span { width: 100%; }
.seg--mini { padding: 3px; border-radius: 12px; }
.seg--mini label > span { min-height: 36px; padding: 0 .65rem; }

/* checkbox with a custom box; the whole label is the touch target */
.check { position: relative; display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 7px; border: 1.5px solid var(--line-2); background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s, border-color .15s, transform .15s var(--ease-out);
}
.check__box::after { content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .18s var(--ease-out); }
.check input:checked + .check__box { background: var(--green-700); border-color: var(--green-700); }
.check input:checked + .check__box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible + .check__box { outline: 3px solid var(--focus); outline-offset: 2px; }
.check:active .check__box { transform: scale(.92); }
.check input[aria-invalid="true"] + .check__box { border-color: var(--debit); }
.check__text { color: var(--muted); }

/* range slider */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; --fill: 50%; }
.range:focus { outline: none; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--green-500) var(--fill), var(--line) var(--fill)); }
.range::-moz-range-track { height: 6px; border-radius: 99px; background: var(--line); }
.range::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--green-500); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff;
  border: 2px solid var(--green-600); box-shadow: 0 2px 8px rgba(10, 33, 70, .25); transition: transform .15s var(--ease-out);
}
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--green-600); box-shadow: 0 2px 8px rgba(10, 33, 70, .25); }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(27, 79, 148, .35); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(27, 79, 148, .35); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s5); }
.form__note { color: var(--muted); font-size: .86rem; margin: 0; display: inline-flex; align-items: center; gap: .4rem; }
.form__msg, .notice-box {
  margin: var(--s4) 0 0; padding: .8rem 1rem; border-radius: var(--r-sm); font-size: .92rem; line-height: 1.45;
  background: color-mix(in srgb, var(--debit) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--debit) 30%, transparent); color: var(--debit);
}
.form__success { text-align: center; padding: var(--s6) var(--s3); }
.form__success:focus { outline: none; }
.form__success-ic {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-soft); color: var(--green-700); margin-bottom: var(--s3);
}
.form__success-ic .ic { width: 26px; height: 26px; }
.form.is-done > :not([data-success]) { display: none !important; }
.cf-turnstile { margin-top: var(--s4); min-height: 65px; }
.cf-turnstile:empty { min-height: 0; }

/* kit compatibility: chips and radios */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { width: 100%; margin-bottom: .3rem; font-weight: 700; font-size: .92rem; }
.chips .chip { position: relative; padding: 0; border: 0; background: none; min-height: 0; }
.chips .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips .chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line-2); border-radius: var(--r-pill); cursor: pointer; background: var(--surface); }
.chips .chip input:checked + span { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.chips .chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.radios { display: flex; flex-wrap: wrap; gap: .8rem; }
.radios legend { width: 100%; }
.radios label { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; }

/* ================================================================ accordion */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 64px; padding: var(--s4) 0;
  list-style: none; cursor: pointer; font-weight: 700; font-size: 1.05rem; color: var(--heading); letter-spacing: -.01em;
}
.acc__q::-webkit-details-marker { display: none; }
.acc__q:hover { color: var(--link); }
.acc__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); transition: background-color .2s, transform .35s var(--ease-out); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease-out); }
.acc__icon::after { transform: rotate(90deg); }
.acc__item[open] .acc__icon { background: var(--accent-soft); transform: rotate(180deg); }
.acc__item[open] .acc__icon::after { transform: rotate(0deg); }
.js .acc.is-enhanced .acc__item[open]:not(.is-open) .acc__icon { background: var(--surface-2); transform: none; }
.js .acc.is-enhanced .acc__item[open]:not(.is-open) .acc__icon::after { transform: rotate(90deg); }
.acc__a { display: grid; grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; min-height: 0; }
.acc__inner > :first-child { margin-top: 0; }
.acc__inner > :last-child { margin-bottom: var(--s5); }
.acc__inner p { color: var(--muted); max-width: 64ch; }
.js .acc.is-enhanced .acc__a { grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease-out); }
.js .acc.is-enhanced .acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.js .acc.is-enhanced .acc__item.is-closing .acc__a { transition-duration: .22s; transition-timing-function: var(--ease-io); }

/* ================================================================ tables */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th, .table td { padding: .7rem 0; border-bottom: 1px dashed var(--line); text-align: left; vertical-align: top; }
.table .n, .table td.num, .table th.num { text-align: right; white-space: nowrap; padding-left: var(--s4); font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 500; }
.table .why { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.table tr.grp td, .table tr.grp th { border-bottom: 0; padding: var(--s5) 0 .3rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.table tbody:first-of-type > tr.grp:first-child > * { padding-top: var(--s2); }
.table tr.tot td { border-top: 2px solid var(--ink); border-bottom: 0; font-weight: 800; padding-top: .9rem; }
.d { color: var(--debit); }
.c { color: var(--credit); }
.table--scen { min-width: 440px; }
.table--scen th, .table--scen td { padding: .8rem .7rem; text-align: right; border-bottom: 1px solid var(--line); }
.table--scen th:first-child, .table--scen td:first-child { text-align: left; padding-left: 0; }
.table--scen th { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); vertical-align: bottom; }
.table--scen th small { display: block; font-size: .72rem; letter-spacing: 0; text-transform: none; font-weight: 500; }
.table--scen td { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 500; font-size: .92rem; }
.table--scen td:first-child { font-family: var(--font); color: var(--muted); font-weight: 600; }
.table--scen .mid { background: var(--accent-soft); }
.table--scen thead .mid { border-radius: 12px 12px 0 0; color: var(--accent-ink); }
.table--scen tr.net td { font-weight: 700; color: var(--credit); border-bottom: 0; font-size: 1rem; }
.table--scen tr.net td:first-child { color: var(--ink); }
.table--scen tr.net .mid { border-radius: 0 0 12px 12px; }

/* ================================================================ dialog, toast, tooltip */
.dialog {
  width: min(540px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r-lg);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto;
}
.dialog::backdrop { background: rgba(6, 22, 49, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog[open] { animation: dlg-in .32s var(--ease-out); }
.dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); padding: var(--s5) var(--s5) 0; }
.dialog__head h2 { font-size: 1.4rem; margin: 0; }
.dialog__body { padding: var(--s4) var(--s5) var(--s5); }
.dialog__body > p { color: var(--muted); }
.dialog .form__grid { grid-template-columns: minmax(0, 1fr); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

.toasts {
  position: fixed; z-index: 95; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: grid; gap: var(--s2); width: min(440px, calc(100vw - 32px)); pointer-events: none;
}
.toast {
  pointer-events: auto; display: flex; gap: var(--s3); align-items: flex-start; padding: .9rem 1rem; border-radius: var(--r-md);
  background: var(--navy-900); color: #F2F6FC; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .1);
  font-size: .94rem; line-height: 1.45; animation: toast-in .4s var(--ease-out);
}
.toast > .ic { margin-top: 2px; width: 20px; height: 20px; color: var(--green-400); }
.toast--error > .ic { color: #FF8A7A; }
.toast__close { margin-left: auto; background: none; border: 0; color: #BCC9DC; cursor: pointer; padding: 0; width: 32px; height: 32px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
.toast__close:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.toast.is-leaving { animation: toast-out .2s var(--ease-in) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.97); } }

[data-tip] { position: relative; }
[data-tip]::after {
  content: attr(data-tip); position: absolute; z-index: 20; bottom: calc(100% + 8px); left: 50%; width: max-content; max-width: 240px;
  padding: .5rem .7rem; border-radius: 10px; background: var(--navy-900); color: #fff; font-size: .8rem; font-weight: 500; line-height: 1.4;
  text-align: left; text-transform: none; letter-spacing: 0; white-space: normal; box-shadow: var(--shadow-md);
  opacity: 0; transform: translate(-50%, 4px); pointer-events: none; transition: opacity .15s, transform .2s var(--ease-out);
}
[data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

/* ================================================================ home hero */
.hero { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(2rem, 1.2rem + 4vw, 5rem) clamp(3.5rem, 2.6rem + 4vw, 6.5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, #000 20%, transparent 75%);
}
.hero__blob {
  position: absolute; z-index: -1; right: -40%; top: 30%; width: min(1100px, 150vw); aspect-ratio: 900 / 760; pointer-events: none;
  background: url("/assets/img/bg/blob-hero.svg") center / contain no-repeat;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero__blob, :root:not([data-theme="light"]) .page-hero__bg { background-image: url("/assets/img/bg/blob-hero-dark.svg"); } }
:root[data-theme="dark"] .hero__blob, :root[data-theme="dark"] .page-hero__bg { background-image: url("/assets/img/bg/blob-hero-dark.svg"); }
.hero__in { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }
@media (min-width: 1024px) { .hero__in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } .hero__blob { right: -12%; top: -14%; width: 900px; } }
.hero__copy { max-width: 40rem; }
.hero h1 { margin-bottom: var(--s5); }
.hero h1 .hl { position: relative; display: inline-block; color: var(--green-700); white-space: nowrap; }
.hero h1 .hl svg { position: absolute; left: -2%; bottom: -.2em; width: 104%; height: .3em; overflow: visible; }
.hero h1 .hl path { stroke: var(--green-500); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero h1 .hl { color: var(--green-400); } }
:root[data-theme="dark"] .hero h1 .hl { color: var(--green-400); }
.swoosh { transform-origin: 0 50%; }
.hero .lead { margin-bottom: var(--s6); font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); }
.hero .btn-row { margin: 0; }
.hero__free { margin: var(--s4) 0 0; color: var(--muted); font-size: .9rem; font-weight: 600; letter-spacing: .02em; }
.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: var(--s5) 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; font-weight: 500; }
.trust li { display: inline-flex; align-items: center; gap: .5em; }
.trust .ic { color: var(--green-600); width: 18px; height: 18px; }
@media (max-width: 479px) { .hero .btn-row .btn { width: 100%; } }

/* the floating live net sheet card */
.hero__visual { position: relative; perspective: 1400px; max-width: 520px; width: 100%; justify-self: center; }
.float { animation: float 7s var(--ease-io) infinite alternate; animation-play-state: paused; }
.js .float.is-in { animation-play-state: running; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.livecard {
  position: relative; padding: clamp(1.2rem, 1rem + 1vw, 1.75rem); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.livecard__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); }
.livecard__live { display: inline-flex; align-items: center; gap: .55em; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.livecard__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); }
.livecard__label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.livecard__price { font: 600 1.15rem var(--mono); font-variant-numeric: tabular-nums; color: var(--heading); }
.livecard .range { margin: .35rem 0 .2rem; }
.livecard__scale { display: flex; justify-content: space-between; font: 500 .72rem var(--mono); color: var(--muted); margin-bottom: var(--s4); }
.livecard .field { margin-bottom: var(--s4); }
.livecard__net { padding: var(--s4); margin: 0 0 var(--s4); border-radius: var(--r-md); background: var(--accent-soft); }
.livecard__net-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin: 0; }
.livecard__net-value { font-size: clamp(2.3rem, 1.8rem + 2.2vw, 3.1rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; color: var(--credit); font-variant-numeric: tabular-nums; margin: .1rem 0 0; }
.livecard__net-value.is-neg { color: var(--debit); }
.livecard__pct { font-size: .88rem; color: var(--ink); margin: .2rem 0 0; }
.livecard .bar { margin: var(--s3) 0 0; height: 10px; }
.livecard__lines { list-style: none; margin: 0 0 var(--s4); padding: 0; font-size: .88rem; }
.livecard__lines li { display: flex; justify-content: space-between; gap: var(--s3); padding: .42rem 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.livecard__lines li span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--debit); white-space: nowrap; }
.livecard__note { font-size: .78rem; color: var(--muted); margin: var(--s3) 0 0; }
.float-chip {
  position: absolute; z-index: 2; display: none; align-items: center; gap: .55rem; padding: .6rem .85rem; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: .82rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.float-chip .ic { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--accent-soft); color: var(--green-700); }
.float-chip--a { left: -40px; top: -34px; }
.float-chip--b { right: -28px; bottom: -30px; }
@media (min-width: 1280px) { .float-chip { display: inline-flex; } }

/* ================================================================ county marquee */
.counties { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-block: 1px solid var(--line); background: var(--surface); }
.counties__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s4); }
.counties__head p { margin: 0; font-weight: 700; color: var(--heading); font-size: .98rem; letter-spacing: -.01em; }
.counties__head p span { color: var(--muted); font-weight: 500; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 70s) linear infinite; }
.marquee__group { display: flex; gap: 12px; padding: 4px 12px 4px 0; margin: 0; list-style: none; }
.js .marquee:not(.is-in) .marquee__track, .marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.county-pill {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: .45rem 1rem .45rem .5rem; border-radius: var(--r-pill);
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: border-color .2s, background-color .2s;
}
.county-pill:hover { border-color: var(--green-500); background: var(--surface); }
.county-pill__ic { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface); color: var(--green-700); border: 1px solid var(--line); }
.county-pill__ic .ic { width: 16px; height: 16px; }
.county-pill b { font-weight: 700; font-size: .95rem; }
.county-pill small { color: var(--muted); font-size: .8rem; }
.pblur { position: absolute; top: 0; bottom: 0; width: 72px; z-index: 2; pointer-events: none; display: none; }
.pblur--l { left: 0; }
.pblur--r { right: 0; transform: scaleX(-1); }
.pblur i { position: absolute; inset: 0; }
.pblur i:nth-child(1) { -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); -webkit-mask-image: linear-gradient(90deg, #000 50%, transparent); mask-image: linear-gradient(90deg, #000 50%, transparent); }
.pblur i:nth-child(2) { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); -webkit-mask-image: linear-gradient(90deg, #000 25%, transparent 60%); mask-image: linear-gradient(90deg, #000 25%, transparent 60%); }
.pblur i:nth-child(3) { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); -webkit-mask-image: linear-gradient(90deg, #000 5%, transparent 35%); mask-image: linear-gradient(90deg, #000 5%, transparent 35%); }
@media (min-width: 768px) and (pointer: fine) { .pblur { display: block; } }
.marquee-toggle { flex: none; }
.marquee-toggle .ic-play { display: none; }
.marquee-toggle[aria-pressed="true"] .ic-play { display: block; }
.marquee-toggle[aria-pressed="true"] .ic-pause { display: none; }

/* ================================================================ calculator */
.calc-section { position: relative; background: linear-gradient(180deg, var(--bg), var(--surface-2) 40%, var(--bg)); }
.calc-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.3px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent);
}
.calc-section .container { position: relative; }
.calc {
  position: relative; max-width: 1040px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: clip;
}
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.steps li { min-width: 0; }
.steps button {
  display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 64px; padding: .6rem clamp(.5rem, 1.5vw, 1.25rem);
  border: 0; background: none; color: var(--muted); font: 600 .92rem var(--font); text-align: left; cursor: pointer;
}
.steps button:disabled { cursor: default; }
.steps li:first-child button { border-top-left-radius: var(--r-lg); }
.steps li:last-child button { border-top-right-radius: var(--r-lg); }
.steps button:not(:disabled):hover { color: var(--ink); background: var(--surface-2); }
.steps__n {
  position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  font: 600 .82rem var(--mono); border: 1.5px solid var(--line-2); color: var(--muted); background: var(--surface); transition: background-color .25s, border-color .25s, color .25s;
}
.steps__n .ic { position: absolute; width: 15px; height: 15px; stroke-width: 3; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s var(--ease-out); }
.steps li.is-on .steps__n { border-color: var(--green-600); color: var(--accent-ink); box-shadow: 0 0 0 4px rgba(77, 165, 49, .16); }
.steps li.is-on button { color: var(--heading); }
.steps li.is-done .steps__n { background: var(--green-600); border-color: var(--green-600); color: transparent; }
.steps li.is-done .steps__n .ic { opacity: 1; transform: none; color: #fff; }
.steps li.is-done button { color: var(--ink); }
.steps__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.steps__bar { position: absolute; left: 0; bottom: -1px; width: 25%; height: 3px; border-radius: 3px; background: var(--green-600); transition: transform .45s var(--ease-out); }
@media (max-width: 639px) {
  .steps { display: flex; }
  .steps li { flex: none; }
  .steps li.is-on { flex: 1 1 auto; }
  .steps button { justify-content: center; padding-inline: .7rem; gap: .45rem; }
  .steps li.is-on button { box-shadow: inset 0 -3px 0 var(--green-600); }
  .steps__label { display: none; }
  .steps li.is-on .steps__label { display: inline; }
  .steps__bar { display: none; }
}
.calc__form { margin: 0; }
.calc__panels { position: relative; }
.calc__panel { padding: clamp(1.25rem, .9rem + 2vw, 2.25rem); }
.calc__panel-head { margin-bottom: var(--s5); }
.calc__panel-head h3 { font-size: clamp(1.35rem, 1.2rem + .7vw, 1.75rem); letter-spacing: -.025em; margin: 0 0 .4rem; }
.calc__panel-head h3:focus { outline: none; }
.calc__panel-head p { color: var(--muted); margin: 0; max-width: 60ch; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
@media (min-width: 640px) { .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.autobox { margin-top: var(--s6); padding: var(--s5); border-radius: var(--r-md); background: var(--accent-soft); border: 1px solid rgba(77, 165, 49, .22); }
.autobox__title { display: flex; align-items: center; gap: .5em; font-weight: 700; margin: 0 0 var(--s3); color: var(--accent-ink); }
.autobox ul { list-style: none; margin: 0; padding: 0; display: grid; }
.autobox li { display: flex; justify-content: space-between; gap: var(--s4); padding: .5rem 0; border-bottom: 1px dashed rgba(77, 165, 49, .3); font-size: .92rem; }
.autobox li:last-child { border-bottom: 0; }
.autobox li span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; text-align: right; }
.calc__nav {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap;
  padding: var(--s4) clamp(1.25rem, .9rem + 2vw, 2.25rem); border-top: 1px solid var(--line); background: var(--surface-2);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.calc__nav .spacer { flex: 1; }
.calc__secure { display: inline-flex; align-items: center; gap: .45em; color: var(--muted); font-size: .84rem; }
@media (max-width: 519px) { .calc__secure { display: none; } .calc__nav .btn { flex: 1; } }

/* results */
.result { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
@media (min-width: 860px) { .result { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: start; } }
.netcard { position: relative; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: 20px; background: var(--surface); border: 1.5px solid rgba(77, 165, 49, .45); }
.netcard__eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }
.big { font-size: clamp(2.8rem, 2rem + 4vw, 4.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.045em; color: var(--credit); font-variant-numeric: tabular-nums; margin: 0; }
.big.is-neg { color: var(--debit); }
.netcard__pct { font-size: 1rem; margin: .5rem 0 .2rem; color: var(--ink); }
.netcard__note { font-size: .82rem; color: var(--muted); margin: 0 0 var(--s4); }
.bar { display: flex; gap: 2px; height: 14px; border-radius: 99px; overflow: hidden; background: var(--line); }
.bar i { display: block; height: 100%; flex: 1 1 0; min-width: 0; transform-origin: 0 50%; }
.js .bar.is-anim i { transform: scaleX(0); }
.js .bar.is-anim.is-in i { transform: none; transition: transform .8s var(--ease-out); }
.js .bar.is-anim.is-in i:nth-child(2) { transition-delay: .08s; }
.js .bar.is-anim.is-in i:nth-child(3) { transition-delay: .16s; }
.js .bar.is-anim.is-in i:nth-child(4) { transition-delay: .24s; }
.legend { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: .4rem; font-size: .88rem; }
.legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto auto; align-items: center; gap: .6rem; }
.legend b { width: 12px; height: 12px; border-radius: 4px; }
.legend .v { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
.legend .p { font-family: var(--mono); color: var(--muted); font-size: .8rem; min-width: 3.4em; text-align: right; }
.sw-keep { background: var(--seg-keep); }
.sw-owed { background: var(--seg-owed); }
.sw-agent { background: var(--seg-agent); }
.sw-fees { background: var(--seg-fees); }
.summary { display: grid; }
.summary > div { display: flex; justify-content: space-between; gap: var(--s3); padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.summary strong { font: 500 1rem var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary .tot { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 800; }
.summary .tot strong { font-weight: 700; }
.where { color: var(--muted); font-size: .9rem; margin: var(--s4) 0 0; }
.lines { margin-top: var(--s6); }
.lines .acc__q { font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s6); }
.actions .btn { flex: 1 1 auto; }
@media (min-width: 640px) { .actions .btn { flex: 0 0 auto; } }
.compare { margin-top: var(--s7); }
.compare__title { font-size: 1.1rem; margin: 0 0 .3rem; }
.compare__hint { color: var(--muted); font-size: .9rem; margin: 0 0 var(--s4); }
.leadbox { margin-top: var(--s7); padding-top: var(--s7); border-top: 1px solid var(--line); }
.leadbox__head { display: grid; gap: var(--s4); margin-bottom: var(--s6); }
@media (min-width: 860px) { .leadbox__head { grid-template-columns: auto 1fr; align-items: start; } }
.leadbox__head .card__icon { margin: 0; width: 56px; height: 56px; border-radius: 16px; }
.leadbox__head h3 { font-size: clamp(1.35rem, 1.2rem + .7vw, 1.75rem); letter-spacing: -.025em; margin: 0 0 .4rem; }
.leadbox__head p { color: var(--muted); margin: 0; }
.leadform { display: grid; gap: var(--s5); }
.leadform .form__grid { gap: var(--s5); }
.lead-done { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--r-lg); background: var(--accent-soft); border: 1px solid rgba(77, 165, 49, .3); }
.lead-done:focus { outline: none; }
.lead-done h3 { display: flex; align-items: center; gap: .6rem; margin: 0 0 var(--s3); }
.lead-done h3 .ic { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--green-700); color: #fff; stroke-width: 2.5; }
.ref-pill { display: inline-flex; align-items: center; gap: .5em; padding: .35rem .8rem; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font: 600 .95rem var(--mono); color: var(--heading); }
.next-steps { list-style: none; counter-reset: ns; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s3); }
@media (min-width: 860px) { .next-steps { grid-template-columns: repeat(3, 1fr); } }
.next-steps li { counter-increment: ns; padding: var(--s4); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.next-steps li::before { content: counter(ns); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-bottom: .5rem; border-radius: 50%; background: var(--green-700); color: #fff; font: 600 .85rem var(--mono); }
.next-steps b { display: block; color: var(--heading); margin-bottom: .2rem; }
.next-steps span { color: var(--muted); font-size: .9rem; }
.calc-aside { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-top: var(--s5); color: var(--muted); font-size: .88rem; }
.calc-aside span { display: inline-flex; align-items: center; gap: .45em; }
.calc-aside .ic { color: var(--green-600); }

/* ================================================================ scroll story: where your $500,000 goes */
.story { position: relative; background: var(--navy-950); color: #D6E0EE; }
.story::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(27, 79, 148, .35), transparent 70%), radial-gradient(ellipse 50% 40% at 10% 90%, rgba(77, 165, 49, .18), transparent 70%); pointer-events: none; }
.story :focus-visible { outline-color: var(--green-400); }
.story__stage { position: relative; padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.story__in { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); align-items: center; }
@media (min-width: 1024px) { .story__in { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.story h2 { color: #fff; margin-bottom: var(--s4); }
.story__copy p { color: #BCC9DC; }
.story__remain { margin-top: var(--s5); padding: var(--s4) var(--s5); border-radius: var(--r-md); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.story__remain-label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-400); margin: 0; }
.story__remain-value { font-size: clamp(2.2rem, 1.7rem + 3vw, 3.8rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; margin: 0; }
.story__remain-of { font-size: .88rem; color: #A9B8CD; margin: 0; }
.story__visual { display: grid; gap: var(--s4); }
.story__bar { position: relative; height: clamp(48px, 4vw + 32px, 72px); border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.story__seg { position: absolute; top: 0; bottom: 0; }
.story__seg + .story__seg { box-shadow: inset 2px 0 0 var(--navy-950); }
.story__cover {
  position: absolute; inset: 0; transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green-600), var(--green-500) 60%, var(--green-400));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.story__cover-label { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); z-index: 2; pointer-events: none; font-weight: 800; font-size: .9rem; color: #062a0c; letter-spacing: -.01em; white-space: nowrap; }
.story__axis { display: flex; justify-content: space-between; margin-top: -.4rem; font: 500 .75rem var(--mono); color: #8FA2BD; }
.story__ledger { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.story__row {
  display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .65rem .9rem; border-radius: 12px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); transition: background-color .3s, border-color .3s, opacity .3s, transform .4s var(--ease-out);
}
.story__row b { width: 12px; height: 12px; border-radius: 4px; }
.story__row span { font-weight: 600; color: #E8EEF7; font-size: .95rem; line-height: 1.3; }
.story__row small { display: block; font-weight: 500; font-size: .78rem; color: #93A5BE; }
.story__row strong { font: 500 .98rem var(--mono); font-variant-numeric: tabular-nums; color: #FFB4A8; white-space: nowrap; }
.story__row--net strong { color: var(--green-400); font-weight: 600; font-size: 1.05rem; }
.story__row--net { background: rgba(108, 194, 74, .1); border-color: rgba(108, 194, 74, .35); }
.story.is-live .story__row { opacity: .6; }
.story.is-live .story__row.is-active { opacity: 1; background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .22); transform: translateX(6px); }
.story.is-live .story__row.is-done { opacity: 1; }
.story__foot { font-size: .82rem; color: #93A5BE; margin: var(--s2) 0 0; }
.story__foot a { color: #9FC2F0; }
.story.is-live .story__track { height: 340vh; }
.story.is-live .story__stage { position: sticky; top: var(--header-h); min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: grid; align-items: center; padding-block: clamp(1rem, .8rem + 2vw, 3rem); }
@media (max-width: 1023px) {
  .story.is-live .story__copy p:not(.eyebrow):not([class^="story__remain"]) { display: none; }
  .story.is-live .story__remain { margin-top: var(--s3); padding: .6rem 1rem; }
  .story.is-live .story__row { padding: .45rem .8rem; }
  .story.is-live .story__row small { display: none; }
  .story.is-live h2 { font-size: clamp(1.5rem, 1.2rem + 2vw, 2.2rem); margin-bottom: 0; }
  .story.is-live .eyebrow { margin-bottom: .6rem; }
  .story.is-live .story__in { gap: .9rem; }
  .story.is-live .story__foot { display: none; }
}
.story__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .08); display: none; }
.story__progress span { display: block; height: 100%; background: var(--green-400); transform-origin: 0 50%; transform: scaleX(0); }
.story.is-live .story__progress { display: block; }

/* ================================================================ bento */
.bento { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .b-wide { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .b-stamps { grid-column: span 4; } .b-title { grid-column: span 2; }
  .b-county, .b-prorate, .b-scen { grid-column: span 2; }
  .b-pdf, .b-privacy { grid-column: span 3; }
}
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--s3); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: border-color .3s, box-shadow .3s;
}
.tile:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); }
.tile h3 { margin: 0; }
.tile > p { color: var(--muted); margin: 0; font-size: .96rem; }
.tile__viz { margin-top: auto; padding-top: var(--s3); }
.tile .card__icon { margin-bottom: 0; }
.rates { display: grid; gap: .6rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .rates { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rate { padding: .9rem 1rem; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.rate b { display: block; font: 600 1.5rem var(--mono); letter-spacing: -.02em; color: var(--heading); }
.rate b small { font: 500 .78rem var(--font); color: var(--muted); letter-spacing: 0; }
.rate span { font-size: .84rem; color: var(--muted); line-height: 1.4; display: block; margin-top: .2rem; }
.rate--hl { background: var(--accent-soft); border-color: rgba(77, 165, 49, .3); }
.tile__example { display: flex; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; font-size: .9rem; color: var(--muted); padding-top: var(--s3); margin-top: var(--s3); border-top: 1px dashed var(--line); }
.tile__example strong { font-family: var(--mono); color: var(--ink); font-weight: 600; }
.tiers { list-style: none; margin: 0; padding: 0; font-size: .86rem; }
.tiers li { display: flex; justify-content: space-between; gap: var(--s3); padding: .42rem 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.tiers li span:last-child { font-family: var(--mono); color: var(--ink); white-space: nowrap; }
.payers { display: flex; flex-wrap: wrap; gap: .4rem; }
.payers span { padding: .3rem .6rem; border-radius: 8px; font-size: .8rem; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); }
.payers span.is-buyer { background: rgba(91, 143, 217, .14); border-color: rgba(91, 143, 217, .45); color: var(--heading); }
.payers-key { display: flex; flex-wrap: wrap; gap: .3rem var(--s4); font-size: .78rem; color: var(--muted); margin-top: .6rem; }
.payers-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .35em; vertical-align: -1px; background: var(--surface-2); border: 1px solid var(--line-2); }
.payers-key i.is-buyer { background: rgba(91, 143, 217, .45); border-color: transparent; }
.year { position: relative; height: 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.year span { position: absolute; top: 0; bottom: 0; left: 0; background: linear-gradient(90deg, var(--navy-600), var(--blue-400)); border-radius: 99px; }
.year-axis { display: flex; justify-content: space-between; font: 500 .74rem var(--mono); color: var(--muted); margin-top: .4rem; }
.year-caption { font-size: .88rem; color: var(--muted); margin: .6rem 0 0; }
.year-caption strong { color: var(--ink); font-family: var(--mono); }
.minibars { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; align-items: end; height: 150px; }
.minibars div { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: .3rem; text-align: center; }
.minibars i { display: block; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--green-500), var(--green-700)); opacity: .75; }
.minibars div:nth-child(2) i { opacity: 1; box-shadow: var(--shadow-glow); }
.minibars small { font: 500 .72rem var(--mono); color: var(--muted); }
.minibars b { font: 600 .8rem var(--mono); color: var(--ink); }
.docmock { position: relative; padding: 1rem 1.1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .78rem; color: #51607A; box-shadow: var(--shadow-sm); }
.docmock__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: .5rem; margin-bottom: .5rem; border-bottom: 2px solid var(--green-600); }
.docmock__head img { height: 28px; width: auto; }
.docmock__head span { font: 600 .7rem var(--mono); color: #51607A; }
.docmock ul { list-style: none; margin: 0; padding: 0; }
.docmock li { display: flex; justify-content: space-between; gap: .5rem; padding: .28rem 0; border-bottom: 1px dashed #DCE4EF; }
.docmock li span:last-child { font-family: var(--mono); color: #0B1B33; }
.docmock li.tot { border: 0; font-weight: 700; color: #0B1B33; }
.docmock li.tot span:last-child { color: #2A7521; }
.docmock__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.docmock__actions span { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .6rem; border-radius: 8px; background: #EEF3F9; font-weight: 600; color: #0B1B33; }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.privacy-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.privacy-list .ic { flex: none; color: var(--green-600); width: 18px; height: 18px; margin-top: .15em; }

/* spotlight (cursor follow light) */
.spot { position: relative; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(77, 165, 49, .13), transparent 42%);
}
.spot:hover::before, .spot.is-lit::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }
.spot--dark::before { background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 50%), rgba(108, 194, 74, .16), rgba(91, 143, 217, .08) 30%, transparent 55%); }

/* ================================================================ how it works + beam */
.how { position: relative; display: grid; gap: var(--s6); counter-reset: how; }
@media (min-width: 900px) { .how { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); } }
.how__step { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: 0 var(--s4); }
@media (min-width: 900px) { .how__step { display: block; } }
.how__icon {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: var(--s4);
  border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); color: var(--green-700);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .how__icon { color: var(--green-400); } }
:root[data-theme="dark"] .how__icon { color: var(--green-400); }
.how__icon .ic { width: 30px; height: 30px; }
.how__icon::after { content: counter(how); counter-increment: how; position: absolute; right: -8px; top: -8px; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy-900); color: #fff; font: 600 .75rem var(--mono); border: 2px solid var(--bg); }
.how__step h3 { margin-bottom: .4rem; }
.how__step p { color: var(--muted); margin: 0; max-width: 34ch; }
.beam { position: absolute; z-index: 0; left: 35px; top: 72px; bottom: 72px; width: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.beam::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 34%; border-radius: 2px;
  background: linear-gradient(180deg, transparent, var(--green-500), var(--blue-400), transparent);
  animation: beam-y 3.2s var(--ease-io) infinite; animation-play-state: paused;
}
@media (min-width: 900px) {
  .beam { left: 72px; right: calc(33.33% - 24px); top: 35px; bottom: auto; width: auto; height: 2px; }
  .beam::after { width: 30%; height: 100%; background: linear-gradient(90deg, transparent, var(--green-500), var(--blue-400), transparent); animation-name: beam-x; }
}
.js .beam.is-in::after { animation-play-state: running; }
@keyframes beam-y { from { transform: translateY(-100%); } to { transform: translateY(300%); } }
@keyframes beam-x { from { transform: translateX(-100%); } to { transform: translateX(340%); } }

/* ================================================================ professionals band (home) */
.pros { position: relative; isolation: isolate; background: var(--navy-900) url("/assets/img/bg/lowpoly.svg") center / cover no-repeat; color: #D6E0EE; overflow: hidden; }
.pros :focus-visible { outline-color: var(--green-400); }
.pros__in { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: center; }
@media (min-width: 1024px) { .pros__in { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); } }
.pros h2 { color: #fff; }
.pros .lead { color: #C1CDE0; }
.pros .eyebrow { color: var(--green-400); background: rgba(108, 194, 74, .1); border-color: rgba(108, 194, 74, .3); }
.pros .checks { margin-top: var(--s5); }
.leadcard {
  position: relative; padding: clamp(1.1rem, 1rem + 1vw, 1.6rem); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #E8EEF7; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.leadcard__top { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); padding-bottom: var(--s3); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.leadcard__ref { font: 600 .82rem var(--mono); color: #A9B8CD; }
.leadcard__new { display: inline-flex; align-items: center; gap: .5em; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-400); }
.leadcard dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; font-size: .9rem; }
.leadcard dt { color: #A9B8CD; }
.leadcard dd { margin: 0; text-align: right; font-weight: 600; color: #fff; min-width: 0; }
.leadcard dd.num { font-family: var(--mono); font-weight: 500; }
.leadcard dd.net { color: var(--green-400); font-weight: 600; }
.redact { display: inline-block; height: .8em; border-radius: 4px; background: rgba(255, 255, 255, .22); vertical-align: -.05em; }
.leadcard__foot { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid rgba(255, 255, 255, .12); display: flex; gap: .5em; align-items: center; font-size: .82rem; color: #A9B8CD; }
.leadcard__foot .ic { color: var(--green-400); flex: none; }
.sample-badge { position: absolute; top: -12px; right: 16px; padding: .25rem .7rem; border-radius: var(--r-pill); background: #E8B04B; color: #3A2600; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* ================================================================ explainer + FAQ */
.explain { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
@media (min-width: 1024px) { .explain { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.explain h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem); }
.explain p, .explain li { color: var(--muted); }
.explain ul { padding-left: 1.1rem; margin: 0; display: grid; gap: .6rem; }
.explain li::marker { color: var(--green-600); }
.explain li b { color: var(--ink); }
.formula {
  margin: var(--s5) 0; padding: var(--s4) var(--s5); border-radius: var(--r-md); overflow-x: auto;
  background: var(--navy-950); color: #D6E0EE; font: 500 .9rem/1.7 var(--mono); box-shadow: var(--shadow-md);
}
.formula b { color: var(--green-400); font-weight: 600; }
.formula span { color: #FFB4A8; }

/* testimonials */
.quote-card { display: flex; flex-direction: column; gap: var(--s3); margin: 0; padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.quote-card blockquote { margin: 0; color: var(--ink); font-size: 1.02rem; }
.quote-card figcaption { color: var(--muted); font-size: .88rem; margin-top: auto; }
.stars { color: #B7791F; letter-spacing: .08em; margin: 0; }

/* ================================================================ closing CTA band */
.cta-band { padding-block: clamp(3rem, 2rem + 4vw, 6rem) 0; }
.cta-band__card {
  position: relative; overflow: hidden; display: grid; gap: var(--s5); align-items: center;
  padding: clamp(2rem, 1.5rem + 3vw, 4rem); border-radius: var(--r-xl);
  background: var(--navy-950) url("/assets/img/bg/mesh.svg") center / cover no-repeat; color: #fff; box-shadow: var(--shadow-lg);
}
@media (min-width: 1024px) { .cta-band__card { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-band h2 { color: #fff; margin: 0 0 var(--s3); font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); }
.cta-band p { margin: 0; color: #D6E0EE; font-size: 1.08rem; max-width: 46ch; }
.cta-band .btn-row { margin: 0; }
.cta-band :focus-visible { outline-color: var(--green-400); }
@media (max-width: 479px) { .cta-band .btn-row .btn { width: 100%; } }

/* ================================================================ inner page hero */
.page-hero { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(2.5rem, 2rem + 4vw, 5rem); border-bottom: 1px solid var(--line); }
.page-hero__bg { position: absolute; z-index: -1; right: -18%; top: -40%; width: min(900px, 110vw); aspect-ratio: 900 / 760; background: url("/assets/img/bg/blob-hero.svg") center / contain no-repeat; opacity: .8; pointer-events: none; }
.page-hero__in > * { max-width: 52rem; }
.page-hero h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); margin-bottom: var(--s4); }
.crumbs { margin-bottom: var(--s4); font-size: .86rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--link); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ================================================================ long form text and legal pages */
.prose { max-width: 46rem; font-size: 1.04rem; }
.prose > * + * { margin-top: var(--s4); }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); margin-top: var(--s7); margin-bottom: var(--s3); }
.prose h3 { font-size: 1.2rem; margin-top: var(--s6); margin-bottom: var(--s2); }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: .45rem; }
.prose li::marker { color: var(--green-600); }
.prose blockquote { margin: var(--s5) 0; padding: .3rem 0 .3rem var(--s4); border-left: 3px solid var(--green-500); color: var(--muted); }
.prose img { border-radius: var(--r-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prose code { font-family: var(--mono); font-size: .9em; padding: .1em .35em; border-radius: 6px; background: var(--surface-2); }
.prose .callout, .callout { padding: var(--s4) var(--s5); border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--green-600); }
.callout--warn, .prose .callout--warn { border-left-color: var(--warn); }
.prose .toc { padding: var(--s4) var(--s5); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.updated { color: var(--muted); font-size: .9rem; }

/* kit compatibility: faq items, filters, pager, empty states */
.faq-item { border-bottom: 1px solid var(--line); padding: var(--s4) 0; }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 44px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { color: var(--muted); margin: .7rem 0 0; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--s6); }
.filters a { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 0 1rem; text-decoration: none; color: var(--muted); font-size: .9rem; font-weight: 600; }
.filters a[aria-current="true"] { background: var(--pill-on); border-color: var(--pill-on); color: var(--pill-on-ink); }
.filters .count { opacity: .65; font-weight: 500; margin-left: .3em; }
.pager { display: flex; gap: .4rem; align-items: center; justify-content: center; margin-top: var(--s6); flex-wrap: wrap; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .7rem; border-radius: 10px; text-decoration: none; color: var(--muted); border: 1px solid var(--line); }
.pager span[aria-current="page"] { background: var(--pill-on); border-color: var(--pill-on); color: var(--pill-on-ink); font-weight: 700; }
.pager__gap { border: 0 !important; }
.empty { text-align: center; padding: var(--s8) var(--s4); color: var(--muted); }
.empty .card__icon { margin-inline: auto; }

/* ================================================================ agent portal (account pages) */
.auth-wrap { max-width: 28rem; margin: 0 auto; padding: clamp(2rem, 1.5rem + 4vw, 4rem) 0; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem); box-shadow: var(--shadow-md); }
.auth-card h1 { font-size: 1.75rem; }
.auth-card .field { margin-bottom: var(--s4); }
.auth-help { font-size: .92rem; color: var(--muted); margin: var(--s5) 0 0; }
.flash { border-radius: var(--r-sm); padding: .8rem 1rem; font-size: .92rem; margin: 0 0 var(--s4); display: flex; gap: .5rem; align-items: flex-start; }
.flash--ok { background: var(--accent-soft); border: 1px solid rgba(77, 165, 49, .35); color: var(--accent-ink); }
.flash--err { background: color-mix(in srgb, var(--debit) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--debit) 30%, transparent); color: var(--debit); }
.hint-text { color: var(--muted); font-size: .86rem; margin: .3rem 0 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); box-shadow: var(--shadow-sm); margin-bottom: var(--s4); }
.panel h2 { font-size: 1.2rem; letter-spacing: -.015em; }
.data-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.data-list li { display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.data-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.data-list dt, .data-list .k { color: var(--muted); font-size: .88rem; }
.portal-footer { border-top: 1px solid var(--line); padding: var(--s6) 0; margin-top: var(--s7); text-align: center; color: var(--muted); font-size: .9rem; }
.portal-footer__small { color: var(--muted); font-size: .86rem; }
.powered-by--portal a { color: var(--muted); }

/* ================================================================ footer */
.site-footer { background: var(--navy-950); color: #B9C6D9; padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 calc(var(--s5) + env(safe-area-inset-bottom)); font-size: .95rem; }
.site-footer a { color: #D6E0EE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .btn:hover { text-decoration: none; }
.site-footer :focus-visible { outline-color: var(--green-400); }
.footer__top { display: grid; gap: var(--s6) var(--s5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__brand { grid-column: 1 / -1; display: grid; gap: var(--s4); justify-items: start; max-width: 26rem; }
@media (min-width: 1024px) { .footer__top { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); } .footer__brand { grid-column: auto; } }
.footer__logo { display: inline-block; }
.footer__logo-img { display: block; width: 170px; height: auto; }
.footer__tag { margin: 0; color: #A9B8CD; font-size: .92rem; }
.footer__h { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 var(--s3); font-weight: 700; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; }
.footer__col a { display: inline-flex; align-items: center; min-height: 40px; }
.social { display: flex; gap: .5rem; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); }
.social a:hover { border-color: var(--green-400); }
.footer__legal { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); padding-top: var(--s5); border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__disclaimer { margin: 0 0 var(--s5); max-width: 80ch; font-size: .84rem; color: #9FB0C7; line-height: 1.6; }
.footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); font-size: .86rem; color: #9FB0C7; }
.theme-switch { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.theme-switch label > span { color: #A9B8CD; }
.theme-switch label:hover > span, .theme-switch input:checked + span { color: #fff; }
.theme-switch input:checked + span, .theme-switch .seg__pill { background: rgba(255, 255, 255, .12); box-shadow: none; }
.theme-switch.has-pill input:checked + span { background: transparent; }
.theme-switch .ic { width: 16px; height: 16px; }
.theme-switch input:focus-visible + span { outline-color: var(--green-400); }
.powered-by a { display: inline-flex; align-items: center; gap: .45rem; color: #9FB0C7; font-weight: 600; }
.pb-icon { border-radius: 4px; background: #fff; padding: 1px; }

/* ================================================================ professionals page */
.pro-hero { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(2.5rem, 2rem + 5vw, 6.5rem); background: var(--navy-950) url("/assets/img/bg/lowpoly.svg") center / cover no-repeat; color: #D6E0EE; }
.pro-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 22, 49, .92), rgba(6, 22, 49, .5)); }
.pro-hero__in { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }
@media (min-width: 1024px) { .pro-hero__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.pro-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.9rem); }
.pro-hero .lead { color: #C1CDE0; }
.pro-hero .eyebrow { color: var(--green-400); background: rgba(108, 194, 74, .1); border-color: rgba(108, 194, 74, .3); }
.pro-hero .crumbs, .pro-hero .crumbs a { color: #A9B8CD; }
.pro-hero .crumbs [aria-current] { color: #fff; }
.pro-hero :focus-visible { outline-color: var(--green-400); }
.stat-row { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: var(--s5) 0 0; list-style: none; padding: 0; font-size: .92rem; color: #C1CDE0; }
.stat-row li { display: inline-flex; gap: .5em; align-items: center; }
.stat-row .ic { color: var(--green-400); }
.contains { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 1024px) { .contains { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: var(--s7); } }
.contains .leadcard { background: var(--navy-900) url("/assets/img/bg/lowpoly.svg") center / cover; border-color: transparent; box-shadow: var(--shadow-lg); }
.feature-list { display: grid; gap: var(--s5); }
.feature { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); align-items: start; }
.feature .card__icon { margin: 0; }
.feature h3 { font-size: 1.08rem; margin: 0 0 .25rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.plan { position: relative; display: grid; gap: var(--s5); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.plan::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--green-600), var(--green-400), var(--blue-400)); }
@media (min-width: 900px) { .plan { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); align-items: center; } }
.plan__name { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 .5rem; }
.plan__price { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 800; letter-spacing: -.035em; color: var(--heading); line-height: 1.1; margin: 0 0 .5rem; }
.plan__price small { display: block; font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: .5rem; line-height: 1.5; }
.plan .checks li { color: var(--ink); }
.county-grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); }
.county-grid .check { align-items: center; min-height: 48px; padding: .5rem .8rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: .92rem; transition: border-color .15s, background-color .15s; }
.county-grid .check:has(input:checked) { border-color: var(--green-600); background: var(--accent-soft); }
.county-grid .check__box { margin-top: 0; }
.county-grid .check__text { color: var(--ink); }
.apply-card { padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.apply-card .form__grid { gap: var(--s5); }
.apply-card fieldset > legend { margin-bottom: .6rem; }
.terms-box { padding: var(--s4); border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }

/* ================================================================ PDF preview (a replica of page one of the real PDF) and the free account gate */
.steps-wrap { position: relative; }
.wave-divider--950 { background-image: url("/assets/img/bg/waves-950.svg"); }
.county-grid.is-bad .check { border-color: var(--debit); }
.gate { border-top: 1px solid var(--line); }
.gate__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: start; }
@media (min-width: 900px) { .gate__grid { grid-template-columns: minmax(0, 1.3fr) minmax(300px, .9fr); } .gate__side { position: sticky; top: calc(var(--header-h) + 16px); } }
.paper-wrap { padding: clamp(10px, 2vw, 24px); border-radius: var(--r-lg); background: linear-gradient(140deg, var(--surface-2), var(--bg)); border: 1px solid var(--line); }
.paper {
  container-type: inline-size; position: relative; display: flex; flex-direction: column; aspect-ratio: 8.5 / 11; overflow: hidden;
  padding: 4.6cqw 7.4cqw 3cqw; border-radius: 4px; background: #fff; color: #0B1B33;
  box-shadow: 0 1px 2px rgba(10, 33, 70, .12), 0 20px 44px -18px rgba(10, 33, 70, .38); font-family: Helvetica, Arial, var(--font); line-height: 1.35;
}
@media (max-width: 559px) { .paper { aspect-ratio: auto; } }
.paper__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 3cqw; }
.paper__logo { width: 20.4cqw; min-width: 88px; height: auto; }
.paper__meta { display: grid; gap: .25em; text-align: right; font-size: clamp(9px, 1.75cqw, 12px); color: #51607A; }
.paper__meta b { color: #2A7521; letter-spacing: .08em; font-size: .95em; }
.paper__band { margin-top: 2.8cqw; padding: 2.2cqw 3.2cqw 2.3cqw; background: #0A2146; color: #fff; box-shadow: inset 0 -.55cqw 0 #4DA531; }
.paper__title { margin: 0; font-weight: 700; font-size: clamp(15px, 4cqw, 26px); line-height: 1.15; color: #fff; }
.paper__context { margin: .35em 0 .25em; font-size: clamp(10px, 2cqw, 13px); color: #C7D5EA; }
.paper__facts { display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr); gap: 2.6cqw; margin-top: 2.6cqw; }
@media (max-width: 559px) { .paper__facts { grid-template-columns: minmax(0, 1fr); gap: .45em; } }
.paper__facts dl { margin: 0; display: grid; gap: .45em; align-content: start; }
.paper__facts dl > div { display: grid; grid-template-columns: minmax(64px, 12.5cqw) minmax(0, 1fr); gap: 1cqw; }
.paper__facts dt { padding-top: .2em; font-size: clamp(8px, 1.5cqw, 10px); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #51607A; }
.paper__facts dd { margin: 0; font-size: clamp(10px, 2.15cqw, 13.5px); font-weight: 700; color: #0B1B33; overflow-wrap: anywhere; }
.paper__nums { display: grid; grid-template-columns: minmax(0, 84fr) minmax(0, 94fr); gap: 2.8cqw; margin-top: 2.4cqw; }
@media (max-width: 559px) { .paper__nums { grid-template-columns: minmax(0, 1fr); } }
.paper__net { position: relative; padding: 1.8cqw 2.4cqw 1.8cqw 3.4cqw; border-radius: 1.4cqw; background: #E8F5E1; }
.paper__net::before { content: ""; position: absolute; left: 0; top: 1.4cqw; bottom: 1.4cqw; width: .75cqw; min-width: 3px; background: #2A7521; }
.paper__net span { font-size: clamp(8px, 1.6cqw, 10.5px); font-weight: 700; letter-spacing: .06em; color: #1F5F1A; }
.paper__net strong { display: block; margin: .1em 0; font-size: clamp(24px, 5.9cqw, 38px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: #1F5F1A; font-variant-numeric: tabular-nums; }
.paper__net strong.is-neg { color: #B42318; }
.paper__net small { font-size: clamp(9px, 1.8cqw, 12px); color: #51607A; }
.paper__sum { display: grid; align-content: center; padding: 1.2cqw 2.3cqw; border: 1px solid #DCE4EF; border-radius: 1.4cqw; font-size: clamp(10px, 2.1cqw, 13px); }
.paper__sum div { display: flex; justify-content: space-between; gap: 1em; padding: .25em 0; }
.paper__sum span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.paper__sum .tot { margin-top: .3em; padding-top: .45em; border-top: 1.5px solid #123A73; font-weight: 700; color: #0A2146; }
.paper .d { color: #B42318; }
.paper .c { color: #1F5F1A; }
.paper__locked { position: relative; flex: 1 1 auto; min-height: 150px; margin-top: 2.6cqw; overflow: hidden; }
.paper__locked::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 32%; pointer-events: none; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.paper__blur { filter: blur(3.5px); opacity: .55; user-select: none; pointer-events: none; transition: filter .9s var(--ease-out), opacity .9s var(--ease-out); }
.gate.is-unlocked .paper__blur { filter: none; opacity: 1; user-select: auto; pointer-events: auto; }
.paper__sec { margin: 0 0 .5em; font-size: clamp(10px, 2.1cqw, 14px); font-weight: 700; color: #0A2146; }
.paper__sec small { margin-left: .5em; font-weight: 400; font-size: .72em; color: #51607A; }
.paper__table { width: 100%; margin-bottom: 1.8cqw; border-collapse: collapse; font-size: clamp(8px, 1.6cqw, 11px); }
.paper__table td { padding: .32em .5em; border-bottom: 1px solid #DCE4EF; vertical-align: top; }
.paper__table td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.paper__table small { color: #51607A; font-size: .84em; }
.paper__table tr.g td { border: 0; background: #EEF3F9; color: #123A73; font-weight: 700; font-size: .86em; letter-spacing: .02em; }
.paper__table tr.t td { border: 0; border-top: 1.5px solid #123A73; background: #E8F5E1; color: #1F5F1A; font-weight: 700; }
.paper__table--scen td { text-align: center; }
.paper__table--scen td:first-child { text-align: left; }
.paper__table--scen tr.h td { border: 0; background: #EEF3F9; color: #123A73; font-weight: 700; font-size: .84em; }
.paper__table--scen tr.h td:first-child { background: transparent; }
.paper__table--scen tr.h td.mid { background: #0A2146; color: #fff; }
.paper__disc { margin: 0; padding: .9em 1.1em; border: 1px solid #DCE4EF; border-radius: 1cqw; font-size: clamp(7px, 1.35cqw, 9px); color: #51607A; }
.paper__lock {
  position: absolute; z-index: 2; left: 7%; right: 7%; top: 10%; display: grid; justify-items: center; gap: .45rem; text-align: center;
  padding: clamp(14px, 3.2cqw, 26px); border-radius: 16px; background: rgba(255, 255, 255, .94); border: 1px solid #DCE4EF;
  box-shadow: 0 18px 40px -18px rgba(10, 33, 70, .45); font-family: var(--font); color: #0B1B33;
  transition: opacity .35s ease, transform .45s var(--ease-out), visibility 0s linear 0s;
}
.paper__lock b { font-size: clamp(15px, 2.9cqw, 19px); line-height: 1.25; color: #0A2146; letter-spacing: -.01em; }
.paper__lock small { font-size: clamp(12.5px, 2cqw, 14px); line-height: 1.45; color: #51607A; }
.paper__lock-ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: #0A2146; color: #fff; box-shadow: 0 0 0 6px rgba(77, 165, 49, .18); }
.paper__lock-ic .ic { width: 20px; height: 20px; }
.gate.is-unlocked .paper__lock { opacity: 0; transform: translateY(-10px) scale(.96); visibility: hidden; transition: opacity .35s ease, transform .45s var(--ease-out), visibility 0s linear .45s; }
.paper__foot { display: flex; justify-content: space-between; gap: 1em; margin-top: auto; padding-top: 1.2cqw; border-top: 1px solid #DCE4EF; font-size: clamp(7px, 1.35cqw, 9.5px); color: #51607A; }
.paper__foot b { color: #123A73; }
@media (max-width: 559px) { .paper__foot span:nth-child(2) { display: none; } }
.gate__form { display: grid; gap: var(--s4); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.gate__form .form__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
.gate__form .eyebrow { margin: 0; }
.gate__form .form__msg { margin: 0; }
.gate__form .form__note { display: block; }
.gate__h { margin: 0; font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem); letter-spacing: -.02em; color: var(--heading); }
.gate__lead { margin: 0; color: var(--muted); font-size: .96rem; }
.gate__done { display: grid; gap: var(--s3); justify-items: start; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: var(--r-lg); background: var(--accent-soft); border: 1px solid rgba(77, 165, 49, .3); }
.gate__done:focus { outline: none; }
.gate__done p { margin: 0; }
.gate__done .gate__h { display: flex; align-items: center; gap: .6rem; }
.gate__done .gate__h .ic { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--green-700); color: #fff; stroke-width: 2.5; }
.gate__tip { display: flex; gap: .55rem; align-items: flex-start; padding: .75rem .9rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; color: var(--ink); }
.gate__tip .ic { flex: none; margin-top: .15em; color: var(--green-600); }

/* ================================================================ motion states (assets/js/motion.js) */
/* InView reveal and AnimatedGroup stagger */
.js [data-motion~="reveal"]:not(.is-in) { opacity: 0; transform: translateY(18px); }
.js [data-motion~="reveal"] { transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); }
.js [data-motion~="group"]:not(.is-in) > * { opacity: 0; transform: translateY(14px); }
.js [data-motion~="group"] > * { transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 40ms); }
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(14px); }
.js .reveal { transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }

/* TextEffect: per word blur and rise. Starts faintly visible so the hero heading still counts as painted (LCP). */
.js [data-motion~="text-effect"] .te-w { display: inline-block; opacity: .12; filter: blur(8px); transform: translateY(.3em); }
.js [data-motion~="text-effect"].is-in .te-w { animation: te-in .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 65ms + var(--te-delay, 0ms)); }
@keyframes te-in { from { opacity: .12; filter: blur(8px); transform: translateY(.3em); } to { opacity: 1; filter: blur(0); transform: none; } }
.js [data-motion~="text-effect"] .swoosh { opacity: 0; transform: scaleX(0); }
.js [data-motion~="text-effect"].is-in .swoosh { animation: swoosh .9s var(--ease-out) .55s both; }
@keyframes swoosh { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }

/* TextShimmer: a sheen crosses the label (transform only) */
[data-motion~="shimmer"] { position: relative; overflow: hidden; }
[data-motion~="shimmer"]::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; pointer-events: none; transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
}
.js [data-motion~="shimmer"].is-in::after { animation: sheen 4.2s var(--ease-io) 1s infinite; }
@keyframes sheen { 0% { transform: translateX(-120%) skewX(-18deg); } 45%, 100% { transform: translateX(260%) skewX(-18deg); } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) [data-motion~="shimmer"]::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent); } }
:root[data-theme="dark"] [data-motion~="shimmer"]::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent); }
.section--navy [data-motion~="shimmer"]::after, .pros [data-motion~="shimmer"]::after, .story [data-motion~="shimmer"]::after, .pro-hero [data-motion~="shimmer"]::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent); }

/* TextLoop */
.tl { display: inline-grid; vertical-align: bottom; text-align: left; }
.tl > span { grid-area: 1 / 1; white-space: nowrap; }
.js .tl > span { opacity: 0; transform: translateY(.55em); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.js .tl > span.is-current { opacity: 1; transform: none; }
.js .tl > span.is-leaving { opacity: 0; transform: translateY(-.55em); transition-duration: .2s; }
.tl__hl { color: var(--heading); font-weight: 700; }

/* SlidingNumber: odometer digits */
.sn { display: inline-flex; align-items: baseline; }
.sn__d { display: inline-block; height: 1.1em; line-height: 1.1; overflow: hidden; vertical-align: bottom; }
.sn__col { display: flex; flex-direction: column; transition: transform .75s var(--ease-out); }
.sn__col > span { display: block; height: 1.1em; }
.sn__s { display: inline-block; line-height: 1.1; }

/* BorderTrail: a light travels around the card border */
.bt { position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; padding: 1.5px; overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.bt__beam { position: absolute; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(from 0deg, transparent 0 78%, rgba(108, 194, 74, .2) 84%, var(--green-400) 92%, #fff 94%, transparent 96%);
  animation: bt-spin 7s linear infinite; animation-play-state: paused; }
.js .is-in > .bt .bt__beam { animation-play-state: running; }
@keyframes bt-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* GlowEffect: a soft rotating glow behind a card */
.glow { position: relative; isolation: isolate; }
.glow::after {
  content: ""; position: absolute; inset: 14% 10%; z-index: -1; border-radius: inherit; pointer-events: none; opacity: .3; filter: blur(44px);
  background: conic-gradient(from 90deg, var(--green-500), var(--blue-400), var(--green-400), var(--navy-600), var(--green-500));
  animation: glow-spin 14s linear infinite; animation-play-state: paused;
}
.js .glow.is-in::after { animation-play-state: running; }
@keyframes glow-spin { to { transform: rotate(360deg); } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .glow::after { opacity: .22; } }
:root[data-theme="dark"] .glow::after { opacity: .22; }

/* Magnetic and Tilt: motion.js writes the transform */
[data-motion~="magnetic"] { transition: transform .35s var(--ease-out), background-color .18s, box-shadow .25s; }
[data-motion~="tilt"] { transition: transform .5s var(--ease-out); }

/* TransitionPanel: direction aware entry, exits are instant */
.panel-in-next { animation: panel-next .34s var(--ease-out) both; }
.panel-in-prev { animation: panel-prev .34s var(--ease-out) both; }
@keyframes panel-next { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes panel-prev { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

/* ================================================================ reduced motion: final states, no movement */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-motion~="reveal"], .js [data-motion~="group"] > *, .js .reveal { opacity: 1 !important; transform: none !important; }
  .js [data-motion~="text-effect"] .te-w { opacity: 1 !important; filter: none !important; transform: none !important; animation: none !important; }
  .js [data-motion~="text-effect"] .swoosh { opacity: 1 !important; transform: none !important; animation: none !important; }
  .js .tl > span:not(.is-current) { display: none; }
  .js .tl > span { opacity: 1; transform: none; }
  [data-motion~="shimmer"]::after, .bt, .glow::after, .dot-live::after { display: none; }
  .float, .marquee__track { animation: none !important; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__group[aria-hidden="true"], .marquee-toggle, .pblur { display: none !important; }
  .beam::after { display: none; }
  .js .bar.is-anim i { transform: none; }
  [data-motion~="tilt"], [data-motion~="magnetic"] { transform: none !important; }
}

/* Disclaimers and legal blocks (added with the disclaimer content pass) */
.disclosure{display:grid;gap:.5rem;margin:.25rem 0 1rem}
.disclosure__item{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-2);padding:.5rem .85rem}
.disclosure__item>summary{cursor:pointer;font-weight:600;font-size:.92rem;color:var(--ink);list-style:none}
.disclosure__item>summary::-webkit-details-marker{display:none}
.disclosure__item>summary::before{content:"+";display:inline-block;width:1em;color:var(--green-600);font-weight:700}
.disclosure__item[open]>summary::before{content:"\2212"}
.disclosure__item>summary:focus-visible{outline:2px solid var(--ring);outline-offset:2px;border-radius:4px}
.disclosure__item>p{margin:.5rem 0 0;font-size:.85rem;line-height:1.55;color:var(--muted)}
.netcard__note a{color:inherit;text-decoration:underline}
.footer__legal-links{display:flex;flex-wrap:wrap;gap:.3rem .5rem;align-items:center;margin:.5rem 0 0;font-size:.82rem}
.footer__legal-links a{color:var(--footer-link,#c5d2e6);text-decoration:none}
.footer__legal-links a:hover{text-decoration:underline}
.footer__legal-links span{opacity:.4}
.doc-emphasis{font-weight:700;letter-spacing:.01em}
