:root {
  --pink-500: #EC4899;
  --pink-600: #DB2777;
  --pink-700: #BE185D;
  --rose-50: #FFF1F2;
  --rose-100: #FFE4E6;
  --rose-200: #FECDD3;
  --gray-900: #111827;
  --gray-400: #9CA3AF;
  --emerald: #10B981;
  --purple: #A855F7;
  --red-500: #EF4444;
  --amber: #F59E0B;
  --blue: #3B82F6;
  --white: #FFFFFF;

  --bg: var(--rose-50);
  --text: var(--gray-900);
  --muted: var(--gray-400);
  --border: rgba(236, 72, 153, 0.12);
  --glow: rgba(236, 72, 153, 0.15);

  --font: "Outfit", system-ui, sans-serif;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;
}

/* ═══ SCROLLBAR: Hidden (custom rail replaces native) ═══ */
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

/* ═══ Custom Scroll Rail ═══ */
.scroll-ui {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 120;
}

.scroll-rail {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.scroll-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: rgba(190, 24, 93, 0.55);
  user-select: none;
}

.scroll-track {
  width: 24px;
  height: 58vh;
  min-height: 320px;
  max-height: 520px;
  border-radius: 999px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.45)),
    repeating-linear-gradient(
      180deg,
      rgba(236,72,153,0.10) 0px,
      rgba(236,72,153,0.10) 2px,
      transparent 2px,
      transparent 14px
    );
  border: 1px solid rgba(236,72,153,0.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}

.scroll-progress {
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 8px;
  height: 0%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(236,72,153,0.25) 0%, rgba(219,39,119,0.75) 55%, rgba(190,24,93,0.95) 100%);
  box-shadow: 0 0 16px rgba(236,72,153,0.32);
}

.scroll-thumb {
  position: absolute;
  left: 50%;
  top: calc(100% - 20px);
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(236,72,153,0.35);
  animation: heart-breathe 1.8s ease-in-out infinite;
}

.scroll-thumb.spark {
  animation: heart-pop 320ms ease-out;
}

@keyframes heart-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  40% { transform: translate(-50%, -50%) scale(1.12); }
  60% { transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes heart-pop {
  0% { transform: translate(-50%, -50%) scale(1); }
  45% { transform: translate(-50%, -50%) scale(1.28); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

.scroll-node {
  position: absolute;
  left: 50%;
  top: var(--p);
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(219,39,119,0.6);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 0 2px rgba(255,241,242,0.8);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.scroll-node:hover {
  transform: translate(-50%, -50%) scale(1.15);
}

.scroll-node.is-active {
  background: var(--pink-500);
  border-color: var(--pink-600);
  transform: translate(-50%, -50%) scale(1.18);
}

.scroll-topbar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  top: 8px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(236,72,153,0.16);
  overflow: visible;
}

.scroll-topbar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-500), var(--pink-600));
}

.scroll-topbar-heart {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  box-shadow: 0 6px 14px rgba(236,72,153,0.35);
}

/* ═══ Reset ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

a { color: var(--pink-600); text-decoration: none; }
a:hover { color: var(--pink-700); }

/* ═══ Dot Grid ═══ */
.dot-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(236,72,153,0.10) 1px, transparent 1px);
  background-size: 20px 20px;
}

.floating-hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* ═══ GLASS HEADER ═══ */
.glass-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  background: rgba(255,241,242,0.72);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ═══ BRAND ═══ */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: transparent;
}

.brand-name {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-pink {
  color: var(--pink-500);
}

/* ═══ NAV ═══ */
.site-nav { display: inline-flex; gap: 20px; }
.site-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color 180ms;
}
.site-nav a:hover { color: var(--pink-500); }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--r-full);
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  cursor: pointer;
  transition: transform 120ms, box-shadow 180ms, background 180ms;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: var(--white);
  box-shadow: 0 8px 24px var(--glow);
}
.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(236,72,153,0.28);
  color: var(--white);
}

