@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --sky: #0a0e13;
  --water: #0f1419;
  --water-2: #141b22;
  --text: #f2efe8;
  --muted: #aab1ba;
  --faint: #8a929c;
  --sun-1: #ffd24a;
  --sun-2: #ff8f3f;
  --sun-3: #ff5c63;
  --sea-1: #14b8a6;
  --sea-2: #2563eb;
  --sea-1-hi: #2dd4bf;
  --sea-2-hi: #60a5fa;
  --sun: linear-gradient(180deg, var(--sun-1), var(--sun-2) 50%, var(--sun-3));
  --sea: linear-gradient(90deg, var(--sea-1), var(--sea-2));
  --sea-hi: linear-gradient(90deg, var(--sea-1-hi), var(--sea-2-hi));
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pad: clamp(1rem, 4vw, 3.5rem);
  --max: 76rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #2a333d var(--water); }
body { margin: 0; background: linear-gradient(180deg, var(--sky), var(--water) 100svh) no-repeat, var(--water); color: var(--text); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
::selection { background: var(--sun-2); color: var(--water); }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--sun-1); outline-offset: 3px; border-radius: .3rem; }
code { font: .92em/1 var(--mono); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: .6rem .9rem; background: var(--text); color: var(--water); border-radius: .5rem; }
.skip:focus { top: 1rem; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.25rem; border: 0; border-radius: .75rem; background: var(--sun); color: #1a0d05; font: 600 1rem/1 var(--font); letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: transform 200ms var(--ease), filter 200ms ease; }
.button:hover { transform: translateY(-1px); filter: saturate(1.1) brightness(1.04); }
.button:active { transform: none; }
.button-small { min-height: 40px; padding: 0 1rem; font-size: .9375rem; }

.site-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: var(--max); margin: 0 auto; padding: 1.25rem var(--pad); }
.brand { display: block; line-height: 0; }
.brand img { height: 2.1rem; width: auto; }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); font-size: .9375rem; }
.site-header nav a:not(.button) { color: var(--muted); text-decoration: none; }
.site-header nav a:not(.button):hover { color: var(--text); }

