/* ===================================================================
   SofaScroll — homepage stylesheet ("Amber Lamplight").
   One continuous living-room-at-night: a single lamp-glow recipe
   repositioned per section, espresso ink alternation (bg-0/bg-1),
   filament hairlines, and real screenshots in CSS-crafted hardware.
   This file is index.html's ONLY stylesheet; style.css stays the
   shared base for blog/how/privacy/legal pages.
   =================================================================== */

:root {
  /* palette — warm espresso ladder */
  --bg-0: #0c0a07;
  --bg-1: #13100a;
  --bg-cinema: #080604;
  --bg-2: #1a1610;
  --bg-3: #231c13;
  --text-1: #f5edde;
  --text-2: #cdc0ab;
  --text-3: #9b8e78;
  --amber-400: #f0b269;
  --amber-500: #e8a04b;
  --amber-600: #c97f2e;
  --on-amber: #1f1305;
  --line: rgba(245, 237, 222, 0.08);
  --line-strong: rgba(245, 237, 222, 0.16);
  --line-amber: rgba(232, 160, 75, 0.35);

  /* type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --text-hero: clamp(2.4rem, 1.3rem + 4.6vw, 4.35rem);
  --text-h2: clamp(1.8rem, 1.3rem + 2.2vw, 2.9rem);
  --text-h3: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --text-lead: clamp(1.0625rem, 1rem + 0.4vw, 1.1875rem);
  --text-body: clamp(0.9375rem, 0.9rem + 0.25vw, 1.0313rem);
  --text-price: clamp(2.75rem, 2rem + 3vw, 3.6rem);

  /* layout */
  --container: 1140px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-pad: clamp(4.25rem, 4.5vw + 2rem, 7.5rem);
  --gap-split: clamp(36px, 4.5vw, 76px);

  /* radii */
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-pill: 999px;
  --r-tv: 18px;

  /* shadows / light */
  --shadow-card: inset 0 1px 0 rgba(255, 243, 224, 0.05), 0 24px 48px -32px rgba(0, 0, 0, 0.8);
  --shadow-phone: 0 30px 60px -30px rgba(0, 0, 0, 0.85);
  --shadow-tv: 0 50px 100px -50px rgba(0, 0, 0, 0.9);
  --glow-cta: 0 8px 24px -10px rgba(232, 160, 75, 0.5);
  --glow-amber: 0 0 90px -25px rgba(232, 160, 75, 0.3);
  --tv-ambilight: 0 0 110px 6px rgba(232, 160, 75, 0.22), 0 0 220px 40px rgba(232, 160, 75, 0.1);
  --lamp: radial-gradient(60% 50% at var(--gx, 50%) var(--gy, 0%), rgba(232, 160, 75, var(--lamp-a, 0.11)), transparent 70%);
}

/* ------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html, body { margin: 0; padding: 0; }
ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
:focus-visible { outline: 2px solid var(--amber-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--amber-500); color: var(--on-amber); font-weight: 600;
  transition: top 150ms ease;
}
.skip-link:focus-visible { top: 12px; }

/* ------------------------------------------------------- utilities */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber-500);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-wrap: balance;
}
.nb { white-space: nowrap; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 72;
  color: var(--text-1);
  text-wrap: balance;
}
h1 { font-size: var(--text-hero); line-height: 1.05; letter-spacing: -0.015em; }
h2 { font-size: var(--text-h2); line-height: 1.1; letter-spacing: -0.01em; max-width: 22ch; }
h3 { font-size: var(--text-h3); line-height: 1.25; }

/* italic-amber flourish — exactly three uses on the page */
em.accent { font-style: italic; color: var(--amber-400); font-variation-settings: "opsz" 72; }

.lead { color: var(--text-2); font-size: var(--text-lead); line-height: 1.55; text-wrap: pretty; }
.sec-head--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sec-head--center h2 { margin-inline: auto; }
.sec-head--center .lead { max-width: 56ch; margin: 16px auto 0; }

/* filament divider between open bg-0 sections */
.filament {
  height: 1px; max-width: 480px; margin-inline: auto;
  background: linear-gradient(90deg, transparent, var(--line-amber), transparent);
}

/* top-lit hairline card */
.card {
  position: relative;
  background: var(--bg-2);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-card);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(180deg, rgba(255, 243, 224, 0.16), rgba(255, 243, 224, 0.04) 45%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  pointer-events: none;
}

/* buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-align: center;
  font: 600 1rem/1.25 var(--font-body); color: var(--on-amber);
  padding: 14px 24px; border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--amber-400), var(--amber-500));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), var(--glow-cta);
  transition: transform 150ms ease, filter 150ms ease;
}
.btn-primary:hover, .btn-primary:focus-visible { filter: brightness(1.06); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-align: center;
  font: 500 0.9375rem/1.25 var(--font-body); color: var(--text-1);
  padding: 13px 22px; border-radius: var(--r-pill);
  background: transparent; border: 1px solid var(--line-strong);
  transition: border-color 150ms ease, background 150ms ease;
}
.btn-ghost:hover { border-color: var(--line-amber); background: rgba(255, 243, 224, 0.03); }

/* store buttons (custom, crisp at any DPI) */
.storebtn {
  display: inline-flex; align-items: center; gap: 11px;
  height: 56px; padding: 0 20px; border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #1d1812, #110e09);
  color: var(--text-1);
  box-shadow: inset 0 1px 0 rgba(255, 243, 224, 0.06), 0 16px 32px -20px rgba(0, 0, 0, 0.9);
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
a.storebtn:hover, a.storebtn:focus-visible {
  border-color: var(--line-amber);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 243, 224, 0.06), var(--glow-cta);
}
.storebtn-glyph { width: 26px; height: 26px; flex: 0 0 auto; }
.storebtn-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.storebtn-text small { font-size: 0.6875rem; font-weight: 600; color: var(--text-3); letter-spacing: 0.02em; }
.storebtn-text strong { font-size: 1.0625rem; font-weight: 700; }
.storebtn--soon { opacity: 0.75; cursor: default; border-style: dashed; }
.storebtn--soon .storebtn-glyph { color: #fff; opacity: 0.6; }
.storebtn--soon .storebtn-text small { color: var(--text-2); }

/* =============================================================== NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  padding-top: env(safe-area-inset-top);
  transition: background 200ms ease, border-color 200ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(12, 10, 7, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
          backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 24px;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 26px; height: auto; }
.brand span { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--text-1); }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 32px); margin-left: auto; }
.nav-links a { font: 500 0.875rem/1 var(--font-body); color: var(--text-2); transition: color 150ms ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--amber-400); }
.nav .btn-primary { padding: 10px 20px; font-size: 0.9375rem; }
@media (max-width: 767px) {
  .nav-inner { height: 56px; gap: 12px; }
  .nav-links { display: none; }
  .nav .btn-primary { margin-left: auto; padding: 13px 22px; }
}

/* ============================================================== HERO */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--gap-split);
  align-items: center;
  min-height: min(92vh, 880px);
  padding-top: clamp(96px, 14vh, 150px);
  padding-bottom: clamp(48px, 6vh, 88px);
}
.hero::before {
  /* the lamp, behind the phone duo */
  content: ""; position: absolute; inset: -120px -40vw -80px -20vw; z-index: -1;
  --gx: 72%; --gy: 30%; --lamp-a: 0.13;
  background: var(--lamp);
  pointer-events: none;
}
.hero-copy { max-width: 600px; }
.hero-copy .eyebrow { max-width: 44ch; }
.hero-copy h1 { max-width: 16ch; }
.hero-copy .lead { max-width: 52ch; margin: 20px 0 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
@media (max-width: 480px) {
  .cta-row .storebtn { width: 100%; max-width: 340px; justify-content: center; }
}
.trust-line { margin: 18px 0 0; color: var(--text-3); font-size: 0.875rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 430px; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--bg-2);
  font: 500 0.8125rem/1 var(--font-body); color: var(--text-2);
}
.hero-chips li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber-500); flex: 0 0 auto;
}

