/* Igo Solutions — landing v2
   Colors come from the Claude Design file. Mobile first; desktop at 820px.

   System (v1.1):
   - Spacing: 3 section paddings (hero / chapter / aside) and 4 gaps (tight / group / head / block).
   - Type: one scale, 13 · 16 · 19 · 24 · 36 · 56, headline 72. The $80,000 banner is the only display exception.
   - Width: one 1040px content grid; 720px reading column for heads and centered visuals.
   - Background: white and one tint, alternating. Purple and navy each appear once as a full band. */

:root {
  --ink: #0F1B2D;
  --ink-2: #24324A;
  --body: #3B3F4D;
  --muted: #5E6373;          /* ≥4.5:1 on white and on --tint */
  --faint: #656A7A;
  --purple: #461D7C;
  --purple-hover: #391663;
  --purple-deep: #2F1157;
  --lilac: #D9CBEF;
  --tint: #F1ECF8;           /* the one section tint: 1.16:1 against white, visible on any screen */
  --tile: #F7F4FB;           /* fills for controls sitting on white */
  --tile-hover: #ECE3F7;
  --line: #E6E0F0;
  --gold: #FDD023;
  --amber: #F2B565;
  --green: #15803D;
  --green-deep: #0E6B32;
  --mint: #E9F6EE;
  --mint-2: #DDF1E4;
  --mint-line: #C9E8D4;
  --loss: #C0261D;
  --error: #B42318;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.2, .7, .2, 1);

  /* type scale (phone) */
  --fs-13: 13px;
  --fs-16: 16px;
  --fs-19: 18px;
  --fs-24: 21px;
  --fs-36: 28px;
  --fs-56: 34px;
  --fs-h1: 40px;

  /* spacing (phone) */
  --pad: 20px;
  --sec-hero-t: 56px;
  --sec-hero-b: 88px;
  --sec: 96px;               /* chapter sections */
  --sec-aside: 72px;         /* asides and bands */
  --g-tight: 12px;           /* label → heading */
  --g-group: 16px;           /* heading → lead, items in a group */
  --g-head: 44px;            /* section head → its content */
  --g-block: 56px;           /* between blocks inside one section */

  /* widths */
  --content: 1040px;
  --read: 720px;
  --radius: 24px;
  --radius-sm: 16px;
  --header-h: 68px;

  color-scheme: light;
  accent-color: var(--purple);
}

