﻿/* ============================================================================
   Episodeo - landing page
   "Premium cinema, after dark" - single committed dark theme.
   Display: Bricolage Grotesque · Body: Montserrat
   ========================================================================== */

:root {
  /* Brand */
  --violet: #B95CFF;
  --violet-dark: #8B1CFF;
  --indigo: #5A4CFF;
  --blue:   #3B82FF;
  --cyan:   #00D5FF;
  --purple: var(--violet);
  --rose:   var(--violet);
  --gold:   var(--cyan);
  --violet-2: var(--violet-dark);

  /* Grounds - neutrals biased toward violet, chosen not defaulted */
  --bg:      #08070d;
  --bg-2:    #0d0b16;
  --panel:   #131120;
  --panel-2: #17142a;

  /* Ink */
  --text:      #f6f3fc;
  --text-dim:  #a9a2c4;
  --text-mute: #736c94;

  /* Lines */
  --line:   rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  /* Signature gradient (official Episodeo colors, top-left -> bottom-right on the logo) */
  --grad: linear-gradient(to bottom right, #B95CFF 0%, #8B1CFF 24%, #5A4CFF 50%, #3B82FF 74%, #00D5FF 100%);
  --grad-soft: linear-gradient(to bottom right, rgba(185, 92, 255, 0.9), rgba(139, 28, 255, 0.9), rgba(90, 76, 255, 0.9), rgba(59, 130, 255, 0.9), rgba(0, 213, 255, 0.9));

  /* Radii */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1180px;
  --shadow-card: 0 30px 80px -50px rgba(0, 0, 0, 0.95);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* lock sideways panning: the full-bleed hero collage is wider than the screen.
     clip (not hidden) so the sticky header keeps working. */
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

::selection { background: rgba(185, 92, 255, 0.35); color: #fff; }

a { color: inherit; }

/* ---------- Ambient background: base + aurora + grain ---------- */
.bg-gradient,
.bg-glow,
.grain { position: fixed; inset: 0; pointer-events: none; }

.bg-gradient {
  z-index: -4;
  background:
    radial-gradient(60% 42% at 78% -4%, rgba(0, 213, 255, 0.13), transparent 60%),
    radial-gradient(52% 40% at 8% 8%, rgba(185, 92, 255, 0.14), transparent 62%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 620px);
}

/* Slow-drifting aurora blobs - GPU-friendly (transform/opacity only) */
.bg-glow { z-index: -3; overflow: hidden; }
.bg-glow::before,
.bg-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.bg-glow::before {
  width: 46vw; height: 46vw; min-width: 380px; min-height: 380px;
  top: -8vw; right: -6vw;
  background: radial-gradient(circle, rgba(90, 76, 255, 0.52), transparent 68%);
  animation: auroraA 26s ease-in-out infinite alternate;
}
.bg-glow::after {
  width: 40vw; height: 40vw; min-width: 320px; min-height: 320px;
  top: 34vh; left: -10vw;
  background: radial-gradient(circle, rgba(0, 213, 255, 0.24), transparent 66%);
  animation: auroraB 32s ease-in-out infinite alternate;
}
@keyframes auroraA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-6vw, 6vh, 0) scale(1.14); }
}
@keyframes auroraB {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(7vw, -4vh, 0) scale(1.1); }
}

/* Film grain - very subtle, sells the "cinema" feel */
.grain {
  z-index: -1;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hidden { display: none; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  z-index: 60; background: var(--grad);
  box-shadow: 0 0 12px rgba(185, 92, 255, 0.8);
  transition: width 0.05s linear;
}

/* ---------- Layout ---------- */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(38px, 5.5vw, 78px) 0; }