/* --------------------------------------------- phone frame hardware */
.phone {
  position: relative;
  width: var(--phone-w, 300px);
  max-width: 100%;
  --pad: 10px;
  --r-phone: 44px;
  padding: var(--pad);
  border-radius: var(--r-phone);
  background: linear-gradient(165deg, #2e2820 0%, #16120d 40%, #0b0907 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 243, 224, 0.18),
    inset 0 -1px 1px rgba(0, 0, 0, 0.6),
    var(--shadow-phone), var(--glow-amber);
}
.phone::before {
  /* machined hairline ring inside the bezel */
  content: ""; position: absolute; inset: 3px;
  border-radius: calc(var(--r-phone) - 3px);
  border: 1px solid rgba(255, 243, 224, 0.06);
  pointer-events: none;
}
.phone::after {
  /* power button */
  content: ""; position: absolute; right: -2px; top: 22%; width: 3px; height: 17%;
  border-radius: 2px;
  background: linear-gradient(180deg, #3a322a, #1a150f);
}
.phone img { width: 100%; border-radius: calc(var(--r-phone) - var(--pad)); }
.phone__sheen {
  position: absolute; inset: var(--pad); z-index: 1;
  border-radius: calc(var(--r-phone) - var(--pad));
  background: linear-gradient(105deg, transparent 38%, rgba(255, 246, 230, 0.05) 45%, rgba(255, 246, 230, 0.02) 50%, transparent 56%);
  pointer-events: none;
}
.phone__pool {
  position: absolute; left: 50%; bottom: -34px; translate: -50% 0; z-index: -1;
  width: 78%; height: 46px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(232, 160, 75, 0.32), rgba(232, 160, 75, 0.08) 55%, transparent 75%);
  filter: blur(18px);
}

/* hero duo */
.hero-stage { position: relative; width: fit-content; margin-inline: auto; }
.phone--front { --phone-w: clamp(264px, 22vw, 304px); rotate: -3deg; z-index: 2; }
.phone--back {
  position: absolute; top: 30px; left: 60%; z-index: 1;
  width: 86%; rotate: 6deg;
  filter: brightness(0.78);
  box-shadow: inset 0 1px 1px rgba(255, 243, 224, 0.18), var(--shadow-phone); /* no glow */
}
.phone--back .phone__pool { display: none; }

@media (max-width: 1023px) {
  .hero { grid-template-columns: 1fr 0.9fr; }
  .phone--back { left: 48%; width: 80%; }
}
@media (max-width: 767px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 96px;
    padding-bottom: 64px;
  }
  .hero::before { --gx: 50%; --gy: 55%; }
  .phone--back { display: none; }
  .phone--front { --phone-w: min(72vw, 300px); rotate: 0deg; }
  .hero-stage { margin-top: 8px; }
  /* center the copy so it shares the phone's centered axis */
  .hero-copy { max-width: none; text-align: center; }
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .lead { max-width: 32ch; margin-inline: auto; }
  .cta-row { justify-content: center; }
  .hero-chips { justify-content: center; margin-inline: auto; }
}
@media (max-width: 360px) {
  /* keep the Play button above the fold on the smallest phones */
  .hero { padding-top: 84px; }
  .hero-copy h1 { font-size: clamp(1.9rem, 1rem + 5vw, 2.4rem); }
  .hero-copy .lead { font-size: 1rem; margin-top: 14px; }
  .cta-row { margin-top: 22px; }
}

/* =============================================== WORKS-WITH PROOF STRIP */
.proof {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
  text-align: center;
}
.proof-label {
  margin: 0 0 20px;
  color: var(--text-3);
  font-size: 0.75rem; font-weight: 650;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.proof-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.proof-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
  font: 500 0.875rem/1 var(--font-body); color: var(--text-2);
  transition: border-color 150ms ease;
}
.proof-chip:hover { border-color: var(--line-strong); }
.src-mark { display: inline-flex; width: 26px; height: 26px; border-radius: 7px; overflow: hidden; flex: 0 0 auto; }
.src-mark svg { width: 100%; height: 100%; display: block; }
.proof-line { margin: 22px 0 0; color: var(--text-3); font-size: 0.8125rem; }
@media (max-width: 767px) {
  .proof-row {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; padding: 4px var(--gutter);
    scroll-snap-type: x proximity; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }
  .proof-row::-webkit-scrollbar { display: none; }
  .proof-chip { scroll-snap-align: center; flex: 0 0 auto; }
  .proof .container--row { width: 100%; }
}