.btn-glass {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--pink-600);
}
.btn-glass:hover { background: rgba(255,255,255,0.85); color: var(--pink-700); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-full { width: 100%; }

.header-cta svg {
  flex-shrink: 0;
}

/* ═══ SHARED ═══ */
.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 52ch;
  margin-bottom: 32px;
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  z-index: 1;
  padding: 56px 0 72px;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

h1 {
  font-size: clamp(42px, 6.5vw, 68px);
  font-weight: 800;
  margin-bottom: 20px;
}

.glitch-line { display: block; }
.glitch-line.accent { color: var(--pink-500); }

.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 50ch;
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ═══ PHONE MOCKUP ═══ */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 480px;
}

.mock-phone {
  width: 280px;
  background: var(--white);
  border-radius: 36px;
  border: 2px solid var(--rose-200);
  box-shadow: 0 20px 60px var(--glow), inset 0 1px 0 rgba(255,255,255,0.8);
  overflow: hidden;
  position: relative;
  z-index: 2;
  animation: phone-float 5s ease-in-out infinite;
}

.app-screenshot {
  width: 280px;
  height: auto;
  border-radius: 36px;
  border: 2px solid var(--rose-200);
  box-shadow: 0 20px 60px var(--glow), inset 0 1px 0 rgba(255,255,255,0.8);
  overflow: hidden;
  position: relative;
  z-index: 2;
  animation: phone-float 5s ease-in-out infinite;
  display: block;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(0.3deg); }
  50% { transform: translateY(-10px) rotate(-0.3deg); }
}

.mock-notch {
  width: 110px;
  height: 24px;
  background: var(--gray-900);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
}

.mock-screen { padding: 16px; background: var(--rose-50); }

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mock-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mock-pill.romantic { background: var(--rose-100); color: var(--pink-600); }

.mock-score {
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mock-question {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 20px 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(236,72,153,0.06);
}

.mock-q-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.mock-q-text { font-size: 15px; font-weight: 600; line-height: 1.4; }

.mock-input-row { display: flex; gap: 8px; }

.mock-input {
  flex: 1;
  padding: 10px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 12px;
  color: var(--muted);
}

.mock-btn {
  padding: 10px 16px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

/* ═══ Float Cards ═══ */
.float-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  z-index: 3;
  animation: float-card 4s ease-in-out infinite;
}

.float-card-vault { bottom: 20%; right: -8%; animation-delay: 300ms; }
.float-card-streak { top: 12%; left: -6%; animation-delay: 800ms; }

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ═══ GAME MODES ═══ */
.modes {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mode-card {
  padding: 28px 24px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 10px 32px rgba(236,72,153,0.06);
  transition: transform 260ms, box-shadow 260ms;
  position: relative;
  overflow: hidden;
}

.mode-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 260ms;
}

.romantic-card::before { background: linear-gradient(160deg, rgba(236,72,153,0.06), transparent 60%); }
.brain-card::before { background: linear-gradient(160deg, rgba(168,85,247,0.06), transparent 60%); }
.spicy-card::before { background: linear-gradient(160deg, rgba(239,68,68,0.06), transparent 60%); }

.mode-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(236,72,153,0.12); }
.mode-card:hover::before { opacity: 1; }

.mode-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--rose-100);
  color: var(--pink-500);
}
.mode-icon-wrap.brain { background: rgba(168,85,247,0.1); color: var(--purple); }
.mode-icon-wrap.spicy { background: rgba(239,68,68,0.1); color: var(--red-500); }

.mode-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }

.mode-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.mode-tags {
  list-style: none;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mode-tags li {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: var(--rose-50);
  color: var(--pink-600);
  border: 1px solid var(--border);
}

.brain-card .mode-tags li { background: rgba(168,85,247,0.06); color: var(--purple); border-color: rgba(168,85,247,0.12); }
.spicy-card .mode-tags li { background: rgba(239,68,68,0.06); color: var(--red-500); border-color: rgba(239,68,68,0.12); }

/* ═══ FEATURES BENTO ═══ */
.features {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.feature-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.bento-card {
  padding: 28px 24px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 10px 32px rgba(236,72,153,0.06);
  transition: transform 260ms, box-shadow 260ms;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(236,72,153,0.1);
}

.bento-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.bento-icon-ring {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rose-100);
  color: var(--pink-500);
}
.vault-ring { background: rgba(16,185,129,0.08); color: var(--emerald); }
.streak-ring { background: rgba(245,158,11,0.08); color: var(--amber); }
.multi-ring { background: rgba(59,130,246,0.08); color: var(--blue); }

.bento-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.bento-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.bento-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }

