/* Shoal. The whole design system: tokens, then the shell, then one block per
   section in page order. Ported from the Claude Design canvas
   "Shoal Landing.dc.html", where every value below was an inline style and the
   palette lived in the script (PAL, at temperature 0).

   Dark is the default theme; [data-theme="light"] on <html> switches to the
   design's light palette (the toggle in the nav, remembered in localStorage).

   With the script blocked (<html class="no-js">) or with prefers-reduced-motion
   (shoal.js adds .static), the page is in static mode: the hero water is still,
   the mock run shows its whole log and report, and the sign-up form falls back
   to a mailto. Every section reads the same either way. */

:root {
  --bg: #04121C;
  --surface: #0A1F2E;
  --surface2: #12324A;
  --line: #12324A;
  --line2: #2A5878;
  --term: #020A11;
  --tfg: #D8E4E8;
  --tmuted: #8FA4AD;
  --fg: #F7FBFA;
  --muted: #B3C4CB;
  --bio: #5EF2D6;
  --coral: #FF7A59;
  --plank: #F5C84C;
  --onbio: #04121C;
  --vig: rgba(0, 0, 0, .4);
  --bioring: rgba(94, 242, 214, .14);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #EDE6D6;
  --surface: #F6F1E6;
  --surface2: #E2D9C5;
  --line: #D2C7B1;
  --line2: #A99C82;
  --term: #04121C;
  --tfg: #D8E4E8;
  --tmuted: #8FA4AD;
  --fg: #04121C;
  --muted: #33474F;
  --bio: #0B7566;
  --coral: #B23A18;
  --plank: #7F5C00;
  --onbio: #F7FBFA;
  --vig: rgba(90, 70, 30, .08);
  --bioring: rgba(11, 117, 102, .14);
  color-scheme: light;
}

/* ------------------------------------------------------------------ shell */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 68px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* clip, not hidden: hidden would make these scroll containers and break position: sticky. */
main, .nav { overflow-x: clip; }
a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--bio); }
em { font-style: italic; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--bio); color: var(--onbio); }
textarea:focus-visible, input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--bio); outline-offset: 3px; }
[hidden] { display: none !important; }
.no-js .js-only { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; color: var(--bg); }

.mono { font-family: var(--mono); }
.bio { color: var(--bio); }
.coral { color: var(--coral); }
.muted { color: var(--muted); }
.fg { color: var(--fg); }
.tnum { font-variant-numeric: tabular-nums; }
.ul { text-decoration: underline; text-underline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; }
.kick { font: 500 13px var(--mono); letter-spacing: .1em; color: var(--bio); }
.h2 { font: 400 clamp(40px, 5vw, 68px)/1 var(--serif); letter-spacing: -.015em; }
.h3 { font: 400 36px/1 var(--serif); }
.lede { font: 400 18px/1.6 var(--sans); color: var(--muted); text-wrap: pretty; }
.lede--center { max-width: 560px; }
.label { font: 500 12px var(--mono); letter-spacing: .08em; color: var(--muted); }

.word { font: 400 27px var(--serif); color: var(--fg); letter-spacing: -.01em; }
.word > span { font: 400 17px var(--mono); color: var(--bio); }
.word--sm { font-size: 20px; }
.word--sm > span { font-size: 13px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn--fg { height: 40px; gap: 8px; padding: 0 16px; background: var(--fg); color: var(--bg); font: 500 14px var(--sans); transition: opacity .2s; }
.btn--fg:hover { opacity: .88; color: var(--bg); }
.btn--bio { height: 48px; padding: 0 6px 0 20px; border-color: var(--bio); background: var(--bio); color: var(--onbio); font: 600 15px var(--sans);
  box-shadow: 0 0 0 4px var(--bioring), inset 0 1px 0 rgba(255, 255, 255, .45); transition: box-shadow .35s ease, transform .35s ease; }
.btn--bio:hover { color: var(--onbio); box-shadow: 0 0 0 7px var(--bioring), 0 14px 40px -14px var(--bio), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--lg { height: 52px; font-size: 16px; padding-left: 22px; gap: 14px; }
.btn--lg.btn--bio { box-shadow: 0 0 0 4px var(--bioring), 0 12px 36px -12px var(--bio), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--lg.btn--bio:hover { box-shadow: 0 0 0 7px var(--bioring), 0 18px 48px -12px var(--bio), inset 0 1px 0 rgba(255, 255, 255, .45); transform: translateY(-1px); }
.btn__key { height: 40px; min-width: 40px; padding: 0 10px; display: grid; place-items: center; border-radius: 6px; background: rgba(4, 18, 28, .14); font: 500 14px var(--mono); }
.btn__key--sm { height: 36px; font-size: 12px; }
.btn--code { padding: 0 6px 0 16px; border-color: var(--line2); background: var(--surface); color: var(--fg); font: 400 14px var(--mono); transition: border-color .3s; }
.btn--code:hover { color: var(--fg); border-color: var(--bio); }
.btn__tag { height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); font: 500 12px var(--sans); color: var(--muted); }

.iconbtn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--fg); cursor: pointer; transition: border-color .2s, background .2s; }
.iconbtn:hover { border-color: var(--line2); background: var(--surface); }
.iconbtn--menu { width: 44px; height: 44px; display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.iconbtn--menu span { width: 18px; height: 1.5px; background: var(--fg); }

.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 12px; border-radius: 15px; border: 1px solid var(--line2); background: var(--surface); font: 500 13px var(--sans); color: var(--fg); }
.chip__dot { width: 6px; height: 6px; border-radius: 3px; background: var(--bio); flex-shrink: 0; }

