/* Lecritic: shared look for the pages around the home page (legal, invites,
   web voting, watch-together setup). The home page carries its own styles. */

@font-face { font-family: 'Queen of Clubs'; src: url('/assets/lecritic/fonts/queen-of-clubs.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Bebas Neue'; src: url('/assets/lecritic/fonts/bebas-neue.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/lecritic/fonts/ibm-plex-mono.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/lecritic/fonts/ibm-plex-mono-medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --red: #ff1a2e;
  --red-soft: #e63946;
  --black: #0f0f0f;
  --panel: #1a1a1a;
  --ink: #f3ece4;
  --muted: #8d8284;
  --rule: #3a2c2e;
  --gutter: clamp(16px, 4vw, 48px);
  --title: 'Queen of Clubs', 'Bebas Neue', Impact, sans-serif;
  --display: 'Bebas Neue', Impact, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  /* Names the pages' own inline styles already use */
  --red-dark: var(--red-soft);
  --black-light: var(--panel);
  --gray: var(--muted);
  --white: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  margin: 0; background: var(--black); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: #ff5a68; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ── Nav: sits in a black letterbox band, like the home page's top bar ── */
.nav {
  background: #000; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter); border-bottom: 1px solid #1d1416;
}
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav ul a {
  font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .12em;
  text-transform: uppercase; color: #d9cfc6; text-decoration: none;
}
.nav ul a:hover { color: var(--ink); }
.nav .beta { border: 1px solid rgba(243,236,228,.35); padding: 9px 16px; border-radius: 999px; }
.nav .beta:hover { border-color: var(--red); }
.wordmark {
  font-family: var(--title); font-size: 30px; line-height: 1; letter-spacing: .04em;
  color: #fff; text-decoration: none; text-shadow: 0 0 18px rgba(255,26,46,.55);
}
a.wordmark:hover { color: #fff; }
.le { font-size: .62em; letter-spacing: .03em; margin-left: .02em; }

/* ── Page heading ── */
.kicker { margin: 0 0 6px; font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
h1, .legal h1, .hero h1 {
  font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: .92;
  font-size: clamp(52px, 8vw, 96px); margin: 0 0 18px; color: #fff;
  text-shadow: 0 0 22px rgba(255,26,46,.45);
}
h2 { font-family: var(--display); font-weight: 400; letter-spacing: .03em; line-height: 1; }

.hero {
  text-align: center; padding: clamp(56px, 10vw, 112px) var(--gutter) 40px;
  background: radial-gradient(ellipse 60% 70% at 50% 0%, #2a0a0e 0%, transparent 70%);
}
.hero-tagline { color: #cfc6be; font-size: 19px; max-width: 34em; margin: 0 auto 28px; }
.hero .fine { color: var(--muted); font-size: 15px; margin: 22px auto 0; max-width: 34em; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--display); font-size: 22px; letter-spacing: .06em; line-height: 1;
  text-decoration: none; transition: background .2s, border-color .2s;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 0 24px rgba(255,26,46,.35); }
.btn-red:hover { background: var(--red-soft); color: #fff; }
.btn-line { border: 1px solid rgba(243,236,228,.4); color: var(--ink); background: none; }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Legal and long text ── */
.container { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 88px) var(--gutter) 72px; }
.legal .last-updated { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--muted); margin: 0 0 36px; }
.legal h2 { font-size: 34px; margin: 44px 0 12px; color: var(--ink); }
.legal p, .legal li { color: #d6cdc5; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { padding-left: 1.4em; margin: 0 0 18px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); }

/* ── Footer (same as the home page) ── */
.footer { border-top: 1px solid var(--rule); padding: 40px var(--gutter) 64px; color: var(--muted); font-size: 14px; }
.footer .row { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; }
.footer .wordmark { font-size: 26px; color: var(--ink); }
.footer ul { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 0; padding: 0; }
.footer a { color: #d9cfc6; text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer .tmdb { max-width: 1180px; margin: 20px auto 0; font-size: 12.5px; color: #6f6668; }

@media (max-width: 600px) {
  .nav ul li.hide-sm { display: none; }
  .wordmark { font-size: 26px; }
  .hero-tagline { font-size: 17px; }
}

/* "Already have the app? Tap Open in the app": that button only exists on phones */
@media (hover: hover) and (pointer: fine) { .hero .fine.has-app { display: none; } }

/* Watch-together steps line up with the text column */
ol.steps { padding-left: 0; margin: 0; }