/* ====================================================== PROBLEM — DM GRAVEYARD */
.problem {
  position: relative;
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: var(--gap-split); align-items: center;
  padding-block: var(--section-pad);
}
.problem::before {
  content: ""; position: absolute; inset: -60px -30vw -60px -30vw; z-index: -1;
  --gx: 20%; --gy: 60%; --lamp-a: 0.09;
  background: var(--lamp); pointer-events: none;
}
.chat-wrap { position: relative; width: min(340px, 100%); margin-inline: auto; padding-bottom: 96px; }
.chat { display: flex; flex-direction: column; gap: 10px; }
.chat-bubble {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 4px;
  padding: 12px 16px;
  font-size: 0.875rem; line-height: 1.45; color: var(--text-2);
  width: fit-content; max-width: 100%;
}
.chat-bubble .link {
  display: inline-block; margin-top: 6px;
  font-size: 0.75rem; color: var(--text-3);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r-pill); padding: 4px 10px;
  text-decoration: underline dotted;
}
.chat-bubble .when { display: block; margin-top: 6px; font-size: 0.6875rem; color: var(--text-3); }
.chat-bubble:nth-child(2) { opacity: 0.7; }
.chat-bubble:nth-child(3) { opacity: 0.45; }
.chat-bubble:nth-child(4) {
  opacity: 0.25;
  -webkit-mask-image: linear-gradient(#000 30%, transparent);
          mask-image: linear-gradient(#000 30%, transparent);
}
.rescue {
  position: absolute; right: -16px; bottom: 0;
  width: 78%;
  border-radius: var(--r-m);
  border: 1px solid var(--line-amber);
  box-shadow: var(--shadow-card), var(--glow-cta);
  overflow: hidden;
  background: #0a0907;
}
.rescue img {
  -webkit-mask-image: linear-gradient(#000 72%, transparent);
          mask-image: linear-gradient(#000 72%, transparent);
}
.problem-copy .lead { max-width: 52ch; margin-top: 18px; }
.checks { margin-top: 26px; }
.checks li {
  display: flex; align-items: center; gap: 12px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
  color: var(--text-2); font-size: var(--text-body);
}
.checks li:last-child { border-bottom: 1px solid var(--line); }
.ck {
  display: inline-flex; width: 18px; height: 18px; flex: 0 0 auto;
  color: var(--amber-500);
}
.ck svg { width: 100%; height: 100%; }
@media (max-width: 860px) {
  .problem { grid-template-columns: 1fr; }
  .problem-copy { order: -1; text-align: center; }
  .problem-copy .lead { margin-inline: auto; }
  /* keep the check rows left-read, but center the list as a block */
  .checks { width: fit-content; margin-inline: auto; text-align: left; }
}

/* ====================================================== HOW IT WORKS */
.how {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: var(--section-pad);
  position: relative;
}
.how::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  --gx: 50%; --gy: 0%; --lamp-a: 0.06;
  background: var(--lamp); pointer-events: none;
}
.how .container { position: relative; z-index: 1; }
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.5vw, 44px);
  margin-top: clamp(40px, 5vw, 64px);
  counter-reset: step;
}
.steps::before {
  /* dashed amber flow line behind the three phones */
  content: ""; position: absolute; left: 6%; right: 6%; top: 31%;
  border-top: 1px dashed rgba(232, 160, 75, 0.3);
}
.step { display: flex; flex-direction: column; align-items: center; }
.step .phone { --phone-w: clamp(180px, 16vw, 220px); --r-phone: 34px; --pad: 7px; box-shadow:
    inset 0 1px 1px rgba(255, 243, 224, 0.18),
    inset 0 -1px 1px rgba(0, 0, 0, 0.6),
    var(--shadow-phone), 0 0 60px -25px rgba(232, 160, 75, 0.18);
  z-index: 1;
}
.step .phone__pool { display: none; }
.step-text { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; margin-top: 26px; max-width: 30ch; }
.step-n {
  grid-row: 1 / span 2;
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-variation-settings: "opsz" 72;
  font-size: 2.4rem; line-height: 1; color: var(--amber-500);
}
.step-text h3 { padding-top: 4px; }
.step-text p { margin: 8px 0 0; color: var(--text-2); font-size: 0.9375rem; grid-column: 2; }
.how-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: clamp(40px, 5vw, 56px); }
.how-cta .micro { margin: 0; color: var(--text-3); font-size: 0.8125rem; }
@media (max-width: 767px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before {
    left: 55px; right: auto; top: 4%; bottom: 4%;
    border-top: 0; border-left: 1px dashed rgba(232, 160, 75, 0.3);
  }
  .step { flex-direction: row; align-items: center; gap: 18px; }
  .step .phone { --phone-w: 110px; --r-phone: 20px; --pad: 5px; flex: 0 0 auto; }
  .step .phone::after { display: none; }
  .step-text { margin-top: 0; max-width: none; }
}
@media (max-width: 480px) {
  /* a side-by-side row leaves ~15 chars per line for the copy, so stack and
     center each step to sit on the same axis as the rest of the page */
  .steps::before { display: none; }
  .step { flex-direction: column; align-items: center; text-align: center; gap: 0; }
  .step .phone { --phone-w: 168px; --r-phone: 26px; --pad: 6px; }
  .step-text {
    display: flex; flex-direction: column; align-items: center;
    margin-top: 18px; max-width: 32ch;
  }
  .step-n { font-size: 1.9rem; }
  .step-text h3 { padding-top: 0; }
  .step-text p { grid-column: auto; }
}

