/* Flu and COVID 2026 promotion. Fonts ship from this repo (no runtime fetch):
   Onest for text, JetBrains Mono for labels and references. */
@font-face { font-family: "Onest"; font-weight: 300 900; font-display: swap; src: url("fonts/onest-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 600; font-display: swap; src: url("fonts/jetbrains-mono-latin.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 600; font-display: block; src: url("fonts/caveat-latin.woff2") format("woff2"); }  /* typed signatures */

:root {
  --navy-1: #0A4E84; --navy-2: #063C66; --navy-3: #05314F; --blue: #005C9E; --teal: #10F9E2; --sky: #26CDFF;
  --ink: #1A1E2E; --body: #5B6472; --muted: #8A92A0; --line: #E2E8F0; --line-soft: #E4E9F0; --field: #FBFCFE;
  --danger: #D14343; --pale: #EFF5FA;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body { font-family: "Onest", ui-sans-serif, system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased;
  background: radial-gradient(120% 80% at 100% 0%, rgba(0,92,158,.07), transparent 55%), #EAEEF2; }
main { min-height: 100vh; }
a { color: var(--blue); }
a:hover { color: var(--navy-2); }
h1, h2, h3 { margin: 0; }
h1:focus, h2:focus { outline: none; }
p { margin: 0; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.eyebrow { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.emo { display: inline-block; font-style: normal; line-height: 1; margin-right: .35em; }
.cta .emo, .next .emo, .done h1 .emo { margin-right: 0; }
.pill:has(.emo)::before, .badge:has(.emo)::before { display: none; }  /* the emoji replaces the dot */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: translateY(7px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ringPop { 0% { transform: scale(.5); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---- brand ---- */
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -.3px; }
.brand span { font-weight: 500; color: #9FC4E2; }
.brand svg { display: block; }

/* ---- navy panels (hero left, rail) ---- */
.navy { position: relative; overflow: hidden; color: #fff; background: linear-gradient(155deg, var(--navy-1) 0%, var(--navy-2) 70%, var(--navy-3) 100%); }
.navy::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 100% 0%, rgba(38,205,255,.22), transparent 58%); }
.navy::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.4px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(160deg, #000 5%, transparent 60%); mask-image: linear-gradient(160deg, #000 5%, transparent 60%); }
.navy > * { position: relative; }

/* ---- welcome ---- */
.welcome { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: clamp(20px, 4vw, 48px); }
.hero { width: 100%; max-width: 1060px; display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 26px; overflow: hidden; border: 1px solid #DCE3EB;
  box-shadow: 0 44px 90px -46px rgba(20,30,55,.45); animation: rise .5s cubic-bezier(.2,.7,.3,1) both; }
.hero-left { padding: 46px clamp(28px, 3.5vw, 52px); }
.hero-right { background: #fff; padding: 46px clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; background: rgba(16,249,226,.12); border: 1px solid rgba(16,249,226,.3); border-radius: 999px; padding: 7px 14px; color: var(--teal); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.hero h1 { margin-top: 20px; font-size: 42px; line-height: 1.08; font-weight: 800; letter-spacing: -1.5px; }
.hero-lead { margin-top: 16px; font-size: 16px; line-height: 1.6; color: #BDD4E8; max-width: 440px; }
.hero-lead strong { color: #fff; }
.hero-promise { margin-top: 10px; color: var(--teal); font-weight: 700; }
.points { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.points li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: #E6EEF6; }
.points li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; background: rgba(38,205,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m5 12 5 5L20 7' stroke='%2326CDFF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.dates { margin-top: 34px; display: flex; gap: 10px; }
.dates div { flex: 1; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 14px; padding: 14px 16px; }
.dates .eyebrow { font-size: 10px; color: #8FB6D6; }
.dates strong { display: block; font-size: 17px; font-weight: 800; margin-top: 5px; }
.hero-right .eyebrow { color: var(--blue); }
.hero-right h2 { margin-top: 12px; font-size: 28px; font-weight: 800; letter-spacing: -.8px; }
.hero-right > p { margin-top: 12px; font-size: 15px; color: var(--body); line-height: 1.6; }
.mini { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; position: relative; }
.mini li { position: relative; }
.mini li button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1px solid #E8EDF3; border-radius: 12px; padding: 11px 14px;
  background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.mini li button:hover, .mini li button:focus-visible { border-color: var(--blue); transform: translateX(2px); }
.mini .n { width: 26px; height: 26px; border-radius: 8px; background: var(--pale); color: var(--blue); display: grid; place-items: center; font-size: 11.5px; font-weight: 600; flex-shrink: 0; transition: background .2s, color .2s; }
.mini strong { display: block; font-size: 13.5px; font-weight: 700; }
.mini small { display: block; font-size: 12px; color: #7A828F; margin-top: 1px; }
/* Connector: a line behind the number badges with a beat that travels 01 to
   04 and on into the button. One 8s timeline drives everything, so the dot
   and the cards share the same clock: the beat arrives at a step, sinks into
   its badge (the card glows while it is "possessed"), re-emerges, and moves
   on. The button shakes when the beat lands in it. */
.mini::before { content: ""; position: absolute; left: 27px; top: 22px; bottom: 22px; width: 2px; background: #E8EDF3; z-index: 0; }
.mini::after { content: ""; position: absolute; left: 22px; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--sky);
  box-shadow: 0 0 0 4px rgba(38,205,255,.25), 0 0 14px rgba(38,205,255,.8); z-index: 2; pointer-events: none;
  animation: beat 8s linear infinite; }
.mini li:nth-child(1) button { animation: possess1 8s linear infinite; }
.mini li:nth-child(2) button { animation: possess2 8s linear infinite; }
.mini li:nth-child(3) button { animation: possess3 8s linear infinite; }
.mini li:nth-child(4) button { animation: possess4 8s linear infinite; }
.mini li:nth-child(1) .n { animation: badge1 8s linear infinite; }
.mini li:nth-child(2) .n { animation: badge2 8s linear infinite; }
.mini li:nth-child(3) .n { animation: badge3 8s linear infinite; }
.mini li:nth-child(4) .n { animation: badge4 8s linear infinite; }
.cta { animation: arrive 8s linear infinite; }
/* Card centres sit at 12.5 / 37.5 / 62.5 / 87.5% of the list; the button
   centre is the list height plus its margin and half its height. */
@keyframes beat {
  0%   { top: 12.5%; transform: scale(0); opacity: 0; }
  2%   { top: 12.5%; transform: scale(1); opacity: 1; }
  4%   { top: 12.5%; transform: scale(0); opacity: 0; }   /* absorbed by 01 */
  12%  { top: 12.5%; transform: scale(0); opacity: 0; }
  14%  { top: 12.5%; transform: scale(1); opacity: 1; }   /* re-emerges */
  20%  { top: 37.5%; transform: scale(1); opacity: 1; }   /* travels to 02 */
  22%  { top: 37.5%; transform: scale(0); opacity: 0; }
  30%  { top: 37.5%; transform: scale(0); opacity: 0; }
  32%  { top: 37.5%; transform: scale(1); opacity: 1; }
  38%  { top: 62.5%; transform: scale(1); opacity: 1; }
  40%  { top: 62.5%; transform: scale(0); opacity: 0; }
  48%  { top: 62.5%; transform: scale(0); opacity: 0; }
  50%  { top: 62.5%; transform: scale(1); opacity: 1; }
  56%  { top: 87.5%; transform: scale(1); opacity: 1; }
  58%  { top: 87.5%; transform: scale(0); opacity: 0; }
  66%  { top: 87.5%; transform: scale(0); opacity: 0; }
  68%  { top: 87.5%; transform: scale(1); opacity: 1; }
  74%  { top: calc(100% + 54px); transform: scale(1); opacity: 1; }   /* into the button */
  76%  { top: calc(100% + 54px); transform: scale(0); opacity: 0; }
  100% { top: calc(100% + 54px); transform: scale(0); opacity: 0; }
}
/* A card is possessed from the moment the beat sinks in until it re-emerges. */
@keyframes possess1 { 0%, 3% { border-color: #E8EDF3; box-shadow: none; } 5%, 12% { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(38,205,255,.18); } 15%, 100% { border-color: #E8EDF3; box-shadow: none; } }
@keyframes possess2 { 0%, 21% { border-color: #E8EDF3; box-shadow: none; } 23%, 30% { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(38,205,255,.18); } 33%, 100% { border-color: #E8EDF3; box-shadow: none; } }
@keyframes possess3 { 0%, 39% { border-color: #E8EDF3; box-shadow: none; } 41%, 48% { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(38,205,255,.18); } 51%, 100% { border-color: #E8EDF3; box-shadow: none; } }
@keyframes possess4 { 0%, 57% { border-color: #E8EDF3; box-shadow: none; } 59%, 66% { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(38,205,255,.18); } 69%, 100% { border-color: #E8EDF3; box-shadow: none; } }
@keyframes badge1 { 0%, 3% { background: var(--pale); color: var(--blue); transform: none; } 5% { background: var(--sky); color: var(--navy-3); transform: scale(1.12); } 12% { background: var(--sky); color: var(--navy-3); transform: none; } 15%, 100% { background: var(--pale); color: var(--blue); transform: none; } }
@keyframes badge2 { 0%, 21% { background: var(--pale); color: var(--blue); transform: none; } 23% { background: var(--sky); color: var(--navy-3); transform: scale(1.12); } 30% { background: var(--sky); color: var(--navy-3); transform: none; } 33%, 100% { background: var(--pale); color: var(--blue); transform: none; } }
@keyframes badge3 { 0%, 39% { background: var(--pale); color: var(--blue); transform: none; } 41% { background: var(--sky); color: var(--navy-3); transform: scale(1.12); } 48% { background: var(--sky); color: var(--navy-3); transform: none; } 51%, 100% { background: var(--pale); color: var(--blue); transform: none; } }
@keyframes badge4 { 0%, 57% { background: var(--pale); color: var(--blue); transform: none; } 59% { background: var(--sky); color: var(--navy-3); transform: scale(1.12); } 66% { background: var(--sky); color: var(--navy-3); transform: none; } 69%, 100% { background: var(--pale); color: var(--blue); transform: none; } }
@keyframes arrive {
  0%, 74% { transform: none; box-shadow: 0 14px 30px -12px rgba(0,92,158,.6); }
  76% { box-shadow: 0 0 0 6px rgba(38,205,255,.35), 0 14px 30px -12px rgba(0,92,158,.6); transform: translateX(-3px) rotate(-.6deg); }
  78% { transform: translateX(3px) rotate(.6deg); }
  80% { transform: translateX(-2px); }
  82% { transform: translateX(2px); }
  85% { transform: none; box-shadow: 0 0 0 6px rgba(38,205,255,.35), 0 14px 30px -12px rgba(0,92,158,.6); }
  90%, 100% { transform: none; box-shadow: 0 14px 30px -12px rgba(0,92,158,.6); }
}
@media (prefers-reduced-motion: reduce) { .mini::after { display: none; } }
.cta { width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--blue); color: #fff; border-radius: 13px; padding: 16px 24px; font-size: 16px; font-weight: 600; margin-top: 26px;
  box-shadow: 0 14px 30px -12px rgba(0,92,158,.6); transition: transform .2s, box-shadow .2s; }
.cta:hover { animation-play-state: paused; transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(0,92,158,.7); }
.fineprint { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }
.fineprint-link { margin-top: 8px; font-size: 11px; }
.fineprint-link a { color: var(--muted); }
.fineprint-link a:hover { color: var(--blue); }
.resume { margin-top: 10px; font-size: 12.5px; color: var(--body); text-align: center; }

/* ---- wizard shell ---- */
.split { min-height: 100vh; display: flex; background: #fff; }
.rail { width: clamp(320px, 31%, 430px); flex-shrink: 0; padding: 40px 38px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.rail-inner { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.rail-promo { margin-top: 26px; background: rgba(16,249,226,.08); border: 1px solid rgba(16,249,226,.22); border-radius: 14px; padding: 14px 16px; }
.rail-promo .eyebrow { font-size: 10px; color: var(--teal); }
.rail-promo p { font-size: 13.5px; font-weight: 600; color: #E6EEF6; margin-top: 7px; line-height: 1.45; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; }
.steps li { display: flex; align-items: flex-start; gap: 13px; min-height: 46px; }
.steps .track { display: flex; flex-direction: column; align-items: center; align-self: stretch; }
.steps .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 11.5px; font-weight: 700;
  background: rgba(255,255,255,.07); border: 1.6px solid rgba(255,255,255,.25); color: #8FB6D6; transition: all .3s; }
.steps .line { width: 1.6px; flex: 1; min-height: 16px; background: rgba(255,255,255,.18); }
.steps .txt { padding-top: 3px; }
.steps .lbl { font-size: 13.5px; font-weight: 500; color: #7FA8C9; }
.steps .sub { font-size: 11.5px; color: #7FA8C9; margin-top: 1px; }
.steps li.current .dot, .steps li.is-done .dot { background: var(--teal); border-color: var(--teal); color: var(--navy-3); }
.steps li.is-done .line { background: var(--teal); }
.steps li.current .lbl { color: #fff; font-weight: 700; }
.steps li.is-done .lbl { color: #CFE2F1; }
.rail-you { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.rail-you .eyebrow { font-size: 10px; color: #8FB6D6; }
.rail-empty { font-size: 12.5px; color: #9FC4E2; margin-top: 9px; line-height: 1.5; }
.rail-card { display: flex; align-items: center; gap: 10px; margin-top: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 11px; padding: 10px 12px; animation: popIn .4s cubic-bezier(.2,.7,.3,1) both; }
.rail-card .name:empty::before { content: "\00a0"; }
.rail-card .init { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-weight: 700; font-size: 10.5px; flex-shrink: 0; }
.rail-card .name { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-card .ods { font-size: 10.5px; color: #9FC4E2; margin-top: 2px; }
.rail-chip { display: inline-flex; margin-top: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 5px 9px; font-size: 11px; color: #CFE2F1; }
.rail-foot { margin-top: auto; padding-top: 20px; font-size: 12px; color: #7FA8C9; line-height: 1.55; }
.rail-foot a { color: #9FC4E2; font-weight: 600; }

.pane { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.pane-head { padding: 32px clamp(24px, 5vw, 72px) 0; }
.pane-body { flex: 1; padding: 38px clamp(24px, 5vw, 72px) 60px; }
.narrow { max-width: 620px; margin: 0 auto; }
.counter { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.counter .eyebrow { color: var(--muted); letter-spacing: .5px; }
.counter .pct { color: var(--blue); }
.bar { height: 5px; border-radius: 5px; background: #ECEFF3; overflow: hidden; }
.bar div { height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--navy-1), var(--sky)); transition: width .55s cubic-bezier(.4,0,.2,1); }
.step { animation: rise .45s cubic-bezier(.2,.7,.3,1) both; }
.step h1 { font-size: 30px; font-weight: 800; letter-spacing: -.9px; }
.step .lead { margin-top: 10px; font-size: 15px; color: var(--body); line-height: 1.6; }
.fields { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
label, .lbl-row { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.help { font-size: 12px; color: var(--muted); margin-top: 6px; }
.help.lock { display: flex; align-items: center; gap: 7px; margin-top: 8px; color: var(--body); }
.inp { width: 100%; border: 1.4px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 15px; font-family: inherit; color: inherit; background: var(--field); }
.inp.mono { font-size: 14px; text-transform: uppercase; }
.inp::placeholder { color: #9AA4B2; text-transform: none; }
.inp:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,92,158,.13); outline: none; }
.inp[aria-invalid="true"] { border-color: var(--danger); }
.err { font-size: 12px; color: var(--danger); margin-top: 6px; font-weight: 500; }
.err:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; padding: 0; }
.legend-sub { font-size: 12.5px; color: var(--muted); margin: -3px 0 12px; }
.radios { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radios.row { display: flex; }
.radios.row .opt { flex: 1; }
.opt { display: flex; align-items: center; gap: 10px; border: 1.4px solid var(--line); background: var(--field); border-radius: 12px; padding: 13px 14px; cursor: pointer; transition: all .15s; margin: 0; font-size: 13.5px; font-weight: 600; color: #3A4250; }
.opt:hover { border-color: var(--blue); }
.opt input { appearance: none; -webkit-appearance: none; margin: 0; width: 18px; height: 18px; border-radius: 50%; border: 1.6px solid #C5CDD8; flex-shrink: 0; display: grid; place-items: center; transition: all .15s; }
.opt input::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: transparent; }
.opt input:checked { border-color: var(--blue); }
.opt input:checked::before { background: var(--blue); }
.opt:has(input:checked) { border-color: var(--blue); background: var(--pale); color: var(--blue); }
.opt:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1.4px solid var(--line); background: var(--field); color: #3A4250; border-radius: 999px; padding: 9px 15px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .15s; margin: 0; }
.chip:hover { border-color: var(--blue); }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip:has(input:checked) { border-color: var(--blue); background: var(--blue); color: #fff; }
.chip:has(input:checked)::before { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m5 12 5 5L20 7' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.chip:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.reveal { margin-top: 12px; animation: popIn .3s cubic-bezier(.2,.7,.3,1) both; }
.note { display: flex; gap: 11px; margin-top: 12px; border-radius: 12px; padding: 13px 15px; font-size: 12.5px; line-height: 1.55; }
.note.warn { background: #FEF6E7; border: 1px solid #F5D9A8; color: #7A5A17; }
.note.info { background: #EFF7FB; border: 1px solid #CBE4F2; color: #2A4A64; margin-top: 20px; }
.note.error { background: #FBE6E7; border: 1px solid #F0B8BB; color: var(--danger); }
.note.error:empty { display: none; }
.note svg { flex-shrink: 0; margin-top: 1px; }

.cards { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.card { border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; background: #F7F9FC; padding: 12px 18px; border-bottom: 1px solid #EDF1F6; }
.card-head .eyebrow { font-size: 10.5px; color: var(--blue); letter-spacing: .7px; }
.card-head button { font-size: 12px; font-weight: 600; color: var(--blue); }
.card-head button:hover { text-decoration: underline; }
.card dl { margin: 0; padding: 8px 18px 14px; }
.card .row { display: flex; gap: 16px; padding: 7px 0; border-bottom: 1px solid #F2F5F9; }
.card dt { width: 128px; flex-shrink: 0; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.card dd { margin: 0; font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }

.agreement { margin-top: 18px; max-height: 300px; overflow: auto; padding: 16px 18px; border: 1.4px solid var(--line); border-radius: 12px; background: var(--field); font-size: 13.5px; line-height: 1.6; color: #3A4250; }
.agreement h3 { font-size: 13.5px; font-weight: 700; color: var(--ink); margin: 14px 0 4px; }
.agreement h3:first-child { margin-top: 0; }
.agreement p { margin: 0 0 8px; }
.sig-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 24px; }
.sig-tools { display: flex; gap: 14px; }
.sig-tools button { font-size: 12.5px; font-weight: 600; color: var(--blue); }
.sig-tools button:hover { text-decoration: underline; }
.sigpad { display: block; width: 100%; height: 170px; margin-top: 8px; border: 1.6px dashed #C5CDD8; border-radius: 12px; background: var(--field); touch-action: none; }
.sigpad.has-ink { border-style: solid; border-color: var(--blue); }
.sig-typed { display: block; width: 100%; height: 170px; margin-top: 8px; border: 1.6px dashed #C5CDD8; border-radius: 12px; background: var(--field);
  font: 600 46px/1 "Caveat", "Snell Roundhand", "Segoe Script", cursive; color: var(--ink); padding: 0 28px; text-align: center; }
.sig-typed::placeholder { color: #B6BEC9; font-size: 40px; }
.sig-typed:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,92,158,.13); outline: none; }
.sig-typed:not(:placeholder-shown) { border-style: solid; border-color: var(--blue); }
.accept { margin-top: 18px; display: flex; align-items: flex-start; gap: 12px; border: 1.4px solid var(--line); border-radius: 12px; padding: 13px 14px; font-size: 13.5px; font-weight: 500; line-height: 1.5; color: #3A4250; cursor: pointer; }
.accept input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--blue); }
.accept:has(input:checked) { border-color: var(--blue); background: var(--pale); }

.nav { display: flex; align-items: center; justify-content: space-between; margin-top: 36px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--body); padding: 12px 6px; }
.back:hover { color: var(--ink); }
.next { display: inline-flex; align-items: center; gap: 9px; background: var(--blue); color: #fff; border-radius: 12px; padding: 14px 26px; font-size: 15px; font-weight: 600;
  box-shadow: 0 12px 26px -12px rgba(0,92,158,.6); transition: transform .2s, box-shadow .2s; }
.next:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(0,92,158,.7); }
.next[disabled] { opacity: .65; cursor: wait; transform: none; }

/* ---- done ---- */
.done-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: clamp(20px, 4vw, 48px); }
.done { width: 100%; max-width: 620px; background: #fff; border: 1px solid #DCE3EB; border-radius: 26px; box-shadow: 0 44px 90px -46px rgba(20,30,55,.45); padding: clamp(34px, 5vw, 56px); text-align: center; animation: rise .5s cubic-bezier(.2,.7,.3,1) both; }
.ring { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(145deg, var(--navy-1), var(--navy-2)); display: grid; place-items: center; margin: 0 auto; box-shadow: 0 18px 40px -14px rgba(6,60,102,.55); animation: ringPop .6s cubic-bezier(.2,.7,.3,1) both; }
.done h1 { margin-top: 26px; font-size: 30px; font-weight: 800; letter-spacing: -.9px; }
.done .lead { margin: 14px auto 0; font-size: 15.5px; color: var(--body); line-height: 1.65; max-width: 460px; }
.done .lead strong { color: var(--ink); }
.done .box { margin: 26px auto 0; max-width: 440px; background: #F7F9FC; border: 1px solid var(--line-soft); border-radius: 14px; padding: 16px 20px; text-align: left; display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: #3A4250; line-height: 1.55; }
.done .box a { font-weight: 600; }
.done .pdf { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; border: 1.4px solid var(--line); border-radius: 12px; padding: 12px 18px; font-size: 14px; font-weight: 600; color: var(--blue); text-decoration: none; }
.done .pdf:hover { border-color: var(--blue); }
.done .badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; background: rgba(16,249,226,.12); border: 1px solid rgba(16,249,226,.45); border-radius: 999px; padding: 7px 14px; font-size: 11px; font-weight: 600; letter-spacing: .8px; color: #0E8F82; }
.done .badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #10D9C6; }
.done .ref { margin-top: 18px; font-size: 12px; color: var(--muted); letter-spacing: .5px; }
.done .ref strong { color: var(--body); font-weight: 600; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .split { flex-direction: column; }
  .rail { position: relative; width: 100%; height: auto; padding: 22px; }
  .rail-promo, .steps, .rail-you, .rail-foot { display: none; }
  .two, .radios { grid-template-columns: 1fr; }
  .radios.row { flex-direction: column; }
}
