/* ResGeek public site. Tokens follow DESIGN.md; the day stage paints its own time-of-day light. */
@font-face {
  font-family: "Inter Variable";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque Variable";
  src: url("/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --brand: #c65a1e;
  --brand-strong: #b9531b;
  --brand-deep: #a34714;
  --brand-wash: #fff4eb;
  --amber: #f4a261;
  --ok-wash: #e2f1e8;
  --ok-ink: #1f6b43;
  --focus: #7b4de0;
  --canvas: #fff8f3;
  --surface: #ffffff;
  --border: #e8dcd3;
  --ink: #352823;
  --ink-soft: #5c4a40;
  --muted: #705c50;
  --night: #0f1419;
  --night-2: #1b2430;
  --dusk: #263244;
  --alert: #b91c1c;
  --radius: 0;
  --radius-sm: 0;
  --shadow: 0 1px 2px rgb(77 40 16 / 0.05), 0 14px 34px -14px rgb(77 40 16 / 0.18);
  --font: "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bricolage Grotesque Variable", "Inter Variable", ui-sans-serif, system-ui, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0f1419;
    --surface: #1b2430;
    --border: #39485a;
    --ink: #f8f2ec;
    --ink-soft: #e6e0da;
    --muted: #b9b8b5;
    --brand-deep: #f4a261;
    --brand-wash: #3a2a20;
    --ok-wash: #1d3a2a;
    --focus: #bba0ff;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 18px 40px -18px rgb(0 0 0 / 0.6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; font-weight: 800; font-family: var(--font-display); }
p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: rgb(198 90 30 / 0.25); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 0; }
img, svg { display: block; max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 0; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: 780px; }

/* ── Buttons & forms ───────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border: 0; border-radius: 0; background: var(--brand-strong); color: #fff; font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.btn:hover { background: var(--brand-deep); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-small { height: 40px; padding: 0 16px; font-size: 15px; box-shadow: none; }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { background: #fff4eb; }
.link-quiet { font-weight: 600; text-decoration: none; color: var(--ink-soft); }
.link-quiet:hover { color: var(--ink); }

.access { margin-top: 30px; display: grid; gap: 12px; max-width: 520px; }
.access-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.access input, .access select { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #9c897d; border-radius: 0; background: rgb(255 255 255 / 0.92); color: #352823; font: 500 16px var(--font); }
.access select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #705c50 50%), linear-gradient(135deg, #705c50 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.access input::placeholder { color: #5c4a40; }
.access input:focus, .access select:focus { outline: 3px solid rgb(123 77 224 / 0.4); outline-offset: 0; border-color: var(--focus); }
.access [aria-invalid="true"] { border-color: var(--alert); }
.access .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--ink-soft); min-height: 1.4em; }
.form-note.is-error { color: var(--alert); font-weight: 600; }
.access.is-done .access-fields, .access.is-done .btn { display: none; }
.access.is-done .form-note { font-size: 18px; font-weight: 700; color: var(--ok-ink); }

/* ── Header ────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; padding: 14px var(--gutter); padding-top: max(14px, env(safe-area-inset-top, 0px)); background: #fff8f3; border-bottom: 1px solid var(--border); color: #352823; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 800 27px/1 var(--font-display); letter-spacing: -0.045em; color: inherit; }
.logo svg { width: 36px; height: 32px; color: #c65a1e; }
.logo b { font-weight: inherit; color: var(--brand-strong); }
.logo-sm { font-size: 23px; }
.logo-sm svg { width: 31px; height: 27px; }
.foot .logo b, .foot .logo svg { color: #f4a261; }
.logo .mark-front { fill: #fff8f3; }
.foot .logo .mark-front { fill: #0f1419; }
.top nav { display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
.top nav a { text-decoration: none; color: #5c4a40; }
.top nav a:hover { color: #352823; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.top .link-quiet { color: #5c4a40; }

/* ── The day ───────────────────────────────────────── */
.day { position: relative; isolation: isolate; }
/* The stage pins to the viewport for exactly the height of the day, then scrolls away with it. */
.stage-track { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.sky { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.stage[data-moment="0"] .sky-0, .stage[data-moment="1"] .sky-1, .stage[data-moment="2"] .sky-2, .stage[data-moment="3"] .sky-3 { opacity: 1; }
.sky-0 { background: radial-gradient(60% 55% at 78% 34%, rgb(255 205 160 / 0.75), transparent 70%), linear-gradient(180deg, #fbe7dc 0%, #fcefe6 48%, #fff4eb 100%); }
.sky-1 { background: radial-gradient(60% 55% at 78% 30%, rgb(255 255 255 / 0.9), transparent 70%), linear-gradient(180deg, #eef3f8 0%, #fff8f3 52%, #e2f1e8 100%); }
.sky-2 { background: radial-gradient(55% 55% at 76% 42%, rgb(239 68 68 / 0.28), transparent 70%), linear-gradient(180deg, #fff3f1 0%, #fde7e4 100%); }
.sky-3 { background: radial-gradient(55% 55% at 76% 44%, rgb(198 90 30 / 0.55), transparent 70%), linear-gradient(180deg, #1b2430 0%, #263244 46%, #0f1419 100%); }

.wall-screen-wrap { position: absolute; right: max(4vw, 32px); top: 50%; width: min(46vw, 660px); transform: translateY(-46%); }
.tv { position: relative; aspect-ratio: 16 / 9; background: #0b0f13; border-radius: 0; padding: 10px; box-shadow: 0 2px 4px rgb(0 0 0 / 0.2), 0 30px 60px -20px rgb(30 16 8 / 0.55); container-type: inline-size; }
.tv::after { content: ""; position: absolute; left: 50%; bottom: -26px; width: 22%; height: 10px; transform: translateX(-50%); border-radius: 0; background: rgb(11 15 19 / 0.25); }
.tv-clock { position: absolute; z-index: 3; top: 20px; right: 22px; padding: 4px 10px; border-radius: 0; background: rgb(11 15 19 / 0.55); color: #fff; font: 700 clamp(11px, 2.1cqw, 15px)/1.2 var(--font); font-variant-numeric: tabular-nums; }
.slide { position: absolute; inset: 10px; border-radius: 0; overflow: hidden; opacity: 0; transition: opacity 0.7s ease; }
.slide.is-on { opacity: 1; }
.example-note { margin-top: 38px; text-align: center; font-size: 13px; font-weight: 600; color: #705c50; }
.stage[data-moment="3"] .example-note { color: #b9b8b5; }

/* Slide content, sized to the screen (cqw). */
.s-welcome { height: 100%; padding: 7cqw 7cqw; background: linear-gradient(140deg, #fff6ec 0%, #fdf0e4 55%, #fce9da 100%); color: #352823; display: grid; grid-template-columns: 1.1fr 1fr; align-content: center; gap: 4cqw; }
.s-small { font-size: 2.4cqw; font-weight: 700; color: #b9531b; text-transform: uppercase; letter-spacing: 0.12em; grid-column: 1 / -1; }
.s-big { font-size: 9cqw; font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; }
.s-menu { align-self: end; background: rgb(255 255 255 / 0.7); border-radius: 0; padding: 2.4cqw 3cqw; }
.s-label { font-size: 1.8cqw; font-weight: 700; color: #5c4a40; }
.s-menu ul { margin: 1cqw 0 0; padding: 0; list-style: none; font-size: 2.6cqw; font-weight: 700; line-height: 1.5; }
.s-agenda { height: 100%; padding: 5cqw 6cqw; background: radial-gradient(ellipse at top left, #263244, #0f1419 70%); color: #fafafa; display: grid; align-content: center; gap: 2.4cqw; }
.s-room { font-size: 5.4cqw; font-weight: 800; letter-spacing: -0.02em; border-bottom: 0.3cqw solid rgb(255 255 255 / 0.15); padding-bottom: 1.6cqw; }
.s-now { background: #b9531b; border-radius: 0; padding: 2.4cqw 3cqw; }
.s-next { background: rgb(255 255 255 / 0.07); border-radius: 0; padding: 1.8cqw 3cqw; }
.s-tag { display: inline-block; font-size: 1.7cqw; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: #fce9da; }
.s-tag-quiet { color: #f8b98a; }
.s-title { font-size: 3.6cqw; font-weight: 700; line-height: 1.15; margin-top: 0.6cqw; }
.s-title-sm { font-size: 2.8cqw; font-weight: 700; margin-top: 0.4cqw; }
.s-meta { font-size: 2cqw; opacity: 0.82; margin-top: 0.6cqw; }
.s-alert { height: 100%; padding: 6cqw 7cqw; background: #b91c1c; color: #fff; display: grid; align-content: center; text-align: center; gap: 1.6cqw; }
.s-alert-kicker { font-size: 2.6cqw; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.9; }
.s-alert-title { font-size: 7cqw; font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; }
.s-alert-body { font-size: 2.8cqw; opacity: 0.95; }
.s-split { height: 100%; display: grid; grid-template-columns: 2.6fr 1fr; grid-template-rows: 1fr auto; }
.s-main { padding: 6cqw 5cqw; background: linear-gradient(140deg, #b9531b 0%, #6e2a0a 60%, #1b2430 100%); color: #fff; display: grid; align-content: center; gap: 1cqw; }
.s-main .s-small { color: #f4a261; }
.s-big-sm { font-size: 7cqw; }
.s-side { background: #0f1419; color: #fff; display: grid; align-content: center; justify-items: center; gap: 1.2cqw; }
.s-side-time { font-size: 5cqw; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.s-side-time span { font-size: 0.4em; margin-left: 0.2em; color: #b9b8b5; }
.s-side-wx { font-size: 2.2cqw; color: #f4a261; font-weight: 700; }
.s-ticker { grid-column: 1 / -1; background: #f4a261; color: #1b2430; font-size: 2.2cqw; font-weight: 700; padding: 1.2cqw 3cqw; display: flex; gap: 4cqw; white-space: nowrap; overflow: hidden; }
.s-ticker span::before { content: "•"; margin-right: 1.4cqw; color: #a34714; }

.moments { position: relative; z-index: 1; }
.moment { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 120px var(--gutter) 140px; max-width: calc(50vw + 40px); color: #352823; }
.moment-hero { padding-top: 80px; }
.moment h1 { font-size: clamp(42px, 5.6vw, 76px); }
.moment h2 { font-size: clamp(34px, 4.2vw, 56px); }
.moment > p { font-size: clamp(17px, 1.5vw, 20px); color: #47382f; max-width: 34em; }
.moment .lede { font-size: clamp(18px, 1.6vw, 21px); }
.points { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-weight: 600; color: #47382f; }
.points li { display: flex; gap: 10px; align-items: baseline; }
.points li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--brand); transform: translateY(-2px); }
#m2 #m2 .points li::before { background: #dc2626; }
#m3 { color: #f8f2ec; }
#m3 > p, #m3 .points { color: #e6e0da; }
#m3 #m3 .points li::before { background: var(--amber); }

.rail { position: sticky; bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 5; display: flex; justify-content: center; gap: 4px; width: max-content; margin: -76px auto 24px; padding: 5px; border-radius: 0; background: #fff; border: 1px solid var(--border); }
.rail a { padding: 9px 16px; border-radius: 0; font: 700 14px/1 var(--font); font-variant-numeric: tabular-nums; color: #5c4a40; text-decoration: none; transition: background 0.3s, color 0.3s; }
.rail a:hover { color: #352823; }
.rail a[aria-current="step"] { background: #b9531b; color: #fff; }

/* ── Bands ─────────────────────────────────────────── */
.band { padding: clamp(80px, 11vw, 140px) 0; background: var(--canvas); position: relative; }
.band h2 { font-size: clamp(32px, 4vw, 52px); }
.band .sub { margin-top: 14px; font-size: 19px; color: var(--ink-soft); max-width: 40em; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.copy { display: grid; gap: 16px; }
.copy p { color: var(--ink-soft); font-size: 18px; max-width: 34em; }

.overview-mock { margin: 0; padding: 26px; border-radius: 0; background: var(--surface); border: 1px solid var(--border); position: relative; }
.overview-mock figcaption, .receipt .r-note { font-size: 13px; color: var(--muted); }
.overview-mock figcaption { position: absolute; top: 26px; right: 26px; font-weight: 600; }
.om-hello { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.om-status { color: var(--ink-soft); font-size: 15px; margin-top: 2px; }
.om-grid { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.om-tile p { margin-top: 8px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; }
.om-shot { aspect-ratio: 16 / 9; border-radius: 0; }

.om-a { background: linear-gradient(140deg, #fff6ec, #fce9da); }
.om-b { background: linear-gradient(140deg, #f4a261, #b9531b); }
.om-c { background: radial-gradient(ellipse at top left, #263244, #0f1419 70%); }
.om-d { background: linear-gradient(140deg, #a39a92, #5c4a40); filter: grayscale(1); opacity: 0.45; }
.pill { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 0; }
.pill-lit { background: var(--ok-wash); color: var(--ok-ink); }
.pill-dark { background: #fde8e8; color: #9b1c1c; }
@media (prefers-color-scheme: dark) {
  .pill-lit { color: #9ed2b4; }
  .pill-dark { background: #3b1717; color: #fca5a5; }
}

.band-hw { background: var(--brand-wash); border-block: 1px solid var(--border); }
.cmd { margin: 8px 0 0; padding: 14px 16px; border-radius: 0; background: #0f1419; color: #ffdbb6; font: 500 14px/1.5 ui-monospace, "SF Mono", Menlo, monospace; overflow-x: auto; }
.receipt { justify-self: center; width: min(100%, 420px); padding: 28px 28px 22px; background: #fffdf9; color: #352823; border-radius: 0; box-shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 24px 50px -24px rgb(77 40 16 / 0.45); font-variant-numeric: tabular-nums;
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 50% 100% / 18px 100% repeat-x; mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 50% 100% / 18px 100% repeat-x; padding-bottom: 34px; }
.r-title { font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px; color: #a34714; padding-bottom: 12px; border-bottom: 2px dashed #e1ddd4; }
.receipt [role="row"] { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed #e1ddd4; font-size: 15px; }
.receipt [role="row"] span:last-child { font-weight: 700; white-space: nowrap; }
.receipt .r-total { border-bottom: 0; font-size: 22px; font-weight: 800; padding-top: 16px; }
.receipt .r-note { color: #705c50; margin-top: 4px; }

.places { margin-top: 40px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.place-tabs { display: grid; gap: 6px; }
.place-tabs button { text-align: left; padding: 14px 16px; border: 1px solid transparent; border-radius: 0; background: transparent; color: var(--ink-soft); font: 700 16px var(--font); cursor: pointer; transition: background 0.2s, color 0.2s; }
.place-tabs button:hover { background: var(--brand-wash); color: var(--ink); }
.place-tabs button[aria-selected="true"] { background: var(--surface); border-color: var(--border); color: var(--brand-strong); box-shadow: inset 0 -2px 0 var(--brand-strong); }
@media (prefers-color-scheme: dark) { .place-tabs button[aria-selected="true"] { color: #f8b98a; } }
.place-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; padding: 32px; border-radius: 0; background: var(--surface); border: 1px solid var(--border); }
.place-copy h3 { font-size: 26px; }
.place-copy p { margin-top: 10px; color: var(--ink-soft); }
.mini-tv { aspect-ratio: 16 / 9; padding: 8px; border-radius: 0; background: #0b0f13; container-type: inline-size; box-shadow: 0 2px 4px rgb(0 0 0 / 0.15), 0 20px 40px -22px rgb(30 16 8 / 0.5); }
.mini-content { height: 100%; border-radius: 0; padding: 7cqw; display: grid; align-content: center; gap: 1.6cqw; background: linear-gradient(140deg, #b9531b, #6e2a0a 70%, #1b2430); color: #fff; transition: opacity 0.35s; }
.mt-small { font-size: 3.4cqw; font-weight: 700; color: #f4a261; text-transform: uppercase; letter-spacing: 0.1em; }
.mt-big { font-size: 8cqw; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.mt-meta { font-size: 3.6cqw; opacity: 0.85; }

.voices { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.voice { margin: 0; padding: 26px; border-radius: 0; background: var(--surface); border: 1px solid var(--border); }
.voice blockquote { margin: 0; font-size: 19px; font-weight: 600; }
.voice figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; }

.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { border-radius: 0; background: var(--surface); border: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform 0.25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-soft); max-width: 40em; }

.closing { padding: clamp(90px, 12vw, 150px) 0; background: #1b2430; color: #f8f2ec; text-align: center; }
.closing h2 { font-size: clamp(36px, 5vw, 62px); }
.closing p { margin: 14px auto 0; color: #e6e0da; font-size: 19px; max-width: 32em; }
.closing .access { margin: 34px auto 0; text-align: left; }
.closing .access .btn { justify-self: stretch; }
.closing .form-note { color: #cfcbc6; text-align: center; }
.closing .access.is-done .form-note { color: #9ed2b4; }

.foot { padding: 34px 0 max(34px, env(safe-area-inset-bottom, 0px)); background: #0f1419; color: #b9b8b5; font-size: 15px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot .logo { color: #fff; }
.foot-links { margin-left: auto; }
.foot a { color: #e6e0da; }

/* ── Smaller screens ───────────────────────────────── */
@media (max-width: 1000px) {
  .top nav { display: none; }
  .wall-screen-wrap { left: 50%; right: auto; top: 86px; width: min(88vw, 560px); transform: translateX(-50%); }
  .example-note { margin-top: 30px; }
  .moment { max-width: none; justify-content: flex-end; padding: 0 var(--gutter) 110px; min-height: 100vh; min-height: 100svh; }
  .moment::before { content: ""; height: calc(min(88vw, 560px) * 0.5625 + 150px); flex: 0 0 auto; }
  .moment-hero { padding-top: 0; }
  .moment > p, .moment .points { max-width: none; }
  .two, .place-panel { grid-template-columns: 1fr; }
  .places { grid-template-columns: 1fr; }
  .place-tabs { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .place-tabs button { flex: 0 0 auto; padding: 10px 14px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .access-fields { grid-template-columns: 1fr; }
  .access .btn { justify-self: stretch; }
  .top-actions .link-quiet { display: none; }
  /* On phones the rail would float over the form; the moments read fine without it. */
  .rail { display: none; }
  .moment { padding-bottom: 96px; }
  .moment::before { height: calc(88vw * 0.5625 + 128px); }
  .overview-mock { padding: 18px; }
  .om-grid { gap: 14px 10px; }
  .receipt { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sky, .slide, .mini-content, .rail a { transition: none; }
}
/* The evening split screen has its own clock. */
.stage[data-moment="3"] .tv-clock { opacity: 0; }
.tv-clock { transition: opacity 0.4s; }

/* ── Footer (all pages) ────────────────────────────── */
.foot { padding-top: 48px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px 32px; align-items: start; }
.foot-brand { display: grid; gap: 12px; }
.foot-col { display: grid; gap: 8px; font-size: 15px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }
.foot-h { color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.foot-copy { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid #39485a; font-size: 14px; }
.top nav a[aria-current="page"] { color: var(--brand-deep); }

/* ── Inner pages ───────────────────────────────────── */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 5vw, 56px); background: var(--brand-wash); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 66px); max-width: 15em; }
.page-hero .lede { margin-top: 18px; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 36em; }
.page-hero .hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-top: 24px; padding-bottom: clamp(72px, 9vw, 120px); }
.toc { position: sticky; top: 92px; align-self: start; display: grid; gap: 2px; font-size: 15px; }
.toc p { font-weight: 700; margin-bottom: 8px; }
.toc a { padding: 6px 10px; border-radius: 0; text-decoration: none; color: var(--ink-soft); }
.toc a:hover { background: var(--brand-wash); color: var(--ink); }
.prose { max-width: 44em; }
.prose > section { padding-top: 12px; scroll-margin-top: 92px; }
.prose > section + section { margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--border); }
.prose h2 { font-size: clamp(28px, 3vw, 38px); }
.prose h3 { font-size: 21px; margin-top: 30px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--ink-soft); font-size: 18px; }
.prose p { margin-top: 14px; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose a:not(.btn):not(.link-quiet) { color: var(--brand-deep); font-weight: 600; }
.prose code { font: 500 0.9em/1.4 ui-monospace, "SF Mono", Menlo, monospace; background: var(--brand-wash); color: var(--ink); padding: 2px 6px; border-radius: 0; }
.prose .cmd code { background: none; color: inherit; padding: 0; }
.prose .cmd { margin-top: 16px; }

.steps { list-style: none; counter-reset: step; padding: 0 !important; gap: 14px !important; }
.steps > li { counter-increment: step; position: relative; padding: 18px 20px 18px 66px; border-radius: 0; background: var(--surface); border: 1px solid var(--border); color: var(--ink-soft); }
.steps > li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 0; display: grid; place-items: center; background: var(--brand-strong); color: #fff; font-weight: 800; font-size: 15px; }
.steps > li > strong:first-child { display: block; color: var(--ink); font-size: 18px; margin-bottom: 2px; }

.note { margin-top: 20px; padding: 16px 18px; border-radius: 0; background: var(--ok-wash); color: var(--ink); font-size: 16px; border: 1px solid rgb(47 122 104 / 0.25); }
.note p { margin: 0; color: inherit; font-size: inherit; }
.note.warn { background: #fff4e5; border-color: #f3d3a4; color: #4a2c06; }
@media (prefers-color-scheme: dark) { .note.warn { background: #3a2a14; color: #fde7c4; } }

.cards { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { padding: 22px; border-radius: 0; background: var(--surface); border: 1px solid var(--border); display: grid; gap: 8px; align-content: start; }
.card h3 { margin: 0; font-size: 19px; }
.card p, .card li { font-size: 16px; color: var(--ink-soft); margin: 0; }
.card ul { margin: 4px 0 0; padding-left: 1.2em; gap: 6px; display: grid; }
.card .tag { justify-self: start; padding: 3px 10px; border-radius: 0; background: var(--ok-wash); color: var(--ok-ink); font-weight: 700; font-size: 13px; }
.card.pick { border-color: var(--brand); }
.card.pick .tag { background: var(--brand-wash); color: var(--brand-deep); }
@media (prefers-color-scheme: dark) { .card .tag { color: #f4a261; } .card.pick .tag { color: #ffdbb6; } .prose a:not(.btn):not(.link-quiet) { color: #b9aef5; } .top nav a[aria-current="page"] { color: var(--brand-deep); } }

.price { margin: clamp(8px, 2vw, 20px) auto 0; max-width: 620px; padding: clamp(26px, 4vw, 40px); border-radius: 0; background: var(--surface); border: 1px solid var(--border); display: grid; gap: 14px; }
.price-amount { font-size: clamp(48px, 7vw, 76px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price-amount span { font-size: 20px; letter-spacing: 0; font-weight: 700; color: var(--ink-soft); margin-left: 8px; }
.price ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.price li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.price li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%232f7a68' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.price .btn { justify-self: start; margin-top: 8px; }

.draft { margin-bottom: 28px; padding: 14px 18px; border-radius: 0; background: #fff4e5; color: #4a2c06; border: 1px solid #f3d3a4; font-size: 16px; }
.draft strong { color: inherit; }
@media (prefers-color-scheme: dark) { .draft { background: #3a2a14; color: #fde7c4; border-color: #5c4120; } }
.fill { background: #fff4e5; color: #7a4100; border-radius: 0; padding: 0 4px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .fill { background: #3a2a14; color: #fde7c4; } }

.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding-bottom: clamp(72px, 9vw, 120px); align-items: start; }
.signup .access { margin-top: 0; max-width: none; padding: clamp(22px, 3vw, 32px); border-radius: 0; background: var(--surface); border: 1px solid var(--border); }
.signup .access-fields { grid-template-columns: 1fr; }
.signup .access .btn { justify-self: stretch; }
.signup textarea { width: 100%; min-height: 96px; padding: 12px 14px; border: 1px solid #9c897d; border-radius: 0; background: rgb(255 255 255 / 0.92); color: #352823; font: 500 16px/1.5 var(--font); resize: vertical; }
.signup textarea::placeholder { color: #5c4a40; }
.signup textarea:focus { outline: 3px solid rgb(198 90 30 / 0.35); outline-offset: 0; border-color: var(--brand); }
.signup .already { margin-top: 18px; font-size: 16px; color: var(--ink-soft); }
.signup .already a { color: var(--brand-deep); font-weight: 700; }

@media (max-width: 1000px) {
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .toc p { width: 100%; margin-bottom: 0; }
  .toc a { background: var(--surface); border: 1px solid var(--border); }
  .signup { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps > li { padding-left: 58px; }
  .steps > li::before { left: 14px; }
}
.page-body { padding-bottom: clamp(72px, 9vw, 120px); }
.prose-after { margin: clamp(56px, 7vw, 88px) auto 0; }
.form-fine { font-size: 14px; color: var(--ink-soft); }
.form-fine a { color: var(--brand-deep); font-weight: 600; }
.access.is-done .form-fine { display: none; }
.faq details p a { color: var(--brand-deep); font-weight: 600; }
@media (prefers-color-scheme: dark) { .faq details p a, .signup .already a, .form-fine a { color: #b9aef5; } }

/* Setup page downloads */
.cards.downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .cards.downloads { grid-template-columns: minmax(0, 1fr); } }
.downloads .card { grid-template-rows: auto auto 1fr auto auto; }
.downloads .btn { justify-self: start; margin-top: 6px; }
.downloads .dl-meta { font-size: 14px; color: var(--ink-soft); }
.downloads .dl-soon { justify-self: start; margin-top: 6px; font-weight: 700; font-size: 15px; color: var(--ink-soft); }

/* Inner pages in dark mode: a dark header instead of the cream one the home page's day stage needs. */
@media (prefers-color-scheme: dark) {
  .page .top { background: #0f1419; border-bottom-color: #39485a; color: #f8f2ec; }
  .page .top nav a, .page .top .link-quiet { color: #e6e0da; }
  .page .top nav a:hover, .page .top .link-quiet:hover { color: #fff; }
  .page .top nav a[aria-current="page"] { color: #f4a261; }
  .page .top .logo b { color: #f4a261; }
  .page .top .logo .mark-front { fill: #0f1419; }
  .page .top .logo svg { color: #f4a261; }
}
