/* ============================================================
   Outro — landing page
   Palette mirrors the app's dark theme (src/theme/index.ts),
   accent is the beta's neutral silver: the posters are the only
   color on the page.
   ============================================================ */

@import url('hero.css');

:root {
  --bg: #0b0e14;
  --surface: #121722;
  --surface-2: #171e2c;
  --border: #1a2130;
  --border-bright: #2a3448;
  --ink: #f2f5fa;
  --muted: #aab4c5;
  --dim: #7c8698;
  --silver: linear-gradient(115deg, #ffffff 0%, #c7d0de 55%, #8f9aac 100%);
  --font-display: 'General Sans', 'Avenir Next', system-ui, sans-serif;
  --font-body: 'Switzer', 'Inter', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, monospace;
  --radius-card: 14px;
  --max: 1120px;

  /* Logo geometry — the "open clapperboard" pose of the wordmark.
     Negative angle opens the top half toward the right (hinge on the
     first "O"); the gap is the total vertical split between halves.
     The nav logo has its own, subtler values. */
  --logo-angle: -3deg;
  --logo-gap: 2px;
  --logo-angle-nav: -3deg;
  --logo-gap-nav: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; }

h2 { font-size: clamp(30px, 4.5vw, 52px); letter-spacing: -0.01em; }

a { color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* ---------------- shared bits ---------------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  /* Scale the top gap to viewport height so a 16:9 laptop (720–800px tall)
     doesn't waste a third of the fold on whitespace; caps at 110px. */
  padding: clamp(72px, 10vh, 110px) 24px 0;
}

.section-head { max-width: 640px; margin-bottom: 48px; }

.section-sub { color: var(--muted); margin-top: 16px; font-size: 18px; }

/* The strike motif: every section head carries a hairline echoing the logo. */
.section-head h2 { position: relative; padding-bottom: 26px; }
.section-head h2::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 72px; height: 2px;
  background: linear-gradient(90deg, #f2f5fa, rgba(242, 245, 250, 0));
}
.section-head h2 + .section-sub { margin-top: 0; }

/* Silver-marker highlight for key words and sentences. */
.hl {
  color: #0b0e14;
  background: linear-gradient(115deg, #ffffff 0%, #d5dce6 60%, #aeb9c9 100%);
  border-radius: 0.16em;
  padding: 0.04em 0.22em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  font-weight: 600;
}

/* ---------------- beam-bordered sections ---------------- */

@property --beam-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* A faint border ring with the beam traveling around it — same light as
   the footer beam. Browsers without @property keep the static ring. */
.section.beam-box {
  position: relative;
  padding: 60px 48px 68px;
  margin: clamp(72px, 10vh, 110px) auto 0;
  border-radius: 28px;
}
.section.beam-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--beam-angle),
    rgba(242, 245, 250, 0.1) 0turn,
    rgba(242, 245, 250, 0.1) 0.8turn,
    rgba(255, 255, 255, 0.95) 0.92turn,
    rgba(242, 245, 250, 0.1) 1turn
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: beam-orbit 7s linear infinite;
  pointer-events: none;
}
@keyframes beam-orbit {
  to { --beam-angle: 360deg; }
}

/* Static sibling of .beam-box: same geometry, but wearing the nuanced-black
   card finish of the phone frames and why-cards. */
