:root {
  --brand: #006094;
  --brand-deep: #00476e;
  --brand-soft: #e3eff6;
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f2ede4;
  --text: #1c2228;
  --muted: #5b6670;
  --line: #e4ddd1;
  --accent: #c8793a;
  --shadow: 0 1px 2px rgb(20 30 40 / 6%), 0 12px 32px rgb(20 30 40 / 8%);
  --radius: 18px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #4fa8dc;
    --brand-deep: #7cc0e8;
    --brand-soft: #13293a;
    --bg: #111519;
    --surface: #1a2026;
    --surface-2: #20272e;
    --text: #e9edf0;
    --muted: #9aa6b0;
    --line: #2b343c;
    --accent: #e0995f;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px rgb(0 0 0 / 35%);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 20px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: 22px; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 600; }
h1 em { font-style: italic; color: var(--brand); font-weight: 500; }
.lede { font-size: 20px; color: var(--muted); margin: 20px 0 30px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Screenshots */
.hero-shot { width: 340px; max-width: 100%; height: auto; margin-inline: auto; filter: drop-shadow(0 30px 40px rgb(0 40 70 / 22%)); }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgb(0 40 70 / 16%)); }
.shots figcaption { margin-top: 18px; font-size: 15px; color: var(--muted); text-align: center; }
.shots figcaption b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--text); margin-bottom: 2px; }

/* Media type strip */
.types { padding: 8px 0 24px; }
.types ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.types li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.types strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.types span { font-size: 14px; color: var(--muted); }

/* Sections */
section.block { padding: 72px 0; }
section.alt { background: var(--surface-2); }
.section-head { max-width: 40em; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 600; }
.section-head p { color: var(--muted); font-size: 18px; margin: 14px 0 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.icon { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.checklist li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.checklist b { display: block; }
.checklist span { color: var(--muted); font-size: 15.5px; }

.quote-card { background: #006094; color: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.quote-card h3 { font-size: 26px; margin-bottom: 18px; }
.members { display: grid; gap: 10px; }
.member { display: flex; align-items: center; gap: 12px; background: rgb(255 255 255 / 12%); border-radius: 12px; padding: 10px 14px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: #fff; color: #006094; }
.member small { display: block; opacity: .75; font-size: 12.5px; }
.member .role { margin-left: auto; font-size: 12px; opacity: .8; }

.sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sources .card strong { font-family: var(--serif); font-size: 20px; display: block; margin-bottom: 4px; }

/* Prose (privacy / support) */
.prose { padding: 56px 0 80px; }
.prose h1 { font-size: clamp(36px, 5vw, 48px); margin-bottom: 8px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--text); }
.prose .meta { color: var(--muted); margin: 0 0 32px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.table-scroll { overflow-x: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); }
.tmdb-note { flex-basis: 100%; font-size: 13px; }

@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 48px; }
  .grid, .sources { grid-template-columns: 1fr 1fr; }
  .types ul { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: repeat(4, 240px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: -16px; padding-inline: 16px; }
  .shots figure { scroll-snap-align: center; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-nav { gap: 14px; font-size: 14px; }
  .site-nav .hide-sm { display: none; }
  .grid, .sources { grid-template-columns: 1fr; }
  section.block { padding: 56px 0; }
  .lede { font-size: 18px; }
  .quote-card { padding: 24px; }
  .hero-shot { width: 280px; }
  .shots { grid-template-columns: repeat(4, 220px); }
}