/* Hero: copy above a full-width horizon; the sun sits on it, the release log is its reflection. */
.hero { position: relative; overflow-x: clip; }
.hero-copy { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: clamp(1.25rem, 4vh, 3.5rem) var(--pad) clamp(1.25rem, 3.5vh, 2.75rem); }
.hero h1 { max-width: 11.5em; margin: 0; font-size: clamp(2.75rem, 1.5rem + 4.4vw, 5rem); font-weight: 600; line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.lede { max-width: 36rem; margin: 1.25rem 0 0; color: var(--muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; }
.start { display: flex; gap: .5rem; max-width: 34rem; margin-top: 1.75rem; padding: .375rem; border-radius: 1rem; background: var(--water-2); box-shadow: inset 0 0 0 1px #ffffff14; }
.start input { flex: 1; min-width: 0; padding: 0 .75rem; border: 0; background: none; color: var(--text); font: inherit; }
.start input::placeholder { color: var(--faint); }
.start input:focus-visible { outline: none; }
.start:focus-within { box-shadow: inset 0 0 0 1px var(--sun-2); }
.aside { max-width: 34rem; margin: 1rem 0 0; color: var(--faint); font-size: .9375rem; }
.aside a { color: var(--muted); }

.scene { --sun-w: clamp(16rem, 38vw, 36rem); --sink: 0; position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(4rem, 10vh, 7rem); }
.sky { position: absolute; right: var(--pad); bottom: 100%; width: var(--sun-w); height: calc(var(--sun-w) / 2); overflow: hidden; }
.sun { width: 100%; height: 100%; border-radius: 999px 999px 0 0; background: var(--sun); transform: translateY(calc(var(--sink) * 100%)); will-change: transform; }
.horizon { width: 100vw; height: 6px; margin-left: calc(50% - 50vw); background: var(--sea); }
.reflection { width: max(var(--sun-w), 30rem); margin: 1.1rem 0 0 auto; padding: 0; list-style: none; font: 400 .875rem/1.2 var(--mono); }
.line { display: flex; align-items: center; gap: .9rem; min-height: 2.5rem; margin-top: .55rem; padding: 0 .9rem; border-radius: 999px; background: linear-gradient(90deg, #14b8a633, #2563eb2e); }
.line:nth-child(2) { margin-left: 1.75rem; }
.line:nth-child(3) { margin-left: 3.5rem; }
.line:nth-child(4) { margin-left: 5.25rem; }
.tag { flex: none; width: 5.5rem; color: var(--sea-1-hi); }
.what { flex: 1; min-width: 0; overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
a.what:hover { text-decoration: underline; }
.what code { font-size: 1em; color: var(--text); }
.state { flex: none; display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); }
.state svg { width: 14px; height: 14px; fill: none; stroke: var(--sea-1-hi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.state.live { color: var(--sun-1); }
.dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--sun-2); }
.pending { display: none; }

/* With scripting and motion, review marks arrive as the sun sets; without either, every line is complete. */
@media (prefers-reduced-motion: no-preference) {
  .js .line[data-at]:not(.is-reviewed) .pending { display: inline; color: var(--faint); }
  .js .line[data-at]:not(.is-reviewed) .done { display: none; }
  .js .line[data-at] .done { animation: mark 500ms var(--ease); }
}
@keyframes mark { from { opacity: 0; transform: translateX(-4px); } }

@media (max-width: 72rem) {
  .line:nth-child(2) { margin-left: 1rem; }
  .line:nth-child(3) { margin-left: 2rem; }
  .line:nth-child(4) { margin-left: 3rem; }
  .tag { width: 4.75rem; }
}
@media (max-width: 52rem) {
  .site-header nav a:not(.button) { display: none; }
  .scene { --sun-w: min(60vw, 17rem); padding-top: calc(min(60vw, 17rem) / 2); }
  .sky { top: 0; bottom: auto; right: 50%; transform: translateX(50%); }
  .reflection { width: 100%; }
  .line:nth-child(n) { margin-left: 0; }
  .tag { width: 4.75rem; }
}
@media (max-width: 26rem) {
  .start .button { padding: 0 1rem; }
  .reflection { font-size: .8125rem; }
  .line { gap: .6rem; padding: .55rem .75rem; border-radius: 1.25rem; }
  .what { white-space: normal; line-height: 1.35; }
  .tag { width: 4.25rem; }
}

/* Sections sit on the water. Each opens with a short reflection: three sea bars stepping in like the logo. */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 12vh, 8.5rem) var(--pad); }
.section h2 { max-width: 16ch; margin: 0; font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.section h3 { margin: 0; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.section p { margin: .6rem 0 0; color: var(--muted); }
.section-lede { max-width: 40rem; }
.bars { display: grid; gap: 6px; width: 7rem; margin-bottom: 2rem; }
.bars span { height: 4px; border-radius: 2px; background: var(--sea); }
.bars span:nth-child(2) { width: 62%; margin-left: 12%; }
.bars span:nth-child(3) { width: 38%; margin-left: 12%; }
.meta { font: 400 .8125rem/1.4 var(--mono); color: var(--faint) !important; letter-spacing: .01em; }
mark.owner { padding: .1em .35em; border-radius: .3rem; background: #ff5c6333; color: #ffb4a0; font: 500 .9em/1.4 var(--mono); }

.claims { display: grid; gap: 0; margin: 3rem 0 0; padding: 0; list-style: none; }
.claims li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem 3rem; align-items: baseline; padding: 2rem 0; }
.claims li + li::before { content: ""; display: block; width: 2.5rem; height: 4px; border-radius: 2px; background: var(--sea); grid-column: 1 / -1; margin-bottom: 1.5rem; }
.claims h3 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.4rem); letter-spacing: -.03em; }
.claims p { max-width: 34rem; margin: 0; font-size: 1.0625rem; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(2rem, 6vw, 6rem); align-items: start; }
.split-head { position: sticky; top: 2rem; }
.split-head p { max-width: 24rem; }
.rows { margin: 0; padding: 0; list-style: none; }
.rows li { padding: 1.75rem 0; }
.rows li + li::before { content: ""; display: block; width: 2.5rem; height: 4px; border-radius: 2px; background: var(--sea); margin-bottom: 1.75rem; }
.rows .outcome { margin-top: .5rem; color: var(--text); }

.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem clamp(2rem, 5vw, 5rem); margin-top: 3rem; }
.case h3 { margin-top: .5rem; font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); letter-spacing: -.04em; }
.case-lede { color: var(--text) !important; font-size: 1.125rem; }
.stack { margin-top: 1.25rem !important; padding: .55rem .9rem; border-radius: 999px; background: linear-gradient(90deg, #14b8a62b, #2563eb26); color: var(--text) !important; font: 400 .8125rem/1.4 var(--mono); width: fit-content; max-width: 100%; }
.more { display: inline-block; margin-top: 1.25rem; color: var(--sun-1); font-weight: 500; }

.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem 1.5rem; margin: 3.5rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 1.05rem; height: 4px; border-radius: 2px; background: var(--sea); }
.steps li { position: relative; padding-top: 2.75rem; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; padding: .3rem .55rem; border-radius: .5rem; background: var(--water); color: var(--sea-1-hi); font: 500 .8125rem/1.2 var(--mono); }
.steps p { font-size: .9688rem; }

.faq details { padding: 0; }
.faq details + details::before { content: ""; display: block; width: 1.75rem; height: 3px; border-radius: 2px; background: var(--sea); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; font-size: 1.125rem; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: .55rem; height: .55rem; margin-right: .25rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-25%) rotate(45deg); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: translateY(15%) rotate(-135deg); }
.faq details p { max-width: 38rem; margin: 0 0 1.5rem; }

.contact { position: relative; overflow-x: clip; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(2rem, 6vw, 6rem); padding-bottom: calc(clamp(10rem, 22vw, 18rem) + 2rem); }
.contact-copy p { max-width: 24rem; }
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .9375rem; font-weight: 500; }
.field label span { color: var(--faint); font-weight: 400; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: .75rem .9rem; border: 0; border-radius: .75rem; background: var(--water-2); box-shadow: inset 0 0 0 1px #ffffff1f; color: var(--text); font: inherit; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--sun-2), 0 0 0 3px #ff8f3f33; }
.form .button { justify-self: start; }
.form .button[disabled] { opacity: .6; cursor: progress; transform: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.6em; margin: 0 !important; }
.status.is-error { color: #ffb4a0 !important; }
.status.is-ok { color: var(--sea-1-hi) !important; }
.sunrise { position: absolute; left: 50%; bottom: 0; width: clamp(20rem, 44vw, 40rem); height: clamp(10rem, 22vw, 20rem); overflow: hidden; transform: translateX(-50%); }
.contact::after { content: ""; position: absolute; left: calc(50% - 50vw); bottom: 0; width: 100vw; height: 6px; background: var(--sea); }
.sunrise .sun { transform: none; }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; max-width: var(--max); margin: 0 auto; padding: 2.5rem var(--pad) 3rem; color: var(--faint); font-size: .875rem; }
.site-footer img { height: 1.8rem; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer p { margin: 0; }

@media (max-width: 52rem) {
  .claims li, .split, .contact, .cases { grid-template-columns: minmax(0, 1fr); }
  .split-head { position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .steps::before { display: none; }
  .steps li { padding-top: 0; }
  .steps li::before { position: static; display: block; width: fit-content; margin-bottom: .5rem; padding: 0; }
}

/* Secondary pages: one reading column. */
.page { max-width: 46rem; min-height: 60vh; }
.page h1 { margin: 0; font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.page h2 { margin: 2.5rem 0 0; font-size: 1.25rem; letter-spacing: -.015em; max-width: none; }
.page ul { margin: .75rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.page li + li { margin-top: .5rem; }
.page strong { color: var(--text); font-weight: 500; }