.section.dark-box {
  padding: 60px 48px 68px;
  margin: clamp(72px, 10vh, 110px) auto 0;
  border-radius: 28px;
  background: linear-gradient(170deg, var(--surface) 0%, #0d1119 100%);
  border: 1.5px solid var(--border);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ---------------- CTAs ---------------- */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  color: #0b0e14;
  background: linear-gradient(115deg, #ffffff 0%, #d5dce6 60%, #aeb9c9 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 34px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 14px 44px rgba(255, 255, 255, 0.12);
}
.cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cta:active { transform: translateY(0); }

.cta-big { font-size: 17px; padding: 16px 34px; }
.cta-small { font-size: 14.5px; padding: 10px 22px; }

.cta-ghost {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(242, 245, 250, 0.35);
  font-size: 17px;
  padding: 16px 34px;
}
.cta-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(242, 245, 250, 0.8), 0 10px 34px rgba(0, 0, 0, 0.35); }

/* Dark variant, for controls sitting on the silver signup panel. */
.cta-dark {
  color: var(--ink);
  background: linear-gradient(115deg, #1a2130 0%, #0b0e14 65%);
  box-shadow: 0 0 0 1px rgba(11, 14, 20, 0.85), 0 10px 30px rgba(11, 14, 20, 0.35);
}
.cta-dark:hover {
  box-shadow: 0 0 0 1px rgba(11, 14, 20, 1), 0 14px 40px rgba(11, 14, 20, 0.5);
}
.cta-dark:focus-visible { outline: 2px solid #0b0e14; }

/* ---------------- nav ---------------- */

/* Hidden while the hero name is on screen; main.js fades it in once the
   logo reveal scrolls out of view. */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: linear-gradient(rgba(11, 14, 20, 0.82), rgba(11, 14, 20, 0));
  backdrop-filter: blur(2px);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.nav.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-logo { display: block; }
.nav .wordmark { width: 96px; height: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.cta) {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a:not(.cta):hover { color: var(--ink); }

/* ---------------- wordmark (nav) ---------------- */

.wordmark-open .wm-text { font-size: 48px; }

/* The clapper hinges on the first "O": pivot left, the right side opens. */
.wordmark-open .wm-top {
  transform: translateY(calc(var(--logo-gap-nav) / -2)) rotate(var(--logo-angle-nav));
}
.wordmark-open .wm-bottom {
  transform: translateY(calc(var(--logo-gap-nav) / 2));
}

.logo-reveal { margin-bottom: 36px; }
.logo-reveal .wordmark {
  width: min(640px, 88vw);
  height: auto;
  margin: 0 auto;
  display: block;
}

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 46%, rgba(11, 14, 20, 0.88) 0%, rgba(11, 14, 20, 0.62) 55%, rgba(11, 14, 20, 0.25) 100%),
    linear-gradient(rgba(11, 14, 20, 0.55) 0%, rgba(11, 14, 20, 0.1) 30%, rgba(11, 14, 20, 0.2) 70%, var(--bg) 98%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 96px 24px;
  max-width: 1040px;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 40px;
}

/* Qualifier line under the hero CTA: what it is, where, and the hook. */
.hero-note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Social proof — populated + unhidden by main.js only once the real
   waitlist count clears the floor (see config.js WAITLIST_FLOOR). */
.social-proof {
  margin-top: 18px;
  font-size: 15px;
  color: var(--muted);
}
.social-proof::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 9px;
  border-radius: 999px;
  background: #7ee0a8;
  box-shadow: 0 0 10px rgba(126, 224, 168, 0.7);
  vertical-align: middle;
}

.hero-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  width: 2.5px; height: 84px;
  border-radius: 999px;
  background: linear-gradient(rgba(242, 245, 250, 0), rgba(242, 245, 250, 0.95));
  box-shadow: 0 0 14px rgba(242, 245, 250, 0.35);
  animation: cue-drop 2.2s ease-in-out infinite;
  z-index: 2;
}
@keyframes cue-drop {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(16px); opacity: 1; }
}

/* ---------------- screens ---------------- */

.screens-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 auto;
  max-width: 840px;
}

/* Each "scene" is one story beat inside the app section. */
.scene { margin-top: clamp(64px, 9vh, 104px); }

/* Copy-beside-mockup scenes; alternate the side with .is-reversed. */
.scene-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.scene-split.is-reversed .scene-copy { order: 2; }
.scene-split .phone { margin: 0 auto; }

.scene-copy .eyebrow { margin-bottom: 14px; }
.scene-copy h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.scene-copy p { color: var(--muted); margin-top: 16px; font-size: 17px; }

/* The single-mockup scenes get a slightly larger phone. */
.phone-lg { max-width: 300px; }

/* Keep the mockups phone-sized even when the grid drops columns. */
.phone { width: 100%; max-width: 264px; margin: 0 auto; }