@media (min-width: 820px) {
  :root {
    --fs-19: 19px;
    --fs-24: 24px;
    --fs-36: 36px;
    --fs-56: 56px;
    --fs-h1: 72px;

    --pad: 48px;
    --sec-hero-t: 112px;
    --sec-hero-b: 104px;
    --sec: 152px;
    --sec-aside: 112px;
    --g-tight: 14px;
    --g-group: 20px;
    --g-head: 72px;
    --g-block: 88px;
    --radius: 32px;
    --radius-sm: 20px;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: Geist, system-ui, sans-serif;
  font-size: var(--fs-16);
  line-height: 1.55;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  caret-color: var(--purple);
}

/* Browser surfaces carry the palette too */
::selection { background: var(--gold); color: var(--ink); }
html { scrollbar-color: #CFC4E2 transparent; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-thumb { background: #D5CBE6; border-radius: 999px; border: 3px solid #fff; }
::-webkit-scrollbar-thumb:hover { background: #BBA9D8; }
::-webkit-scrollbar-track { background: transparent; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 8px; }
.on-dark :focus-visible, .on-purple :focus-visible { outline-color: var(--gold); }

a { color: var(--purple); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--purple-deep); }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
strong { font-weight: 600; color: var(--ink); }
mark { background: #FFF3B8; color: var(--ink); border-radius: 2px; padding: 0 3px; }
input::placeholder { color: #A9A4B8; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px;
  font-weight: 500; text-decoration: none; transition: top .2s var(--ease-out);
}
.skip:focus-visible { top: 12px; color: #fff; }

/* ---------- Layout primitives ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.stack-c { display: flex; flex-direction: column; align-items: center; text-align: center; }
.band-tint { background: var(--tint); }

/* Every section head: label, heading, lead — tight inside, generous below */
.section-head { max-width: var(--read); margin: 0 auto; display: flex; flex-direction: column; gap: var(--g-group); }
.section-head .eyebrow { margin-bottom: calc(var(--g-tight) - var(--g-group)); }

.eyebrow {
  font-size: var(--fs-13); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple); line-height: 1.4;
}
.h2 {
  font-weight: 500; font-size: var(--fs-36); line-height: 1.12; color: var(--ink);
  letter-spacing: -.03em; text-wrap: balance;
}
.h2--chapter { font-size: var(--fs-56); line-height: 1.04; letter-spacing: -.035em; }
.lead { font-size: var(--fs-19); line-height: 1.5; text-wrap: pretty; }
/* Counters and figures that change keep even-width digits */
.cost-num, .amt-input, .board, .race-card, .progress { font-variant-numeric: tabular-nums; }
.fine { font-size: var(--fs-13); line-height: 1.55; color: var(--faint); text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--purple); --fg: #fff; --bd: transparent; --bg-h: var(--purple-hover);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font: 500 var(--fs-16)/1.15 Geist, system-ui, sans-serif; letter-spacing: -.005em;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, box-shadow .25s ease, transform .16s var(--ease-out);
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.btn:hover { background: var(--bg-h); color: var(--fg); }
.btn:active { transform: scale(.97); }
.btn--ghost { --bg: transparent; --fg: var(--purple); --bd: var(--purple); --bg-h: rgba(70, 29, 124, .06); }
.btn--dark { --bg: var(--ink); --bg-h: var(--ink-2); }
.btn--sm { min-height: 44px; padding: 0 20px; }
.btn--lg {
  min-height: 60px; padding: 12px 34px; font-size: var(--fs-19); white-space: normal; text-align: center;
  box-shadow: 0 10px 28px rgba(70, 29, 124, .22);
}
.btn--lg:hover { --bg-h: var(--purple-deep); box-shadow: 0 14px 34px rgba(70, 29, 124, .28); }
.btn svg { flex: none; }
.btn .arrow { transition: transform .25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.link-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0;
  background: none; border: 0; cursor: pointer;
  font: 500 var(--fs-16) Geist, system-ui, sans-serif; color: var(--muted);
  transition: color .2s ease;
}
.link-btn:hover { color: var(--ink); }
.link-btn--accent { color: var(--purple); text-decoration: underline; text-underline-offset: 4px; }
.link-btn--accent:hover { color: var(--purple-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .05); background: rgba(255, 255, 255, .92); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; border-radius: 8px; }
.logo img { height: 48px; width: auto; display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: var(--sec-hero-t) 0 var(--sec-hero-b);
}
.hero-copy { max-width: 900px; margin: 0 auto; gap: 28px; }
.hero h1 {
  font-weight: 500; font-size: var(--fs-h1); line-height: 1.02; color: var(--ink);
  letter-spacing: -.035em; text-wrap: balance;
}
.hero h1 .accent { color: var(--purple); }
.scribble { position: relative; display: inline-block; white-space: nowrap; isolation: isolate; }
.scribble svg { position: absolute; left: -3%; bottom: -.2em; width: 106%; height: .42em; overflow: visible; z-index: -1; }
.scribble path { stroke-dasharray: 240; stroke-dashoffset: 240; animation: igoDraw .7s .6s cubic-bezier(.6, 0, .2, 1) forwards; }
.scribble path + path { animation-duration: .6s; animation-delay: 1.15s; }
.hero .lead { max-width: 640px; font-size: var(--fs-24); line-height: 1.4; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; width: 100%; padding-top: 12px; }
@media (min-width: 820px) { .hero-ctas { flex-direction: row; width: auto; } }

@keyframes igoDraw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: .12s; }
  .hero-copy > :nth-child(3) { animation-delay: .22s; }
}
@media (prefers-reduced-motion: reduce) {
  .scribble path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Growth (wheelbarrow race) ---------- */
.growth { padding: var(--sec-aside) 0 var(--sec); }
.growth .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--g-head); }
.growth-title { display: flex; flex-direction: column; gap: 4px; }
.growth-title > span:first-child { color: var(--muted); font-weight: 400; }
.growth-title .accent { color: var(--purple); }
.race { width: 100%; max-width: var(--read); display: flex; flex-direction: column; gap: 20px; }
.race-card {
  background: #fff; border-radius: var(--radius); padding: 24px 20px;
  box-shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 24px 60px rgba(70, 29, 124, .08);
  display: flex; flex-direction: column; gap: 18px; min-width: 0;
}
.race-legend { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); gap: 0 8px; align-items: end; text-align: center; }
.race-legend > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.chip { font: 600 var(--fs-13)/1.2 Geist, system-ui, sans-serif; border-radius: 999px; padding: 6px 12px; }
.chip--grey { color: var(--body); background: #E9EAEE; }
.chip--purple { color: #fff; background: var(--purple); }
.race-legend small { font-size: var(--fs-13); color: var(--muted); line-height: 1.3; }
.race-legend .chip--purple + small { color: var(--purple); font-weight: 500; }
.race-card .btn { align-self: stretch; }
@media (min-width: 820px) {
  .race-card { padding: 32px 36px; }
  .race-card .btn { align-self: flex-start; }
}

/* ---------- Cost banner: the price of playing it safe ---------- */
.cost { background: #EEF0F3; padding: 44px 0; }
.cost-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.cost-top, .cost-bottom { font-size: var(--fs-19); line-height: 1.4; color: var(--body); text-wrap: balance; }
.cost-bottom strong { color: var(--loss); }
.cost-num {
  display: inline-flex; align-items: center; gap: .12em; margin: 2px 0;
  font-weight: 600; font-size: clamp(52px, 15vw, 96px); line-height: 1; letter-spacing: -.045em; color: var(--loss);
}
.cost-arrow { width: .5em; height: .5em; flex: none; }
.cost-num span { white-space: nowrap; }
.cost.is-counted .cost-arrow { animation: slump .6s var(--ease-out) both; }
@keyframes slump { 0% { transform: translateY(-6px); } 60% { transform: translateY(4px); } 100% { transform: none; } }
@media (min-width: 820px) { .cost { padding: 56px 0; } }

/* ---------- Explainer (Flip) ---------- */
.explain { padding: var(--sec) 0; }
.explain .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--g-head); }
.flip-slot { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.flip-host { width: 100%; min-height: 290px; }
.flip-after { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.flip-after p { font-size: var(--fs-24); line-height: 1.35; color: var(--ink); font-weight: 500; text-wrap: balance; }
@media (prefers-reduced-motion: no-preference) {
  .flip-after { animation: rise .7s var(--ease-out) both; }
}
.steps { list-style: none; margin: 0; padding: 0; width: 100%; max-width: var(--read); display: grid; gap: 12px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: 0 0 0 1px var(--line); }
.steps li.is-turn { background: var(--tint); box-shadow: none; }
.steps li.is-end { box-shadow: 0 0 0 2px var(--purple); }
.steps-n { width: 28px; height: 28px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; font-size: var(--fs-13); font-weight: 600; flex: none; }
.steps p { font-size: var(--fs-19); line-height: 1.4; color: var(--ink); padding-top: 1px; }
@keyframes igoPulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 181, 101, .75), 0 10px 30px rgba(15, 27, 45, .25); }
  70% { box-shadow: 0 0 0 20px rgba(242, 181, 101, 0), 0 10px 30px rgba(15, 27, 45, .25); }
  100% { box-shadow: 0 0 0 0 rgba(242, 181, 101, 0), 0 10px 30px rgba(15, 27, 45, .25); }
}
.flip-btn:active { scale: .97; }
.flip-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 999px; }
@media (min-width: 820px) { .flip-host { min-height: 380px; } }