.card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.card--lg { gap: 18px; padding: 28px; }
.card--hl { border-color: var(--bio); box-shadow: 0 0 0 4px var(--bioring); }

/* ------------------------------------------------------------------ nav */
.nav { position: sticky; top: 0; z-index: 20; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(16px, 3vw, 32px); background: color-mix(in srgb, var(--bg) 62%, transparent); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); overflow: visible; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { color: var(--fg); }
.mark { overflow: visible; display: block; }
.mark path { stroke: var(--bio); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: 8px; font: 500 15px var(--sans); }
.nav__links a:hover { background: var(--surface); color: var(--fg); }
.nav__end { display: flex; align-items: center; gap: 8px; }
.menu { position: absolute; top: 68px; left: 0; right: 0; display: flex; flex-direction: column; padding: 12px 16px 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
.menu a { padding: 14px 4px; font: 500 20px var(--sans); border-bottom: 1px solid var(--line); }
.menu a:last-child { border-bottom: 0; }

/* ------------------------------------------------------------------ hero */
/* Full-screen hero: it starts under the translucent sticky nav and fills the viewport. */
.hero { position: relative; margin-top: -68px; min-height: 100vh; min-height: 100svh; box-sizing: border-box; display: flex; align-items: center; justify-content: center; padding: calc(68px + clamp(24px, 5vh, 56px)) 16px clamp(28px, 5vh, 56px); overflow: hidden; background: var(--bg); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__cv { touch-action: pan-y; }
.hero__glow { filter: blur(12px); mix-blend-mode: screen; pointer-events: none; opacity: .54; }
:root[data-theme="light"] .hero__glow { mix-blend-mode: multiply; opacity: .12; }
.hero__vig, .hero__fade { position: absolute; inset: 0; pointer-events: none; }
.hero__vig { background: radial-gradient(ellipse at 65% 40%, transparent 30%, var(--vig) 100%); }
/* A soft scrim behind the copy instead of a solid panel, so the shoal reads as the whole background. */
.hero__fade { background: radial-gradient(ellipse min(62%, 760px) 62% at 50% 54%, color-mix(in srgb, var(--bg) 90%, transparent) 0%, color-mix(in srgb, var(--bg) 74%, transparent) 60%, transparent 100%); }
.hero__cards { position: absolute; inset: 0; pointer-events: none; }
.bubble { position: absolute; width: 340px; max-width: calc(100% - 32px); display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 8px; background: var(--surface); }
.bubble__head { display: flex; gap: 10px; font: 500 11px var(--mono); letter-spacing: .06em; }
.bubble__head span:last-child { color: var(--muted); }
.bubble__text { font: 400 15px/1.45 var(--sans); color: var(--fg); text-wrap: pretty; }
/* Centred column over the shoal; it sits below the 68px nav and centres in what is left. */
.hero__inner { position: relative; z-index: 1; width: min(760px, 100%); min-width: 0; max-width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(12px, 2.1vh, 20px); pointer-events: none; }
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero__tags { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.hero__for { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font: 400 15px/1.4 var(--sans); color: var(--muted); }
.hero__for-label { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg); margin-right: 2px; }
.hero__for .role { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 11px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--bio) 45%, var(--line2)); background: color-mix(in srgb, var(--bio) 10%, var(--surface)); font: 500 14px var(--sans); color: var(--fg); }
.hero__for-what { flex-basis: 100%; }
.hero__h { font: 400 clamp(52px, min(8.4vw, 12.5vh), 116px)/.94 var(--serif); letter-spacing: -.02em; }
.hero__h em { color: var(--bio); }
.hero__lede { font: 400 clamp(17px, 1.4vw, 20px)/1.6 var(--sans); color: var(--muted); max-width: 560px; margin-inline: auto; text-wrap: balance; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font: 400 13px var(--mono); color: var(--muted); }
.hero__hint { font: 400 13px var(--mono); color: var(--muted); }
.hero__inner .hero__fishbtn { padding: 0; border: 0; background: none; color: var(--fg); font: inherit; cursor: pointer; text-decoration: underline dotted; text-decoration-color: var(--line2); text-underline-offset: 4px; }
.hero__fishbtn:hover { color: var(--bio); text-decoration-color: var(--bio); }

