/* home.7.css replaces home.6.css (which stays byte-identical, the assets route caches it for a year). Changes: the Android waitlist form is gone
   (2026-11-02), so its three `.notify-*` rules are removed, and `.finale .get-app` no longer sets `align-items: center` or a single row: the finale
   holds two store groups (App Store, Google Play) that sit side by side and wrap (see `.get-app` / `.get-app-store` in styles.css). Everything else is
   home.6.css as it was.
   --- home.6.css replaced home.5.css. Changes: the light theme.
   The three house colours below are tokens now (--web-homeCard, --web-homeCard2, --web-headScrim: dark values unchanged), the page gets a
   steel wash behind the header and the hero in the light theme only (--hero-wash is "none" in dark), and the header mark swaps to
   assets/logo-light.svg on a light page. Everything else is home.5.css as it was.
   --- home.5.css: the header fits at 320 and 360px (it was 372px wide: the page scrolled sideways on a phone narrower than 390), and the map
   teaser's button label stays on one line.
   --- The landing page's layer (deploy C redesign, from the Braintrust story: one idea per screen, nothing moves, nothing tilts).
   Loaded AFTER /styles.css, and ONLY by index.html and the art bridge page (art/*.html): /styles.css is shared with the privacy, terms and share pages,
   which this file must not touch. Versioned name: new bytes mean a new name (the assets route caches it for a year).
   Colours come from the tokens in /styles.css (generated from design/theme/*.json).
   There is no animation in this file and nothing moves under the visitor's pointer, so the reduced-motion path is the same page.
   Weights: 800 on the hero line only, 700 on the h2s and the answer figure, 600 and 500 elsewhere (docs/brandbook.md section 5).
   `--display` is the ONE extra size, for the answer figure: a brandbook amendment that waits for DK's word (story.md section 12). */
/* home.8.css = home.7.css (the rules above and below this line, unchanged) plus the theme swap of the two app captures in the last block. */

:root {
  --h-card: var(--web-homeCard);
  --h-card2: var(--web-homeCard2);
  --display: clamp(60px, 15vw, 112px);
}

[hidden] { display: none !important; }

/* The light theme's steel wash: behind the header and the first screen, fading into the page. "none" in the dark theme. */
body { background-image: var(--hero-wash); background-repeat: no-repeat; background-size: 100% 900px; }

/* The header mark: logo.svg on a dark page, logo-light.svg on a light one (the chevron is white on dark and steel on light). */
.site-head .brand-wordmark img.logo-on-light { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .site-head .brand-wordmark img.logo-on-dark { display: none; }
  :root:not([data-theme="dark"]) .site-head .brand-wordmark img.logo-on-light { display: block; }
}
:root[data-theme="light"] .site-head .brand-wordmark img.logo-on-dark { display: none; }
:root[data-theme="light"] .site-head .brand-wordmark img.logo-on-light { display: block; }

/* ---- header: wordmark and three links ---- */
.site-head { position: sticky; top: 0; z-index: 100; background: var(--web-headScrim); border-bottom: 1px solid var(--border-color); }
.site-head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1180px; margin: 0 auto; padding: 6px 24px; min-height: 60px; }
.site-head .brand-wordmark { min-height: 44px; white-space: nowrap; flex-shrink: 0; }
.site-head .brand-wordmark img { width: 30px; height: 30px; display: block; }
footer .social-links a { width: 44px; height: 44px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 14px; color: var(--text-secondary); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: 8px; }
.site-nav a:hover { color: var(--accent-light); }
.site-nav a.nav-get { color: var(--accent-light); font-weight: 600; }

/* ---- sections ---- */
.s { max-width: 1180px; width: 100%; margin: 0 auto; padding: 72px 24px; }
.s + .s { border-top: 1px solid var(--border-color); }
.s h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.6px; line-height: 1.15; }
.s-lead { margin-top: 14px; font-size: 18px; line-height: 1.5; color: var(--text-secondary); max-width: 560px; }
.s-note { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--text-secondary); max-width: 560px; }
.txt-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-light); font-weight: 600; font-size: 16px; text-decoration: none; }
.txt-link:hover { text-decoration: underline; }

