/* Gosset: one main colour (navy to bright blue), white and soft grey neutrals, one lime accent.
   Lime marks the main action and the single figure that matters. Red marks failures only. */
@font-face { font-family: "Inter Tight"; font-weight: 400; font-display: swap; src: url(fonts/inter-tight-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url(fonts/inter-tight-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-display: swap; src: url(fonts/inter-tight-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --ink-deep: #050B2E; --navy: #0A1650; --navy-2: #12205C; --blue: #3D5BD9; --bright: #4D7DFF;
  --periwinkle: #9FB4FF; --mist: #D6DEFF; --mist-2: #AFC0FF; --lime: #C6F432;
  --white: #FFFFFF; --paper: #F4F5F7; --ink: #0E1116; --ink-2: #4A5060; --ink-3: #6B7180;
  --rule: #E3E6EC; --fail: #D93B3B; --warn: #B4570C;
  --f-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-display); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, label:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--f-mono); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* nav */
nav.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; position: relative; z-index: 3; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--lime); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; font-size: 14px; }
.nav-links a { text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.dark .nav-links { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.dark .nav-links a { color: var(--mist); }
.dark .nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.light .nav-links { background: var(--white); border: 1px solid var(--rule); }
.light .nav-links a { color: var(--ink-2); }
.light .nav-links a[aria-current] { background: var(--paper); color: var(--ink); }

/* buttons */
.btn { font: 600 15px var(--f-display); text-decoration: none; padding: 14px 24px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; justify-content: center; border: 0; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { transform: translateY(-2px); }
.btn-glass { color: var(--white); border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); font-weight: 500; }
.btn-glass:hover { background: rgba(255,255,255,0.14); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-line { background: var(--white); color: var(--ink); border: 1px solid var(--rule); font-weight: 500; }
.btn-line:hover { border-color: var(--ink-3); }

/* hero */
.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(70% 60% at 50% 100%, var(--bright) 0%, #1A3FC4 35%, var(--navy) 65%, var(--ink-deep) 100%); }
#light { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,0.6) 1px, transparent 1.4px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(55% 60% at 50% 40%, transparent 40%, #000 85%); mask-image: radial-gradient(55% 60% at 50% 40%, transparent 40%, #000 85%); opacity: 0.2; }
.hero-inner { position: relative; z-index: 2; }
.hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 0 0; gap: 22px; }
.eyebrow { display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: center; font-family: var(--f-mono); font-size: 12px; color: var(--mist-2); }
.eyebrow b { color: var(--white); font-weight: 500; }
.hero h1 { margin: 0; font-weight: 500; font-size: clamp(38px, 6vw, 80px); line-height: 1.03; letter-spacing: -0.045em; text-wrap: balance; max-width: 15ch; }
.hero h1 .serif { font-size: 1.1em; letter-spacing: -0.01em; }
.hero h1 .soft { color: var(--periwinkle); }
.lede { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.5; color: var(--mist); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.trust { font-family: var(--f-mono); font-size: 12px; color: var(--mist); display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.trust span { padding: 5px 10px; border-radius: 999px; background: rgba(5,11,46,0.45); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.deadlines { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 64px auto 0; max-width: 980px; padding-bottom: 56px; }
.deadline { border-radius: 18px; padding: 18px 20px; background: rgba(255,255,255,0.93); color: var(--ink); box-shadow: 0 24px 60px rgba(5,11,46,0.35); min-width: 0; }
.deadline.first { background: var(--lime); color: var(--navy); }
.deadline .when { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.deadline.first .when { color: #2B3A78; }
.deadline .days { font-size: 44px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; margin: 8px 0 2px; }
.deadline .days small { font-size: 15px; font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.deadline .what { font-size: 14px; color: var(--ink-2); }
.deadline.first .what { color: var(--navy-2); }

/* sections */
section.band { padding-block: 88px; }
section.band.white { background: var(--white); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.head h2 { margin: 0; font-weight: 500; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.04em; line-height: 1.06; max-width: 680px; text-wrap: balance; }
.head h2 .serif { font-size: 1.1em; }
.head p { margin: 0; max-width: 400px; color: var(--ink-2); }
.kicker { font-family: var(--f-mono); font-size: 12px; color: var(--blue); margin-bottom: 12px; letter-spacing: .02em; }

/* x-ray tool */
.tool { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.drop { position: relative; border: 2px dashed #B9C3E6; border-radius: 22px; background: var(--white); min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px 20px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--blue); background: #F7F9FF; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.drop strong { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.drop .hint { color: var(--ink-3); font-size: 14px; max-width: 38ch; }
.drop-actions { position: relative; z-index: 2; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.where { background: var(--white); border: 1px solid var(--rule); border-radius: 22px; padding: 22px; }
.where h3 { margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.where ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.where li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; font-size: 14px; color: var(--ink-2); }
.where li b { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--ink); padding-top: 2px; }
.where .local { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-3); display: flex; gap: 8px; }

/* results */
#results { margin-top: 28px; }
#results[hidden] { display: none; }
.res-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 16px; }
.res-head h3 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; }
.res-meta { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.table-wrap { margin-top: 18px; background: var(--white); border: 1px solid var(--rule); border-radius: 18px; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
th { font-family: var(--f-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
td.r, th.r { text-align: right; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; font-size: 12px; padding: 3px 9px; border-radius: 999px; font-weight: 500; }
.pill.red { background: #FBE7E7; color: #A32020; }
.pill.amber { background: #FDF0DD; color: var(--warn); }
.pill.grey { background: var(--paper); color: var(--ink-3); }
.model { font-family: var(--f-mono); font-size: 13px; }
.err { margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: #FBE7E7; color: #7A1A1A; font-size: 15px; }
.err[hidden] { display: none; }
.foot-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* steps: three equal columns; subgrid keeps tags, titles, text, prices and examples on shared rows */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); column-gap: 24px; row-gap: 0; }
.step { display: grid; grid-row: span 5; grid-template-rows: subgrid; border-top: 3px solid var(--navy-2); padding-top: 22px; min-width: 0; }
.step .tag { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--blue); margin-bottom: 12px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy-2); color: var(--white); font-size: 11px; }
.step h3 { margin: 0 0 8px; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.step > p { margin: 0; color: var(--ink-2); font-size: 15px; }
.step .status { justify-self: start; align-self: start; margin-top: 16px; font-family: var(--f-mono); font-size: 12px; padding: 6px 10px; border-radius: 8px; background: var(--white); border: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.step .status-link:hover { border-color: var(--navy-2); }

/* the example under each step */
.ex { margin-top: 20px; padding: 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--rule); font-size: 14px; display: flex; flex-direction: column; min-width: 0; }
.ex-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-3); margin-bottom: 14px; }
.ex-big { color: var(--ink-2); margin-bottom: 14px; }
.ex-big b { display: block; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; color: var(--navy-2); }
.ex-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--ink-2); }
.ex-head span { white-space: nowrap; }
.ex-row .worse { color: var(--fail); font-weight: 600; white-space: nowrap; }
.ex-row .pass { color: var(--navy-2); font-weight: 600; white-space: nowrap; }
.ex .ex-foot { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.ex-models { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 12px; }
.ex-models li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 12px; color: var(--ink-2); }
.ex-models b { font-family: var(--f-mono); font-weight: 500; color: var(--ink); }
.ex-models em { font-style: normal; margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: #FDF0E6; color: var(--warn); font-family: var(--f-display); font-size: 11px; }
.ex-models i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--periwinkle); }
.ex-models i.warn { background: var(--warn); opacity: .7; }
.ex-models + .ex-foot { padding-top: 12px; border-top: 1px solid var(--rule); }
.ex-foot b { color: var(--ink); }
/* the break test is the featured example: the one dark card in the row */
.ex-dark { background: var(--navy); border-color: var(--navy); color: var(--mist); box-shadow: 0 18px 40px rgba(10,22,80,0.18); }
.ex-dark .ex-head { color: var(--mist-2); }
.ex-dark .ex-big, .ex-dark .ex-row, .ex-dark .ex-foot { color: var(--mist); }
.ex-dark .ex-big b { color: var(--white); }
.ex-dark .ex-row { border-color: rgba(255,255,255,0.14); }
.ex-dark .ex-row .worse { color: #FF8A80; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--white); border: 1px solid var(--rule); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.plan.feature { background: var(--navy); color: var(--white); border-color: var(--navy); }
.plan h3 { margin: 0; font-size: 20px; font-weight: 500; }
.plan .price { font-size: 46px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.plan .price small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
.plan.feature .price small, .plan.feature .muted { color: var(--mist-2); }
.plan ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 3px; background: var(--navy-2); }
.plan.feature li::before { background: var(--lime); }
.muted { color: var(--ink-3); font-size: 14px; }
.plan .btn { margin-top: auto; }
.tiers { width: 100%; margin-top: 4px; font-size: 15px; }
.tiers td { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.14); white-space: normal; }
.plan:not(.feature) .tiers td { border-bottom-color: var(--rule); }
.badge-soon { align-self: flex-start; font-family: var(--f-mono); font-size: 11px; padding: 4px 9px; border-radius: 999px; background: var(--paper); color: var(--ink-2); border: 1px solid var(--rule); }
.plan.feature .badge-soon { background: rgba(255,255,255,0.1); color: var(--mist); border-color: rgba(255,255,255,0.2); }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--rule); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 500; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--ink-3); font-family: var(--f-mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }

/* legal pages */
.page-head { background: var(--white); border-bottom: 1px solid var(--rule); }
.doc { max-width: 760px; margin: 0 auto; padding: 56px 16px 88px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 8px; }
.doc .updated { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); margin-bottom: 32px; }
.doc h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 20px; }
.doc a { color: var(--blue); }

/* footer */
footer.site { background: var(--ink-deep); color: var(--mist); padding-block: 48px 40px; font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { text-decoration: none; color: var(--mist); display: inline-block; padding-block: 11px; }
.foot-links a:hover { color: var(--white); }
.foot small { display: block; margin-top: 10px; color: var(--mist-2); font-family: var(--f-mono); font-size: 12px; }

@media (max-width: 960px) {
  .tool { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .deadlines { grid-template-columns: minmax(0, 1fr); margin-top: 44px; }
  .steps { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 40px; }
  .step { display: block; grid-row: auto; }
  .step .status { display: inline-block; }
  section.band { padding-block: 64px; }
  .where li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .drop { transition: none; } }

/* wordmark: the brand name in the italic serif */
.brand { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 24px; letter-spacing: 0; }

/* "Why Gosset" story page: same system as the rest of the site */
.story-chart { margin: 0 0 20px; background: var(--white); border: 1px solid var(--rule); border-radius: 22px; padding: 24px 24px 18px; }
.story-chart svg { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto; }
.story-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 12px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); }
.story-legend span { display: inline-flex; align-items: center; gap: 8px; }
.story-legend i { width: 22px; height: 0; border-top: 3px solid var(--navy-2); display: inline-block; }
.story-legend i.dash { border-top: 2px dashed var(--ink-3); }
.story-chart figcaption { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); margin-top: 10px; text-align: center; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.story-card { background: var(--white); border: 1px solid var(--rule); border-radius: 22px; padding: 24px; min-width: 0; }
.story-card .tag, .story-now .tag { font-family: var(--f-mono); font-size: 12px; color: var(--blue); margin-bottom: 10px; }
.story-card h3 { margin: 0 0 8px; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.story-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.story-now { margin-top: 16px; border-radius: 22px; background: var(--navy); color: var(--white); padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.story-now .tag { color: var(--mist-2); }
.story-now h3 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.story-now h3 .serif { font-size: 1.1em; color: var(--lime); }
.story-now p { margin: 0 0 12px; color: var(--mist); max-width: 62ch; }
.story-sign { font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--white) !important; margin: 18px 0 0 !important; }
@media (max-width: 960px) { .story-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .story-now { grid-template-columns: minmax(0, 1fr); padding: 24px; } }


/* ---------- motion ---------- */
.deadlines-label { position: relative; z-index: 2; width: max-content; max-width: 100%; margin: 56px auto 0; padding: 6px 12px; border-radius: 999px; background: rgba(5,11,46,0.55); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mist); }
.deadlines { margin-top: 14px; }
.btn, .deadline, .plan, .story-card, .step, .drop, .where, .faq details { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, border-color .2s ease, background .2s ease; }
.btn:active { transform: scale(.97); }
.btn-glass:hover { transform: translateY(-2px); }
.deadline:hover { transform: translateY(-6px); box-shadow: 0 32px 70px rgba(5,11,46,0.45); }
.drop:hover .drop-icon { transform: translateY(-3px); }
.drop-icon { transition: transform .25s ease; }
.faq details:hover { border-color: #C9CFDB; }
.nav-links a { transition: background .2s ease, color .2s ease; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes word { from { transform: translateY(18px); } to { transform: none; } }
  .hero h1 .w { display: inline-block; animation: word .6s cubic-bezier(.2,.7,.2,1) backwards; }
  .hero h1 .w:nth-child(1) { animation-delay: .02s; } .hero h1 .w:nth-child(2) { animation-delay: .06s; }
  .hero h1 .w:nth-child(3) { animation-delay: .1s; } .hero h1 .w:nth-child(4) { animation-delay: .13s; }
  .hero h1 .w:nth-child(5) { animation-delay: .17s; } .hero h1 .w:nth-child(6) { animation-delay: .22s; }
  .hero h1 .w:nth-child(7) { animation-delay: .26s; }
  .hero .eyebrow { animation: rise .6s ease backwards; }
  .hero .lede { animation: rise .6s .28s ease backwards; }
  .hero .ctas { animation: rise .6s .34s ease backwards; }
  .hero .trust, .hero .trust-line { animation: rise .6s .4s ease backwards; }
  .deadlines-label { animation: rise .7s .8s ease backwards; }
  .deadline { animation: rise .9s cubic-bezier(.2,.7,.2,1) backwards; }
  .deadline:nth-child(1) { animation-delay: .85s; } .deadline:nth-child(2) { animation-delay: .95s; } .deadline:nth-child(3) { animation-delay: 1.05s; }
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .step.reveal:nth-child(3) { transition-delay: .08s; } .step.reveal:nth-child(4) { transition-delay: .16s; }
  #results:not([hidden]) .save, #results:not([hidden]) .due, #results:not([hidden]) .by-model { animation: rise .6s .2s ease backwards; }
  main > section .head, .plan, .story-chart, .story-card, .story-now, .doc { animation: rise .7s ease backwards; }
  .plan:nth-child(2), .story-card:nth-child(2) { animation-delay: .08s; } .plan:nth-child(3), .story-card:nth-child(3) { animation-delay: .16s; }
}

/* ---------- hero example report (fanned cards, cut off by the hero's bottom edge) ---------- */
.showcase { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-start; margin: 64px auto -70px; padding-bottom: 0; }
.sc-card { flex-shrink: 0; width: 340px; border-radius: 20px; padding: 20px 22px; color: var(--ink); min-width: 0; }
.sc-left, .sc-right { height: 300px; margin-top: 46px; background: rgba(255,255,255,0.94); border: 1px solid rgba(255,255,255,0.7); box-shadow: 0 24px 60px rgba(5,11,46,0.35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.sc-left { margin-right: -30px; transform: rotate(-6deg); }
.sc-right { margin-left: -30px; transform: rotate(6deg); }
.sc-main { position: relative; z-index: 2; height: 320px; background: var(--lime); color: var(--navy); box-shadow: 0 30px 70px rgba(5,11,46,0.45); }
.sc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.sc-tag { font-family: var(--f-mono); font-size: 11px; font-weight: 400; color: var(--ink-3); }
.sc-chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--navy); color: var(--lime); font-weight: 500; }
.sc-bars { display: grid; gap: 12px; font-size: 12px; color: var(--ink-2); }
.sc-bt { display: flex; justify-content: space-between; margin-bottom: 5px; }
.sc-bt b { font-family: var(--f-mono); font-weight: 400; color: var(--ink); }
.sc-bar { height: 8px; border-radius: 4px; background: var(--paper); overflow: hidden; }
.sc-bar i { display: block; height: 100%; border-radius: 4px; background: var(--fail); opacity: .85; }
.sc-big { font-size: 78px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; margin: 16px 0 6px; }
.sc-sub { font-family: var(--f-mono); font-size: 11px; color: #2B3A78; }
.sc-gauge b { display: block; font-size: 34px; font-weight: 500; letter-spacing: -0.03em; color: var(--navy-2); }
.sc-gauge span { font-size: 12px; color: var(--ink-3); }
.sc-reqs { margin-top: 14px; font-size: 12px; }
.sc-reqs div { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--rule); }
.sc-reqs span:first-child { font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); }
.sc-reqs .pass { color: var(--navy-2); font-weight: 500; }
.sc-reqs .worse { color: var(--fail); font-weight: 500; }

/* ---------- what gosset finds ---------- */
.finds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.find { background: var(--white); border: 1px solid var(--rule); border-radius: 22px; padding: 24px; min-width: 0; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease; }
.find:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(14,17,22,0.08); }
.find-n { font-size: 12px; color: var(--blue); }
.find h3 { margin: 10px 0 8px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.find p { margin: 0; color: var(--ink-2); font-size: 15px; }
.find:last-child { background: var(--navy); border-color: var(--navy); color: var(--white); }
.find:last-child p { color: var(--mist); }
.find:last-child .find-n { color: var(--lime); }

@media (max-width: 1100px) { .sc-left, .sc-right { width: 300px; } .sc-card.sc-main { width: 320px; } }
@media (max-width: 960px) { .finds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .showcase { margin: 44px auto -40px; }
  .sc-left, .sc-right { display: none; }
  .sc-card.sc-main { width: 100%; max-width: 340px; height: 280px; }
  .finds { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .sc-main { animation: scUp 1.1s .8s cubic-bezier(.16,1,.3,1) backwards; }
  .sc-left { animation: scLeft 1.1s .9s cubic-bezier(.16,1,.3,1) backwards; }
  .sc-right { animation: scRight 1.1s .9s cubic-bezier(.16,1,.3,1) backwards; }
  @keyframes scUp { from { transform: translateY(240px); } }
  @keyframes scLeft { from { transform: translate(120px, 240px) rotate(0deg); } }
  @keyframes scRight { from { transform: translate(-120px, 240px) rotate(0deg); } }
  .find.reveal:nth-child(2), .find.reveal:nth-child(5) { transition-delay: .08s; }
  .find.reveal:nth-child(3), .find.reveal:nth-child(6) { transition-delay: .16s; }
}

.trust-line { margin: 0; font-size: 14px; color: var(--white); text-shadow: 0 1px 12px rgba(5,11,46,0.9), 0 0 2px rgba(5,11,46,0.6); }
.hero .trust-line { animation-delay: .4s; }
.kicker { text-transform: none; letter-spacing: 0; }

/* results: one saving, one deadline, detail folded */
.save { background: var(--white); border: 1px solid var(--rule); border-radius: 22px; padding: 28px; }
.save-lab, .due-lab { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.save-big { margin: 10px 0 8px; font-size: clamp(36px, 6vw, 60px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.save-big mark { background: var(--lime); color: var(--navy); padding: 0 .18em; border-radius: 10px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.save-big small { font-size: 18px; letter-spacing: 0; color: var(--ink-2); font-weight: 400; }
.save-sub { margin: 0; color: var(--ink-2); font-size: 15px; }
.bar { display: flex; gap: 3px; height: 14px; margin: 24px 0 8px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.bar span { height: 100%; border-radius: 999px; }
.save-list { list-style: none; margin: 0; padding: 0; }
.save-list li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--rule); }
.save-list li:first-child { border-top: 0; }
.save-list i { width: 12px; height: 12px; border-radius: 4px; transform: translateY(1px); }
.save-list b { display: block; font-weight: 500; font-size: 16px; }
.save-list span { display: block; color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.save-list em { font-style: normal; font-family: var(--f-mono); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.save-list li.later i { background: transparent; border: 1.5px dashed var(--ink-3); }
.save-list li.later b, .save-list li.later em { color: var(--ink-3); }
.due { margin-top: 16px; border-radius: 22px; background: var(--navy); color: var(--white); padding: 28px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; }
.due .due-lab { color: var(--mist-2); }
.due-big { margin: 8px 0 6px; font-size: clamp(36px, 5vw, 52px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; color: var(--lime); font-variant-numeric: tabular-nums; }
.due-sub { margin: 0; color: var(--mist); font-size: 15px; }
.due-list { list-style: none; margin: 18px 0 0; padding: 0; }
.due-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.12); font-size: 13px; }
.due-list .mono { color: var(--white); }
.due-list .to { color: var(--mist-2); overflow-wrap: anywhere; }
.due-list em { font-style: normal; font-family: var(--f-mono); font-size: 12px; color: var(--mist-2); white-space: nowrap; }
.due-cta { align-self: end; display: grid; gap: 16px; justify-items: start; padding: 22px; border-radius: 16px; background: rgba(255,255,255,0.07); }
.due-cta p { margin: 0; color: var(--mist); font-size: 15px; }
.due-cta b { display: block; color: var(--white); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 6px; }
.due.quiet .due-main { align-self: center; }
.by-model { margin-top: 16px; }
.by-model summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; background: var(--white); border: 1px solid var(--rule); border-radius: 16px; font-weight: 500; }
.by-model summary::-webkit-details-marker { display: none; }
.by-model summary span { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); font-weight: 400; }
.by-model summary span::after { content: " +"; }
.by-model[open] summary span::after { content: " −"; }
.by-model .table-wrap { margin-top: 10px; }
.by-model .pill { margin-left: 6px; font-family: var(--f-display); }
@media (max-width: 760px) {
  .save, .due { padding: 20px; }
  .due { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .save-list li { grid-template-columns: 12px minmax(0, 1fr); }
  .save-list em { grid-column: 2; }
  .due-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .due-list .to { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- 5 Nov fixes ---------- */
/* hero card built from the sample bill */
.sc-big.sc-range { font-size: 56px; margin-top: 22px; }
.sc-risk { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(10,22,80,0.18); font-size: 14px; line-height: 1.4; }
.sc-risk b { font-size: 20px; font-weight: 600; }

/* phone: Pricing link in the header, sample bill as the main button, email-yourself note */
.nav-phone { display: none; }
.mobile-note { display: none; }
.mobile-note a { color: var(--lime); }
@media (max-width: 760px) {
  .nav-phone { display: inline-block; margin-left: auto; padding: 10px 6px; font-size: 14px; color: var(--mist); text-decoration: none; }
  .hero .cta-file { display: none; }
  /* keep lime to the main button and the featured card on the first screen */
  .hero .nav-cta { background: rgba(255,255,255,0.08); color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
  .hero .cta-sample { background: var(--lime); color: var(--navy); border-color: transparent; font-weight: 600; }
  .mobile-note { display: block; margin-top: 10px; }
}


/* early-access fallback for people without a mail app */
.mail-note { font-size: 13px !important; }
.mail-note a { color: var(--lime); }