/* Paste → Simulate → Fix: one line, tiny stroke icons. */
.flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; font: 500 13px var(--mono); letter-spacing: .04em; color: var(--fg); }
.flow li { display: inline-flex; align-items: center; gap: 7px; }
.flow li + li::before { content: "→"; margin-right: 3px; color: var(--muted); }
.flow svg { width: 16px; height: 16px; fill: none; stroke: var(--bio); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* The example prediction: one row per venue, with its recognisable mark. */
.pred { margin: 0; width: min(520px, 100%); text-align: left; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: 1px solid var(--line2); border-radius: 8px; background: color-mix(in srgb, var(--surface) 72%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pred__cap { font: 500 11px var(--mono); letter-spacing: .08em; color: var(--muted); }
.pred__rows { display: flex; flex-direction: column; gap: 9px; }
.pred__row { display: flex; align-items: flex-start; gap: 10px; font: 400 15px/1.35 var(--sans); color: var(--muted); }
.pred__row b { font-weight: 500; color: var(--fg); margin-right: 6px; }
.pred__ic { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.pred__ic--x { fill: var(--fg); }
.pred__sub { display: block; font: 400 12px/1.5 var(--mono); color: var(--coral); }
.pred__n { font-variant-numeric: tabular-nums; color: var(--fg); font-weight: 500; }
.pred--play .pred__row { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.pred--play .pred__row.is-in { opacity: 1; transform: none; }
.pred__n.is-done { animation: predGlow 1.2s ease-out; }
@keyframes predGlow { 0% { color: var(--bio); text-shadow: 0 0 12px color-mix(in srgb, var(--bio) 70%, transparent); } 100% { color: var(--fg); text-shadow: none; } }

/* The hover card: who a fish is and what it is doing. It follows its fish and never takes the pointer. */
.tip { left: 0; top: 0; width: 264px; gap: 4px; padding: 10px 12px; pointer-events: none; z-index: 2; box-shadow: 0 12px 32px -16px rgba(0, 0, 0, .6); will-change: transform; }
.tip .bubble__head { color: var(--bio); }
.tip.g1 .bubble__head { color: var(--plank); }
.tip.g2 .bubble__head { color: var(--coral); }
.tip__who { font: 400 12px var(--mono); color: var(--muted); }
.tip .bubble__text { font-size: 14px; }

/* ------------------------------------------------------------------ sections */
.sec { border-top: 1px solid var(--line); padding: clamp(72px, 10vw, 128px) var(--gutter); }
.sec > .wrap { display: flex; flex-direction: column; gap: 48px; }
.sec__head { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.sec__head--wide { max-width: 720px; }

/* the film, after the hero */
.film { margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.film__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 8px; background: var(--term); }
.film__cap { display: flex; flex-direction: column; gap: 6px; }
.film__title { font: 400 clamp(20px, 2.2vw, 26px)/1.3 var(--serif); color: var(--fg); text-wrap: balance; }
.film__note { font: 500 11px var(--mono); letter-spacing: .08em; color: var(--muted); }

/* 01 try it */
.run { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; align-items: start; }
.run__col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.run__label { display: flex; justify-content: space-between; font: 500 13px var(--mono); letter-spacing: .06em; color: var(--muted); }
.run__post { height: 300px; resize: vertical; width: 100%; padding: 18px; border-radius: 8px; border: 1px solid var(--line2); background: var(--surface); color: var(--fg); font: 400 15px/1.6 var(--sans); transition: border-color .2s; }
.run__post:focus { border-color: var(--bio); outline: none; box-shadow: 0 0 0 4px var(--bioring); }
.run__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.venues { display: flex; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; font: 500 13px var(--sans); }
.venues span { padding: 8px 12px; border-radius: 6px; color: var(--muted); }
.venues .is-on { background: var(--surface2); color: var(--fg); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.step { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.step i { height: 2px; border-radius: 1px; background: var(--line); }
.step b { font: 500 13px/1.3 var(--sans); color: var(--muted); }
.step span { font: 400 11px var(--mono); color: var(--muted); }
.step.is-done i { background: var(--bio); }
.step.is-done b, .step.is-act b { color: var(--fg); }
.step.is-act { border-color: var(--plank); }
.step.is-act i { background: var(--plank); }
.term { --muted: var(--tmuted); border: 1px solid var(--line2); border-radius: 8px; background: var(--term); overflow: hidden; }
.term__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 400 12px var(--mono); color: var(--muted); }
:root[data-theme="light"] .term__head { border-color: #12324A; }
.term__body { height: 268px; overflow: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 5px; font: 400 13px/1.55 var(--mono); color: var(--tfg); }
.log { display: flex; flex-direction: column; gap: 5px; }
.log__l { display: grid; grid-template-columns: 62px 84px minmax(0, 1fr); gap: 8px; }
.log__l > span:first-child { color: var(--muted); }
.t0 { color: var(--tmuted); } .t1 { color: var(--plank); } .t2, .t3 { color: var(--bio); }
.k0 { color: var(--tfg); } .k1 { color: var(--bio); } .k2 { color: var(--coral); }
/* The terminal is always dark, so it keeps the dark accents in the light theme. */
:root[data-theme="light"] .term { --bio: #5EF2D6; --coral: #FF7A59; --plank: #F5C84C; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.num { font: 400 52px/1 var(--serif); }
.card__text { font: 400 18px/1.45 var(--sans); }
.results .mono { font-size: 13px; }
.diff { display: flex; flex-direction: column; gap: 2px; font: 400 12px/1.6 var(--mono); overflow-x: auto; }
.diff span { white-space: pre; }

/* 02 how it works */
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.how__n { display: flex; justify-content: space-between; font: 500 13px var(--mono); color: var(--muted); }
.how p { font: 400 16px/1.6 var(--sans); color: var(--muted); }
.readout { margin-top: auto; padding: 12px 14px; border-radius: 6px; background: var(--term); border: 1px solid var(--line); font: 400 12px/1.7 var(--mono); color: var(--tfg); }
:root[data-theme="light"] .readout { --coral: #FF7A59; }
.binary { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px dashed var(--line2); border-radius: 8px; }
.binary__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font: 500 13px var(--mono); }
.binary__parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 8px; font: 400 14px var(--sans); }
.binary__parts li { padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.binary__parts .mono { font-size: 12px; }

/* 03 pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.card--plan { gap: 22px; padding: 28px; }
.plan__top { display: flex; justify-content: space-between; align-items: center; }
.plan__name { font: 500 16px var(--sans); }
.plan__badge { font: 500 11px var(--mono); letter-spacing: .06em; color: var(--bio); }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price span:first-child { font: 400 52px/1 var(--serif); }
.plan__price span:last-child { font: 400 14px var(--sans); color: var(--muted); }
.plan__items { display: flex; flex-direction: column; gap: 10px; font: 400 15px/1.45 var(--sans); color: var(--muted); }
.plan__items li { display: flex; gap: 10px; }
.plan__items li::before { content: "›"; color: var(--bio); font-family: var(--mono); }
.btn--plan { margin-top: auto; height: 46px; border-color: var(--line2); background: transparent; color: var(--fg); font: 600 15px var(--sans); transition: opacity .25s; }
.btn--plan:hover { opacity: .86; color: var(--fg); }
.btn--plan-hl { border-color: var(--bio); background: var(--bio); color: var(--onbio); }
.btn--plan-hl:hover { color: var(--onbio); }

/* 04 early access and footer */
.sec--end { padding: clamp(88px, 12vw, 160px) var(--gutter) 64px; }
.sec--end > .end { align-items: center; gap: 32px; text-align: center; }
.end__h { font: 400 clamp(48px, 7vw, 96px)/.98 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.end__h em { color: var(--bio); }
.signup { width: min(100%, 560px); height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 6px 0 20px; border-radius: 8px; border: 1px solid var(--line2); background: var(--surface); transition: border-color .3s, box-shadow .3s; }
.signup:focus-within { border-color: var(--bio); box-shadow: 0 0 0 4px var(--bioring); }
.signup__prompt { font-size: 16px; }
.signup input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--fg); font: 400 clamp(14px, 1.6vw, 16px) var(--mono); outline: none; }
.signup input::placeholder { color: var(--muted); opacity: .7; }
.signup input[aria-invalid="true"] { color: var(--coral); }
.signup__go { height: 44px; padding: 0 16px; border: 0; border-radius: 6px; background: var(--bio); color: var(--onbio); font: 600 14px var(--sans); cursor: pointer; white-space: nowrap; transition: opacity .2s; }
.signup__go:hover { opacity: .88; }
.signup__go:disabled { opacity: .6; cursor: progress; }
.signup__human { width: min(100%, 560px); min-height: 65px; display: flex; justify-content: center; }
.signup__human > div { width: 100%; }
.signup__err { font: 400 14px/1.5 var(--mono); color: var(--coral); max-width: 560px; }
.signup__err a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.signup__done { display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 20px 24px; border: 1px solid var(--bio); border-radius: 8px; background: var(--surface); box-shadow: 0 0 0 4px var(--bioring); font: 400 16px/1.5 var(--sans); }
.signup__done [data-done-email] { font-family: var(--mono); color: var(--bio); }
.signup__done { max-width: min(100%, 560px); text-align: center; outline: none; }
.signup__done [data-done-email] { font-weight: 500; overflow-wrap: anywhere; }
.signup__small { font: 400 14px/1.5 var(--sans); color: var(--muted); }
.signup__small a { color: var(--fg); }
.signup__again { padding: 0; border: 0; background: none; color: var(--bio); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.signup__go { display: inline-flex; align-items: center; gap: 8px; }
.signup__go .spin { display: none; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: signup-spin .7s linear infinite; }
.signup__go[aria-busy="true"] .spin { display: inline-block; }
@keyframes signup-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .signup__go[aria-busy="true"] .spin { display: none; } }
.end__note { max-width: 640px; font: 400 15px/1.6 var(--sans); color: var(--muted); text-wrap: pretty; }
.end__note .mono { font-size: 14px; overflow-wrap: anywhere; }
.foot { margin: 120px auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; font: 400 14px var(--sans); color: var(--muted); }
.foot__brand { display: flex; align-items: center; gap: 8px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }

/* ------------------------------------------------------------------ narrow */
@media (max-width: 859px) {
  .nav__links, .nav__cta { display: none; }
  .iconbtn--menu { display: flex; }
  .hero__fade { background: linear-gradient(0deg, color-mix(in srgb, var(--bg) 92%, transparent) 0%, color-mix(in srgb, var(--bg) 80%, transparent) 46%, color-mix(in srgb, var(--bg) 40%, transparent) 66%, transparent 86%); }
  .hero__for { font-size: 14px; gap: 6px; }
  .hero__for .role { font-size: 13px; min-height: 26px; padding: 2px 9px; }
  .btn--code { font-size: 13px; }
}
@media (max-width: 859px) {
  /* On a phone the copy decides the height: open water above it, never cut off at the top. */
  .hero { align-items: flex-end; padding: max(200px, 26svh) 16px 32px; }
  .hero__inner { width: 100%; gap: 14px; }
  .pred { padding: 12px 14px; gap: 8px; }
  .pred__row { font-size: 14px; }
  .hero__meta { display: none; }
}
@media (max-width: 420px) {
  .hero__h { font-size: 52px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .log__l { grid-template-columns: 58px 70px minmax(0, 1fr); gap: 6px; }
  .signup { padding-left: 14px; }
  .signup__go { padding: 0 12px; }
}

/* ------------------------------------------------------------------ static mode
   With the script blocked or with reduced motion: no transitions, no smooth
   scrolling. Without the script the canvas stays empty, so the hero shows a
   still wash of the palette instead. */
.no-js .hero { background: radial-gradient(ellipse 60% 55% at 72% 40%, color-mix(in srgb, var(--bio) 12%, transparent), transparent 70%), var(--bg); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.static *, .static *::before, .static *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }

/* ------------------------------------------------------------------ 404 */
.lost { min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); display: grid; place-items: center; border-top: 0; }
.lost__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.lost__term { width: min(100%, 560px); text-align: left; }
.lost__body { height: auto; }