/* ---- 1. hero: the wish, the question, the board ---- */
.hero-s { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
/* The day's number is the largest thing on the first screen; the line under it is the page's one h1 (a sentence, not a figure). */
.hero-number { margin: 0; line-height: 1; }
.hero-number strong { display: block; font-size: clamp(88px, 11vw, 148px); font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; color: var(--accent-light); font-variant-numeric: tabular-nums; }
.hero-number-label { display: block; margin-top: 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-secondary); line-height: 1.4; }
.hero-number-sub { margin: 4px 0 0; font-size: 15px; color: var(--text-secondary); }
.hero-s h1 { margin-top: 28px; font-size: 36px; font-weight: 800; letter-spacing: -0.9px; line-height: 1.1; }
.hero-sub { margin-top: 12px; font-size: 18px; line-height: 1.5; color: var(--text-secondary); max-width: 470px; }
.hero-cta { margin-top: 20px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.hero-cta .store-badge { padding: 0; }

.board { border: 1px solid var(--border-color); border-radius: 16px; background: var(--h-card2); overflow: hidden; }
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border-color); }
.board-title { font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0.8px !important; text-transform: uppercase; color: var(--text-secondary); line-height: 1.4 !important; }
.board-count { font-size: 13px; color: var(--text-secondary); font-variant-numeric: tabular-nums; text-align: right; }
.board-count strong { color: var(--accent-light); font-weight: 600; }
.board-rows { list-style: none; }
.board-rows li + li { border-top: 1px solid var(--border-color); }
.board-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: baseline; padding: 15px 20px; min-height: 44px; color: inherit; text-decoration: none; }
.board-row:hover { background: var(--h-card); }
/* .board clips its children (overflow: hidden), so the default outside ring would be cut; draw it inside the row. */
.board-row:focus-visible { outline-offset: -2px; }
.board-day { font-size: 13px; font-weight: 600; color: var(--accent-light); font-variant-numeric: tabular-nums; letter-spacing: 0.3px; }
.board-art { font-size: 18px; font-weight: 600; letter-spacing: -0.2px; }
.board-ven { display: block; font-size: 14px; color: var(--text-secondary); font-weight: 400; }
.board-city { font-size: 15px; text-align: right; }
.board-src { padding: 12px 20px; font-size: 12px; line-height: 1.5; color: var(--text-secondary); border-top: 1px solid var(--border-color); }

/* ---- 2. the answer: one number ---- */
.answer { text-align: center; }
.answer .s-lead, .answer .s-note { margin-left: auto; margin-right: auto; }
.answer-route { margin-top: 12px; font-size: 18px; color: var(--text-secondary); }
.answer-show { margin-top: 4px; font-size: 18px; font-weight: 600; }
.answer-total { margin-top: 28px; font-size: var(--display); font-weight: 700; letter-spacing: -2px; line-height: 1; font-variant-numeric: tabular-nums; }
.answer-tag { display: inline-block; margin-top: 12px; padding: 4px 12px; border: 1px solid var(--border-default); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-light); }
.receipt { list-style: none; max-width: 440px; margin: 28px auto 0; text-align: left; border-top: 1px solid var(--border-color); }
.receipt li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border-color); font-size: 17px; font-variant-numeric: tabular-nums; }
.receipt li span:first-child { color: var(--text-secondary); }
.receipt small { display: block; font-size: 13px; color: var(--text-secondary); }

/* ---- 3 and 4: the app's own screen, straight, cropped at the card ---- */
.proof { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center; }
.proof-shot { margin: 0; }
.proof-shot img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--border-color); }
.proof.flip { grid-template-columns: 380px 1fr; }
.proof.flip .proof-shot { order: -1; }

/* ---- 5. the map ---- */
.map-s .teaser-card { margin-top: 28px; }

