/* ==========================================================================
   Movik landing — movik.ai
   Dark-cinematic, vanilla CSS. Scroll-driven animations are progressive
   (@supports animation-timeline), motion respects prefers-reduced-motion.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --bg: #000;
  --bg-1: #0a0a0a;
  --bg-2: #141414;
  --text: #ededed;
  --text-dim: #9a9a9a;
  --text-faint: #5c5c5c;
  --red: #ff4d4d;
  --red-soft: color-mix(in oklch, var(--red) 18%, transparent);
  --gold: #ffd700;
  --gold-soft: color-mix(in oklch, var(--gold) 14%, transparent);
  --line: #ffffff14;
  --glass: color-mix(in srgb, #fff 5%, transparent);
  --radius: 18px;
  --maxw: 1120px;
  --font: InterVariable, Inter, system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace;
}

@font-face {
  font-family: InterVariable;
  src: url("/assets/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* film-grain over everything (feTurbulence noise, 4% overlay) */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.mono { font-family: var(--mono); font-size: .72em; letter-spacing: .14em; }
.dim { color: var(--text-faint); font-weight: 480; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--red); color: #000; padding: 8px 14px; z-index: 10001; }
.skip-link:focus { left: 8px; }

.grad {
  background: linear-gradient(100deg, var(--red) 15%, #ff8a5c 50%, var(--gold) 90%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* blueprint micro-grid for sections */
.section, .strip {
  background-image: radial-gradient(#ffffff0a 1px, transparent 1px);
  background-size: 34px 34px;
}

/* ---------- scroll progress film strip ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: repeating-linear-gradient(90deg, var(--red) 0 14px, color-mix(in srgb, var(--red) 55%, #000) 14px 18px);
  z-index: 10000;
}
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, #000 78%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-logo {
  font-weight: 860; letter-spacing: .06em; font-size: 19px;
  display: inline-flex; align-items: center; gap: 8px;
}
.logo-mark {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--red); color: #000; font-size: 11px;
  box-shadow: 0 0 18px var(--red-soft);
}
.logo-mark-img {
  width: 28px; height: 28px; border-radius: 8px;
  box-shadow: 0 0 18px var(--red-soft);
}
.nav nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); }
.nav nav a:not(.btn) { color: var(--text-dim); font-size: 14.5px; font-weight: 520; transition: color .2s; }
.nav nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 640px) { .nav nav a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; font-weight: 640; letter-spacing: -.01em;
  padding: 13px 24px; font-size: 15.5px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: var(--red); color: #0a0000;
  box-shadow: 0 4px 28px -4px color-mix(in oklch, var(--red) 55%, transparent);
}
.btn-primary:hover { background: color-mix(in oklch, var(--red) 85%, white); transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 10px; }
.btn-block { width: 100%; }
.link-btn { color: var(--text-faint); font-size: 13px; margin-top: 10px; }
.link-btn:hover { color: var(--text-dim); }

/* ---------- store badges ---------- */
.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.cta-row.center { justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid #ffffff2b; border-radius: 13px;
  padding: 9px 18px 9px 14px; background: #0d0d0d;
  transition: border-color .2s, background .2s, transform .15s;
}
.store-badge:hover { border-color: #ffffff55; background: #161616; transform: translateY(-1px); }
.store-badge small { display: block; font-size: 10px; color: var(--text-dim); letter-spacing: .04em; }
.store-badge span { font-size: 16px; font-weight: 640; line-height: 1.15; }
.qr-block {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 7px; border: 1px dashed #ffffff2b; border-radius: 12px;
}
.qr-block img { border-radius: 6px; }
.qr-block .mono { font-size: 8.5px; color: var(--text-faint); }
@media (max-width: 900px) { .qr-block { display: none; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: clamp(40px, 7vh, 90px) clamp(16px, 4vw, 40px) 70px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -10% -20% auto;  height: 90%;
  background:
    radial-gradient(55% 45% at 68% 30%, var(--red-soft), transparent 70%),
    radial-gradient(40% 35% at 30% 15%, color-mix(in oklch, var(--gold) 7%, transparent), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(24px, 5vw, 72px); align-items: center;
}
@media (max-width: 920px) { .hero-inner { grid-template-columns: 1fr; } }

.eyebrow { color: var(--text-dim); margin-bottom: 18px; }
.eyebrow .mono { color: var(--red); }

h1 {
  font-size: clamp(2.35rem, 5.4vw, 4.1rem);
  font-weight: 820;
  letter-spacing: -.038em;
  line-height: 1.04;
  font-variation-settings: "opsz" 32;
  text-wrap: balance;
}
h1 em { font-style: normal; }

.hero-sub {
  margin-top: 22px; font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--text-dim); max-width: 34em; text-wrap: pretty;
}
.hero-sub strong { color: var(--text); font-weight: 640; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--text-faint); }

/* ----- CSS phone + live deck ----- */
.hero-device { display: grid; justify-items: center; gap: 14px; }
.phone {
  position: relative;
  width: min(330px, 86vw); aspect-ratio: 9 / 19;
  border-radius: 48px;
  background: #050505;
  border: 9px solid #181818;
  box-shadow:
    0 0 0 1.5px #2e2e2e,
    0 30px 80px -20px rgba(0,0,0,.9),
    0 0 90px -18px var(--red-soft);
  transform: perspective(1300px) rotateY(-7deg) rotateX(3deg);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.phone:hover { transform: perspective(1300px) rotateY(-2deg) rotateX(1deg); }
@media (max-width: 920px) { .phone { transform: none; } .phone:hover { transform: none; } }
.phone-island {
  position: absolute; top: 12px; left: 50%; translate: -50% 0;
  width: 32%; height: 24px; border-radius: 14px; background: #000;
  z-index: 5; box-shadow: inset 0 0 0 1px #1c1c1c;
}
.phone-screen {
  position: absolute; inset: 0; border-radius: 39px; overflow: hidden;
  background: linear-gradient(180deg, #0b0b0b, #060606);
  display: flex; flex-direction: column;
}
.app-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 48px 18px 8px;
}
.app-title { font-weight: 830; letter-spacing: .04em; font-size: 15px; color: var(--red); }
.app-hint { color: var(--text-faint); font-size: 8.5px; }

.deck { position: relative; flex: 1; margin: 6px 16px; touch-action: pan-y; }
.card {
  position: absolute; inset: 0;
  border-radius: 18px; overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 14px 40px -12px rgba(0,0,0,.85);
  user-select: none; -webkit-user-drag: none;
  will-change: transform;
  cursor: grab;
}
.card:active { cursor: grabbing; }
.card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.card .card-grad {
  position: absolute; inset: auto 0 0; height: 55%;
  background: linear-gradient(transparent, rgba(0,0,0,.92));
}
.card .card-info { position: absolute; bottom: 14px; left: 14px; right: 14px; }
.card .card-title { font-weight: 760; font-size: 17px; letter-spacing: -.02em; }
.card .card-meta { font-size: 11px; color: #cfcfcf; margin-top: 2px; }
.card .stamp {
  position: absolute; top: 18px; padding: 5px 12px;
  border: 3px solid; border-radius: 9px;
  font-weight: 830; font-size: 17px; letter-spacing: .1em;
  opacity: 0; transform: rotate(-12deg);
}
.card .stamp.yes { left: 14px; color: #4caf50; border-color: #4caf50; }
.card .stamp.no  { right: 14px; color: var(--red); border-color: var(--red); transform: rotate(12deg); }

.deck-actions { display: flex; justify-content: center; gap: 26px; padding: 12px 0 22px; }
.deck-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; font-size: 21px;
  background: #101010; border: 2px solid;
  transition: transform .15s, background .2s;
}
.deck-btn:hover { transform: scale(1.08); }
.deck-btn.nope { border-color: #ff4d4d66; color: var(--red); }
.deck-btn.like { border-color: #4caf5066; color: #4caf50; }

/* persona reveal inside phone */
.reveal-screen[hidden] { display: none; }   /* display:flex would beat [hidden] */
.reveal-screen {
  position: absolute; inset: 0; z-index: 6;
  display: flex; flex-direction: column; justify-content: center;
  padding: 26px 22px;
  background:
    radial-gradient(80% 50% at 50% 0%, var(--red-soft), transparent 70%),
    linear-gradient(180deg, #0a0a0a, #050505);
  animation: screen-in .5s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes screen-in { from { opacity: 0; transform: scale(.96); } }
.reveal-label { color: var(--gold); font-size: 9px; margin-bottom: 14px; }
.reveal-title { font-size: 21px; font-weight: 790; letter-spacing: -.02em; margin-bottom: 14px; }
.reveal-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.reveal-quote { font-size: 12.5px; color: var(--text-dim); font-style: italic; margin-bottom: 20px; }
.device-caption { color: var(--text-faint); font-size: 9.5px; }

/* chips (shared) */
.chip {
  display: inline-block; padding: 6px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; border: 1px solid;
  animation: chip-pop .4s cubic-bezier(.2,.9,.3,1.4) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes chip-pop { from { opacity: 0; transform: scale(.6); } }
.chip-c0 { background: #ff4d4d1f; border-color: #ff4d4d59; color: #ff9b9b; }
.chip-c1 { background: #2196f31f; border-color: #2196f359; color: #90caf9; }
.chip-c2 { background: #ffd7001a; border-color: #ffd70052; color: var(--gold); }
.chip.like { background: #4caf501f; border-color: #4caf5059; color: #a5d6a7; }
.chip.dislike { background: #ff4d4d14; border-color: #ff4d4d38; color: #ce8d8d; text-decoration: line-through; }

/* ==========================================================================
   SECTIONS (shared)
   ========================================================================== */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 10vh, 110px) clamp(16px, 4vw, 40px) 20px;
}
.section-tight { padding-bottom: 40px; }
h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 790; letter-spacing: -.03em; line-height: 1.12;
  margin: 10px 0 18px; text-wrap: balance;
}
.answer {
  max-width: 46em; color: var(--text-dim); font-size: clamp(1rem, 1.4vw, 1.12rem);
  text-wrap: pretty;
}
.answer strong { color: var(--text); }
.answer em { color: var(--gold); font-style: italic; }
.section .eyebrow { margin-bottom: 4px; }

/* glass card */
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(130%);
}

/* reveal-on-scroll (IO fallback adds .in) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- proof strip ---------- */
.strip { border-block: 1px solid var(--line); margin-top: 30px; }
.strip-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; padding: 34px clamp(16px, 4vw, 40px);
}
@media (max-width: 880px) { .strip-inner { grid-template-columns: repeat(2, 1fr); } }
.stat { display: grid; gap: 4px; }
.stat-n { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 830; letter-spacing: -.03em; }
.stat-l { font-size: 12.5px; color: var(--text-faint); line-height: 1.45; }

/* ---------- tonight demo ---------- */
.tonight-demo {
  margin-top: 38px; padding: clamp(22px, 4vw, 40px);
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 4vw, 44px);
}
.tonight-stage { display: flex; gap: clamp(18px, 3vw, 32px); align-items: center; flex: 1; min-width: 280px; }
.tonight-poster-wrap {
  position: relative; border-radius: 14px; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 18px 50px -16px rgba(0,0,0,.9), 0 0 50px -14px var(--red-soft);
}
.tonight-poster-wrap img { width: clamp(130px, 16vw, 180px); height: auto; aspect-ratio: 2/3; object-fit: cover; transition: opacity .18s; }
.tonight-label { color: var(--gold); margin-bottom: 8px; }
.tonight-meta h3, .group-meta h3, .refine-pick h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 780; letter-spacing: -.025em; }
.why { color: var(--text-dim); margin-top: 9px; max-width: 30em; font-size: 15px; }
.avail { margin-top: 13px; color: #4caf50; font-size: 10px; }
.tonight-demo .btn { flex-shrink: 0; }
.spin img { animation: poster-spin .12s linear infinite; }
@keyframes poster-spin { 50% { opacity: .35; } }

/* ---------- steps ---------- */
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 38px;
  container-type: inline-size;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 26px 24px; }
.step-n { color: var(--red); font-size: 11px; }
.step h3 { margin: 10px 0 8px; font-size: 1.12rem; font-weight: 720; letter-spacing: -.015em; }
.step p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- persona card ---------- */
.persona-card { margin-top: 22px; padding: clamp(24px, 4vw, 36px); position: relative; overflow: hidden; }
.persona-card::before {
  content: ""; position: absolute; inset: -40% 50% auto -20%; height: 130%;
  background: radial-gradient(50% 50% at 30% 30%, var(--gold-soft), transparent 70%);
  pointer-events: none;
}
.persona-label { color: var(--gold); }
.persona-type {
  margin: 14px 0 18px; font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 660; letter-spacing: -.02em; min-height: 2.4em; max-width: 30em;
}
.persona-type .caret { margin-left: 1px; }
.persona-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.persona-chips .chip { opacity: 0; }
.persona-card.typed .persona-chips .chip { animation: chip-pop .4s cubic-bezier(.2,.9,.3,1.4) both; animation-delay: calc(var(--i, 0) * 110ms); opacity: 1; }

.caret {
  display: inline-block; width: 2px; height: 1em; vertical-align: -0.12em;
  background: var(--red); animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- search demo ---------- */
.search-demo { margin-top: 38px; padding: clamp(22px, 4vw, 36px); }
.search-bar {
  display: flex; align-items: center; gap: 12px;
  background: #0c0c0c; border: 1px solid #ffffff1f; border-radius: 14px;
  padding: 16px 20px; font-size: clamp(15px, 1.8vw, 17.5px);
}
.search-icon { color: var(--text-faint); font-size: 20px; }
.search-text { font-weight: 540; }
.search-result { margin-top: 18px; min-height: 124px; }
.sr-card {
  display: flex; gap: 16px; align-items: center;
  animation: screen-in .45s cubic-bezier(.2,.7,.2,1) both;
}
.sr-card img { width: 72px; border-radius: 10px; aspect-ratio: 2/3; object-fit: cover;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.8); }
.sr-card .sr-t { font-weight: 740; font-size: 17px; letter-spacing: -.02em; }
.sr-card .sr-w { color: var(--text-dim); font-size: 13.5px; margin-top: 4px; max-width: 34em; }
.intent {
  display: inline-block; margin-top: 8px; padding: 3px 11px; border-radius: 999px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; border: 1px solid;
}
.intent.exact { color: #4caf50; border-color: #4caf5059; background: #4caf5014; }
.intent.similar { color: var(--gold); border-color: #ffd70047; background: #ffd7000f; }
.intent.vague { color: #ff8a65; border-color: #ff8a6552; background: #ff8a6512; }
.search-tries { margin-top: 16px; color: var(--text-faint); font-size: 10px; display: flex; gap: 14px; flex-wrap: wrap; }
.search-tries button { color: var(--text-faint); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; border-bottom: 1px dotted #444; padding-bottom: 1px; transition: color .2s; }
.search-tries button:hover, .search-tries button.on { color: var(--red); }

/* ---------- group demo ---------- */
.group-demo { margin-top: 38px; padding: clamp(24px, 4vw, 40px); }
.group-label { color: var(--text-dim); margin-bottom: 16px; }
.member-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.member {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px 8px 9px; border-radius: 999px;
  border: 1px solid #ffffff24; background: #0d0d0d;
  font-weight: 620; font-size: 14.5px; color: var(--text-faint);
  transition: all .2s;
}
.member.active { border-color: var(--gold); color: var(--text); background: #ffd7000d; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12.5px; font-weight: 760;
  filter: grayscale(1) brightness(.6); transition: filter .2s;
}
.member.active .avatar { filter: none; }
.a-jan { background: #ff4d4d2e; color: #ff9b9b; border: 1px solid #ff4d4d70; }
.a-eva { background: #ffd7002b; color: var(--gold); border: 1px solid #ffd70066; }
.a-tom { background: #2196f32e; color: #90caf9; border: 1px solid #2196f370; }
.group-pick { display: flex; gap: clamp(18px, 3vw, 32px); align-items: flex-start; flex-wrap: wrap; }
.group-pick img { width: clamp(110px, 14vw, 150px); border-radius: 12px; aspect-ratio: 2/3; object-fit: cover;
  box-shadow: 0 16px 44px -14px rgba(0,0,0,.9); transition: opacity .18s; }
.group-meta { flex: 1; min-width: 260px; }
.why-list { list-style: none; margin-top: 14px; display: grid; gap: 11px; }
.why-list li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 14px; color: var(--text-dim);
  animation: screen-in .4s ease both; animation-delay: calc(var(--i, 0) * 110ms);
}
.why-list .avatar { flex-shrink: 0; width: 26px; height: 26px; font-size: 11px; filter: none; }
.why-list strong { color: var(--text); font-weight: 660; }

/* ---------- refine demo ---------- */
.refine-demo { margin-top: 38px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 24px; }
.refine-pick { display: flex; gap: clamp(16px, 3vw, 28px); align-items: center; flex-wrap: wrap; }
.refine-pick img { width: clamp(100px, 12vw, 130px); border-radius: 12px; aspect-ratio: 2/3; object-fit: cover;
  box-shadow: 0 14px 40px -12px rgba(0,0,0,.9); transition: opacity .18s; }
.refine-delta { margin-top: 12px; color: var(--gold); font-size: 10px; min-height: 1.2em; }
.refine-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip-btn {
  padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid #ffd7003d; color: var(--gold); background: #ffd7000a;
  transition: all .2s;
}
.chip-btn:hover { background: #ffd7001f; transform: translateY(-1px); }
.chip-btn.on { background: var(--gold); color: #1a1400; }
.chip-btn[data-refine="reset"] { border-color: #ffffff26; color: var(--text-faint); background: transparent; }

/* ---------- comparison table ---------- */
.table-wrap { margin-top: 34px; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; background: var(--bg-1); }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #ffffff0d; }
.compare thead th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--text-dim); text-transform: uppercase; }
.compare thead .hl { color: var(--red); }
.compare tbody th { font-weight: 600; color: var(--text); }
.compare td { color: var(--text-faint); }
.compare td.hl { color: var(--text); background: #ff4d4d0a; font-weight: 560; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* ---------- poster wall ---------- */
.wall { position: relative; margin: clamp(70px, 12vh, 130px) 0 0; padding: 60px 0; overflow: hidden; }
.wall-rows { display: grid; gap: 14px; opacity: .5; }
.wall-row { display: flex; gap: 14px; width: max-content; }
.wall-row img { width: 118px; border-radius: 10px; aspect-ratio: 2/3; object-fit: cover; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .wall-row { animation: drift linear both; animation-timeline: view(); }
    .wall-row:nth-child(odd) { animation-name: drift-r; }
    @keyframes drift   { from { transform: translateX(-60px); } to { transform: translateX(-320px); } }
    @keyframes drift-r { from { transform: translateX(-320px); } to { transform: translateX(-60px); } }
  }
}
.wall::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 65% at 50% 50%, transparent 30%, #000 78%),
              linear-gradient(#00000080, #00000080);
}
.wall-claim { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
/* Local scrim behind the claim — the middle poster row runs right behind the
   text and bright posters bleed through the gradient fill without it. */
.wall-claim::before {
  content: ""; position: absolute;
  left: 50%; top: 50%; translate: -50% -50%;
  width: min(980px, 96vw); height: min(420px, 80%);
  background: radial-gradient(closest-side,
    rgba(0,0,0,.92), rgba(0,0,0,.62) 55%, transparent);
  pointer-events: none;
}
.wall-text {
  position: relative;
  font-size: clamp(2.4rem, 7vw, 5rem); font-weight: 870; letter-spacing: -.04em;
  line-height: 1.02; text-align: center; text-wrap: balance;
  text-shadow: 0 10px 60px rgba(0,0,0,.9);
}

/* ---------- FAQ ---------- */
/* Centered block (unlike the left-aligned feature sections) — it sits directly
   above the centered final CTA, and a narrow list pinned left in the wide
   container read as unbalanced. Card text stays left-aligned for readability. */
#faq { text-align: center; }
#faq .answer { margin-inline: auto; }
.faq-list { margin: 30px auto 0; max-width: 760px; display: grid; gap: 10px; text-align: left; }
.faq-list details {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg-1); overflow: hidden;
}
.faq-list summary {
  cursor: pointer; list-style: none;
  padding: 18px 22px; font-weight: 640; font-size: 15.5px; letter-spacing: -.01em;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--red); font-size: 20px; font-weight: 400; transition: rotate .25s; flex-shrink: 0; }
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list details[open] summary { color: var(--red); }
.faq-list details p { padding: 0 22px 20px; color: var(--text-dim); font-size: 14.5px; max-width: 60ch; }

/* ---------- final CTA ---------- */
.final { position: relative; text-align: center; padding: clamp(90px, 16vh, 160px) 20px; overflow: hidden; }
.final-glow {
  position: absolute; inset: auto -20% -40%; height: 120%;
  background: radial-gradient(55% 55% at 50% 90%, var(--red-soft), transparent 70%);
  pointer-events: none;
}
.final h2 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); font-weight: 860; letter-spacing: -.04em; line-height: 1.04; position: relative; }
.final-sub { color: var(--text-dim); margin-top: 16px; font-size: 1.08rem; position: relative; }
.final .cta-row { margin-top: 34px; position: relative; }
.final-note { margin-top: 22px; color: var(--text-faint); font-size: 10px; position: relative; }

/* ---------- sticky mobile bar ---------- */
.sticky-cta[hidden] { display: none; }   /* display:flex would beat [hidden] */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 12px 11px 18px;
  background: color-mix(in srgb, #0c0c0c 88%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid #ffffff21; border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
  animation: bar-up .45s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes bar-up { from { transform: translateY(90px); opacity: 0; } }
.sticky-txt { font-size: 13.5px; color: var(--text-dim); }
.sticky-txt strong { color: var(--text); }
@media (min-width: 821px) { .sticky-cta { display: none; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px clamp(16px, 4vw, 40px) 110px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 16px; }
.footer-brand { font-weight: 830; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 8px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--text-dim); }
.footer-links a:hover { color: var(--text); }
.footer-tmdb { font-size: 12px; color: var(--text-faint); max-width: 54em; }
.footer-tmdb a { text-decoration: underline; text-underline-offset: 2px; }
.footer-copy { font-size: 12px; color: var(--text-faint); }
