:root {
  --ground: #FFF8E7;
  --surface: #FFFFFF;
  --navy: #10264A;
  --navy-deep: #0A1A33;
  --yellow: #FFC72C;
  --yellow-soft: #FFE7A3;
  --yellow-line: #F5D46B;
  --ink-2: #3F4D5A;
  --muted: #55636F;
  --line: #EADFC4;
  --line-soft: #F1E8D2;
  --field: #9C9A90;
  --ghost-line: #B9B7AD;
  --warn-bg: #FFE4D1;
  --warn-ink: #8A3200;
  --on-dark: #C3CCD3;
  --display: "Bricolage Grotesque", Figtree, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--navy);
  font-family: Figtree, system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
input, select, button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small-text { font-size: 14px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* header */
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--navy); text-decoration: underline; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; text-decoration: none; font-weight: 700; cursor: pointer; }
.btn.small { min-height: 44px; padding: 0 18px; font-weight: 600; }
.btn.navy { background: var(--navy); color: #FFFFFF; }
.btn.navy:hover { background: var(--navy-deep); color: #FFFFFF; }
.btn.yellow { background: var(--yellow); color: var(--navy); }
.btn.yellow:hover { background: #F2B800; color: var(--navy); }
.btn.ghost { background: var(--surface); border: 1px solid var(--ghost-line); color: var(--navy); font-weight: 600; }
.btn.ghost:hover { border-color: var(--navy); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 72px; padding-bottom: 64px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.pill { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--yellow-soft); color: var(--navy-deep); font-size: 14px; font-weight: 600; }
.hero h1 { font-size: clamp(38px, 5.5vw, 58px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 800; }
mark { background: var(--yellow); color: inherit; padding: 0 8px; border-radius: 12px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 580px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2); }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2.2px solid var(--navy); border-bottom: 2.2px solid var(--navy); transform: rotate(-45deg); }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.calc { flex: 1 1 420px; min-width: 0; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 24px; box-shadow: 0 1px 2px rgba(16,38,74,0.06), 0 12px 32px rgba(16,38,74,0.07); scroll-margin-top: 24px; }
.calc h2 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.choices { display: grid; gap: 8px; }
.choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices button { min-height: 48px; border-radius: 999px; border: 1px solid var(--ghost-line); background: var(--surface); font-weight: 600; cursor: pointer; }
.choices button:hover { border-color: var(--navy); }
.choices button[aria-pressed="true"] { border: 2px solid var(--navy); background: var(--yellow-soft); color: var(--navy-deep); font-weight: 700; }
.ledger { border-top: 1px solid var(--line-soft); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.line { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.line span:first-child { color: var(--ink-2); }
.line strong { font-weight: 600; }
.result { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 16px; border-radius: 14px; background: var(--yellow); font-weight: 700; }
.result strong { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.w4 { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; border: 1px dashed var(--ghost-line); font-size: 15px; }
.warn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--warn-bg); color: var(--warn-ink); font-size: 14px; }
.warn svg { flex: none; margin-top: 2px; }

/* dates band */
.band { background: var(--navy); color: #FFFFFF; }
.dates { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.dates > div { display: flex; flex-direction: column; gap: 6px; }
.dates .when { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow); }
.dates strong { font-size: 17px; }
.dates span:last-child { font-size: 14px; color: var(--on-dark); }

/* how */
.section { padding-top: 88px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.intro { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.intro h2, .demo-copy h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps li { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.steps .num { font-size: 14px; font-weight: 700; }
.steps h3 { font-size: 20px; font-weight: 700; }
.steps p { font-size: 15px; color: var(--ink-2); }

/* split */
.split { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 48px; padding-bottom: 48px; }
.big { flex: 1 1 460px; min-width: 0; border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 24px; }
.big h2 { font-size: 30px; line-height: 1.15; letter-spacing: -0.015em; font-weight: 800; }
.big ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.big.tint { background: var(--yellow-soft); border-color: var(--yellow-line); }
.big.tint p:not(.eyebrow) { color: #2A3550; }
.big.tint .eyebrow { color: var(--navy-deep); }

/* trust */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; padding-top: 24px; padding-bottom: 72px; }
.trust > div { display: flex; gap: 14px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 32px; }
.trust svg { flex: none; }
.trust h3 { font-family: Figtree, sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.trust p { font-size: 15px; color: var(--ink-2); }

/* demo */
.demo { background: var(--surface); border-top: 1px solid var(--line); scroll-margin-top: 0; }
.demo-row { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 80px; padding-bottom: 80px; }
.demo-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.form { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.req { font-weight: 400; color: var(--muted); }
.field input, .field select { min-height: 48px; padding: 0 16px; border: 1px solid var(--field); border-radius: 14px; background: var(--surface); }
.field input[aria-invalid="true"] { border: 2px solid var(--warn-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.submit-row .btn { min-height: 52px; padding: 0 28px; }
.form-msg { font-size: 14px; color: var(--muted); }
.form-msg.error { color: var(--warn-ink); font-weight: 600; }
.form-msg.ok { color: var(--navy); font-weight: 700; }

/* footer */
.foot { background: var(--navy); color: var(--on-dark); font-size: 13px; line-height: 1.6; }
.foot .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.foot p { max-width: 900px; }
.foot a { color: var(--yellow); }
.foot a:hover { color: #FFFFFF; }
.foot-brand { color: #FFFFFF; font-weight: 700; font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* plain pages */
.page { padding-top: 56px; padding-bottom: 80px; }
.page .card { padding: 36px; display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.page h1 { font-size: 36px; font-weight: 800; }

@media (max-width: 560px) {
  .hero { padding-top: 40px; gap: 36px; }
  .calc, .big { padding: 22px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .nav { gap: 14px; }
  .nav a:not(.btn) { display: none; }
  .result { flex-direction: column; gap: 4px; }
  .demo-row { padding-top: 56px; padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