.bento-mini-demo { margin-top: 16px; display: grid; gap: 8px; }

.mini-q {
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: var(--rose-50);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-q svg { flex-shrink: 0; }

.bento-vault-preview {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vault-chip {
  padding: 8px 14px;
  border-radius: var(--r-full);
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.12);
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.streak-bar { margin-top: 16px; display: flex; gap: 6px; }

.streak-day {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--border);
  background: var(--rose-50);
  color: var(--muted);
}

.streak-day.active {
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 3px 10px var(--glow);
}

.streak-day.today {
  background: var(--white);
  border: 2px solid var(--pink-500);
  color: var(--pink-500);
}

/* ═══ WAITLIST (centered layout) ═══ */
.waitlist {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.waitlist-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.waitlist-centered h2 { margin-bottom: 8px; }

.waitlist-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 48ch;
  margin-bottom: 28px;
  line-height: 1.7;
}

.waitlist-form {
  width: 100%;
  max-width: 420px;
  padding: 28px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 16px 48px var(--glow);
  display: grid;
  gap: 12px;
  text-align: left;
}

.waitlist-form label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.waitlist-form input,
.waitlist-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--rose-200);
  background: var(--rose-50);
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  font-weight: 500;
  transition: border-color 180ms, box-shadow 180ms;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  outline: none;
  border-color: var(--pink-500);
  box-shadow: 0 0 0 4px rgba(236,72,153,0.10);
  background: var(--white);
}

.waitlist-form input::placeholder { color: var(--gray-400); font-weight: 400; }

/* ── Relationship stage picker ── */
.stage-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.stage-chip {
  border: 1.5px solid var(--rose-200);
  background: var(--rose-50);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms, background-color 160ms, color 160ms, box-shadow 160ms, transform 120ms;
}

.stage-chip:hover {
  border-color: var(--pink-500);
  background: #fff;
  transform: translateY(-1px);
}

.stage-chip:focus-visible {
  outline: none;
  border-color: var(--pink-500);
  box-shadow: 0 0 0 4px rgba(236,72,153,0.10);
}

.stage-chip.is-selected {
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: var(--white);
  box-shadow: 0 8px 18px rgba(236,72,153,0.25);
}

.stage-chip[data-value="other"] {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 1.3em;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.form-status.success { color: var(--emerald); }
.form-status.error { color: var(--red-500); }

.legal-note {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
.legal-note a { font-weight: 600; }

/* ═══ FAQ ═══ */
.faq {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.faq .section-inner {
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-inline: auto;
  text-align: left;
}

.faq-list details {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 200ms;
}

.faq-list details:hover { box-shadow: 0 6px 20px rgba(236,72,153,0.06); }
.faq-list details[open] { box-shadow: 0 8px 24px rgba(236,72,153,0.08); }

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-chevron {
  flex-shrink: 0;
  transition: transform 200ms;
  color: var(--muted);
}

details[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--pink-500);
}

.faq-list details p {
  padding: 0 20px 16px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

/* ═══ FOOTER ═══ */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 28px 24px;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
}

.footer-links { display: inline-flex; gap: 16px; }
.footer-links a { color: var(--muted); font-size: 13px; font-weight: 600; }
.footer-links a:hover { color: var(--pink-500); }

.copyright { font-size: 11px; color: var(--muted); }

/* ═══ LEGAL PAGE ═══ */
.legal-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-600);
  margin-bottom: 8px;
}

.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 70px;
  position: relative;
  z-index: 1;
}

.legal-page h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 12px; }
.legal-page h2 { font-size: clamp(22px, 3vw, 30px); margin: 28px 0 8px; }
.legal-page p, .legal-page li { color: var(--muted); line-height: 1.75; font-size: 15px; }
.legal-page ul { padding-left: 20px; }

/* ═══ RESPONSIVE ═══ */