/* ---------- Fit (+ where the money comes from) ---------- */
.fit { padding: var(--sec-aside) 0; }
.fit .wrap { display: flex; flex-direction: column; gap: var(--g-head); }
.fit-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.fit-item {
  background: #fff; border-radius: var(--radius-sm); padding: 24px;
  display: flex; gap: 18px; align-items: flex-start;
}
.check {
  width: 36px; height: 36px; border-radius: 50%; background: var(--purple); flex: none;
  display: grid; place-items: center;
}
.fit-item h3 { font-weight: 500; color: var(--ink); font-size: var(--fs-19); letter-spacing: -.015em; line-height: 1.3; margin: 5px 0 6px; }
.fit-item p { font-size: var(--fs-16); line-height: 1.5; text-wrap: pretty; }
.sources { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-top: calc(var(--g-block) - var(--g-head)); }
.sources-title { font-weight: 500; font-size: var(--fs-24); line-height: 1.2; color: var(--ink); letter-spacing: -.02em; text-align: center; text-wrap: balance; }
.flow { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.flow-from { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.flow-from li {
  background: #fff; border-radius: var(--radius-sm); padding: 14px; display: flex; align-items: center; gap: 12px;
  font-weight: 500; color: var(--ink); font-size: var(--fs-16); line-height: 1.25; box-shadow: 0 1px 2px rgba(15, 27, 45, .05);
}
.flow-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--mint-2); color: var(--green); display: grid; place-items: center; flex: none; }
.flow-lines { display: none; }
.flow-lines path { fill: none; stroke: var(--green); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .7; }
.flow-down { width: 28px; height: 28px; color: var(--green); align-self: center; }
.flow-to {
  background: linear-gradient(160deg, #1A8F46, var(--green-deep)); color: #fff; border-radius: var(--radius-sm);
  padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px;
  box-shadow: 0 18px 40px rgba(21, 128, 61, .22);
}
.flow-to-label { font-size: var(--fs-13); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #CFEBD9; }
.flow-to-rate { font-size: var(--fs-56); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.flow-to-sub { font-size: var(--fs-16); color: #E3F4E8; }
@media (prefers-reduced-motion: no-preference) {
  .flow-lines path { animation: flowDash 1.4s linear infinite; }
  .flow-down { animation: nudge 1.6s ease-in-out infinite; }
}
@keyframes flowDash { to { stroke-dashoffset: -20; } }
@keyframes nudge { 50% { transform: translateY(4px); } }
@media (min-width: 820px) {
  .fit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .fit-item { padding: 32px; }
  .flow { display: grid; grid-template-columns: minmax(0, 1fr) 140px minmax(0, .85fr); align-items: center; gap: 0; }
  .flow-from { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .flow-from li { padding: 14px 18px; }
  .flow-lines { display: block; width: 100%; height: 100%; align-self: stretch; }
  .flow-lines { padding: 26px 0; box-sizing: border-box; }
  .flow-down { display: none; }
  .flow-to { padding: 40px 32px; }
}

/* ---------- Calculator ---------- */
.calc { padding: var(--sec) 0; }
.calc .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--g-head); }
.calc-card {
  width: 100%; background: #fff; border-radius: var(--radius); padding: 16px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(70, 29, 124, .08);
  display: flex; flex-direction: column; gap: 32px;
}
.calc-inputs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: stretch; }
.q-row { display: flex; flex-direction: column; gap: 14px; padding: 4px 0 24px; transition: opacity .4s ease; }
.q-row + .q-row { border-top: 1px solid var(--line); padding-top: 24px; }
.q-row.is-idle { opacity: .45; }
.q-label { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); font-size: var(--fs-16); }
.badge {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-size: var(--fs-13); font-weight: 600; background: #E4E4EA; color: var(--faint);
  transition: background-color .3s ease, color .3s ease;
}
.badge.is-on { background: var(--purple); color: #fff; }
.badge.is-done { background: var(--green); color: #fff; }
.amt-row { display: flex; align-items: center; gap: 10px; }
.amt-input {
  flex: 1; min-width: 0; font: 500 var(--fs-36)/1.1 Geist, system-ui, sans-serif; color: var(--ink);
  border: 0; border-bottom: 2px solid #E4DDF0; background: transparent; border-radius: 0;
  padding: 4px 0 8px; outline: none; font-variant-numeric: tabular-nums; letter-spacing: -.03em;
  transition: border-color .2s ease;
}
.amt-input:focus { border-bottom-color: var(--purple); }
.amt-input:focus-visible { outline: none; }
.amt-go {
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--purple); color: #fff;
  display: grid; place-items: center; cursor: pointer; flex: none;
  transition: background-color .2s ease, transform .16s var(--ease-out);
}
.amt-go:hover { background: var(--purple-deep); }
.amt-go.is-set { background: var(--green); }
.amt-go:active { transform: scale(.94); }
.field-error { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-13); line-height: 1.4; }
.field-error strong { color: var(--error); font-weight: 600; font-size: var(--fs-16); }
.field-error span { color: var(--muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; align-items: center; }
.seg button {
  min-height: 56px; border-radius: 14px; border: 1.5px solid #D9D6E2; background: #fff; color: var(--ink);
  cursor: pointer; font: 500 var(--fs-16) Geist, system-ui, sans-serif; padding: 0 10px;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .16s var(--ease-out);
}
.seg button:hover { border-color: #BDB2D3; }
.seg button:active { transform: scale(.97); }
.seg button[aria-pressed='true'] { background: var(--purple); color: #fff; border-color: var(--purple); }
.board-wrap { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--line); padding-top: 28px; scroll-margin-top: calc(var(--header-h) + 16px); }
.board-wrap > h3 { font-weight: 500; color: var(--ink); font-size: var(--fs-16); }
.board { min-height: 380px; }
.board-note { font-size: var(--fs-13); color: var(--muted); text-align: center; text-wrap: balance; }
.calc-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.calc-cta .btn { width: 100%; }
.calc-cta small { font-size: var(--fs-13); color: var(--muted); text-align: center; }
@media (min-width: 820px) {
  .calc-card { padding: 56px; gap: 40px; }
  .calc-inputs { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .q-row { padding: 4px 40px 8px 0; }
  .q-row + .q-row { border-top: 0; border-left: 1px solid var(--line); padding: 4px 0 8px 40px; }
  .board-wrap { padding-top: 40px; }
  .board { min-height: 460px; }
  .calc-cta .btn { width: auto; }
}

/* ---------- Calculator: the green "this could be you" mood ---------- */
.calc { position: relative; overflow: hidden; background: var(--mint); }
.calc .wrap { position: relative; z-index: 1; }
.calc .eyebrow, .calc .h2 { color: var(--green-deep); }
/* "Run your numbers" set like the lettering on a US bill: engraved Roman caps with banknote-style rules */
.money-title {
  display: flex; align-items: center; justify-content: center; gap: .45em;
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(28px, 8vw, 46px); line-height: 1.08; letter-spacing: .06em; color: #0E5A2E;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}
.money-rule { position: relative; flex: none; width: 1.5em; height: .3em; border-top: 2px solid currentColor; border-bottom: 1px solid currentColor; opacity: .45; }
.money-rule::after { content: ''; position: absolute; right: -.32em; top: 50%; width: .26em; height: .26em; background: currentColor; transform: translateY(-50%) rotate(45deg); }
.money-rule--r::after { right: auto; left: -.32em; }
@media (max-width: 480px) { .money-rule { display: none; } }
.calc .section-head { max-width: 880px; }
@media (min-width: 820px) { .money-title > span:not(.money-rule) { white-space: nowrap; } }
.money-bg { position: absolute; inset: 0; pointer-events: none; }
/* Money trees up top, flanking the heading; bills drop from their canopies and drift down behind the card */
.tree-wrap { position: absolute; top: 34px; left: 10px; width: 84px; opacity: .6; }
.tree-wrap--right { left: auto; right: 10px; }
.tree-wrap--right .money-tree { transform: scaleX(-1); }
@media (max-width: 380px) { .tree-wrap { width: 70px; left: 4px; top: 44px; } .tree-wrap--right { left: auto; right: 4px; } }
.money-tree { display: block; width: 100%; height: auto; }
.tree-rain { position: absolute; left: 10%; right: 10%; top: 12%; height: 42%; }
.tree-rain span {
  position: absolute; left: var(--x); top: var(--y); width: 18px; height: 10px; border-radius: 2px; opacity: 0;
  background: #EAF7EE; box-shadow: inset 0 0 0 1.2px #1E8A48;
  animation: leafFall var(--t) cubic-bezier(.45, .05, .55, .95) var(--d) infinite;
}
.tree-rain span::after { content: ''; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; border-radius: 50%; background: #1E8A48; opacity: .75; }
@keyframes leafFall {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  8% { opacity: .85; }
  30% { transform: translate(var(--sw), 260px) rotate(calc(var(--r) * .3)); }
  60% { transform: translate(calc(var(--sw) * -.6), 560px) rotate(calc(var(--r) * .6)); opacity: .7; }
  100% { transform: translate(var(--sw), 920px) rotate(var(--r)); opacity: 0; }
}
@media (min-width: 820px) {
  .tree-wrap { top: 40px; left: 2%; width: 230px; }
  .tree-wrap--right { left: auto; right: 2%; }
  .tree-rain span { width: 22px; height: 12px; }
}
@media (prefers-reduced-motion: reduce) { .tree-rain { display: none; } }
.calc-card { box-shadow: 0 0 0 1px var(--mint-line), 0 24px 60px rgba(21, 128, 61, .12); }
.calc .q-row + .q-row, .calc .board-wrap { border-color: var(--mint-line); }
.calc .badge.is-on { background: var(--green); }
.calc .amt-input { border-bottom-color: var(--mint-line); }
.calc .amt-input:focus { border-bottom-color: var(--green); }
.calc .amt-go { background: var(--green); }
.calc .amt-go:hover { background: var(--green-deep); }
.calc .seg button:hover { border-color: #9FD3B2; }
.calc .seg button[aria-pressed='true'] { background: var(--green); border-color: var(--green); }
.calc :focus-visible { outline-color: var(--green); }
.jackpot { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 8px 0 4px; }
.jackpot-num { font-size: var(--fs-56); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.jackpot-sub { font-size: var(--fs-16); color: var(--body); }
@media (prefers-reduced-motion: no-preference) { .jackpot { animation: jackpotIn .6s var(--ease-out) both; } }
@keyframes jackpotIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.bills { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.bill { position: absolute; left: 0; top: 0; opacity: 0; width: 34px; height: 18px; border-radius: 3px; background: #1F9A50; box-shadow: inset 0 0 0 1.5px #0E6B32, inset 0 0 0 4px #1F9A50, inset 0 0 0 5px rgba(255,255,255,.45); display: grid; place-items: center; color: #E3F4E8; font: 700 11px/1 Geist, system-ui, sans-serif; will-change: transform; }

/* ---------- Why nobody told you ---------- */
.why { padding: var(--sec-aside) 0; }
.why .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--g-head); align-items: center; }
.why-copy { display: flex; flex-direction: column; gap: var(--g-group); max-width: 520px; }
.why-copy .eyebrow { margin-bottom: calc(var(--g-tight) - var(--g-group)); }
.why-copy p { font-size: var(--fs-19); line-height: 1.55; text-wrap: pretty; }
.banker { width: 100%; aspect-ratio: 6 / 5; background: #F6F2FB; border-radius: var(--radius); overflow: hidden; position: relative; }
@media (min-width: 820px) {
  .why .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 88px; }
  .banker { aspect-ratio: 1 / 1; }
}

/* ---------- The IGO Way (the one navy band) ---------- */
.igo-way { position: relative; overflow: hidden; background: var(--ink); padding: var(--sec) 0; color: #fff; isolation: isolate; }
.igo-glow { position: absolute; inset: -10% 0 auto; height: 80%; z-index: -1; background: radial-gradient(45% 55% at 50% 18%, rgba(253, 208, 35, .2), rgba(253, 208, 35, 0) 70%); }
.igo-way .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--g-head); }
.igo-head { max-width: 900px; gap: 20px; }
.igo-word { display: inline-block; color: #fff; vertical-align: -.41em; margin: 0 .05em; }
.igo-wordmark { display: block; height: 1.7em; width: auto; overflow: visible; filter: drop-shadow(0 6px 22px rgba(253, 208, 35, .28)); }
.igo-title { font-weight: 600; font-size: clamp(52px, 14vw, 112px); line-height: .95; letter-spacing: -.05em; color: #fff; }

.igo-belief { font-size: var(--fs-24); line-height: 1.4; color: #DDE1EA; max-width: 680px; text-wrap: balance; }
.igo-belief em { font-style: normal; font-weight: 600; color: #fff; background: linear-gradient(transparent 62%, rgba(253, 208, 35, .55) 62%, rgba(253, 208, 35, .55) 92%, transparent 92%); padding: 0 .08em; }
.igo-pillars { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.igo-pillars li {
  position: relative; border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
  box-shadow: inset 0 0 0 1px rgba(253, 208, 35, .22), 0 24px 50px rgba(0, 0, 0, .25);
}
.igo-pillars li::before { content: ''; position: absolute; top: 0; left: 28px; right: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .8; }
.pillar-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); background: rgba(253, 208, 35, .12); box-shadow: inset 0 0 0 1px rgba(253, 208, 35, .35); margin-bottom: 8px; }
.pillar-ico svg { width: 28px; height: 28px; }
.igo-pillars h3 { font-weight: 500; font-size: var(--fs-24); line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.igo-pillars p { font-size: var(--fs-16); line-height: 1.55; color: #C3C9D6; text-wrap: pretty; }
@media (min-width: 820px) {
  .igo-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .igo-pillars li { padding: 36px 32px 40px; }
}

/* ---------- Founder story ---------- */
.story { padding: var(--sec) 0; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--g-head); align-items: center; }
.portrait {
  aspect-ratio: 4 / 5; width: 100%; max-width: 240px; margin: 0 auto; border-radius: var(--radius); overflow: hidden;
  background: #E9EAEE; box-shadow: 0 24px 60px rgba(15, 27, 45, .14); position: relative;
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.story-copy { max-width: 600px; display: flex; flex-direction: column; gap: var(--g-group); }
.story-copy .eyebrow { margin-bottom: calc(var(--g-tight) - var(--g-group)); }
.story-copy .lead { line-height: 1.55; }
.sig { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; }
.sig .script { font-family: 'Mrs Saint Delafield', cursive; font-size: 44px; line-height: 44px; height: 44px; color: var(--ink); }
.sig .who { font-weight: 500; color: var(--ink); font-size: var(--fs-16); }
@media (min-width: 820px) {
  .story-grid { grid-template-columns: 360px minmax(0, 1fr); gap: 88px; }
  .portrait { max-width: 360px; margin: 0; }
}

/* ---------- Qualifier ---------- */
.qual { padding: var(--sec) 0; }
.qual-card {
  background: var(--purple); border-radius: var(--radius); padding: 48px 16px 16px;
  display: flex; flex-direction: column; align-items: center; gap: var(--g-head);
  position: relative; overflow: hidden; isolation: isolate;
}
.qual-head { color: #fff; padding: 0 8px; }
.qual-head h2 { color: #fff; }
.qual-head p { color: var(--lilac); }
.with-nic { display: inline-flex; align-items: center; gap: 12px; margin-top: 4px; align-self: center; color: #fff; font-size: var(--fs-16); text-align: left; }
.with-nic img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 3px var(--gold); flex: none; }
.with-nic strong { color: #fff; }
.qual-box { width: 100%; max-width: 100%; display: flex; flex-direction: column; gap: 28px; color: #fff; }
.progress { display: flex; flex-direction: column; gap: 10px; }
.progress span { font-size: var(--fs-13); font-weight: 500; color: var(--lilac); }
.progress .bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.progress .bars i { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .18); position: relative; overflow: hidden; }
.progress .bars i::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.progress .bars i.on::after { transform: none; }
.step { display: flex; flex-direction: column; gap: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .step { animation: stepIn .45s var(--ease-out) both; }
}
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.step h3 { font-weight: 500; font-size: var(--fs-24); color: #fff; letter-spacing: -.025em; line-height: 1.25; text-wrap: pretty; }
.step h3:focus, .step h3:focus-visible { outline: none; }
.step .hint { font-size: var(--fs-16); color: var(--lilac); margin-top: -8px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opts--3 { grid-template-columns: 1fr 1fr 1fr; }
.opt {
  min-height: 56px; border-radius: 14px; border: 0; background: #fff; color: var(--ink);
  font: 500 var(--fs-16) Geist, system-ui, sans-serif; cursor: pointer; padding: 0 12px; line-height: 1.2;
  transition: background-color .2s ease, transform .16s var(--ease-out);
}
.opt:hover { background: var(--tile-hover); }
.qual-box .link-btn { color: var(--lilac); }
.qual-box .link-btn:hover { color: #fff; }
.qual-box .link-btn--accent { color: #fff; }
.opt:active { transform: scale(.97); }
.opt--plain { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.opt--plain:hover { background: rgba(255, 255, 255, .1); }
.opt--muted { color: var(--lilac); grid-column: 1 / -1; }
.cal { min-height: 280px; border-radius: var(--radius-sm); background: #fff; display: grid; place-items: center; }
.cal--live { height: 700px; min-height: 0; display: block; overflow: hidden; padding: 0; }
.cal--live iframe { display: block; }
.cal-fallback { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px; text-align: center; color: var(--body); }
.cal-fallback p { max-width: 280px; }
.cal-fallback .link-btn--accent { color: var(--purple); }
.cal-note { text-align: center; font-weight: 500; color: #fff; }
.row-links { display: flex; gap: 24px; align-items: center; }
@media (min-width: 820px) {
  .qual-card { padding: 96px 48px; }
  .qual-box { max-width: 560px; }
  .cal { min-height: 320px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 64px 0 calc(64px + env(safe-area-inset-bottom)); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 12px; font-size: var(--fs-16); line-height: 1.6; text-align: center; align-items: center; }
.site-footer address { font-style: normal; color: #B8BDCB; }
.site-footer a { color: #DDE1EA; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal { color: #9AA2B4; font-size: var(--fs-13); max-width: 560px; padding-top: 16px; }
.site-footer .notes { color: #9AA2B4; font-size: var(--fs-13); line-height: 1.6; max-width: var(--read); text-wrap: pretty; }
.site-footer .notes mark { background: rgba(255, 243, 184, .9); }
.notes-back { display: inline-block; margin-left: 6px; color: #DDE1EA !important; text-decoration: underline !important; text-underline-offset: 3px; }
.footer-rule { width: 100%; max-width: var(--read); height: 1px; background: rgba(255, 255, 255, .12); margin: 20px 0 12px; }

/* ---------- Footnote marker + responsive label ---------- */
.fn { position: relative; font-size: .62em; vertical-align: super; line-height: 0; margin-left: 2px; color: inherit; text-decoration: none; opacity: .75; }
.fn::after { content: ''; position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; transform: translate(-50%, -50%); }
.fn:hover { opacity: 1; color: inherit; }
.show-sm { display: none; }
@media (max-width: 819.98px) { .hide-sm { display: none; } .show-sm { display: inline; } }

/* ---------- Scroll reveal (JS adds .rv-ready) ---------- */
.rv-ready [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease-soft), transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.rv-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Phone fit (below 820px) ---------- */
@media (max-width: 819.98px) {
  .btn { white-space: normal; text-align: center; padding: 12px 22px; }
  .btn--sm { padding: 0 16px; white-space: nowrap; }
  .logo img { height: 40px; }
  .hero .lead { font-size: var(--fs-19); }

  .race-card { padding: 16px 12px 18px; border-radius: 20px; gap: 14px; }
  .race-legend { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr); gap: 0 6px; }
  .race-legend > div { gap: 4px; }
  .chip { padding: 5px 10px; text-align: center; max-width: 100%; }

  .fit-item { padding: 20px; gap: 14px; }
  .check { width: 32px; height: 32px; }
  .fit-item h3 { margin-top: 3px; }

  .calc-card { padding: 24px 16px; gap: 24px; border-radius: 20px; }
  .amt-input { font-size: clamp(28px, 9.5vw, 36px); }
  .amt-go { width: 44px; height: 44px; }
  .seg button { min-height: 52px; }
  .board { min-height: 360px; }

  .sig .script { font-size: 40px; }

  .qual-card { padding: 48px 12px 12px; }
  .qual-box .step > h3, .qual-box .progress, .qual-box .step > .hint, .qual-box .step > .opts, .qual-box .step > .row-links, .qual-box .step > .link-btn, .qual-box .cal-note { margin-left: 8px; margin-right: 8px; }

}

@media (max-width: 480px) {
  .flow-from li { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 400px) {
  :root { --pad: 16px; }
  .opts--3, .opts--stack { grid-template-columns: 1fr; }
}