.phone-frame {
  position: relative;
  aspect-ratio: 9 / 19;
  border-radius: 34px;
  border: 1.5px solid var(--border);
  background: linear-gradient(170deg, var(--surface) 0%, #0d1119 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 10px;
  overflow: hidden;
}

.phone-slot {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #0d1119;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Drop a real screenshot in later:
   .phone-slot img { width:100%; height:100%; object-fit:cover; } */
.phone-slot > img,
.phone-slot > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Auto-cycling slot carousel: images crossfade (see main.js). */
.slot-carousel { position: absolute; inset: 0; }
.slot-carousel img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.slot-carousel img.is-active { opacity: 1; }

.slot-label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  background: rgba(11, 14, 20, 0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
}

.slot-skeleton {
  position: absolute;
  inset: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.sk-row { display: flex; gap: 8px; }
.sk-card {
  border-radius: 10px;
  background: linear-gradient(100deg, var(--surface) 40%, var(--surface-2) 50%, var(--surface) 60%);
  background-size: 220% 100%;
  animation: sk-shimmer 2.4s linear infinite;
}
.sk-wide { height: 64px; }
.sk-bar { height: 30px; border-radius: 999px; }
.sk-poster { flex: 1; aspect-ratio: 2 / 3; }
.sk-tall { flex: 1; aspect-ratio: 2 / 3.6; }
.sk-hero { height: 30%; }
.sk-line { height: 12px; border-radius: 999px; }
.sk-line-short { width: 60%; }
@keyframes sk-shimmer {
  from { background-position: 120% 0; }
  to { background-position: -100% 0; }
}

.phone figcaption { margin-top: 18px; }
.phone figcaption h3 { font-size: 21px; margin-bottom: 6px; }
.phone figcaption p { color: var(--muted); font-size: 15px; }

/* ---------------- statement ---------------- */

/* Sits inside a beam-box; the box handles spacing. */
.statement { text-align: center; }

.statement-line {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 6.5vw, 88px);
  line-height: 1.18;
  color: var(--dim);
}
.statement-line .statement-app { color: var(--muted); font-weight: 600; }

/* "Outro" gets the highlighter treatment: silver marker, dark ink. */
.statement-outro {
  display: inline-block;
  font-weight: 600;
  color: #0b0e14;
  background: linear-gradient(115deg, #ffffff 0%, #d5dce6 60%, #aeb9c9 100%);
  border-radius: 0.14em;
  padding: 0 0.14em;
  transform: rotate(-1.2deg);
  box-shadow: 0 0 34px rgba(242, 245, 250, 0.28);
}

.statement-sub {
  color: var(--muted);
  max-width: 520px;
  margin: 30px auto 38px;
  font-size: 18px;
}

/* ---------------- why ---------------- */

/* Same finish as the phone frames: nuanced black, soft depth.
   Flex (not grid) so the 5-card set lays out 3-on-top / 2-centered. */
.why-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.why-card {
  flex: 0 1 calc((100% - 40px) / 3);
  background: linear-gradient(170deg, var(--surface) 0%, #0d1119 100%);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 26px 24px 28px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.32s cubic-bezier(0.34, 1.4, 0.4, 1),
    border-color 0.32s ease, box-shadow 0.32s ease;
}

/* Desktop hover: the card lifts and grows a touch. hover:hover keeps
   touch devices from sticking in the hovered state; the min-width keeps
   it off the mobile carousel. */
@media (hover: hover) and (min-width: 561px) {
  .why-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--border-bright);
    box-shadow: 0 30px 66px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  }
}

/* Carousel dots — hidden by default, shown only in the mobile carousel.
   The active dot stretches into a silver beam pill, echoing the page's
   beam motif. */
.why-dots { display: none; }
.why-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--border-bright);
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.34, 1.3, 0.4, 1), background 0.4s ease,
    box-shadow 0.4s ease;
}
.why-dot.is-active {
  width: 26px;
  background: var(--silver);
  box-shadow: 0 0 12px rgba(242, 245, 250, 0.45);
}
.why-dot:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.why-card h3 {
  font-size: 20px;
  background: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------------- timeline ---------------- */

.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  padding-top: 34px;
}
/* the strike runs through the whole roadmap */
.timeline::before {
  content: '';
  position: absolute;
  top: 5px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #f2f5fa 0%, rgba(242, 245, 250, 0.25) 60%, rgba(242, 245, 250, 0.08) 100%);
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  top: -33px; left: 1px;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 2px solid var(--dim);
}
.timeline-item.is-now::before {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.7);
}

