/* AresMind site styles (brand v4, #909). One stylesheet after tokens.css, no inline styles (CSP style-src 'self').
   Amber means one thing only: waiting for your yes. Values come from the tokens in brand/tokens.json. */

@font-face { font-family: "Schibsted Grotesk"; font-weight: 400; font-display: swap; src: url(fonts/schibsted-grotesk-latin-400.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 500; font-display: swap; src: url(fonts/schibsted-grotesk-latin-500.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 600; font-display: swap; src: url(fonts/schibsted-grotesk-latin-600.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-latin-400.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-latin-500.woff2) format("woff2"); }

:root {
  /* Colour, type, shape, depth and motion come from tokens.css (brand/tokens.json, brand v4 #909), linked first on
     every page. */
  --hero-w: 1440px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--void); color: var(--paper); font: var(--text-body)/var(--leading-body) var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2 { margin: 0; font-weight: 500; letter-spacing: 0; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; }   /* brand/type.md: section headings max 40 px, below the 56 px headline */
p { margin: 0; max-width: 30em; text-wrap: pretty; }
.small { font-size: 14px; }
.bright { color: var(--paper); }
.price-sentence { margin: 0; font-size: 22px; font-weight: 500; }   /* the price in a sentence, at lede size (brand/media/website.md rule 5) */
.muted-dark { color: var(--dim); }
.hero-copy a { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.ink-2 { color: var(--ink-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Buttons: never amber. */
.btn { display: inline-block; font: inherit; font-size: 18px; font-weight: 500; padding: 15px 24px; border: 1px solid transparent; border-radius: 0; cursor: pointer; text-align: center; }
.btn:hover { text-decoration: none; }
.btn-light { background: var(--paper); color: var(--void); }
.btn-dark { background: var(--void); color: var(--paper); border-color: var(--void); }
.btn-outline { border-color: var(--paper); }
.btn-small { font-size: 16px; padding: 10px 16px; }
.btn-block { display: block; width: 100%; padding: 16px 20px; }

/* Hero: one centred column, the same width as every text page. */
.hero { padding: 0 var(--pad) clamp(56px, 6vw, 96px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: clamp(68px, 6vw, 88px); }
.wordmark img { width: 141px; }
.nav-links { display: none; gap: 28px; font-size: 16px; color: var(--dim-2); margin-left: auto; margin-right: 32px; }
h1 { margin: clamp(40px, 6vw, 96px) 0 clamp(24px, 3vw, 40px); font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: 0; }
.hero h1, .hero .log, .hero-copy, .column { max-width: 760px; margin-left: auto; margin-right: auto; }
.hero-copy { display: flex; flex-direction: column; gap: 16px; }
.lede { font-size: clamp(18px, 1.45vw, 21px); color: var(--dim-2); }

/* Sections */
section { padding: var(--sec) var(--pad); }
.paper { background: var(--paper); color: var(--void); }
.panel { background: var(--panel); color: var(--void); }
section .column { display: flex; flex-direction: column; gap: 24px; }
section .lede { color: inherit; }
.paper .lede, .panel .lede { color: var(--void); }

.terms { margin: 0; }
.terms div { display: grid; grid-template-columns: minmax(110px, 0.4fr) minmax(0, 1fr); gap: 16px; padding: 10px 0; font-size: 17px; }
.terms dt { color: var(--ink-2); }
.terms dd { margin: 0; }
.join { padding-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.join-row { display: flex; flex-wrap: wrap; gap: 8px; }
.join input[type=email], .join select { flex: 1 1 200px; min-width: 0; font: inherit; font-size: 18px; padding: 15px 16px; border: 1px solid var(--void); background: var(--paper); color: var(--void); border-radius: 0; }
.join input::placeholder { color: var(--placeholder); }
.interest { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; }
.interest label, .consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent { font-size: 16px; }
.interest input, .consent input { accent-color: var(--void); width: 18px; height: 18px; margin: 3px 0 0; flex: none; }
.join .btn { align-self: flex-start; }

/* The waitlist is a working ask: the one amber Yes key on the site (brand/colour.md rule 1, brand/type.md). */
.ask { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.ask-q { font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; }
.ask-keys { display: flex; align-items: center; gap: 24px; }
.ask-yes { font: inherit; font-size: 18px; font-weight: 600; padding: 15px 24px; background: var(--amber); color: var(--void); border: 0; border-radius: 0; cursor: pointer; }
/* Homepage v4: the guest ask is the page's one amber key, so the waitlist's Yes is a plain Void key (brand/colour.md rule 3). */
.join-yes { font: inherit; font-size: var(--text-body); font-weight: 500; padding: 15px 24px; background: var(--void); color: var(--paper); border: 0; border-radius: 0; cursor: pointer; }
.ask-not { font-size: var(--text-ui); text-decoration: underline; text-underline-offset: 3px; }
.join a, .column a { text-decoration: underline; text-underline-offset: 3px; }

/* Selects: one style everywhere, a drawn chevron in the text colour. */
.join select, .buy select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 20px center, right 14px center; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.join select { flex: 0 1 220px; }

/* Questions: <details>, so they open without JavaScript. */
.faqs { display: flex; flex-direction: column; gap: 4px; }
.faqs summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: var(--text-body); font-weight: 500; cursor: pointer; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; font-size: var(--text-h3); font-weight: 400; width: 20px; text-align: center; }
.faqs details[open] summary::after { content: "\2212"; }
.faqs p { margin: 0 0 24px; color: var(--ink-2); max-width: 36em; }

/* Footer */
.foot { padding: clamp(48px, 6vw, 80px) var(--pad) 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; font-size: var(--text-ui); max-width: 34em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: var(--text-ui); color: var(--dim-2); }

/* Homepage v4 (docs/design/site-v4/concept.md section 11): the board's design target of 19 Oct 2026
   (docs/design/target-2026-10-19, "AresMind Website"), built for real. Ten sections: the hero with the app in a
   window under the headline, then Yours, Sorted, Everywhere, Looked after, Guests, Your turn, What it replaces, the
   Founding Edition and Questions, and a closing line. Scroll is the browser's own. Motion: v4/motion.css and the
   island. Homepage only: display type to 120 px with optical tracking, rounded layers, one elevation. */
body > .nav { padding: 0 var(--pad); }
.void { background: var(--void); color: var(--paper); }
.paper { background: var(--paper); color: var(--void); }
.panel { background: var(--panel); color: var(--void); }
.pill { border-radius: var(--r-full); }
.btn-layer { background: var(--void-3); color: var(--paper); }
.display { font-size: var(--text-display); line-height: 1; font-weight: 600; letter-spacing: 0; text-wrap: balance; }
.sub { font-size: var(--text-lede); line-height: 1.5; color: var(--ink-2); max-width: 30em; }
.void .sub { color: var(--dim-2); }
.note { font-size: var(--text-small); color: var(--dim); }
.card { border-radius: var(--r-xl); padding: clamp(22px, 3vw, 40px); }
.card.dark { background: var(--void); color: var(--paper); }

/* 1. The hero: kicker, the 120 px line, the lede and two keys, then the app in a window. */
.hero { padding: clamp(32px, 5vw, 64px) var(--pad) 0; overflow: hidden; }
.hero-top { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.hero .hero-h { max-width: none; margin: 0; font-size: var(--text-display-xl); line-height: 0.95; font-weight: 600; letter-spacing: 0; }
.hero-h span { display: inline-block; }
.hero-row { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero-row .lede { max-width: 620px; font-size: var(--text-lede); line-height: 1.45; color: var(--dim-2); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.see { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; font-size: var(--text-ui); }
.receipt { font-size: var(--text-ui); color: var(--dim-2); }
.ctas .btn { font-size: var(--text-ui); padding: 16px 24px; }
.price-line { font-size: var(--text-ui); color: var(--dim); }
.hero-cap { margin: 14px 0 0; font-size: var(--text-small); color: var(--dim); }
.hero-stage { max-width: 1440px; margin: clamp(40px, 6vw, 72px) auto 0; container: narrow / inline-size; }
/* The app at 1440 px, scaled to the window by its own type size (em units, container query). */
/* The Home sits flat on the page, as the app draws it: no tilt and no bezel around it. */
.app-frame { border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; height: calc(100cqw * 0.5); border: 1px solid var(--void-3); }
.app { font-size: calc(100cqw / 90); width: 90em; height: 56.25em; border-radius: var(--r-md) var(--r-md) 0 0; overflow: hidden; background: var(--void); color: var(--paper); line-height: 1.3; }
.app img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--void-3); }
/* Today's Home at a computer width: the sidebar (lib/nav.ts groups) and the stacked rails (pages/Home.svelte). */
.app { display: grid; grid-template-columns: 17em minmax(0, 1fr); }
.app-side { display: flex; flex-direction: column; gap: 0.2em; margin: 1em; padding: 1em 0.8em; border-radius: var(--r-lg); background: var(--void-2); font-size: 0.95em; }
.app-home { display: flex; gap: 0.7em; align-items: center; margin-bottom: 0.8em; padding: 0 0.6em; }
.app-home b { display: block; font-weight: 600; }
.app-nav.gap { margin-top: 0.9em; }
.app-nav.foot { margin-top: auto; }
.app-top { display: flex; justify-content: space-between; align-items: flex-start; }
.app-top .app-hello { display: block; }
.app-me { width: 2.4em; height: 2.4em; border-radius: var(--r-full); display: grid; place-items: center; background: var(--void-3); font-weight: 600; flex: none; }
.app-nav { padding: 0.5em 0.6em; border-radius: var(--r-sm); }
.app-nav.on { background: var(--void-3); font-weight: 600; }
.app-body { display: flex; flex-direction: column; gap: 0.9em; padding: 2.4em 2.6em; min-width: 0; }
.app-hello { font-size: 2.4em; font-weight: 600; line-height: 1.1; }
.app-search { width: 30em; max-width: 100%; padding: 0.7em 1.1em; border-radius: var(--r-full); background: var(--void-2); color: var(--dim); }
.app-small { font-size: 0.8em; color: var(--dim); display: block; }
.app-h2 { font-size: 1.15em; font-weight: 600; display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.6em; }
.app-cont { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9em; max-width: 52em; }
.app-cw { display: flex; flex-direction: column; gap: 0.4em; min-width: 0; font-size: 0.85em; }
.app-cw img { aspect-ratio: 16 / 9; height: auto; border-radius: var(--r-md); }
.app-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.9em; }
.app-card { display: flex; flex-direction: column; gap: 0.2em; min-width: 0; font-size: 0.8em; color: var(--dim); }
.app-card img { aspect-ratio: 2 / 3; height: auto; border-radius: var(--r-sm); margin-bottom: 0.3em; }
.app-card b, .app-cw b { color: var(--paper); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Sections: words on one side, the product on the other. */
.split-sec, #s4, #replaces, #founding, #questions { padding: clamp(96px, 14vh, 160px) var(--pad); }
.sec-in { max-width: 1280px; margin: 0 auto; }
.split-sec .sec-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; }
.sec-in.stack { display: flex; flex-direction: column; align-items: stretch; gap: 48px; }
.ask-link { text-decoration: underline; text-underline-offset: 3px; color: var(--void); }
.words { display: flex; flex-direction: column; gap: 20px; }
.words.wide { max-width: 820px; }
.words .sub { max-width: 32em; }
/* What stays home: one sentence, said once, then one fact. */
.owned { display: flex; flex-direction: column; gap: 20px; }
.owned-big { font-size: var(--text-h3); line-height: 1.15; font-weight: 600; letter-spacing: 0; text-wrap: balance; }
.owned-fact { font-size: var(--text-lede); color: var(--ink-2); }
.convo { display: flex; flex-direction: column; }
.convo.wide { width: 100%; padding: clamp(24px, 4vw, 56px); }
.sort { display: flex; flex-direction: column; gap: 16px; }
.you { align-self: flex-end; max-width: 82%; padding: 14px 18px; border-radius: var(--r-lg) var(--r-lg) var(--r-xs) var(--r-lg); background: var(--void-3); font-size: var(--text-ui); line-height: 1.4; }
.result { display: flex; flex-direction: column; gap: 14px; }
.result-h { margin-bottom: 6px; }
.result-h { font-size: var(--text-h3); font-weight: 600; letter-spacing: 0; }
.result-s { font-size: var(--text-ui); color: var(--dim-2); margin-top: -10px; }
.shelf { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.shelf img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r-sm); }

/* Any screen: the same Home at TV, laptop and phone widths. The layout reflowing is the proof; no bezels. */
.devices { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; }
.dev { margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dev-l { flex: 5 1 420px; }
.dev-m { flex: 3 1 300px; align-self: flex-end; }
.dev-s { flex: 1 1 160px; max-width: 220px; }
.dev-s .dev-screen { container-name: narrow; }
.dev-s .dev-screen .app-frame { max-height: 140cqw; }
.dev-screen { container-type: inline-size; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--elevation); }
.dev-screen .app-frame { border-radius: 0; border: 0; }
.dev-screen .app img { border-radius: var(--r-xs); }
.dev figcaption { font-size: var(--text-small); color: var(--ink-2); }
.dev figcaption b { color: var(--void); font-weight: 600; margin-right: 8px; }

.fixes { display: flex; flex-direction: column; gap: 4px; }
.fix { display: flex; gap: 24px; padding: 10px 0; font-size: var(--text-lede); line-height: 1.4; }
.brief .note { letter-spacing: 0; font-weight: 400; }
.brief { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; font-size: var(--text-h2); line-height: 1.2; font-weight: 600; letter-spacing: 0; }

.guest-ask { display: flex; flex-direction: column; gap: 16px; }
.ask-big { font-size: var(--text-h2); line-height: 1.12; font-weight: 600; letter-spacing: 0; }
.guest-ask .yes { display: flex; justify-content: space-between; align-items: center; height: 68px; padding: 0 22px; border: 0; border-radius: var(--r-lg); background: var(--amber); color: var(--void); font: inherit; font-size: var(--text-body); font-weight: 600; }
.guest-ask .not { align-self: center; border: 0; background: none; color: var(--dim-2); font: inherit; font-size: var(--text-ui); }

.centre { align-items: center; text-align: center; }
.centre .words { align-items: center; }
.asker { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.composer { display: flex; gap: 8px; }
.composer input { flex: 1 1 auto; min-width: 0; font: inherit; font-size: var(--text-body); padding: 15px 16px; border: 1px solid var(--dim); border-radius: var(--r-full); background: var(--void); color: var(--paper); }
.composer input::placeholder { color: var(--dim); }

/* What it replaces: one sentence, the services struck through inline, then the price once. */
.struck { max-width: 22em; font-size: var(--text-h1); line-height: 1.15; font-weight: 600; letter-spacing: 0; }
.struck s { color: var(--ink-2); font-weight: 400; text-decoration-thickness: 2px; }

.founding { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px; align-items: start; padding: clamp(28px, 5vw, 72px); border-radius: var(--r-xl); background: var(--panel); }
.join-wrap { display: flex; flex-direction: column; gap: 12px; }
#founding .field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#founding .field input, #founding .field select { flex: none; width: 100%; }
.lab { font-size: var(--text-small); font-weight: 600; color: var(--void); }
/* One corner style on the homepage: the waitlist's fields and key are rounded like everything around them. */
#founding .join input[type=email], #founding .join select, #founding .join-yes { border-radius: var(--r-md); }
.record { display: flex; flex-direction: column; gap: 8px; }
#founding .record[data-island] { font: 600 var(--text-h3)/1.25 var(--sans); color: var(--void); }
.record:empty { display: none; }

/* Questions: one narrow column, read in order, all open. */
.qa { display: flex; flex-direction: column; gap: 40px; }
.qa-list { display: flex; flex-direction: column; gap: 32px; max-width: 720px; }
.qa-pair h3 { margin: 0 0 8px; font-size: var(--text-body); font-weight: 600; }
.qa-pair p { margin: 0; font-size: var(--text-body); line-height: 1.5; color: var(--ink-2); }
.closing { padding: 72px var(--pad); }
.closing-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.closing-h { font-size: var(--text-h1); font-weight: 600; letter-spacing: 0; line-height: 1; }

/* Simple pages (thanks, error, privacy) */
.page { max-width: 760px; margin: 0 auto; padding: clamp(16px, 2.5vw, 40px) var(--pad) var(--sec); }
.hero:has(+ .page) { padding-bottom: 0; }
.page section { padding: 0; }
.page h1 { margin-top: 0; font-size: clamp(36px, 5vw, 56px); }
.page h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: 0; }
.page p, .page li { color: var(--dim-2); max-width: 36em; }
.page p + p { margin-top: 16px; }
.page a { text-decoration: underline; text-underline-offset: 3px; }
.page .btn { margin-top: 32px; text-decoration: none; }

/* About (#524). No motion. */
.page.about { max-width: none; margin: 0; }
.about-top { display: flex; flex-direction: column; gap: var(--s6); max-width: 860px; }
.page.about h1, .page .about-quote { margin: 0; font-size: var(--text-h1); line-height: 1.05; font-weight: 600; }
.page .about-lede, .page .about-keys { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s6); }
.about-keys .btn { margin: 0; border-radius: var(--r-full); font-size: var(--text-ui); }
.about section { max-width: 1120px; margin-top: var(--sec); }
.page.about h2 { margin: 0 0 var(--s6); font-size: var(--text-h2); font-weight: 600; }
.about-why, .about-rules { display: grid; gap: var(--s10) var(--s16); align-items: center; }
.page .about-why p { font-size: var(--text-h3); line-height: 1.4; color: var(--paper); }
.about-shot { margin: 0; max-width: 420px; }
.about figcaption { margin-top: var(--s3); font-size: var(--text-small); color: var(--dim-2); }
.page .about-quote { max-width: 18em; color: var(--paper); }
.about-tv { margin: var(--s10) 0; }
.about-tv div { position: relative; overflow: hidden; }
.about-shot img, .about-tv div { border-radius: var(--r-lg); outline: 1px solid var(--void-4); }
.about-note { position: absolute; left: 31.67%; top: 24.92%; width: 55.9%; }
.about-when { list-style: none; padding: 0; display: grid; gap: var(--s8); }
.about-when li { display: grid; gap: var(--s2) var(--s8); }
.about h3 { margin: 0; font-size: var(--text-h3); }
.page .about-rules p { font-size: var(--text-lede); }
.about .terms { margin: var(--s6) 0 0; }
.about dt { color: var(--paper); font-weight: 600; }
@media (min-width: 900px) {
  .about-why { grid-template-columns: 4fr 5fr; }
  .about-rules { grid-template-columns: 3fr 2fr; }
  .about-when li { grid-template-columns: 240px 1fr; }
  .about-reach { display: grid; grid-template-columns: 7fr 13fr; }
}

/* Optical tracking only where the headline is 64 px or more (brand/type.md rule 3). */
@media (min-width: 700px) { .hero .hero-h { letter-spacing: var(--tracking-display); } }
@media (min-width: 1143px) { .display { letter-spacing: var(--tracking-display); } }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .wordmark img { width: 188px; }
}
@container narrow (max-width: 520px) {
  /* In a narrow window (a phone) Home has no sidebar and its rails run on past the edge. */
  .app-frame { height: auto; max-height: 150cqw; }
  .app { font-size: calc(100cqw / 26); width: 26em; height: auto; grid-template-columns: 1fr; }
  .app-side { display: none; }
  .app-body { padding: 1.4em 1.2em; }
  .app-hello { font-size: 2em; }
  .app-cont { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-cont .app-cw:nth-child(3) { display: none; }
  .app-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .hero .hero-h { font-size: var(--text-display); }
  .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* On a phone: the TV and the phone side by side, the laptop left out. */
  .devices { flex-wrap: nowrap; gap: 12px; }
  .dev-m { display: none; }
  .dev-screen { border-radius: var(--r-sm); }
  .founding { gap: 24px; }
  #replaces { padding-bottom: var(--s16); }
  .dev-l { flex: 2 1 0; }
  .dev-s { flex: 1 1 0; }
}
@media (max-width: 640px) {
  .terms div { grid-template-columns: 1fr; gap: 4px; }
  .join select { flex: 1 1 100%; }
  .nav .btn-small { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* /checkout (issue 256) */
.page .terms-dark dt { color: var(--dim); }
.page .terms { margin: 24px 0 32px; }
.buy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.buy label { font-size: 16px; color: var(--dim-2); }
.buy input[type=email], .buy select { font: inherit; font-size: 18px; padding: 14px 16px; width: 360px; max-width: 100%; border: 1px solid var(--dim); border-radius: 0; background-color: var(--void); color: var(--paper); }
.buy .btn { margin-top: 8px; }
.buy .btn:disabled { opacity: 0.5; cursor: default; }
.page p.small { font-size: 14px; }
.page p.small + p.small { margin-top: 8px; }
[hidden] { display: none !important; }

/* Site fixes from the 19 Oct 2026 review (issue 912). */
.nav-cta { display: flex; align-items: center; gap: 8px; }
/* Phone menu (issue 1147). */
.menu { display: none; position: relative; margin-left: auto; }
@media (max-width: 899px) { .menu { display: block; } }
.menu summary { list-style: none; cursor: pointer; padding: 8px 0; color: var(--dim-2); }
.menu summary::-webkit-details-marker { display: none; }
.menu-list { position: absolute; right: 0; top: 100%; z-index: 10; display: grid; gap: 18px; margin-top: 12px; padding: 24px; background: var(--void-2); color: var(--paper); font-size: 18px; }
.nav .btn-outline { color: var(--paper); border-color: var(--paper); }
.need { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line-on-paper); }
.need-h { font-size: var(--text-h3); font-weight: 600; line-height: 1.25; }
.founding .need { border-top-color: var(--line-on-paper); }
.closed-note { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 0 4px; }
.closed-note[hidden] { display: none; }
.closed-date { font-size: var(--text-h3); font-weight: 600; line-height: 1.25; }
.closed-note .btn { margin-top: 4px; }
@media (max-width: 560px) {
  .nav, body > .nav { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 14px; row-gap: 12px; }
  .nav-cta { width: 100%; }
  .nav-cta .btn { flex: 0 0 auto; }
}