/* ====================================================== QUEUE DEEP-DIVE */
.queue-dive {
  position: relative;
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: var(--gap-split); align-items: center;
  padding-block: var(--section-pad);
}
.queue-dive::before {
  content: ""; position: absolute; inset: -60px -30vw; z-index: -1;
  --gx: 25%; --gy: 35%; --lamp-a: 0.1;
  background: var(--lamp); pointer-events: none;
}
.queue-stage { position: relative; width: fit-content; margin-inline: auto; }
@media (min-width: 1101px) {
  /* leave room for the annotation pills off the phone's right edge */
  .queue-stage { margin-inline: 0 auto; }
}
.queue-stage .phone { --phone-w: clamp(272px, 24vw, 312px); }
.note {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center;
  padding: 8px 13px; border-radius: var(--r-pill);
  background: rgba(35, 28, 19, 0.85);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line-amber);
  font: 600 0.75rem/1.2 var(--font-body); color: var(--text-1);
  white-space: nowrap;
}
.note::before {
  content: ""; position: absolute; right: 100%; top: 50%; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-amber));
}
.note--src { top: 14%; left: calc(100% + 20px); }
.note--who { top: 34%; left: calc(100% + 30px); }
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 30px;
}
.feature-row { display: flex; align-items: flex-start; gap: 14px; }
.feature-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: 0 0 auto;
  border-radius: var(--r-s);
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--amber-400);
}
.feature-ico svg { width: 20px; height: 20px; }
.feature-row h3 { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 650; font-variation-settings: normal; }
.feature-row p { margin: 4px 0 0; color: var(--text-3); font-size: 0.875rem; line-height: 1.5; }
@media (max-width: 1199px) {
  /* the pills need ~1200px of viewport before they stop crowding the copy */
  .note { display: none; }
}
@media (max-width: 860px) {
  .queue-dive { grid-template-columns: 1fr; }
  .queue-stage { order: 1; margin-top: 12px; }
  .queue-copy { text-align: center; }
  .queue-copy .lead { margin-inline: auto; }
  /* keep the icon+label rows left-read, but center the grid as a block */
  .feature-grid { width: fit-content; margin-inline: auto; text-align: left; }
  .feature-row { text-align: left; }
  /* the hero already showed this exact screen full-size — fade it out
     mid-screen so the section costs less scroll on phones */
  .queue-stage .phone {
    max-height: 430px; overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 72%, transparent);
            mask-image: linear-gradient(#000 72%, transparent);
  }
  .queue-stage .phone__pool { display: none; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ====================================================== CINEMA BAND */
.cinema {
  position: relative;
  background: var(--bg-cinema);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(5rem, 8vw, 9rem);
  box-shadow: inset 0 60px 120px -60px #000, inset 0 -60px 120px -60px #000;
}
.cinema::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  --gx: 50%; --gy: 38%; --lamp-a: 0.1;
  background: var(--lamp); pointer-events: none;
}
.cinema .container { position: relative; z-index: 1; }
.tv-stage { position: relative; max-width: 740px; margin: clamp(40px, 5vw, 64px) auto 0; }
.tv-frame {
  position: relative;
  padding: 10px;
  border-radius: var(--r-tv);
  background: linear-gradient(180deg, #26201a, #0d0a07);
  box-shadow: inset 0 1px 0 rgba(255, 243, 224, 0.14), var(--shadow-tv), var(--tv-ambilight);
}
.tv-frame::before {
  content: ""; position: absolute; inset: -48px; z-index: -1;
  background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(232, 160, 75, 0.3), transparent 70%);
  filter: blur(46px);
}
.tv-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px; overflow: hidden;
  background: #000;
}
.tv-screen::after {
  /* inner vignette sells "lit panel" */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 48px rgba(0, 0, 0, 0.55);
  border-radius: inherit;
}
.tv-screen::before {
  /* bottom scrim so the now-playing caption stays legible over bright frames */
  content: ""; position: absolute; inset: auto 0 0 0; height: 76px; z-index: 1;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.68));
  pointer-events: none;
}
.tv-screen img { width: 100%; height: 100%; object-fit: cover; }
.tv-pill {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: var(--r-pill);
  background: rgba(10, 8, 6, 0.66);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(232, 160, 75, 0.35);
  font: 600 0.75rem/1 var(--font-body); color: var(--amber-400);
}
.tv-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber-500); }
.tv-meta {
  position: absolute; left: 16px; bottom: 26px; z-index: 2;
  font: 500 0.75rem/1 var(--font-body); color: rgba(245, 237, 222, 0.85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}
.tv-progress {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2;
  height: 3px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.18);
}
.tv-progress i {
  position: absolute; inset: 0 auto 0 0; width: 36%;
  border-radius: inherit; background: var(--amber-500);
  box-shadow: 0 0 12px rgba(232, 160, 75, 0.8);
}
.tv-floor {
  height: 26px; margin-top: 18px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(232, 160, 75, 0.18), transparent 70%);
  filter: blur(6px);
}
.phone--remote {
  --phone-w: clamp(150px, 13vw, 180px); --r-phone: 28px; --pad: 7px;
  position: absolute; right: -16px; bottom: -52px; z-index: 2;
  rotate: 2deg;
}
.phone--remote .phone__pool { display: none; }
.remote-cap {
  position: absolute; right: -8px; bottom: -86px; z-index: 2;
  margin: 0; color: var(--text-3); font-size: 0.8125rem;
}
.modes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 740px; margin: clamp(72px, 9vw, 112px) auto 0;
}
.mode { padding: 26px 28px; background: rgba(26, 22, 16, 0.55); }
.mode--tv::before { background: linear-gradient(180deg, rgba(232, 160, 75, 0.4), rgba(255, 243, 224, 0.04) 45%, transparent); }
.mode h3 { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 1.0625rem; font-weight: 650; font-variation-settings: normal; }
.mode h3 svg { width: 22px; height: 22px; color: var(--amber-400); flex: 0 0 auto; }
.mode p { margin: 10px 0 0; color: var(--text-2); font-size: 0.9375rem; }
.cinema-foot { margin: 28px auto 0; max-width: 740px; text-align: center; color: var(--text-3); font-size: 0.8125rem; }
@media (max-width: 860px) {
  .phone--remote { position: static; margin: 26px auto 0; rotate: 0deg; }
  .remote-cap { position: static; text-align: center; margin-top: 10px; }
  .tv-frame { padding: 7px; }
  .modes { margin-top: 48px; }
}
@media (max-width: 560px) {
  .modes { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 380px) {
  .tv-meta { display: none; }
}

/* ====================================================== DUO — SHUFFLE + VAULT */
.duo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  padding-block: var(--section-pad);
}
.duo-card { padding: 32px; display: flex; flex-direction: column; transition: transform 200ms ease, box-shadow 200ms ease; }
.duo-card:hover { transform: translateY(-2px); }
.duo-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: var(--r-m);
  background: rgba(232, 160, 75, 0.1);
  color: var(--amber-400);
  margin-bottom: 20px;
}
.duo-ico svg { width: 28px; height: 28px; }
.duo-card p { margin: 10px 0 0; color: var(--text-2); font-size: var(--text-body); max-width: 40ch; text-wrap: pretty; }
.duo-viz { margin-top: auto; padding-top: 26px; }
.duo-cap { margin-top: 16px; color: var(--text-3); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
/* fair-shuffle — a balanced turn rotation: everyone gets the same number
   of slots, You highlighted, so the queue order reads as "no one dominates" */
.shuffle-viz { display: flex; flex-wrap: wrap; gap: 8px; max-width: 320px; }
.shuffle-viz .turn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--bg-3);
  font: 600 0.75rem/1 var(--font-body); color: var(--text-2);
}
.shuffle-viz .turn::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; opacity: 0.85; flex: 0 0 auto;
}
.shuffle-viz .turn--you {
  border-color: var(--line-amber); background: rgba(232, 160, 75, 0.12);
  color: var(--amber-400); box-shadow: 0 0 14px -6px rgba(232, 160, 75, 0.7);
}
.shuffle-viz .turn--sam { color: #8fb6c9; }
.shuffle-viz .turn--maya { color: #c79ab0; }
/* vault fanned thumbs */
.vault-viz { display: flex; padding: 10px 0 6px 12px; }
.vault-viz b {
  position: relative;
  width: 58px; height: 80px; border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(170deg, var(--bg-3), var(--bg-2));
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.8);
}
.vault-viz b:nth-child(1) { rotate: -6deg; }
.vault-viz b:nth-child(2) { rotate: -1deg; margin-left: -20px; z-index: 1; }
.vault-viz b:nth-child(3) { rotate: 3deg; margin-left: -20px; z-index: 2; }
.vault-viz b:nth-child(4) { rotate: 7deg; margin-left: -20px; z-index: 3; border-color: var(--line-amber); }
.vault-viz b:nth-child(4)::after {
  content: ""; position: absolute; top: -1px; right: 9px;
  width: 12px; height: 18px;
  background: var(--amber-500);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}
@media (max-width: 767px) {
  .duo { grid-template-columns: 1fr; gap: 16px; }
  .duo-card { padding: 24px; }
}

/* ====================================================== SCENES */
.scenes { position: relative; padding-block: var(--section-pad); }
.scenes::before {
  content: ""; position: absolute; inset: 0 -20vw; z-index: -1;
  --gx: 50%; --gy: 0%; --lamp-a: 0.07;
  background: var(--lamp); pointer-events: none;
}
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(36px, 4vw, 52px); }
.scene { display: flex; flex-direction: column; padding: 30px 30px 26px; overflow: hidden; transition: transform 200ms ease; }
.scene:hover { transform: translateY(-3px); }
.scene::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--amber-500), transparent 85%);
}
.scene h3 { font-style: italic; font-size: 1.4rem; color: var(--amber-400); }
.scene p { margin: 12px 0 0; color: var(--text-2); font-size: 0.9375rem; text-wrap: pretty; }
.scene-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.scene-chips li {
  padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--bg-3); border: 1px solid var(--line);
  font: 500 0.6875rem/1.2 var(--font-body); color: var(--text-3);
}
@media (max-width: 860px) {
  .scene-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ====================================================== PRICING */
.pricing {
  position: relative;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: var(--section-pad);
}
.pricing::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  --gx: 50%; --gy: 0%; --lamp-a: 0.08;
  background: var(--lamp); pointer-events: none;
}
.pricing .container { position: relative; z-index: 1; }
.price-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 920px; margin: clamp(40px, 5vw, 56px) auto 0;
  align-items: stretch;
}
.price-card { padding: 36px; display: flex; flex-direction: column; }
.price-card h3 { font-family: var(--font-body); font-size: 0.875rem; font-weight: 650; font-variation-settings: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.price-line {
  margin: 14px 0 2px;
  font-family: var(--font-display); font-weight: 700; font-variation-settings: "opsz" 72;
  font-size: var(--text-price); line-height: 1; color: var(--text-1);
}
.price-line em { font-style: italic; font-weight: 600; font-size: 0.42em; color: var(--text-3); letter-spacing: 0; margin-left: 8px; }
.price-sub { margin: 6px 0 0; color: var(--text-3); font-size: 0.875rem; }
.price-card ul { margin-top: 24px; flex: 1; }
.price-card li {
  display: flex; align-items: center; gap: 12px;
  padding-block: 11px;
  color: var(--text-2); font-size: 0.9375rem;
}
.price-card li + li { border-top: 1px solid var(--line); }
.price-card .btn-primary, .price-card .btn-ghost { margin-top: 26px; width: 100%; }
.price-card--pro { background: var(--bg-3); box-shadow: var(--shadow-card), var(--glow-amber); }
.price-card--pro::before { background: linear-gradient(180deg, rgba(232, 160, 75, 0.5), rgba(255, 243, 224, 0.05) 45%, transparent); }
.price-card--pro .price-line { color: var(--amber-400); }
.pro-badge {
  position: absolute; top: -13px; right: 22px;
  padding: 7px 13px; border-radius: var(--r-pill);
  background: var(--amber-500); color: var(--on-amber);
  font: 700 0.6875rem/1 var(--font-body); letter-spacing: 0.06em;
  box-shadow: var(--glow-cta);
  white-space: nowrap;
}
.price-anchor { margin: 32px auto 0; max-width: 56ch; text-align: center; color: var(--text-3); font-size: 0.875rem; }
@media (max-width: 860px) {
  .price-grid { grid-template-columns: 1fr; max-width: 440px; gap: 24px; }
}

/* ====================================================== FAQ */
.faq { padding-block: var(--section-pad); }
.faq-list { max-width: 760px; margin: clamp(32px, 4vw, 48px) auto 0; border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 4px; min-height: 48px;
  font: 600 1.0625rem/1.4 var(--font-body); color: var(--text-1);
  cursor: pointer; list-style: none;
  transition: color 150ms ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: 0 0 auto; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform 200ms ease;
}
.faq-list details[open] summary { color: var(--amber-400); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
@media (forced-colors: active) {
  /* gradients are stripped in forced-colors — fall back to a text glyph */
  .faq-list summary::after { background: none; width: auto; height: auto; content: "+"; }
  .faq-list details[open] summary::after { content: "\2013"; transform: none; }
}
.faq-list details p { margin: 0; padding: 0 4px 22px; max-width: 62ch; color: var(--text-2); font-size: 0.9375rem; line-height: 1.65; }

/* ====================================================== CLOSING */
.closing { position: relative; padding: var(--section-pad) 0 0; text-align: center; }
.closing::before {
  content: ""; position: absolute; inset: 20% -20vw 0; z-index: -1;
  --gx: 50%; --gy: 72%; --lamp-a: 0.14;
  background: var(--lamp); pointer-events: none;
}
.closing h2 { margin-inline: auto; font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.6rem); }
.closing .lead { max-width: 44ch; margin: 18px auto 0; }
.closing-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.qr-tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 16px;
  background: var(--bg-2); border: 1px solid var(--line-amber); border-radius: var(--r-m);
}
.qr-tile img { width: 108px; height: 108px; border-radius: 6px; background: #f0e9dc; padding: 7px; }
.qr-tile figcaption { font: 600 0.75rem/1 var(--font-body); color: var(--text-3); letter-spacing: 0.04em; }
.closing-micro { margin: 26px 0 0; color: var(--text-3); font-size: 0.875rem; }
.closing-couch {
  width: min(360px, 62vw); margin: clamp(28px, 5vw, 48px) auto 0;
  position: relative;
}
.closing-couch img {
  width: 100%;
  /* tone the daylight illustration into the page's night scene */
  filter: saturate(0.75) brightness(0.88);
}
.closing-couch::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; translate: -50% 0; z-index: -1;
  width: 88%; height: 30px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 70%);
  filter: blur(10px);
}
@media (max-width: 767px) {
  .qr-tile { display: none; }
  .closing-couch { width: min(280px, 72vw); }
}