.timeline-act {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}
.timeline-item.is-now .timeline-act { color: var(--ink); }

.timeline-status {
  display: inline-block;
  margin: 10px 0 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
}
.timeline-item.is-now .timeline-status {
  color: #0b0e14;
  background: linear-gradient(115deg, #fff, #c7d0de);
  border-color: transparent;
}

.timeline-item h3 { font-size: 23px; margin-bottom: 10px; }
.timeline-item p { color: var(--muted); font-size: 15px; }

/* ---------------- together ---------------- */

.together { text-align: center; }
.together .section-head { margin-left: auto; margin-right: auto; }
.together .section-head h2::after { left: 50%; transform: translateX(-50%); }
.together .section-sub { margin-left: auto; margin-right: auto; }

/* ---------------- signup ---------------- */

/* The whole registration section wears the CTA finish: silver panel,
   black ink, dark controls. */
.signup {
  max-width: 760px;
  margin: clamp(110px, 16vh, 170px) auto 0;
  padding: 68px 48px 60px;
  text-align: center;
  color: #0b0e14;
  background: linear-gradient(115deg, #ffffff 0%, #d5dce6 60%, #aeb9c9 100%);
  border-radius: 32px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 30px 90px rgba(0, 0, 0, 0.55);
  scroll-margin-top: 60px;
}

.signup .eyebrow { color: rgba(11, 14, 20, 0.55); }

.signup-title {
  font-size: clamp(34px, 5.5vw, 60px);
  color: #0b0e14;
}

.signup-sub { margin: 18px 0 30px; color: rgba(11, 14, 20, 0.72); }

.badge-line {
  margin-bottom: 34px;
  color: rgba(11, 14, 20, 0.72);
  font-size: 16px;
}
.badge-line strong { color: #0b0e14; }

/* Social proof + reassurance sit on the silver panel: dark ink, darker dot. */
.signup .social-proof { margin: 0 0 24px; color: rgba(11, 14, 20, 0.75); }
.signup .social-proof::before {
  background: #147a48;
  box-shadow: 0 0 9px rgba(20, 122, 72, 0.5);
}
.form-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: rgba(11, 14, 20, 0.58);
}
.form-consent {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(11, 14, 20, 0.5);
}
.form-consent a { color: rgba(11, 14, 20, 0.8); text-underline-offset: 2px; }

.signup-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}
.signup-form input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-weight: 500;
  color: #0b0e14;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(11, 14, 20, 0.18);
  border-radius: 999px;
  padding: 14px 24px;
  outline: none;
}
.signup-form input::placeholder { color: rgba(11, 14, 20, 0.45); }
.signup-form input:focus-visible { border-color: #0b0e14; outline: 2px solid #0b0e14; outline-offset: 2px; }

.form-error { color: #8f1d1d; font-size: 14px; margin-top: 14px; font-weight: 500; }
.form-ref-note { color: rgba(11, 14, 20, 0.65); font-size: 14px; margin-top: 14px; }

.signup-success {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(11, 14, 20, 0.14);
  border-radius: 20px;
  padding: 34px 30px;
}
.success-position { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: #0b0e14; }
.success-note { color: rgba(11, 14, 20, 0.72); font-size: 15px; margin: 12px 0 22px; }
.share-row { display: flex; gap: 10px; }
.share-row input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #2a3448;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(11, 14, 20, 0.18);
  border-radius: 999px;
  padding: 11px 18px;
  outline: none;
}
.success-count { color: rgba(11, 14, 20, 0.72); font-size: 14px; margin-top: 16px; }

/* Turnstile injects a fixed-size iframe; the widget only appears once
   config.js carries a site key. */
.turnstile-mount {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  min-height: 65px;
}

/* ---------------- footer ---------------- */

.footer {
  margin-top: 60px;
  padding: 24px 24px 44px;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* The closing line is the final hero. */
.footer-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 6vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  background: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid var(--border);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
  color: var(--ink);
  border-color: var(--border-bright);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

.footer-meta {
  display: flex;
  gap: 26px;
  justify-content: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: var(--ink); }

.footer-tmdb {
  margin-top: 12px;
  font-size: 12px;
  color: var(--dim);
}
.footer-tmdb a { color: var(--muted); }

/* ---------------- responsive ---------------- */

@media (max-width: 980px) {
  /* Not enough room for three phones side by side — swipeable carousel. */
  .screens-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    margin: 0 -24px;
    padding: 0 24px 16px;
    max-width: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .screens-row::-webkit-scrollbar { display: none; }
  .phone {
    flex: 0 0 248px;
    margin: 0;
    scroll-snap-align: center;
  }
  /* Two per row; the 5th card centers on its own line. */
  .why-grid { gap: 16px; }
  .why-card { flex-basis: calc((100% - 16px) / 2); }
  .timeline { grid-template-columns: 1fr; gap: 0; padding-top: 0; padding-left: 26px; }
  .timeline::before {
    top: 6px; bottom: 6px; left: 4px;
    width: 2px; height: auto; right: auto;
    background: linear-gradient(180deg, #f2f5fa 0%, rgba(242, 245, 250, 0.25) 60%, rgba(242, 245, 250, 0.08) 100%);
  }
  .timeline-item { padding: 0 0 44px; }
  .timeline-item::before { top: 6px; left: -27px; }
  .timeline-item:last-child { padding-bottom: 0; }
}

@media (max-width: 760px) {
  /* Stack the copy above the mockup; copy always leads. */
  .scene-split { grid-template-columns: 1fr; gap: 30px; }
  .scene-split.is-reversed .scene-copy { order: 0; }
  .scene-copy { max-width: 480px; margin: 0 auto; text-align: center; }
}

@media (max-width: 640px) {
  /* Posters sit right behind the copy on phones — deepen the scrim. */
  .hero-scrim {
    background:
      radial-gradient(ellipse 90% 60% at 50% 46%, rgba(11, 14, 20, 0.93) 0%, rgba(11, 14, 20, 0.72) 55%, rgba(11, 14, 20, 0.3) 100%),
      linear-gradient(rgba(11, 14, 20, 0.6) 0%, rgba(11, 14, 20, 0.15) 30%, rgba(11, 14, 20, 0.25) 70%, var(--bg) 98%);
  }
}

@media (max-width: 560px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.cta) { display: none; }
  .signup-form { flex-direction: column; }
  .share-row { flex-direction: column; }
  .section { padding-top: 90px; }
  .section.beam-box, .section.dark-box { padding: 44px 22px 52px; margin-top: 90px; }
  /* One card at a time, with the next one peeking to hint the swipe.
     Tapping the peeking card scrolls it in (see main.js). */
  .why-grid {
    flex-wrap: nowrap;
    /* Override the grid's centering — with nowrap + overflow it would
       center the row and push the first cards to unreachable negative
       offsets. Start-align so every card can be scrolled to. */
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 22px;
    gap: 14px;
    margin: 0 -22px;
    padding: 4px 22px 2px;
    scrollbar-width: none;
  }
  .why-grid::-webkit-scrollbar { display: none; }
  .why-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
    cursor: pointer;
  }
  .why-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
  }
  .signup { margin: 130px 16px 0; padding: 48px 22px 44px; }
}

/* ---------------- motion ---------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-cue { animation: none; }
  .sk-card { animation: none; }
  .nav { transition: none; }
  .slot-carousel img { transition: none; }
  .section.beam-box::before { animation: none; }
  .why-card { transition: none; }
  .why-dot { transition: none; }
  .cta { transition: none; }
}