/* Tablet */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lead { max-width: 60ch; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 420px; }
  .mode-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-bento { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  .scroll-rail {
    display: none;
  }
  .scroll-topbar {
    display: block;
  }
  .header-inner {
    padding: 10px 16px;
    gap: 8px;
  }
  .brand-logo { width: 44px; height: 44px; }
  .brand-name { font-size: 22px; }
  .site-nav { display: none; }
  .btn-sm { padding: 8px 14px; font-size: 12px; }

  .hero { padding: 40px 0 56px; }
  .hero-inner { padding: 0 16px; gap: 32px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  h1 { font-size: clamp(32px, 9vw, 48px); }
  h2 { font-size: clamp(24px, 7vw, 36px); }
  .lead { font-size: 15px; max-width: 100%; }
  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-visual { min-height: 360px; }
  .mock-phone { width: 230px; }
  .app-screenshot { width: 230px; }
  .float-card-vault { right: 2px; bottom: 6%; font-size: 11px; }
  .float-card-streak { left: 2px; top: 4%; font-size: 11px; }

  .mode-grid { grid-template-columns: 1fr; gap: 12px; }
  .mode-card { padding: 22px 20px; }

  .feature-bento { grid-template-columns: 1fr; gap: 12px; }
  .bento-card { padding: 22px 20px; }
  .bento-card h3 { font-size: 20px; }

  .streak-bar { flex-wrap: wrap; gap: 5px; }
  .streak-day { width: 32px; height: 32px; font-size: 10px; }

  .section-inner { padding: 0 16px; }
  .section-sub { font-size: 15px; }

  .waitlist-form { max-width: 100%; padding: 24px 20px; }
  .waitlist-sub { font-size: 15px; }
  .stage-picker {
    grid-template-columns: 1fr;
  }

  .faq-list summary { padding: 14px 16px; font-size: 14px; }
  .faq-list details p { padding: 0 16px 14px; font-size: 13px; }

  .footer-inner { padding: 24px 16px; }
  .footer-brand { font-size: 20px; }
  .footer-brand .brand-logo { width: 36px; height: 36px; }
}

/* Small phone */
@media (max-width: 420px) {
  .scroll-topbar {
    left: 8px;
    right: 8px;
    top: 6px;
  }
  .header-inner { padding: 8px 12px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 19px; }
  .btn-sm { padding: 7px 12px; font-size: 11px; }

  .hero { padding: 28px 0 40px; }
  .modes, .features, .waitlist, .faq { padding: 36px 0; }
  h1 { font-size: clamp(28px, 8.5vw, 40px); }
  h2 { font-size: clamp(22px, 6.5vw, 32px); }
  .lead { font-size: 14px; }

  .mock-phone { width: 200px; border-radius: 26px; }
  .app-screenshot { width: 200px; border-radius: 26px; }
  .mock-notch { width: 80px; height: 18px; border-radius: 0 0 12px 12px; }
  .mock-q-text { font-size: 13px; }
  .mock-btn { padding: 8px 12px; font-size: 11px; }

  .float-card { display: none; }

  .mode-card { padding: 20px 16px; }
  .mode-card h3 { font-size: 19px; }
  .mode-card p { font-size: 13px; }
  .mode-icon-wrap { width: 44px; height: 44px; }
  .mode-icon-wrap svg { width: 22px; height: 22px; }

  .bento-card { padding: 20px 16px; }
  .bento-card h3 { font-size: 18px; }
  .bento-card p { font-size: 13px; }
  .mini-q { font-size: 12px; padding: 8px 10px; }
  .vault-chip { font-size: 11px; padding: 6px 10px; }

  .waitlist-form { padding: 18px 14px; }
  .waitlist-form input,
  .waitlist-form select { padding: 12px 14px; font-size: 14px; }
  .btn-full { padding: 14px 20px; }

  .streak-day { width: 28px; height: 28px; font-size: 9px; border-radius: 8px; }

  .legal-page { padding: 32px 16px 50px; }
  .legal-page h1 { font-size: clamp(26px, 7vw, 38px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-thumb,
  .scroll-thumb.spark,
  .float-card,
  .mock-phone {
    animation: none !important;
  }
}
