/* caught. holding page (Leigh, 22 October 2026): the Evidence Room layout in Game Night's colours. Paper and ink,
   the red stop and call to action, one ink stage for playing together. The Softer look (Leigh, 26 October 2026):
   thin soft-violet edges and a pale lifted shadow instead of chunky ink outlines; the game takes the same look.
   Brand from apps/web/DESIGN.md. Bricolage Grotesque is self-hosted (SIL Open Font License). */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #EEF1EE; --ink: #1B1F3B; --card: #FBFCFA; --muted: #555A76; --line: #D3D8E0;
  --red: #D6392A; --uv: #6A45EE; --uv-tint: #EBE6FF; --real: #157A55; --real-tint: #E0F2E9; --fake-tint: #FBE6E2;
  /* The ink panel's own colours, set once here. */
  --panel: #1B1F3B; --panel-fg: #FFFFFF; --panel-text: #DCDEE8; --panel-label: #C9BEFF; --panel-line: #4A5080;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  /* The Softer look's edges and lift; holding-dark.css has the dark pair. */
  --edge: #C9C6DE; --lift: #DDD7F6; --bw: 1.5px; --bw-small: 1.25px;
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.45 }
button, input { font: inherit }
a { color: var(--uv); text-underline-offset: 3px }
:focus-visible { outline: 3px solid var(--uv); outline-offset: 3px }
.in { max-width: 1040px; margin: 0 auto; padding: 28px max(16px, env(safe-area-inset-left, 0px)) 0; display: grid; gap: 44px }
.stack { display: grid; gap: 44px }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }

/* Header and hero */
header { display: flex; justify-content: space-between; align-items: center; gap: 12px }
.head-right { display: flex; align-items: center; gap: 10px }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: var(--bw) solid var(--edge); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0 }
.theme-toggle svg { width: 20px; height: 20px }
.theme-toggle .moon { display: none } .is-dark .theme-toggle .sun { display: none } .is-dark .theme-toggle .moon { display: block }
.wordmark { font-weight: 800; letter-spacing: -1.5px; font-size: 30px; line-height: 1; color: var(--ink); text-decoration: none }
.wordmark span, h1 span, .foot-mark span { color: var(--red) }
.open-date { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 6px 12px; letter-spacing: 1px }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center }
h1 { font-size: clamp(40px, 7vw, 76px); line-height: .98; letter-spacing: -3px; font-weight: 800; margin: 0 0 18px; text-wrap: balance }
.lede { color: var(--muted); font-size: 18px; max-width: 46ch; margin: 0 }

/* The try-it deck: three rounds, four cards, one fake */
.deck { position: relative; background: var(--card); border: var(--bw) solid var(--edge); border-radius: 18px; box-shadow: 6px 6px 0 var(--lift); padding: 22px; display: grid; gap: 14px; overflow: clip }
.deck::before { content: ''; position: absolute; inset: -40% -10%; background: radial-gradient(closest-side, rgba(106, 69, 238, .16), transparent 70%); transform: translateX(-60%); pointer-events: none; transition: transform 1.1s ease }
.deck.lit::before { transform: translateX(40%) }
.deck-top { display: flex; justify-content: space-between; color: var(--muted) }
.deck-top .mono:first-child { color: var(--uv) }
.deck h2 { margin: 0; font-size: 24px; letter-spacing: -.6px; line-height: 1.15 }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 1 }
.card { position: relative; border: var(--bw-small) solid var(--edge); border-radius: 12px; background: var(--paper) }
.card button { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; border: 0; background: none; color: var(--ink); padding: 12px 14px; font-size: 16px; font-weight: 650; line-height: 1.3; cursor: pointer; border-radius: 10px }
.card button:hover { background: var(--uv-tint) }
.card .letter { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 3px }
.done .card button { cursor: default }
.done .card button:hover { background: none }
.done .card.picked { box-shadow: 0 0 0 3px var(--uv) }
.settled .card.is-real { background: var(--real-tint); border-color: var(--real) }
.settled .card.is-fake { background: var(--fake-tint); border-color: var(--red) }
.settled .card.is-fake button { padding-right: 96px }
.rosette { position: absolute; right: 6px; top: 50%; width: 84px; height: 84px; margin-top: -42px; color: var(--red); transform: rotate(-10deg); filter: drop-shadow(0 4px 12px rgba(214, 57, 42, .3)); pointer-events: none }
.rosette .ring { fill: none; stroke: currentColor } .rosette .fill { fill: rgba(214, 57, 42, .14) }
.rosette text { fill: currentColor; font-family: var(--mono); font-weight: 700 }
@media (prefers-reduced-motion: no-preference) { .rosette { animation: press .45s cubic-bezier(.2, 1.5, .4, 1) } @keyframes press { from { transform: rotate(-30deg) scale(1.8); opacity: 0 } } }
.verdict { margin: 0; font-weight: 800; font-size: 20px; letter-spacing: -.4px }
.verdict.right { color: var(--real) } .verdict.wrong { color: var(--red) }
.why { margin: 0; color: var(--muted); font-size: 15px }
.sources { margin: 0; font-size: 14px }
.next { background: var(--ink); color: var(--paper); border: 0; border-radius: 12px; padding: 13px; font-weight: 800; cursor: pointer }
.score { font-size: 64px; font-weight: 800; letter-spacing: -3px; line-height: 1; margin: 0 }
.to-list { font-weight: 700 }