/* ====================================================== FOOTER */
footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 max(28px, env(safe-area-inset-bottom));
}
.foot-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text-3); font-size: 0.875rem; }
.foot-brand img { width: 22px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.foot-links a {
  display: inline-flex; align-items: center;
  padding: 11px 7px; color: var(--text-3); font-size: 0.875rem;
  transition: color 150ms ease;
}
.foot-links a:hover, .foot-links a:focus-visible { color: var(--text-2); }
.foot-social { display: flex; gap: 8px; }
.foot-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--text-3);
  transition: color 150ms ease, border-color 150ms ease;
}
.foot-social a:hover, .foot-social a:focus-visible { color: var(--amber-400); border-color: var(--line-amber); }
.foot-social svg { width: 17px; height: 17px; }
.foot-tag {
  margin: 26px 0 0; text-align: center;
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  color: var(--text-3); font-size: 0.875rem;
}
@media (max-width: 767px) {
  .foot-grid { flex-direction: column; justify-content: center; text-align: center; }
  .foot-links { justify-content: center; }
}

/* ====================================================== STICKY INSTALL BAR */
.install-bar {
  position: fixed; inset: auto 0 0 0; z-index: 55;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 64px;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: rgba(12, 10, 7, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  translate: 0 12px; opacity: 0;
  transition: translate 250ms ease, opacity 250ms ease;
}
.install-bar.show { translate: 0 0; opacity: 1; }
.install-bar-label { display: flex; align-items: center; gap: 11px; min-width: 0; }
.install-bar-label img { width: 28px; flex: 0 0 auto; }
.install-bar-label b { display: block; font: 600 0.875rem/1.25 var(--font-body); color: var(--text-1); }
.install-bar-label small { display: block; font-size: 0.75rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.install-bar .btn-primary { padding: 11px 20px; font-size: 0.9375rem; flex: 0 0 auto; }
@media (max-width: 767px) {
  .install-bar.on { display: flex; }
  body.has-bar { padding-bottom: 76px; }
}

/* ====================================================== MOTION */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; translate: 0 14px; transition: opacity 550ms ease, translate 550ms cubic-bezier(0.21, 0.6, 0.35, 1); transition-delay: var(--reveal-d, 0ms); }
  [data-reveal].in { opacity: 1; translate: 0 0; }

  @media (pointer: fine) {
    .phone--front { animation: float 7s ease-in-out infinite alternate; }
    .phone--back { animation: float-b 7s ease-in-out -3.5s infinite alternate; }
    .closing-couch { animation: float 8s ease-in-out infinite alternate; }
  }
  @keyframes float { from { transform: translateY(0); } to { transform: translateY(-7px); } }
  @keyframes float-b { from { transform: translateY(0); } to { transform: translateY(-4px); } }

  .tv-frame::before { animation: breathe 6s ease-in-out infinite alternate; }
  @keyframes breathe { from { opacity: 0.62; } to { opacity: 0.95; } }
  .tv-pill .dot { animation: pulse 2s ease-in-out infinite; }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
  .tv-progress i { animation: drift 24s linear infinite alternate; }
  @keyframes drift { from { width: 30%; } to { width: 60%; } }
}