/* ---- 6. follow an artist, and the Android list ---- */
.finale { text-align: center; }
.finale .s-lead { margin-left: auto; margin-right: auto; }
/* The 61 px sticky header would cover the anchor target of the "Get the app" link. */
#get-app { scroll-margin-top: 76px; }
.finale .get-app { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 28px 40px; margin: 24px auto 0; }
.finale .store-badge { padding: 0; }

/* ---- footer ---- */
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; }
.foot-links a { margin-left: 0; padding: 0 12px; }

@media (max-width: 900px) {
  .s { padding: 44px 20px; }
  .s h2 { font-size: 28px; }
  .hero-s { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; padding-bottom: 36px; }
  .hero-s h1 { margin-top: 20px; font-size: 30px; letter-spacing: -0.6px; }
  .hero-number-label { margin-top: 8px; }
  .hero-sub { font-size: 17px; }
  .site-head-in { padding: 4px 16px; }
  .site-nav { gap: 0; }
  .site-nav a { padding: 0 6px; font-size: 14px; white-space: nowrap; }
  .site-head .brand-wordmark { font-size: 20px; gap: 8px; }
  .board-head { flex-direction: column; gap: 2px; padding: 14px 16px; }
  .board-count { text-align: left; }
  .board-row { display: block; padding: 11px 16px; }
  .board-day { display: block; font-size: 12px; }
  .board-art { font-size: 17px; }
  .board-city { font-size: 15px; color: var(--text-secondary); }
  .board-city::before { content: " \00B7  "; }
  .board-ven { display: none; }
  .board-rows li:nth-child(n+5) { display: none; }
  .board-src { padding: 10px 16px; }
  .answer-total { letter-spacing: -1px; margin-top: 20px; }
  .proof, .proof.flip { grid-template-columns: 1fr; gap: 24px; }
  .proof.flip .proof-shot { order: 0; }
  .proof-shot { max-width: 340px; }
}

@media (max-width: 383px) {
  /* The wordmark and the three links need about 356px; a 360px phone has 328 inside the gutters. Tighter gutters, link padding and wordmark:
     swept in Chromium at every width from 302 to 420px (nothing sticks out of the viewport; the original header needed 384px). */
  .site-head-in { padding: 4px 12px; gap: 8px; }
  .site-head .brand-wordmark { font-size: 18px; gap: 6px; }
  .site-head .brand-wordmark img { width: 26px; height: 26px; }
  .site-nav a { padding: 0 4px; font-size: 13px; min-width: 44px; }
  .teaser-link { white-space: nowrap; padding-left: 14px; padding-right: 14px; font-size: 15px; }
}

@media (max-width: 359px) {
  /* Below 360px the three links cannot share a row with the wordmark: the links take a row of their own, spread across the width. */
  .site-head-in { flex-wrap: wrap; }
  .site-nav { flex: 1 1 100%; justify-content: space-between; }
  /* The two-row header is about 105px tall, not 61: the anchor target must clear it. */
  #get-app { scroll-margin-top: 116px; }
}

/* The Theme button joins the header nav (assets/theme.1.js): on a phone it is an icon, and the wordmark and links give up a few pixels so
   the header stays one row at 360px (below 360 the links already take a row of their own). */
@media (max-width: 479px) {
  .site-head-in { gap: 6px; }
  .site-head .brand-wordmark { font-size: 17px; gap: 5px; }
  .site-head .brand-wordmark img { width: 24px; height: 24px; }
  .site-nav a { padding: 0 3px; font-size: 13px; min-width: 36px; }
}

/* Screens that carry a dark and a light capture (the trip card, the Price TBA card): both images sit in the figure and the theme picks one by CSS
   alone, with the header logo's three selectors above (system, manual light, manual dark). A media-query picture would ignore the manual choice. */
.proof-shot img.shot-on-light { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .proof-shot img.shot-on-dark { display: none; }
  :root:not([data-theme="dark"]) .proof-shot img.shot-on-light { display: block; }
}
:root[data-theme="light"] .proof-shot img.shot-on-dark { display: none; }
:root[data-theme="light"] .proof-shot img.shot-on-light { display: block; }