/* The hero line under the headline: what the game is, in one breath. */
.lede-note { margin: 14px 0 0; color: var(--muted); font-size: 15px }
.lede-note b { color: var(--ink) }

/* The wager inside the taster: the second beat of every round. */
.wager-ask { display: grid; gap: 10px; animation: rise .25s ease both }
.wager-ask p { margin: 0; font-weight: 800; font-size: 18px; letter-spacing: -.3px }
.wager-ask .opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px }
.wager-ask button { font: inherit; display: grid; gap: 2px; padding: 10px 8px; border-radius: 12px; border: var(--bw-small) solid var(--edge); background: var(--card); color: var(--ink); cursor: pointer; text-align: center }
.wager-ask button b { font-size: 16px }
.wager-ask button small { font-size: 12px; color: var(--muted) }
.wager-ask button:hover, .wager-ask button:focus-visible { background: var(--uv); border-color: var(--uv); color: #fff }
.wager-ask button:hover small, .wager-ask button:focus-visible small { color: #EDE8FF }
.points { font-size: 15px; font-weight: 800; justify-self: start; border-radius: 999px; padding: 3px 12px; color: #fff }
.points.up { background: var(--real) } .points.down { background: var(--red) } .points.flat { background: var(--muted) }
.deck .tally { color: var(--uv); font-weight: 800 }
@keyframes rise { from { transform: translateY(6px) } }

/* The game-night stage: one container for everything about playing together. */
.stage { background: var(--panel); color: var(--panel-text); border-radius: 26px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 28px; overflow: hidden; position: relative }
.stage::before { content: ''; position: absolute; inset: -30% 40% 40% -20%; background: radial-gradient(closest-side, rgba(106, 69, 238, .35), transparent 70%); pointer-events: none }
.stage-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; position: relative }
.stage h2 { color: var(--panel-fg); font-size: clamp(34px, 5vw, 56px); line-height: .98; letter-spacing: -2.2px; margin: 0 0 18px; text-wrap: balance }
.switch { display: inline-grid; grid-template-columns: 1fr 1fr; background: rgba(255,255,255,.08); border-radius: 999px; padding: 4px; margin-bottom: 18px }
.switch button { font: inherit; font-weight: 700; font-size: 15px; border: 0; background: none; color: var(--panel-text); padding: 9px 18px; border-radius: 999px; cursor: pointer }
.switch button[aria-selected=true] { background: #fff; color: #1B1F3B }
.stage .say { margin: 0; font-size: 18px; max-width: 42ch }
.stage .say b { color: var(--panel-fg) }
.screen { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; background: #090A12; box-shadow: 0 0 0 6px #2B2E38, 0 30px 60px rgba(0,0,0,.35); overflow: hidden; min-width: 0 }
.screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #090A12 }
.screen [hidden] { display: none !important }
/* The advert is 16:9, so its frame is too; the call board keeps 4:3. */
.screen:has([data-screen=tv]:not([hidden])) { aspect-ratio: 16 / 9 }

/* The call board: a round plays itself when you look at it. */
.call { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 14px; min-width: 0 }
.call-bar { display: flex; justify-content: space-between; color: #9EA3C4; font-size: 13px }
.call-bar .live { color: #ff8577 }
.board { background: #1B1F3B; border-radius: 12px; padding: 14px; display: grid; gap: 7px; align-content: start; position: relative; overflow: hidden; min-width: 0 }
.board .q { color: #fff; font-weight: 800; font-size: clamp(15px, 2vw, 19px); letter-spacing: -.3px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; min-width: 0 }
.board .q span { color: #C9BEFF; font-weight: 600; font-size: 14px; margin-left: auto }
.board .row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; min-width: 0; background: #262b4f; border-radius: 9px; padding: 7px 10px; color: #DCDEE8; font-size: clamp(12px, 1.4vw, 14px); transition: background .4s, outline-color .4s; outline: 2px solid transparent }
.board .row i { font-style: normal; font-weight: 700; font-size: 12px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #8e93b5; display: grid; place-items: center }
.board .row .n { font-weight: 800; color: #C9BEFF; opacity: 0; transition: opacity .3s }
.board.revealed .row .n { opacity: 1 }
.board.revealed .row.fake { background: #4a2233; outline-color: #EE5F4F }
.board.revealed .row.fake .n { color: #ff9d90 }
.board .sweep { position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(90deg, transparent, rgba(179, 164, 255, .45), transparent); opacity: 0 }
.board.sweeping .sweep { animation: sweep .9s ease-in-out forwards }
@keyframes sweep { 0% { left: -40%; opacity: 1 } 100% { left: 110%; opacity: 1 } }
.faces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px }
.face { background: #171a2c; border-radius: 10px; padding: 8px 6px; display: grid; justify-items: center; gap: 3px; color: #A9ADC8; font-size: 12px; border: 1.5px solid transparent; transition: border-color .3s }
.face .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 13px }
.face b { color: #fff; font-size: 13px }
.face.locked { border-color: #6A45EE }
.face .st { min-height: 1.3em }
.face .ok { color: #6fd4a5; font-weight: 700 } .face .no { color: #ff9d90; font-weight: 700 }
.replay { font: inherit; font-size: 12px; border: 0; border-radius: 999px; padding: 3px 10px; background: rgba(255,255,255,.12); color: #fff; cursor: pointer }
.call-bar { align-items: center } .call-bar .live { margin-left: 8px }

/* The remote-teams piece, inside the stage: the pitch, then four plain reasons. */
.stage-teams { border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; position: relative }
.stage-teams h3 { color: var(--panel-fg); font-size: 28px; letter-spacing: -1px; line-height: 1.05; margin: 0 0 10px; text-wrap: balance }
.stage-teams p { margin: 0 }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px }
.reasons li { display: grid; gap: 2px; font-size: 15px }
.reasons b { color: var(--panel-fg); font-size: 16px }
.stage .small { font-size: 14px; color: #C9BEFF; margin-top: 12px }

/* The teams page intro sits on the paper above the existing game-night stage. */
.teams-intro .go { display: inline-block; color: #fff; text-decoration: none; margin-top: 18px }

/* Waitlist */
.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; border-top: var(--bw) solid var(--edge); padding-top: 32px }
.launch-tag { display: inline-block; color: var(--uv); margin-bottom: 10px }
.join h2 { font-size: 28px; letter-spacing: -1px; margin: 0 0 6px } .join p { color: var(--muted); margin: 0 }
form { display: flex; gap: 8px; flex-wrap: wrap }
form label[for=email] { flex-basis: 100%; color: var(--muted) }
input[type=email] { flex: 1 1 200px; min-width: 0; border: var(--bw) solid var(--edge); border-radius: 12px; padding: 13px 14px; background: var(--card); color: var(--ink) }
.go { background: var(--red); color: #fff; border: var(--bw) solid color-mix(in srgb, var(--red) 70%, #000); border-radius: 12px; padding: 13px 18px; font-weight: 800; cursor: pointer; box-shadow: 4px 4px 0 var(--lift) }
.go:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--lift) }
.go:disabled { opacity: .6; cursor: default }
.consent { flex-basis: 100%; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted) }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--uv); flex: none }
.trap { position: absolute; left: -9999px }
.form-note { flex-basis: 100%; margin: 0; font-size: 14px; min-height: 1.4em }
.form-note.ok { color: var(--real); font-weight: 700 } .form-note.err { color: var(--red) }

/* The YouTube channel and the contact address, for visitors from the Shorts (26 October 2026) */
.hero-links { margin: 14px 0 0; font-size: 15px; font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center }
.hero-links a { color: var(--uv) }
.join-contact { margin: 12px 0 0 !important; font-size: 14.5px }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-weight: 700 }
.foot-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px }

/* Footer */
footer { color: var(--muted); font-size: 13px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px 32px; padding: 32px 0 44px; border-top: var(--bw) solid var(--edge) }
footer > div { display: grid; gap: 6px; align-content: start }
.foot-mark { font-size: 24px; font-weight: 800; letter-spacing: -1px; color: var(--ink) }
.foot-launch .mono { color: var(--uv) } .foot-launch [data-days] { color: var(--ink); font-weight: 700; font-size: 15px }
.foot-legal { justify-items: start; text-align: left }
footer a { color: inherit }

/* Privacy page */
.prose { max-width: 680px; margin: 0 auto; padding: 28px max(16px, env(safe-area-inset-left, 0px)) 60px }
.prose h1 { font-size: clamp(36px, 7vw, 56px) }
.prose h2 { font-size: 22px; margin: 28px 0 6px }
.prose p { color: var(--muted); margin: 0 0 12px }
.prose form { margin: 18px 0 24px }

@media (max-width: 760px) {
  .hero, .join { grid-template-columns: 1fr }
  .deck { box-shadow: 5px 5px 0 var(--lift); padding: 16px }
  .card button { min-height: 48px; padding: 14px }
  .rosette { width: 72px; height: 72px; margin-top: -36px; right: 4px }
  .settled .card.is-fake button { padding-right: 80px }
  form { flex-direction: column; align-items: stretch }
  input[type=email] { flex: 0 0 auto; width: 100%; min-height: 48px; height: auto; padding: 13px 14px }
  .go { width: 100%; text-align: center; min-height: 48px }
  .foot-links a { padding: 8px 0; min-height: 44px; display: inline-flex; align-items: center }
  .stage-top, .stage-teams, .reasons { grid-template-columns: 1fr }
  /* On a phone the call board sets its own height, so all four cards show; the advert keeps a widescreen frame. */
  .screen { aspect-ratio: 16 / 9 }
  .screen:has(.call:not([hidden])) { aspect-ratio: auto }
  .call { position: relative; inset: auto; padding: 12px; gap: 8px }
  .call-bar { font-size: 12px; gap: 8px }
  .call-bar > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
  .replay { white-space: nowrap; flex: none }
  .board { padding: 12px; gap: 6px }
  .board .q { font-size: 15px; align-items: baseline }
  .board .q span { font-size: 12px; white-space: nowrap }
  .board .row { padding: 7px 9px; font-size: 13px }
  .faces { gap: 6px }
  .face { padding: 7px 2px; font-size: 11px; text-align: center }
  .face .av { width: 26px; height: 26px; font-size: 12px }
  .face b { font-size: 12px }
  .face .st { min-height: 2.6em }
  .open-date { font-size: 11px; padding: 5px 10px }
  h1 { letter-spacing: -2px }
}
/* On a narrow phone the mock was clipping: the header pill, the locked line, the vote counts and the last player sat past the screen's right edge. Put the replay pill on its own row, and the players in a 2x2 grid, so the whole board fits from 360px up. */
@media (max-width: 480px) {
  .call-bar { flex-wrap: wrap }
  .call-bar > span { flex: 1 1 100% }
  .faces { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .face .st { min-height: 1.3em }
}
@media (prefers-reduced-motion: reduce) { .deck::before { transition: none } .wager-ask { animation: none } .board.sweeping .sweep { animation: none } }