/* ---------- Header ---------- */
.site-header {
  padding: 18px max(24px, calc((100% - var(--maxw)) / 2 + 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  background: linear-gradient(180deg, rgba(8, 7, 13, 0.78), rgba(8, 7, 13, 0.30));
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: linear-gradient(180deg, rgba(8, 7, 13, 0.92), rgba(8, 7, 13, 0.66));
  padding-top: 13px; padding-bottom: 13px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: auto; height: 38px; display: block; }
.brand-wordmark { height: 21px; width: auto; display: block; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-name-sm { font-size: 1.1rem; }

.header-actions { display: flex; align-items: center; gap: 10px; }
/* Segmented language toggle, mirrors the in-app All/Movies/Series control */
.lang-switch {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  border-radius: 999px;
}
.lang-switch a {
  padding: 5px 13px;
  border-radius: 999px;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.03em;
  color: var(--text-mute);
  text-decoration: none;
  transition: color 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.active {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 4px 12px -5px rgba(185, 92, 255, 0.75);
}
/* Short waitlist label appears only on compact/phone headers */
.btn-waitlist .lbl-short { display: none; }

/* ---------- Mobile menu (native details, no JS) ---------- */
.menu { position: relative; display: none; }
.menu > summary {
  list-style: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary svg { width: 18px; height: 18px; color: var(--text); }
.menu[open] > summary { background: rgba(255, 255, 255, 0.12); border-color: rgba(185, 92, 255, 0.5); }
.menu .bar-x { display: none; }
.menu[open] .bar-burger { display: none; }
.menu[open] .bar-x { display: block; }

.menu-panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  z-index: 50;
  width: max-content; min-width: 214px;
  padding: 10px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: rgba(13, 11, 22, 0.97);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
  animation: menuIn 0.18s ease;
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.menu-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem; font-weight: 600;
}
.menu-panel a:hover { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.menu-sep { height: 1px; margin: 8px 4px; background: var(--line); }
.menu-panel .lang-switch { display: inline-flex; margin: 4px 8px 2px; }

/* Download button inside the panel keeps the main CTA reachable */
.menu-panel .btn { width: 100%; margin-bottom: 4px; }

@media (max-width: 640px) {
  .menu { display: block; }
  .site-header > .header-actions > .lang-switch,
  .site-header .btn-contact,
  .site-header > .header-actions > .btn-waitlist { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  --_lift: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 13px 26px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, opacity 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 40px -14px rgba(185, 92, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover { transform: translateY(var(--_lift)); box-shadow: 0 22px 54px -14px rgba(185, 92, 255, 0.92), inset 0 1px 0 rgba(255, 255, 255, 0.34); }
/* Sheen sweep */
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
}
.btn-primary:hover::after { transform: translateX(130%); }

.btn-lg { padding: 17px 38px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.86rem; }
.btn-block { width: 100%; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(185, 92, 255, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -14px rgba(90, 76, 255, 0.7);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--line-2);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0, 213, 255, 0.07); transform: translateY(-1px); }

/* ---------- Chips / eyebrow / tags ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #c9f6ff;
  background: rgba(0, 213, 255, 0.09);
  border: 1px solid rgba(0, 213, 255, 0.3);
  padding: 8px 15px;
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: 0 12px 34px -24px rgba(0, 213, 255, 0.75);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: livePulse 2.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #d8c7ff;
  background: rgba(185, 92, 255, 0.12);
  border: 1px solid rgba(185, 92, 255, 0.32);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---------- Headings ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); }

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  text-wrap: balance;
}

.gradient-text {
  background: var(--grad);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradFlow 11s ease-in-out infinite;
}
@keyframes gradFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.42rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.subtitle {
  font-size: clamp(1.0rem, 1.7vw, 1.16rem);
  color: var(--text-dim);
  max-width: 52ch;
  margin-bottom: 30px;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 52px;
  padding-top: clamp(44px, 6vw, 78px);
  padding-bottom: clamp(56px, 8vw, 104px);
  position: relative;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw;
  z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(8, 7, 13, 0.72) 12%, rgba(8, 7, 13, 0.18) 32%, rgba(8, 7, 13, 0.18) 68%, rgba(8, 7, 13, 0.72) 88%, var(--bg) 100%),
    radial-gradient(80% 64% at 52% 12%, transparent 0%, rgba(8, 7, 13, 0.42) 46%, var(--bg) 86%),
    linear-gradient(180deg, transparent 30%, rgba(8, 7, 13, 0.72) 74%, var(--bg) 96%);
}
.hero-copy { max-width: 580px; position: relative; z-index: 1; }

/* Cinema poster field behind hero (populated by tvdb-backdrops.js) */
.cinema-field {
  position: absolute;
  top: -4%; left: 50%; width: 100vw; margin-left: -50vw;
  z-index: -3;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: rotate(-7deg) scale(1.05);
  transform-origin: center;
  opacity: 0.52;
  pointer-events: none;
  overflow: hidden;
  padding: 0 24px;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(180deg, #000 0%, #000 36%, transparent 78%);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(180deg, #000 0%, #000 36%, transparent 78%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}
.poster-row {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: posterSlideLeft 78s linear infinite;
}
.poster-row:nth-child(2) { animation-name: posterSlideRight; transform: translateX(-12%); }
.poster-row:nth-child(3) { animation-duration: 96s; }
.poster-row span {
  flex: 0 0 auto;
  width: 106px; height: 156px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, #20135a, var(--violet));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 36px -22px rgba(0, 0, 0, 0.95);
}
.poster-row-wide span { width: 212px; height: 120px; }
.poster-row span::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.4), transparent 55%);
}
.poster-row span:nth-child(4n + 1) { background: linear-gradient(160deg, #20135a, var(--violet)); }
.poster-row span:nth-child(4n + 2) { background: linear-gradient(160deg, #1f1b66, var(--indigo)); }
.poster-row span:nth-child(4n + 3) { background: linear-gradient(160deg, #062f4c, var(--cyan)); }
.poster-row span:nth-child(4n + 4) { background: linear-gradient(160deg, #12256a, var(--blue)); }
.poster-row span.poster-live { background-position: center; background-size: cover; }
@keyframes posterSlideLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes posterSlideRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.hero-visual { display: flex; justify-content: center; position: relative; z-index: 1; }

/* ---------- Phone mockup ---------- */
.phone {
  position: relative;
  border-radius: 44px;
  padding: 10px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(160deg, #2a2340, #0c0914);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.66),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 130px rgba(185, 92, 255, 0.24);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
  will-change: transform;
}
.phone::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), transparent 30%, rgba(185, 92, 255, 0.24));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
}
.phone img {
  display: block;
  width: 288px;
  max-width: 100%;
  border-radius: 35px;
}
.phone-sm img { width: 258px; }

/* Floating badges around hero phone */
.phone-wrap { position: relative; }
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(19, 17, 32, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 46px -24px rgba(0, 0, 0, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  z-index: 2;
}
.float-badge .fb-ico {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 8px;
  font-size: 0.95rem;
}
.float-badge small { display: block; font-size: 0.68rem; font-weight: 600; color: var(--text-mute); letter-spacing: 0.02em; }
.float-badge-a { top: 12%; left: -8%; animation: floaty 6s ease-in-out infinite; }
.float-badge-b { bottom: 14%; right: -10%; animation: floaty 7s ease-in-out infinite 0.8s; }
.float-badge-a .fb-ico { background: rgba(0, 213, 255, 0.16); color: var(--cyan); }
.float-badge-b .fb-ico { background: rgba(185, 92, 255, 0.16); color: var(--violet); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Signup / notes ---------- */
.waitlist-cta { margin-bottom: 6px; }
.signup-note { font-size: 0.85rem; color: var(--text-dim); margin-top: 14px; }

/* ---------- Hero / CTA groups ---------- */
.cta-group { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 6px; }
.final-cta .cta-group { justify-content: center; }
/* Pair the CTA buttons with the App Store badge: matched height + rounded-rect corners */
.cta-group .btn-lg { padding: 15px 30px; border-radius: 12px; height: 54px; }
/* Official App Store badge: never restyle the artwork, just size and space it */
.store-badge { display: inline-flex; border-radius: 12px; transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.2s ease; }
.store-badge img { display: block; height: 54px; width: auto; }
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.06); }
.store-badge:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.cta-note { font-size: 0.85rem; color: var(--text-dim); margin-top: 14px; max-width: 54ch; }
.cta-note a { color: var(--cyan); font-weight: 600; }
.final-cta .cta-note { margin-left: auto; margin-right: auto; }
.age-note { font-size: 0.8rem; color: var(--text-mute); margin-top: 8px; max-width: 48ch; }
.final-age-note { margin: 16px auto 0; }
.success { font-size: 1.15rem; font-weight: 700; color: var(--text); padding: 16px 0; }

/* Trust strip under hero CTA */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 26px;
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: 999px;
}
.trust-strip span::before {
  content: "";
  width: 5px; height: 5px; border-radius: 999px;
  background: var(--violet);
  box-shadow: 0 0 8px var(--violet);
}

/* ---------- Import bridge (TV Time) ---------- */
.import-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(185, 92, 255, 0.16), transparent 56%),
    radial-gradient(120% 130% at 100% 100%, rgba(0, 213, 255, 0.11), transparent 56%),
    linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(34px, 6vw, 60px);
  text-align: center;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.import-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c9f6ff;
  background: rgba(0, 213, 255, 0.1);
  border: 1px solid rgba(0, 213, 255, 0.32);
  padding: 8px 15px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.import-card h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  text-wrap: balance;
}
.import-card > p { color: var(--text-dim); font-size: 1.08rem; max-width: 50ch; margin: 0 auto; }
.import-actions { margin-top: 26px; }
.import-hint { font-size: 0.84rem; color: var(--text-mute); margin-top: 16px; }

/* ---------- Section titles ---------- */
.section-head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.section-kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradFlow 11s ease-in-out infinite;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin: 0 auto;
  text-wrap: balance;
}

/* ---------- Showcase rows ---------- */
.showcase { display: flex; flex-direction: column; gap: clamp(44px, 6vw, 72px); }
.row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
}
.row-reverse { direction: rtl; }
.row-reverse > * { direction: ltr; }
.row .phone { justify-self: center; }
.row-copy { position: relative; z-index: 1; max-width: 500px; }
@media (min-width: 901px) {
  .row:not(.row-reverse) .row-copy { margin-right: auto; }
  .row-reverse .row-copy { margin-left: auto; }
}

/* Trending poster accent filling the empty outer gutter of each showcase row */
.row-art {
  position: absolute; top: 50%; z-index: 0;
  display: flex; gap: 16px;
  opacity: 0.5;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(130% 120% at 50% 42%, #000 52%, transparent 100%);
  mask-image: radial-gradient(130% 120% at 50% 42%, #000 52%, transparent 100%);
}
.row:not(.row-reverse) .row-art { right: 6px; transform: translateY(-50%) rotate(6deg); }
.row-reverse .row-art { left: 6px; transform: translateY(-50%) rotate(-6deg); }
.row-art .poster-fill { width: 112px; height: 164px; border-radius: 15px; }
.row-art .poster-fill:nth-child(2) { margin-top: 44px; }

.row-copy h3 {
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 14px;
  text-wrap: balance;
}
.row-copy p { color: var(--text-dim); font-size: 1.06rem; max-width: 46ch; }
.row-list { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.row-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.96rem; color: var(--text-dim);
}
.row-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px; height: 18px; margin-top: 2px;
  border-radius: 6px;
  background: var(--grad-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.55 17.6 4.9 12.95l1.4-1.4 3.25 3.25 8.15-8.15 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.55 17.6 4.9 12.95l1.4-1.4 3.25 3.25 8.15-8.15 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.row-reverse .row-list li { text-align: left; }

/* ---------- Bento feature grid ---------- */
/* Poster artwork sits inside each card as its background (painted by tvdb-backdrops.js) */
.feature > *:not(.feature-bg) { position: relative; z-index: 1; }
.feature-bg {
  position: absolute; inset: 0; z-index: 0;
  background: #141026 center / cover no-repeat;
}
.feature-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 18, 0.62) 0%, rgba(8, 7, 13, 0.86) 60%, rgba(8, 7, 13, 0.93) 100%);
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(146px, auto);
  gap: 16px;
}
.feature {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 100% at 50% 0%, rgba(185, 92, 255, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.feature:hover { transform: translateY(-5px); border-color: rgba(185, 92, 255, 0.36); box-shadow: 0 30px 64px -40px rgba(0, 0, 0, 0.95); }
.feature:hover::before { opacity: 1; }
.feature-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  font-size: 1.18rem;
  border-radius: 11px;
  background: rgba(185, 92, 255, 0.12);
  border: 1px solid rgba(185, 92, 255, 0.24);
  margin-bottom: 14px;
}
.feature h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 7px; letter-spacing: -0.01em; }
.feature p { color: rgba(246, 243, 252, 0.86); font-size: 0.92rem; }

/* Import icon - down arrow glyph instead of emoji */
.feature-icon-import svg { width: 19px; height: 19px; color: #c6b8ff; }

/* Poster tile (gradient fallback; real backdrops painted by tvdb-backdrops.js) */
.poster-fill {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(160deg, #20135a, var(--violet));
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 14px 30px -20px rgba(0, 0, 0, 0.95);
}
.poster-fill::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.36), transparent 58%);
}

/* Visual feature cards - poster artwork on top, copy pinned at the bottom */
.feature-party, .feature-swipe {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}
.feature-party { grid-column: span 2; grid-row: span 2; }
.feature-swipe { grid-row: span 2; }
.feature-party .feature-body, .feature-swipe .feature-body { margin-top: auto; }
.feature-party .feature-body p { max-width: 46ch; }

/* Check-in & watch party - a live watch-together card */
.party-visual { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.party-backdrop { display: block; width: 100%; height: 150px; border-radius: 14px; background-image: linear-gradient(160deg, #20135a, var(--violet)); }
.live-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(8, 7, 13, 0.68);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em; color: #fff;
}
.live-badge i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff4d5e; box-shadow: 0 0 10px #ff4d5e;
  animation: livePulse 2s ease-in-out infinite;
}
.party-people { display: flex; align-items: center; gap: 12px; }
.party-count { font-size: 0.86rem; font-weight: 600; color: var(--text-dim); }

/* Swipe it - a fanned discovery stack */
.swipe-stack { position: relative; flex: 1 1 auto; min-height: 150px; }
.swipe-card {
  position: absolute; top: 50%; left: 50%;
  width: 116px; height: 150px; border-radius: 15px;
}
.sc-1 { transform: translate(-50%, -50%) rotate(-4deg); z-index: 3; }
.sc-2 { transform: translate(-42%, -53%) rotate(6deg); z-index: 2; filter: brightness(0.82); background-image: linear-gradient(160deg, #1f1b66, var(--indigo)); }
.sc-3 { transform: translate(-58%, -47%) rotate(-12deg); z-index: 1; filter: brightness(0.62); background-image: linear-gradient(160deg, #062f4c, var(--cyan)); }
.swipe-like {
  position: absolute; top: 9px; right: 9px; z-index: 4;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.92rem; color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 18px -6px rgba(185, 92, 255, 0.85);
}

/* Shared watchlists - full-width social card */
.feature-shared {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 30px 32px;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(185, 92, 255, 0.16), transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.feature-shared .feature-body { flex: 1 1 auto; max-width: 46ch; }
.feature-shared .feature-body p { margin-bottom: 0; }
.share-strip { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.share-strip .poster-fill { width: 66px; height: 96px; border-radius: 11px; }
.share-strip .poster-fill:nth-child(2) { background-image: linear-gradient(160deg, #1f1b66, var(--indigo)); }
.share-strip .poster-fill:nth-child(3) { background-image: linear-gradient(160deg, #062f4c, var(--cyan)); }
.share-strip .poster-fill:nth-child(4) { background-image: linear-gradient(160deg, #12256a, var(--blue)); }
.share-avatars { display: flex; align-items: center; margin-left: 6px; }
.share-avatars i {
  width: 34px; height: 34px; border-radius: 50%;
  margin-left: -12px;
  display: grid; place-items: center;
  font-style: normal; font-weight: 700; font-size: 0.82rem; color: #fff;
  border: 2px solid var(--bg);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.8);
}
.share-avatars i:nth-child(1) { background: linear-gradient(160deg, var(--violet), var(--blue)); }
.share-avatars i:nth-child(2) { background: linear-gradient(160deg, var(--violet-dark), var(--indigo)); }
.share-avatars i:nth-child(3) { background: linear-gradient(160deg, var(--cyan), var(--blue)); color: #08070d; }

/* Score chips inside hero card */
.score-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.score-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.74rem; font-weight: 700;
  padding: 6px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-2);
}
.score-chip b { color: var(--gold); font-variant-numeric: tabular-nums; }
.score-chip.is-ep b { color: var(--cyan); }

/* ---------- Premium ---------- */
.premium-card {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 40px 90px -60px rgba(139, 28, 255, 0.9);
  overflow: hidden;
}
.premium-card::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 70% at 50% 0%, rgba(139, 28, 255, 0.18), transparent 62%);
}
.premium-card > * { position: relative; z-index: 1; }

.premium-head { text-align: center; margin-bottom: clamp(26px, 3.5vw, 40px); }
.premium-crown {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 16px;
  font-size: 1.7rem;
  background: var(--grad);
  box-shadow: 0 14px 34px -14px rgba(139, 28, 255, 0.9);
}
.premium-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 12px; text-wrap: balance;
}
.premium-head > p { color: var(--text-dim); font-size: 1.05rem; max-width: 52ch; margin: 0 auto; }

.perk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 14px;
}
.perk {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 15px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.perk:hover { border-color: rgba(185, 92, 255, 0.4); background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }
.perk-ico {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 11px;
  font-size: 1.05rem;
  background: var(--grad);
}
.perk h4 { font-size: 0.98rem; font-weight: 700; margin-bottom: 3px; letter-spacing: -0.01em; }
.perk p { color: var(--text-dim); font-size: 0.86rem; line-height: 1.5; }
.perk-soon {
  display: inline-block; vertical-align: middle;
  margin-left: 7px; padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff;
  background: var(--grad);
}

/* Perks are collapsed by default: the full list is very long on phones */
.premium-details { text-align: center; }
.premium-details > summary { list-style: none; }
.premium-details > summary::-webkit-details-marker { display: none; }
.premium-toggle { cursor: pointer; }
.premium-toggle .chev { font-size: 0.75em; transition: transform 0.25s ease; }
.premium-details[open] .premium-toggle .chev { transform: rotate(180deg); }
.premium-toggle .lbl-open { display: none; }
.premium-details[open] .premium-toggle .lbl-open { display: inline; }
.premium-details[open] .premium-toggle .lbl-closed { display: none; }
.premium-details .perk-grid { text-align: left; margin-top: clamp(22px, 3vw, 30px); }

.premium-foot { text-align: center; margin-top: clamp(26px, 3.5vw, 38px); }
.premium-foot .cta-group { justify-content: center; }
.premium-foot .cta-note { margin: 14px auto 0; }

@media (max-width: 560px) {
  .perk-grid { grid-template-columns: 1fr; }
}

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; position: relative; overflow: hidden; }
.final-cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(66% 120% at 50% 0%, rgba(185, 92, 255, 0.24), transparent 60%);
}
.cta-mark { width: 66px; height: 66px; margin-bottom: 22px; filter: drop-shadow(0 8px 28px rgba(185, 92, 255, 0.5)); }
.final-cta h2 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  text-wrap: balance;
}
.final-cta > p { color: var(--text-dim); font-size: 1.12rem; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px 24px 64px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.site-footer .brand-wordmark { height: 20px; margin: 0 auto 8px; }
.footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 10px 12px;
  margin: 20px 0;
}
.footer-nav a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem; font-weight: 600;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.footer-nav a:hover {
  color: var(--text);
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}
/* Discord: community link in the footer */
.footer-nav a.footer-discord svg { width: 16px; height: 16px; flex: 0 0 auto; }
.footer-nav a.footer-discord:hover { color: #fff; border-color: rgba(88, 101, 242, 0.75); background: rgba(88, 101, 242, 0.18); }

/* Language switch - the standout footer button */
.footer-nav a.footer-lang {
  position: relative;
  color: var(--text);
  border-color: transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
}
.footer-nav a.footer-lang svg { width: 15px; height: 15px; }
.footer-nav a.footer-lang:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -14px rgba(185, 92, 255, 0.9);
  background:
    linear-gradient(var(--panel-2), var(--panel-2)) padding-box,
    var(--grad) border-box;
}
.site-footer p { color: var(--text-mute); font-size: 0.84rem; }

/* ---------- Contact page ---------- */
.contact-page {
  position: relative;
  overflow: hidden;
}
.contact-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 213, 255, 0.13), transparent 32%),
    radial-gradient(circle at 18% 14%, rgba(185, 92, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(16, 13, 27, 0.96), var(--bg) 58%);
}
.contact-hero {
  width: min(980px, calc(100% - 48px));
  min-height: 360px;
  margin: 0 auto;
  padding: 138px 0 56px;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.contact-copy { max-width: 760px; }
.contact-copy h1 {
  font-size: clamp(3rem, 7.6vw, 6.3rem);
  line-height: 0.92;
  max-width: 760px;
  margin: 0 0 24px;
}
.contact-copy p:not(.section-kicker) {
  max-width: 620px;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.75;
}

.contact-form-section {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 clamp(70px, 8vw, 110px);
}
.contact-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    rgba(12, 10, 20, 0.82);
  box-shadow: 0 42px 120px -52px rgba(0, 0, 0, 0.92);
}
.contact-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}
.contact-shell-head {
  padding: clamp(24px, 4vw, 38px) clamp(24px, 4vw, 42px) 18px;
}
.contact-shell-head h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.6rem);
  letter-spacing: -0.035em;
}
.tally-frame {
  padding: 0 clamp(18px, 4vw, 34px) clamp(18px, 4vw, 34px);
}
.tally-frame iframe {
  display: block;
  width: 100%;
  min-height: 690px;
  border: 0;
  border-radius: 18px;
  background: transparent;
}

/* ---------- Legal / content pages ---------- */
.page { max-width: 780px; margin: 0 auto; padding: 30px 24px 80px; }
.back-home { display: inline-block; margin-bottom: 30px; color: var(--text-dim); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.back-home:hover { color: var(--text); }
.page h1 { font-size: clamp(2rem, 5vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.page .updated { color: var(--text-mute); font-size: 0.9rem; margin-bottom: 30px; }
.page h2 { font-size: 1.32rem; font-weight: 700; margin: 36px 0 12px; font-family: var(--font-display); }
.page h3 { font-size: 1.05rem; font-weight: 700; margin: 22px 0 8px; }
.page .lead { color: var(--text-dim); font-size: 1.05rem; line-height: 1.75; }
.page p { color: var(--text-dim); margin-bottom: 14px; }
.page ul { margin: 0 0 16px 22px; }
.page ol { margin: 0 0 16px 22px; }
.page li { color: var(--text-dim); margin-bottom: 8px; }
.page a { color: var(--cyan); }
/* Button links inside .page keep their own text color, not the cyan link color */
.page a.btn-primary { color: #fff; }
.page a.btn-outline, .page a.btn-ghost { color: var(--text); }
.page code {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #d8ceff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 0.08em 0.36em;
}
.path-pill {
  display: inline-block;
  padding: 0.18em 0.58em;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #d8ceff;
  font-weight: 700;
}
.step-list {
  counter-reset: step;
  list-style: none;
  margin-left: 0 !important;
  padding-left: 0;
}
.step-list li {
  position: relative;
  padding: 14px 16px 14px 58px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
}
.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 13px;
  left: 16px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(185, 92, 255, 0.16);
  border: 1px solid rgba(185, 92, 255, 0.28);
  color: #cfc7ff;
  font-size: 0.82rem;
  font-weight: 800;
}
.notice-box, .meta-box {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  margin: 22px 0;
}
.notice-box {
  background: linear-gradient(to bottom right, rgba(185, 92, 255, 0.13), rgba(0, 213, 255, 0.08));
}
.meta-box {
  background: rgba(255, 255, 255, 0.04);
}
.notice-box p, .meta-box p { margin: 0; }
.contact-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 24px;
  margin: 22px 0;
}
.contact-box p { margin: 0; color: var(--text); }
.contact-box a { font-weight: 700; }
.faq {
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--violet-2);
  font-family: var(--font-body);
  font-size: 1.35rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "-"; }
.faq .answer {
  padding: 0 4px 18px;
}
.faq .answer p:first-child { margin-top: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-copy { max-width: 660px; margin: 0 auto; }
  .waitlist-cta, .trust-strip, .hero-copy .cta-group { justify-content: center; }
  .hero-copy .cta-note { margin-left: auto; margin-right: auto; }
  .trust-strip { display: flex; }
  .hero-visual { order: -1; }
  .cinema-field { top: -6%; opacity: 0.42; transform: rotate(-8deg) scale(0.98); }

  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .feature-party { grid-column: span 2; grid-row: auto; }
  .feature-swipe { grid-column: span 1; grid-row: auto; }
  .feature-swipe .swipe-stack { min-height: 190px; }
  .feature-shared { grid-column: span 2; }

  .row, .row-reverse { grid-template-columns: 1fr; text-align: center; direction: ltr; gap: 30px; }
  .row-art { display: none; }
  .row-copy { max-width: 540px; margin: 0 auto; }
  .row-copy p { margin: 0 auto; }
  /* Keep the checkmarks in a clean left-aligned column, but center the whole block */
  .row-list { align-items: flex-start; width: fit-content; max-width: 100%; margin: 18px auto 0; }
  .row-list li { text-align: left; }

  .float-badge-a { left: 2%; }
  .float-badge-b { right: 2%; }

  .contact-hero {
    padding-top: 126px;
    text-align: center;
    justify-content: center;
  }
  .contact-copy { margin: 0 auto; }
  .contact-copy p:not(.section-kicker) { margin: 0 auto; }
}

/* Compact header: icon-only brand + short waitlist label so the toggle and
   buttons never collide on phones. */
@media (max-width: 640px) {
  .brand-wordmark { display: none; }
  .btn-waitlist .lbl-full { display: none; }
  .btn-waitlist .lbl-short { display: inline; }
  .site-header .btn-sm { padding: 9px 15px; font-size: 0.82rem; }
  .header-actions { gap: 8px; }
}

@media (max-width: 560px) {
  .site-header { padding: 14px 14px; gap: 8px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-mark { height: 30px; }
  .header-actions { gap: 6px; }
  .site-header .btn-sm { padding: 8px 12px; font-size: 0.8rem; }
  .lang-switch { padding: 2px; }
  .lang-switch a { padding: 5px 9px; font-size: 0.74rem; }

  h1 { font-size: clamp(2.1rem, 11vw, 2.7rem); }
  .hero { gap: 30px; padding-top: 28px; padding-bottom: 60px; }
  .phone img { width: 232px; }
  .phone-sm img { width: 220px; }
  .cinema-field { opacity: 0.32; }
  .poster-row span { width: 82px; height: 120px; border-radius: 11px; }
  .poster-row-wide span { width: 160px; height: 90px; }

  .bento { grid-template-columns: 1fr; }
  .feature-party, .feature-swipe, .feature-shared { grid-column: span 1; }
  .feature-shared { flex-direction: column; align-items: flex-start; gap: 20px; }
  .share-strip { flex-wrap: wrap; }
  .float-badge { display: none; }
  .eyebrow { margin-bottom: 20px; }

  .contact-hero,
  .contact-form-section { width: min(100% - 32px, 980px); }
  .contact-hero { padding-top: 104px; padding-bottom: 38px; }
  .contact-copy h1 { font-size: clamp(2.35rem, 14vw, 3.6rem); }
  .contact-shell { border-radius: 20px; }
  .contact-shell-head { display: block; padding: 22px 20px 12px; }
  .tally-frame { padding: 0 12px 12px; }
  .tally-frame iframe { min-height: 760px; border-radius: 14px; }
}

/* Very narrow phones: the 3-language switcher needs the header to tighten up */
@media (max-width: 380px) {
  .site-header { padding: 12px 12px; gap: 6px; }
  .header-actions { gap: 5px; }
  .lang-switch { padding: 2px; gap: 2px; }
  .lang-switch a { padding: 4px 7px; font-size: 0.7rem; letter-spacing: 0.02em; }
  .site-header .btn-sm { padding: 7px 10px; font-size: 0.74rem; }
}

/* ---------- Mobile: turn the two long sections into swipeable carousels ---------- */
@media (max-width: 900px) {
  .showcase,
  .bento {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 24px;
    /* bleed to the screen edges so cards can peek in from the side */
    margin-left: -24px; margin-right: -24px;
    padding: 4px 24px 16px;
    scrollbar-width: none;
  }
  .showcase::-webkit-scrollbar,
  .bento::-webkit-scrollbar { display: none; }

  .showcase > .row,
  .bento > .feature {
    flex: 0 0 86%;
    max-width: 420px;
    scroll-snap-align: center;
    margin: 0;
  }
  /* cards spanning several cells on desktop go back to a single slide */
  .bento > .feature-party,
  .bento > .feature-swipe,
  .bento > .feature-shared { grid-column: auto; grid-row: auto; }
  .feature-party, .feature-swipe { min-height: 380px; }
  .feature-shared { flex-direction: column; align-items: flex-start; gap: 18px; }

  /* each showcase slide must fit one phone screen */
  .showcase > .row { display: block; text-align: center; }
  .showcase .phone-sm { margin: 0 auto 14px; padding: 7px; border-radius: 30px; }
  .showcase .phone-sm img { width: 145px; }
  .showcase .row-copy { max-width: none; }
  .showcase .tag { margin-bottom: 10px; padding: 5px 11px; font-size: 0.68rem; }
  .showcase .row-copy h3 { font-size: 1.3rem; margin-bottom: 8px; }
  .showcase .row-copy p { font-size: 0.92rem; line-height: 1.5; }
  .showcase .row-list { margin-top: 12px; gap: 6px; }
  .showcase .row-list li { font-size: 0.85rem; }

  /* swipe affordance */
  .swipe-hint {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 6px;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
    text-transform: uppercase; color: var(--text-mute);
  }
  .swipe-hint .arrow { animation: nudge 1.6s ease-in-out infinite; }
}
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.swipe-hint { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .poster-row,
  .bg-glow::before, .bg-glow::after,
  .float-badge, .eyebrow::before { animation: none !important; }
  .gradient-text, .section-kicker { animation: none !important; background-size: 100% 100%; background-position: 0 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .phone, .feature { transition: none; }
}

/* ============================================================================
   Cinematic editorial landing page
   Keeps the existing content and product imagery, but gives the three home
   pages a distinct full-bleed, story-led composition.
   ========================================================================== */

.landing-page {
  --maxw: 1440px;
  --bg: #050508;
  --bg-2: #080811;
  --panel: #0b0b13;
  --panel-2: #10101a;
  background: #050508;
  overflow-x: clip;
}

.landing-page .bg-gradient {
  background:
    radial-gradient(54% 46% at 86% 2%, rgba(0, 213, 255, 0.09), transparent 66%),
    radial-gradient(46% 38% at 4% 12%, rgba(139, 28, 255, 0.14), transparent 70%),
    linear-gradient(180deg, #080811 0%, #050508 680px);
}

.landing-page .bg-glow { opacity: 0.5; }
.landing-page .grain { opacity: 0.035; }

.landing-page main {
  max-width: var(--maxw);
  padding-inline: clamp(20px, 3.5vw, 52px);
}

.landing-page section {
  padding-block: clamp(64px, 8vw, 128px);
}

/* Floating navigation, deliberately separate from the cinematic canvas. */
.landing-page .site-header {
  width: min(calc(100% - 32px), 1376px);
  margin: 16px auto 0;
  padding: 13px 16px 13px 18px;
  top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(7, 7, 12, 0.7);
  box-shadow: 0 18px 54px -28px rgba(0, 0, 0, 0.95);
}

.landing-page .site-header.scrolled {
  padding: 10px 13px 10px 16px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(7, 7, 12, 0.88);
}

.landing-page .brand-mark { height: 34px; }
.landing-page .brand-wordmark { height: 22px; }
.landing-page .header-actions { gap: 8px; }
.landing-page .lang-switch { background: transparent; border-color: transparent; }
.landing-page .lang-switch a { color: rgba(246, 243, 252, 0.54); }
.landing-page .lang-switch a.active {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.landing-page .btn-sm { min-height: 40px; }
.landing-page .btn-contact { border-color: rgba(255, 255, 255, 0.1); background: transparent; }
.landing-page .btn-waitlist { border-radius: 10px; padding-inline: 21px; }

/* Full-height opening frame. */
.landing-page .hero {
  width: 100%;
  min-height: calc(100svh - 96px);
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: clamp(24px, 4vw, 72px);
  padding-top: clamp(70px, 8vw, 126px);
  padding-bottom: clamp(76px, 8vw, 120px);
  align-items: center;
}

.landing-page .hero::before {
  top: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, #050508 0%, rgba(5, 5, 8, 0.94) 15%, rgba(5, 5, 8, 0.58) 47%, rgba(5, 5, 8, 0.2) 75%, rgba(5, 5, 8, 0.58) 100%),
    linear-gradient(180deg, rgba(5, 5, 8, 0.08) 0%, rgba(5, 5, 8, 0.06) 56%, #050508 100%);
}

.landing-page .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.landing-page .cinema-field {
  top: -13%;
  left: 51%;
  width: 106vw;
  gap: 12px;
  padding: 0;
  opacity: 0.69;
  transform: rotate(-8deg) scale(1.13);
  filter: saturate(0.82) contrast(1.05) brightness(0.75);
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 100%), linear-gradient(180deg, #000 0%, #000 64%, transparent 98%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 100%), linear-gradient(180deg, #000 0%, #000 64%, transparent 98%);
}

.landing-page .poster-row { gap: 11px; }
.landing-page .poster-row span {
  width: 128px;
  height: 188px;
  border-radius: 7px;
  filter: brightness(0.82);
}
.landing-page .poster-row-wide span { width: 238px; height: 134px; }

.landing-page .hero-copy {
  max-width: 820px;
  padding-left: clamp(0px, 1vw, 12px);
}

.landing-page .hero-copy::before {
  content: "EPISODEO / 2026";
  display: block;
  margin-bottom: 20px;
  color: rgba(246, 243, 252, 0.5);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.landing-page .eyebrow {
  padding: 0;
  margin-bottom: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--cyan);
  letter-spacing: 0.11em;
}

.landing-page .hero h1 {
  max-width: 11.5ch;
  margin-bottom: 24px;
  font-size: clamp(4rem, 6.25vw, 6.25rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-wrap: initial;
}

.landing-page .tagline {
  max-width: 31ch;
  margin-bottom: 12px;
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
  font-weight: 600;
}

.landing-page .subtitle {
  max-width: 54ch;
  margin-bottom: 28px;
  color: rgba(246, 243, 252, 0.64);
  font-size: clamp(0.92rem, 1.08vw, 1.04rem);
  line-height: 1.75;
}

.landing-page .hero-copy .cta-group { gap: 10px; }
.landing-page .hero-copy .btn-outline {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(5, 5, 8, 0.45);
}
.landing-page .hero-copy .cta-note { color: rgba(246, 243, 252, 0.52); }
.landing-page .trust-strip { display: none; }

.landing-page .hero-visual {
  justify-content: flex-start;
  align-self: end;
  padding-bottom: clamp(0px, 2vw, 30px);
}

.landing-page .hero-visual .phone-wrap {
  transform: translateX(clamp(-30px, -2vw, 0px)) rotate(3deg);
}

.landing-page .hero-visual .phone {
  padding: 8px;
  border-radius: 48px;
  background: linear-gradient(145deg, #3a3843, #07070b 36%, #15131d);
  box-shadow:
    0 70px 140px -30px rgba(0, 0, 0, 0.96),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 120px -34px rgba(90, 76, 255, 0.75);
}

.landing-page .hero-visual .phone img {
  width: clamp(300px, 25vw, 382px);
  border-radius: 40px;
}

.landing-page .float-badge {
  border-radius: 9px;
  background: rgba(7, 7, 12, 0.82);
  border-color: rgba(255, 255, 255, 0.14);
}
.landing-page .float-badge-a { left: -13%; }
.landing-page .float-badge-b { right: -14%; }

/* Editorial bridges replace the repeated SaaS-style panels. */
.landing-page .import {
  padding-block: clamp(54px, 7vw, 104px);
}

.landing-page .import-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(34px, 6vw, 92px);
  text-align: left;
  border-width: 1px 0;
  border-radius: 0;
  background:
    radial-gradient(64% 140% at 100% 50%, rgba(0, 213, 255, 0.09), transparent 70%),
    linear-gradient(90deg, rgba(185, 92, 255, 0.09), transparent 40%);
  box-shadow: none;
}

.landing-page .import:nth-of-type(even) .import-card {
  align-items: flex-end;
  text-align: right;
  background:
    radial-gradient(64% 140% at 0% 50%, rgba(185, 92, 255, 0.11), transparent 70%),
    linear-gradient(270deg, rgba(0, 213, 255, 0.07), transparent 42%);
}

.landing-page .import-badge {
  padding: 0 0 10px;
  margin-bottom: 22px;
  color: var(--cyan);
  border: 0;
  border-bottom: 1px solid rgba(0, 213, 255, 0.35);
  border-radius: 0;
  background: transparent;
  letter-spacing: 0.15em;
}

.landing-page .import-card h2 {
  max-width: 15ch;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 5.8vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.landing-page .import-card > p {
  max-width: 56ch;
  margin: 0;
  color: rgba(246, 243, 252, 0.62);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
}
.landing-page .import:nth-of-type(even) .import-card > p { margin-left: auto; }
.landing-page .import-hint { margin-inline: 0; }

/* Feature story: each app screen gets a full editorial chapter. */
.landing-page .showcase {
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-page .showcase .row {
  min-height: min(860px, 92svh);
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(56px, 8vw, 150px);
  padding-block: clamp(76px, 9vw, 132px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-page .showcase .row-reverse { grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr); }
.landing-page .showcase .phone {
  padding: 7px;
  border-radius: 42px;
  transform: rotate(-3deg);
  background: linear-gradient(145deg, #2b2933, #07070b 40%, #111018);
  box-shadow: 0 64px 130px -36px rgba(0, 0, 0, 0.98), 0 0 0 1px rgba(255, 255, 255, 0.13);
}
.landing-page .showcase .row-reverse .phone { transform: rotate(3deg); }
.landing-page .showcase .phone-sm img { width: clamp(248px, 24vw, 348px); border-radius: 35px; }
.landing-page .row-copy { max-width: 660px; }
.landing-page .row-copy::before {
  display: block;
  margin-bottom: 28px;
  color: rgba(246, 243, 252, 0.34);
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 8vw, 8rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.07em;
}
.landing-page .showcase .row:nth-child(1) .row-copy::before { content: "01"; }
.landing-page .showcase .row:nth-child(2) .row-copy::before { content: "02"; }
.landing-page .showcase .row:nth-child(3) .row-copy::before { content: "03"; }
.landing-page .tag {
  padding: 0 0 9px;
  border: 0;
  border-bottom: 1px solid rgba(185, 92, 255, 0.45);
  border-radius: 0;
  background: transparent;
  color: var(--violet);
  letter-spacing: 0.15em;
}
.landing-page .row-copy h3 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}
.landing-page .row-copy p { color: rgba(246, 243, 252, 0.64); font-size: clamp(0.98rem, 1.25vw, 1.12rem); }
.landing-page .row-list { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.landing-page .row-list li { color: rgba(246, 243, 252, 0.72); }
.landing-page .row-list li::before { border-radius: 0; }
.landing-page .row-art { opacity: 0.28; }

/* Feature grid remains scannable, with straighter editorial geometry. */
.landing-page .features { padding-top: clamp(110px, 12vw, 190px); }
.landing-page .section-head { max-width: 1050px; margin: 0 0 clamp(56px, 8vw, 100px); text-align: left; }
.landing-page .section-title {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(3rem, 6.4vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.landing-page .bento { gap: 12px; }
.landing-page .feature {
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}
.landing-page .feature:hover { transform: translateY(-3px); border-color: rgba(0, 213, 255, 0.34); }
.landing-page .feature-icon { border-radius: 7px; background: rgba(255, 255, 255, 0.06); }
.landing-page .party-backdrop,
.landing-page .swipe-card,
.landing-page .share-strip .poster-fill { border-radius: 5px; }

.landing-page .premium-card {
  border-radius: 8px;
  padding: clamp(42px, 7vw, 92px);
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(90, 76, 255, 0.18), transparent 62%) padding-box,
    linear-gradient(180deg, #0d0c16, #08080e) padding-box,
    var(--grad) border-box;
  border-width: 1px;
}
.landing-page .premium-head h2 { font-size: clamp(3rem, 6vw, 6rem); line-height: 0.95; }
.landing-page .premium-head > p { color: rgba(246, 243, 252, 0.62); }
.landing-page .premium-crown { border-radius: 8px; }
.landing-page .perk { border-radius: 5px; }

.landing-page .final-cta {
  min-height: 78svh;
  display: grid;
  place-items: center;
}
.landing-page .final-cta h2 { font-size: clamp(3.3rem, 7vw, 7.2rem); line-height: 0.92; letter-spacing: -0.06em; }
.landing-page .site-footer { border-top-color: rgba(255, 255, 255, 0.1); }

@media (max-width: 1080px) {
  .landing-page .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  }
  .landing-page .hero h1 { font-size: clamp(3.7rem, 7vw, 5.3rem); }
  .landing-page .hero-visual .phone img { width: clamp(280px, 29vw, 338px); }
}

@media (max-width: 900px) {
  .landing-page main { padding-inline: 20px; }
  .landing-page section { padding-block: 72px; }
  .landing-page .site-header { width: min(calc(100% - 24px), 1376px); margin-top: 12px; top: 12px; }

  .landing-page .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 82px;
    padding-bottom: 80px;
    text-align: left;
  }
  .landing-page .hero-copy { order: 1; max-width: 760px; margin: 0; padding: 0; }
  .landing-page .hero-visual { order: 2; width: 100%; justify-content: center; padding: 0; }
  .landing-page .hero-copy .cta-group,
  .landing-page .hero-copy .trust-strip { justify-content: flex-start; }
  .landing-page .hero-copy .cta-note { margin-left: 0; margin-right: 0; }
  .landing-page .hero h1 { max-width: 11.5ch; font-size: clamp(3.5rem, 10.5vw, 5.7rem); }
  .landing-page .cinema-field { top: 22%; opacity: 0.4; transform: rotate(-8deg) scale(1.18); }
  .landing-page .hero-visual .phone-wrap { transform: rotate(2deg); }
  .landing-page .hero-visual .phone img { width: min(360px, 66vw); }

  .landing-page .import-card,
  .landing-page .import:nth-of-type(even) .import-card { align-items: flex-start; text-align: left; }
  .landing-page .import:nth-of-type(even) .import-card > p { margin-left: 0; }

  .landing-page .showcase {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    margin-inline: -20px;
    padding: 0 20px 20px;
    border: 0;
  }
  .landing-page .showcase > .row {
    flex: 0 0 min(86vw, 560px);
    min-height: 680px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
    scroll-snap-align: center;
  }
  .landing-page .showcase .phone-sm { margin: 0 auto 34px; }
  .landing-page .showcase .phone-sm img { width: min(240px, 48vw); }
  .landing-page .showcase .row-copy::before { margin-bottom: 20px; font-size: 4rem; }
  .landing-page .showcase .row-copy h3 { max-width: 13ch; margin-inline: auto; font-size: clamp(2rem, 7vw, 3.1rem); }
  .landing-page .showcase .row-copy p { font-size: 0.96rem; }
  .landing-page .showcase .row-list { display: none; }

  .landing-page .section-head { margin-bottom: 54px; }
  .landing-page .bento { margin-inline: -20px; padding-inline: 20px; }
}

@media (max-width: 640px) {
  .landing-page .site-header { padding: 10px 11px 10px 13px; border-radius: 13px; }
  .landing-page .site-header.scrolled { padding: 9px 10px 9px 12px; }
  .landing-page .brand-mark { height: 29px; }
  .landing-page .menu > summary { width: 39px; height: 39px; border-radius: 9px; }

  .landing-page .hero { gap: 38px; padding-top: 70px; padding-bottom: 62px; }
  .landing-page .hero-copy::before { margin-bottom: 15px; font-size: 0.62rem; }
  .landing-page .eyebrow { margin-bottom: 18px; font-size: 0.67rem; }
  .landing-page .hero h1 { margin-bottom: 20px; font-size: clamp(3.05rem, 14vw, 4.25rem); line-height: 0.91; }
  .landing-page .tagline { font-size: 1.02rem; }
  .landing-page .subtitle { display: none; }
  .landing-page .hero-copy .cta-group { margin-top: 26px; }
  .landing-page .hero-copy .cta-note { max-width: 36ch; font-size: 0.76rem; line-height: 1.55; }
  .landing-page .store-badge img { height: 50px; }
  .landing-page .cta-group .btn-lg { height: 50px; padding-inline: 20px; }
  .landing-page .cinema-field { top: 31%; opacity: 0.3; }
  .landing-page .hero-visual .phone-wrap { transform: rotate(1.5deg); }
  .landing-page .hero-visual .phone { padding: 6px; border-radius: 39px; }
  .landing-page .hero-visual .phone img { width: min(294px, 78vw); border-radius: 34px; }

  .landing-page .import { padding-block: 54px; }
  .landing-page .import-card { min-height: 0; padding: 56px 4px; }
  .landing-page .import-card h2 { font-size: clamp(2.45rem, 12vw, 3.65rem); }
  .landing-page .import-card > p { font-size: 0.94rem; line-height: 1.7; }

  .landing-page .showcase { padding-bottom: 12px; }
  .landing-page .showcase > .row { flex-basis: 88vw; min-height: 620px; padding: 34px 22px; }
  .landing-page .showcase .phone-sm { padding: 5px; border-radius: 33px; }
  .landing-page .showcase .phone-sm img { width: min(205px, 52vw); border-radius: 28px; }
  .landing-page .showcase .tag { font-size: 0.64rem; }
  .landing-page .showcase .row-copy::before { font-size: 3.4rem; }
  .landing-page .showcase .row-copy h3 { font-size: clamp(1.9rem, 8vw, 2.7rem); }
  .landing-page .showcase .row-copy p { font-size: 0.88rem; }

  .landing-page .features { padding-top: 104px; }
  .landing-page .section-title { font-size: clamp(2.75rem, 13vw, 4.2rem); }
  .landing-page .bento > .feature { border-radius: 6px; }

  .landing-page .premium-card { margin-inline: -4px; padding: 46px 22px; border-radius: 6px; }
  .landing-page .premium-head h2 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .landing-page .final-cta { min-height: 66svh; }
  .landing-page .final-cta h2 { font-size: clamp(3rem, 14vw, 4.7rem); }
}

/* ---------- Tighter rhythm + scroll-linked choreography ---------- */
.landing-page section {
  padding-block: clamp(42px, 5.5vw, 88px);
}

.landing-page .import {
  padding-block: clamp(14px, 1.8vw, 26px);
}

.landing-page .import-card {
  min-height: 300px;
  padding: clamp(38px, 5vw, 72px);
}

.landing-page .showcase .row {
  min-height: min(720px, 78svh);
  padding-block: clamp(54px, 6.5vw, 92px);
}

.landing-page .features {
  padding-top: clamp(76px, 8vw, 124px);
}

.landing-page .section-head {
  margin-bottom: clamp(42px, 5.5vw, 72px);
}

.landing-page .premium {
  padding-block: clamp(56px, 7vw, 96px);
}

.landing-page .final-cta {
  min-height: 60svh;
}

/* The variables are updated once per animation frame by landing-motion.js. */
.motion-ready .landing-page .hero-copy,
.motion-ready .landing-page .hero-visual .phone-wrap,
.motion-ready .landing-page .cinema-field,
.motion-ready .landing-page .import-card > *,
.motion-ready .landing-page .showcase .phone,
.motion-ready .landing-page .showcase .row-copy,
.motion-ready .landing-page .features .section-head,
.motion-ready .landing-page .premium-card > *,
.motion-ready .landing-page .final-cta > div {
  will-change: transform, opacity;
}

.motion-ready .landing-page .hero-copy {
  transform: translate3d(0, calc(var(--hero-exit, 0) * -64px), 0);
  opacity: calc(1 - var(--hero-exit, 0) * 0.5);
}

.motion-ready .landing-page .hero-visual .phone-wrap {
  transform:
    translate3d(clamp(-30px, -2vw, 0px), calc(var(--hero-exit, 0) * 82px), 0)
    rotate(calc(3deg - var(--hero-exit, 0) * 2deg))
    scale(calc(1 - var(--hero-exit, 0) * 0.045));
}

.motion-ready .landing-page .cinema-field {
  transform:
    translate3d(0, calc(var(--hero-exit, 0) * -86px), 0)
    rotate(-8deg)
    scale(calc(1.13 + var(--hero-exit, 0) * 0.035));
}

.motion-ready .landing-page .import-card > * {
  transform: translate3d(calc(var(--scene-offset, 0) * -42px), 0, 0);
  opacity: calc(0.72 + var(--scene-progress, 1) * 0.28);
}

.motion-ready .landing-page .import:nth-of-type(even) .import-card > * {
  transform: translate3d(calc(var(--scene-offset, 0) * 42px), 0, 0);
}

.motion-ready .landing-page .showcase .phone {
  transform:
    translate3d(0, calc(var(--scene-offset, 0) * 58px), 0)
    rotate(calc(-3deg + var(--scene-offset, 0) * 1.5deg))
    scale(calc(0.97 + var(--scene-progress, 1) * 0.03));
}

.motion-ready .landing-page .showcase .row-reverse .phone {
  transform:
    translate3d(0, calc(var(--scene-offset, 0) * 58px), 0)
    rotate(calc(3deg - var(--scene-offset, 0) * 1.5deg))
    scale(calc(0.97 + var(--scene-progress, 1) * 0.03));
}

.motion-ready .landing-page .showcase .row-copy {
  transform: translate3d(0, calc(var(--scene-offset, 0) * -34px), 0);
  opacity: calc(0.68 + var(--scene-progress, 1) * 0.32);
}

.motion-ready .landing-page .showcase .row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--grad);
  transform: scaleX(var(--scene-progress, 0));
  transform-origin: center;
  opacity: 0.65;
}

.motion-ready .landing-page .features .section-head {
  transform: translate3d(calc(var(--scene-offset, 0) * -30px), 0, 0);
}

.motion-ready .landing-page .premium-card > * {
  transform: translate3d(0, calc(var(--scene-offset, 0) * 24px), 0);
}

.motion-ready .landing-page .final-cta > div {
  transform: scale(calc(0.96 + var(--scene-progress, 1) * 0.04));
  opacity: calc(0.72 + var(--scene-progress, 1) * 0.28);
}

@media (max-width: 900px) {
  .landing-page section { padding-block: 52px; }
  .landing-page .hero { gap: 28px; padding-top: 58px; padding-bottom: 46px; }
  .landing-page .import { padding-block: 10px; }
  .landing-page .import-card { min-height: 0; padding: 44px 4px; }
  .landing-page .showcase > .row { min-height: 570px; padding: 30px 22px; }
  .landing-page .showcase .phone-sm { margin-bottom: 24px; }
  .landing-page .features { padding-top: 76px; }
  .landing-page .section-head { margin-bottom: 42px; }
  .landing-page .premium { padding-block: 52px; }
  .landing-page .premium-card { padding-top: 38px; padding-bottom: 38px; }
  .landing-page .final-cta { min-height: 54svh; }

  .motion-ready .landing-page .hero-visual .phone-wrap {
    transform:
      translate3d(0, calc(var(--hero-exit, 0) * 42px), 0)
      rotate(calc(1.5deg - var(--hero-exit, 0) * 1deg));
  }
  .motion-ready .landing-page .cinema-field {
    transform:
      translate3d(0, calc(var(--hero-exit, 0) * -48px), 0)
      rotate(-8deg)
      scale(1.18);
  }
  .motion-ready .landing-page .showcase .phone,
  .motion-ready .landing-page .showcase .row-reverse .phone {
    transform:
      translate3d(0, calc(var(--scene-offset, 0) * 24px), 0)
      rotate(calc(-1.5deg + var(--scene-offset, 0) * 1deg));
  }
  .motion-ready .landing-page .showcase .row-copy {
    transform: translate3d(0, calc(var(--scene-offset, 0) * -18px), 0);
  }
}

/* ============================================================================
   Mobile landing: compact, vertical and intentionally calm
   The desktop editorial layout stays intact. On touch screens every chapter
   is fully visible, with only the simple reveal animation left enabled.
   ========================================================================== */
@media (max-width: 900px) {
  .landing-page {
    overflow-x: clip;
  }

  .landing-page main {
    width: 100%;
    padding-inline: 18px;
  }

  .landing-page section {
    padding-block: 44px;
  }

  /* Slim navigation instead of the large floating banner. */
  .landing-page .site-header,
  .landing-page .site-header.scrolled {
    width: 100%;
    min-height: 62px;
    margin: 0;
    padding: 10px 18px;
    top: 0;
    border-width: 0 0 1px;
    border-color: rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: rgba(5, 5, 8, 0.82);
    box-shadow: none;
    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
  }

  .landing-page .brand { gap: 9px; }
  .landing-page .brand-mark { height: 29px; }
  .landing-page .brand-wordmark { display: block; height: 18px; }
  .landing-page .menu > summary {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
  }
  .landing-page .scroll-progress { display: none; }

  /* Hero: one clear message, one product image, no moving collage. */
  .landing-page .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 54px;
    padding-bottom: 52px;
    text-align: left;
  }

  .landing-page .hero-copy {
    order: 1;
    width: 100%;
    max-width: 640px;
    margin: 0;
    padding: 0;
  }

  .landing-page .hero-copy::before {
    margin-bottom: 14px;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .landing-page .eyebrow {
    margin-bottom: 16px;
    font-size: 0.66rem;
  }

  .landing-page .hero h1 {
    max-width: 11ch;
    margin-bottom: 20px;
    font-size: clamp(2.75rem, 12vw, 3.55rem);
    line-height: 0.96;
    letter-spacing: -0.052em;
  }

  .landing-page .tagline {
    max-width: 30ch;
    font-size: 1rem;
    line-height: 1.55;
  }

  .landing-page .subtitle { display: none; }

  .landing-page .hero-copy .cta-group {
    margin-top: 25px;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .landing-page .hero-copy .cta-note {
    max-width: 42ch;
    margin-inline: 0;
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .landing-page .cinema-field { display: none; }
  .landing-page .float-badge { display: none; }

  .landing-page .hero-visual {
    order: 2;
    width: 100%;
    justify-content: center;
    padding: 0;
  }

  .landing-page .hero-visual .phone-wrap,
  .landing-page .hero-visual .phone {
    transform: none;
  }

  .landing-page .hero-visual .phone {
    padding: 6px;
    border-radius: 39px;
  }

  .landing-page .hero-visual .phone img {
    width: min(276px, 74vw);
    border-radius: 34px;
  }

  /* Short product bridges become self-contained premium cards. */
  .landing-page .import {
    padding-block: 12px;
  }

  .landing-page .import-card,
  .landing-page .import:nth-of-type(even) .import-card {
    min-height: 0;
    align-items: flex-start;
    padding: 32px 24px;
    overflow: hidden;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background:
      radial-gradient(90% 90% at 100% 0%, rgba(0, 213, 255, 0.09), transparent 65%),
      radial-gradient(80% 100% at 0% 100%, rgba(139, 28, 255, 0.11), transparent 70%),
      rgba(255, 255, 255, 0.022);
  }

  .landing-page .import:nth-of-type(even) .import-card > p {
    margin-left: 0;
  }

  .landing-page .import-badge {
    margin-bottom: 18px;
    font-size: 0.65rem;
  }

  .landing-page .import-card h2 {
    max-width: 15ch;
    margin-bottom: 16px;
    font-size: clamp(2.05rem, 9.5vw, 2.75rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .landing-page .import-card > p {
    max-width: none;
    font-size: 0.91rem;
    line-height: 1.7;
  }

  .landing-page .import-actions { width: 100%; }
  .landing-page .import-actions .btn { max-width: 100%; }
  .landing-page .import-hint { font-size: 0.72rem !important; }

  /* Product chapters: vertical cards, never horizontal slides. */
  .landing-page .showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0;
    padding: 22px 0;
    overflow: visible;
    border: 0;
    scroll-snap-type: none;
  }

  .landing-page .showcase > .row,
  .landing-page .showcase > .row.row-reverse {
    width: 100%;
    max-width: none;
    min-height: 0;
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 28px;
    margin: 0;
    padding: 32px 24px;
    overflow: hidden;
    direction: ltr;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: linear-gradient(155deg, rgba(20, 18, 32, 0.94), rgba(8, 8, 13, 0.96));
    box-shadow: 0 30px 70px -54px rgba(90, 76, 255, 0.75);
  }

  .landing-page .showcase .phone,
  .landing-page .showcase .row-reverse .phone {
    margin: 0 auto;
    padding: 5px;
    border-radius: 32px;
    transform: none;
  }

  .landing-page .showcase .phone-sm img {
    width: min(190px, 50vw);
    border-radius: 27px;
  }

  .landing-page .showcase .row-copy {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .landing-page .showcase .row-copy::before { display: none; }

  .landing-page .showcase .tag {
    margin-bottom: 14px;
    padding-bottom: 7px;
    font-size: 0.62rem;
  }

  .landing-page .showcase .row-copy h3 {
    max-width: 15ch;
    margin: 0 0 14px;
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .landing-page .showcase .row-copy p {
    max-width: none;
    margin: 0;
    color: rgba(246, 243, 252, 0.66);
    font-size: 0.91rem;
    line-height: 1.7;
  }

  .landing-page .showcase .row-list { display: none; }
  .landing-page .showcase .row::after { display: none; }
  .landing-page .swipe-hint { display: none !important; }

  /* The feature grid follows the same vertical rhythm. */
  .landing-page .features {
    padding-top: 68px;
  }

  .landing-page .section-head {
    max-width: none;
    margin-bottom: 34px;
  }

  .landing-page .section-title {
    max-width: 13ch;
    font-size: clamp(2.4rem, 10vw, 3.25rem);
    line-height: 1;
    letter-spacing: -0.048em;
  }

  .landing-page .bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .landing-page .bento > .feature,
  .landing-page .bento > .feature-party,
  .landing-page .bento > .feature-swipe,
  .landing-page .bento > .feature-shared {
    width: 100%;
    max-width: none;
    min-height: 0;
    flex: none;
    margin: 0;
    border-radius: 20px;
    scroll-snap-align: none;
  }

  .landing-page .premium-card {
    margin: 0;
    padding: 36px 24px;
    border-radius: 24px;
  }

  .landing-page .premium-head h2 {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
    line-height: 1;
  }

  .landing-page .final-cta {
    min-height: auto;
    padding-block: 82px;
  }

  .landing-page .final-cta h2 {
    font-size: clamp(2.6rem, 11vw, 3.6rem);
    line-height: 0.98;
  }

  /* Guard against desktop scroll variables surviving an orientation change. */
  .motion-ready .landing-page .hero-copy,
  .motion-ready .landing-page .hero-visual .phone-wrap,
  .motion-ready .landing-page .cinema-field,
  .motion-ready .landing-page .import-card > *,
  .motion-ready .landing-page .showcase .phone,
  .motion-ready .landing-page .showcase .row-reverse .phone,
  .motion-ready .landing-page .showcase .row-copy,
  .motion-ready .landing-page .features .section-head,
  .motion-ready .landing-page .premium-card > *,
  .motion-ready .landing-page .final-cta > div {
    transform: none !important;
    opacity: 1 !important;
    will-change: auto;
  }

  .landing-page .reveal {
    transform: translateY(14px);
    transition-duration: 0.5s;
  }

  .landing-page .reveal.in { transform: none; }
}

@media (max-width: 640px) {
  .landing-page main { padding-inline: 16px; }

  .landing-page .site-header,
  .landing-page .site-header.scrolled {
    min-height: 58px;
    padding: 9px 16px;
  }

  .landing-page .brand-mark { height: 27px; }
  .landing-page .brand-wordmark { height: 17px; }
  .landing-page .menu > summary { width: 38px; height: 38px; }

  .landing-page .hero {
    gap: 34px;
    padding-top: 46px;
    padding-bottom: 42px;
  }

  .landing-page .hero h1 {
    font-size: clamp(2.65rem, 12.5vw, 3.25rem);
  }

  .landing-page .import-card,
  .landing-page .import:nth-of-type(even) .import-card,
  .landing-page .showcase > .row,
  .landing-page .showcase > .row.row-reverse {
    padding: 28px 22px;
  }

  .landing-page .bento > .feature { border-radius: 18px; }
}

/* Mobile presentation rails: one complete scene per viewport, inspired by
   premium editorial sites that combine full-frame content with a visible
   next-card edge and restrained progress controls. */
@media (max-width: 900px) {
  .landing-page .showcase,
  .landing-page .bento {
    display: flex;
    grid-template-columns: none;
    flex-flow: row nowrap;
    gap: 12px;
    margin-inline: -16px;
    padding: 4px 16px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .landing-page .showcase::-webkit-scrollbar,
  .landing-page .bento::-webkit-scrollbar { display: none; }

  .landing-page .showcase > .row,
  .landing-page .showcase > .row.row-reverse {
    flex: 0 0 calc(100vw - 68px);
    width: calc(100vw - 68px);
    max-width: 430px;
    height: clamp(540px, calc(100svh - 106px), 610px);
    min-height: 0;
    justify-content: flex-start;
    gap: 17px;
    padding: 22px 20px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .landing-page .showcase .phone,
  .landing-page .showcase .row-reverse .phone {
    flex: 0 0 auto;
    margin: 0 auto;
  }

  .landing-page .showcase .phone-sm img {
    width: clamp(116px, 35vw, 138px);
  }

  .landing-page .showcase .row-copy {
    margin-top: auto;
  }

  .landing-page .showcase .row-copy::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 23px;
    margin: 0 8px 12px 0;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(246, 243, 252, 0.52);
    font-family: var(--font-body);
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    vertical-align: middle;
  }

  .landing-page .showcase .tag {
    display: inline-flex;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    vertical-align: middle;
  }

  .landing-page .showcase .row-copy h3 {
    max-width: 14ch;
    margin-bottom: 10px;
    font-size: clamp(1.72rem, 7.8vw, 2.08rem);
    line-height: 1.02;
  }

  .landing-page .showcase .row-copy p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.82rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }

  .landing-page .bento {
    padding-bottom: 12px;
  }

  .landing-page .bento > .feature,
  .landing-page .bento > .feature-party,
  .landing-page .bento > .feature-swipe,
  .landing-page .bento > .feature-shared {
    flex: 0 0 calc(100vw - 68px);
    width: calc(100vw - 68px);
    max-width: 430px;
    height: clamp(400px, calc(100svh - 184px), 500px);
    min-height: 0;
    padding: 22px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .landing-page .bento > .feature:not(.feature-party):not(.feature-swipe):not(.feature-shared) {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .landing-page .feature-party .party-backdrop { height: 132px; }
  .landing-page .feature-party .party-visual { flex: 0 0 auto; }
  .landing-page .feature-swipe .swipe-stack { flex: 1 1 auto; min-height: 150px; }

  .landing-page .feature h4 {
    font-size: 1.05rem;
  }

  .landing-page .feature p {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .landing-page .feature-shared {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
  }

  .landing-page .share-strip {
    width: 100%;
    flex-wrap: nowrap;
    gap: 7px;
  }

  .landing-page .share-strip .poster-fill {
    width: 46px;
    height: 68px;
  }

  .landing-page .share-strip .share-avatars { margin-left: auto; }

  .landing-page .carousel-nav {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 8px 0 0;
    padding-inline: 3px;
  }

  .landing-page .carousel-count {
    color: rgba(246, 243, 252, 0.48);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
  }

  .landing-page .carousel-dots {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .landing-page .carousel-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  }

  .landing-page .carousel-dots button.active {
    width: 24px;
    background: var(--grad);
    box-shadow: 0 0 16px -3px rgba(90, 76, 255, 0.9);
  }

  .landing-page .carousel-dots button:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
  }
}

@media (max-width: 900px) and (max-height: 720px) {
  .landing-page .showcase > .row,
  .landing-page .showcase > .row.row-reverse {
    height: calc(100svh - 90px);
    min-height: 520px;
  }

  .landing-page .showcase .phone-sm img {
    width: 112px;
  }

  .landing-page .showcase .row-copy h3 {
    font-size: 1.65rem;
  }

  .landing-page .bento > .feature,
  .landing-page .bento > .feature-party,
  .landing-page .bento > .feature-swipe,
  .landing-page .bento > .feature-shared {
    height: calc(100svh - 150px);
    min-height: 390px;
  }
}

/* ============================================================================
   Public profile deep-link page
   ========================================================================== */
.profile-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.profile-header {
  width: min(100% - 36px, 1120px);
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.profile-home-link {
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.profile-home-link:hover { color: var(--text); }

.profile-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 11, 22, 0.58);
}

.profile-lang-switch button {
  min-width: 29px;
  height: 27px;
  padding: 0 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-mute);
  cursor: pointer;
  font: 700 0.61rem/1 var(--font-body);
  letter-spacing: 0.04em;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.profile-lang-switch button:hover { color: var(--text); }

.profile-lang-switch button.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(185, 92, 255, 0.9), rgba(59, 130, 255, 0.9));
  box-shadow: 0 5px 16px -8px rgba(90, 76, 255, 0.95);
}

.profile-lang-switch button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.profile-main {
  flex: 1;
  width: min(100%, 1120px);
  padding: clamp(26px, 5vh, 70px) 18px 44px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
}

.public-profile {
  width: min(100%, 540px);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 30px;
  background: linear-gradient(155deg, rgba(23, 20, 42, 0.96), rgba(13, 11, 22, 0.98));
  box-shadow: 0 42px 100px -42px rgba(0, 0, 0, 0.95), 0 0 80px -52px rgba(90, 76, 255, 0.9);
}

.public-profile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.profile-cover {
  height: 124px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(ellipse at 76% 0%, rgba(0, 213, 255, 0.46), transparent 45%),
    radial-gradient(ellipse at 18% 100%, rgba(185, 92, 255, 0.58), transparent 50%),
    linear-gradient(135deg, #24104c, #15194e 55%, #07323d);
}

.profile-cover::before,
.profile-cover::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.profile-cover::before {
  width: 230px;
  height: 230px;
  top: -172px;
  left: calc(50% - 115px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 70px rgba(90, 76, 255, 0.25);
}

.profile-cover::after {
  inset: 0;
  border-radius: 0;
  background: linear-gradient(180deg, transparent 15%, rgba(13, 11, 22, 0.86));
}

.profile-content {
  position: relative;
  padding: 0 clamp(24px, 7vw, 44px) 38px;
  text-align: center;
}

.profile-avatar {
  width: 96px;
  aspect-ratio: 1;
  margin: -48px auto 20px;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 5px solid #11101d;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 18px 38px -16px rgba(90, 76, 255, 0.9);
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
}

.profile-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--text-dim);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.profile-kicker > span:first-child {
  width: 6px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 213, 255, 0.85);
}

.public-profile h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 8vw, 3rem);
  line-height: 1;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.profile-handle {
  margin-top: 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
}

.profile-intro {
  max-width: 42ch;
  margin: 18px auto 0;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
}

.profile-stats {
  margin: 26px 0 4px;
  padding: 18px 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.profile-stats[hidden] { display: none; }
.profile-stats div + div { border-left: 1px solid var(--line); }
.profile-stats dt { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; }
.profile-stats dd { margin-top: 2px; color: var(--text-mute); font-size: 0.62rem; font-weight: 700; text-transform: uppercase; }

.profile-actions {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.profile-actions .btn { width: 100%; }
.profile-open-app { gap: 10px; }
.profile-open-app svg { width: 19px; height: 19px; }

.profile-help {
  margin: 20px auto 0;
  max-width: 40ch;
  color: var(--text-mute);
  font-size: 0.72rem;
  line-height: 1.65;
}

.profile-help a {
  color: var(--text-dim);
  font-weight: 700;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.profile-help a:hover { color: var(--cyan); }

.profile-product-note {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-mute);
  font-size: 0.7rem;
  font-weight: 600;
}

.profile-product-note img { width: 24px; height: 24px; }

.profile-footer {
  width: min(100% - 36px, 1120px);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-mute);
  font-size: 0.68rem;
}

.profile-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.profile-footer a { text-decoration: none; }
.profile-footer a:hover { color: var(--text); }

@media (max-width: 560px) {
  .profile-header { min-height: 70px; }
  .profile-header .brand-wordmark { display: block; height: 18px; }
  .profile-header .brand-mark { height: 32px; }
  .profile-home-link { display: none; }
  .profile-header-actions { gap: 8px; }
  .profile-lang-switch button { min-width: 28px; padding-inline: 6px; }
  .profile-main { padding-top: 18px; align-content: start; }
  .public-profile { border-radius: 24px; }
  .profile-cover { height: 112px; }
  .profile-content { padding-bottom: 30px; }
  .profile-avatar { width: 86px; margin-top: -43px; }
  .profile-actions .btn { min-height: 52px; font-size: 0.82rem; }
  .profile-footer { padding: 18px 0; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page .hero-copy,
  .landing-page .hero-visual .phone-wrap,
  .landing-page .cinema-field,
  .landing-page .import-card > *,
  .landing-page .showcase .phone,
  .landing-page .showcase .row-copy,
  .landing-page .features .section-head,
  .landing-page .premium-card > *,
  .landing-page .final-cta > div {
    transform: none !important;
    opacity: 1 !important;
  }
}
