/* The /for/* landing family (docs/landing-pages.md): one page per reader,
   each opening on the job that reader came to do. Static like /landing, so
   the app's tokens are copied here under the SAME names (src/styles/tokens.css
   and public/landing/index.html) and a colour that moves is diffable by eye.
   Every page shares this sheet and for.js; only the hero differs. */
:root {
  --bg:             #000;
  --bg-raised:      #0F0F0F;
  --bg-tint:        rgba(255, 255, 255, 0.08);
  --bg-tint-strong: rgba(255, 255, 255, 0.12);
  --bg-faint:       rgba(255, 255, 255, 0.06);
  --text:           #fff;
  --green:          #00ff6a;
  --gold:           #ffaa00;
  --red:            #ff3b5c;
  --watch:          var(--green);
  --seen:           var(--gold);
  --pass:           var(--red);
  --ink:            #f4f4f5;
  --ink-dim:        #8a8a92;
  --ink-faint:      #5a5a61;
  --max:            560px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, "SF Pro Text", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 6vh, 64px) 20px 0; }

.mark {
  display: inline-block;
  margin-bottom: clamp(28px, 6vh, 56px);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/* One claim, two tones: the bold line is the reader's problem in their own
   words, the dim one is what the page answers. Same ramp as /landing. */
h1 {
  margin: 0;
  font-size: clamp(34px, 8.6vw, 56px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--ink-dim);
  text-wrap: balance;
}
h1 b { display: block; color: var(--ink); font-weight: 650; }

.sub {
  margin: 18px 0 0;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink-dim);
  text-wrap: pretty;
}

.hero { margin-top: clamp(28px, 5vh, 44px); }

/* --- Doors: the primary sits on its own line, the alternate beneath. --- */
.ctas { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 28px; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 28px;
  border: none;
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.08) 100%);
  box-shadow:
    inset 0 1px 2px -0.5px rgba(255, 255, 255, 0.18),
    inset 0 -2px 4px -1px rgba(0, 0, 0, 0.28),
    0 6px 14px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, background 0.18s ease;
}
.pill:active { transform: translateY(1px); }
.pill.nude {
  height: 36px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--ink-faint);
  background: none;
  box-shadow: none;
}
@media (hover: hover) {
  .pill:hover { background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.12) 100%); }
  .pill.nude:hover { color: var(--ink); background: none; }
}

/* --- Facts: what the page promises, each one true of the app today. --- */
.facts { margin: clamp(56px, 10vh, 96px) 0 0; padding: 0; list-style: none; }
.facts li {
  padding: 16px 0;
  border-top: 1px solid var(--bg-tint);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.facts b { color: var(--ink); font-weight: 650; }

footer { margin-top: clamp(80px, 14vh, 140px); padding-bottom: 48px; text-align: center; }
.legal { display: flex; justify-content: center; gap: 0.6em; flex-wrap: wrap; font-size: 11.5px; }
.legal > * + *::before { content: '\00b7'; margin-right: 0.6em; color: var(--ink-faint); }
.legal span, .legal a { color: var(--ink-faint); font-weight: 500; text-decoration: none; }
@media (hover: hover) { .legal a:hover { color: var(--ink); } }

.poster { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; background: var(--bg-raised); }

/* --- Hero: Film Duel (for/lists). Two posters, tap one, the bracket runs. --- */
.duel { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.duel-or { font-size: 13px; font-weight: 600; color: var(--ink-faint); }
.duel-pick {
  display: block;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, filter 0.15s ease;
}
.duel-pick:active { transform: scale(0.98); }
@media (hover: hover) { .duel-pick:hover { filter: brightness(1.12); } }
.duel-title { display: block; margin-top: 8px; font-size: 14px; font-weight: 650; color: var(--ink); }
.duel-year { display: block; font-size: 12.5px; color: var(--ink-faint); }
.duel-meta { margin: 14px 0 0; font-size: 13px; color: var(--ink-faint); }
.duel-meta[aria-live] b { color: var(--ink-dim); font-weight: 600; }
.duel-winner { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: end; }
.duel-winner .tonight { margin: 0; font-size: 13px; font-weight: 600; color: var(--watch); }
.duel-winner h2 { margin: 4px 0 0; font-size: 26px; letter-spacing: -0.02em; }
.duel-again {
  margin-top: 10px;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-dim);
  cursor: pointer;
}

/* --- Hero: sources (for/switching). Each one opens that import. --- */
.sources { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.source {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 92px;
  padding: 14px;
  border-radius: 12px;
  background: var(--bg-raised);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--ink);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: filter 0.15s ease;
}
@media (hover: hover) { .source:hover { filter: brightness(1.25); } }
.source b { font-size: 18px; font-weight: 750; letter-spacing: -0.02em; }
.source span { font-size: 12.5px; color: var(--ink-faint); }
.carried { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.carried li { padding: 6px 10px; border-radius: 999px; background: var(--bg-faint); font-size: 12.5px; color: var(--ink-dim); }

/* --- Hero: capture (for/notes). A real field: Enter opens the app's search. --- */
.capture { border-radius: 14px; background: var(--bg-raised); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); overflow: hidden; }
.capture-field { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--bg-tint); }
.capture-field svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--ink-faint); }
.capture input {
  flex: 1;
  min-width: 0;
  height: 54px;
  border: none;
  outline: none;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
}
.capture input::placeholder { color: var(--ink-faint); }
.capture-go {
  height: 34px;
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  background: var(--bg-tint-strong);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.capture-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; }
.capture-row + .capture-row { border-top: 1px solid var(--bg-faint); }
.capture-row .poster { border-radius: 4px; }
.capture-row b { display: block; font-size: 15px; font-weight: 650; }
.capture-row span { font-size: 12.5px; color: var(--ink-faint); }
.capture-row i { font-style: normal; font-size: 12.5px; font-weight: 650; }
.capture-row i.on { color: var(--watch); }
.capture-row i.off { color: var(--ink-faint); }
.capture-note { margin: 12px 2px 0; font-size: 13px; color: var(--ink-faint); }

/* --- Hero: the page as the house would see it (for/cinemas). --- */
.org { padding: 18px; border-radius: 14px; background: var(--bg-raised); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.org-head { display: flex; align-items: center; gap: 12px; }
.org-logo { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-tint-strong); }
.org-head b { display: block; font-size: 17px; font-weight: 700; }
.org-head span { font-size: 12.5px; color: var(--ink-faint); }
.org-flag { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-dim); }
.org-flag u { text-decoration: none; color: var(--ink); font-weight: 650; }
.showings { margin: 14px 0 0; padding: 0; list-style: none; }
.showings li { display: grid; grid-template-columns: 34px 76px 1fr; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--bg-faint); }
.showings .poster { border-radius: 3px; }
.showings time { white-space: nowrap; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.showings b { font-size: 14px; font-weight: 600; }
