/*
 * Kid Storytime — Web Design System
 * Mirrors the iOS app's visual language exactly.
 *
 * Design tokens sourced from DesignSystem/SharedStyles.swift:
 *   brandAccent  = Color(red:0.85 green:0.45 blue:0.45) → #D97373
 *   learningBlue = Color(red:0.30 green:0.50 blue:0.70) → #4C7FB2
 *   textPrimary  = Color(red:0.10 green:0.10 blue:0.15) → #191926
 *   bg gradient  = rose-lilac #F5ECF5 → lavender #F2EAF8
 *   shadow       = Color(red:0.55 green:0.35 blue:0.55) → #8C598C
 *
 * Research applied: 20 award-winning landing page patterns
 * → See RESEARCH.md for full documentation
 */

/* ─── Reset & Root ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }

:root {
  /* ── Brand colours (exact app tokens) ── */
  --brand:        #D97373;
  --brand-dark:   #C05050;
  --brand-glow:   rgba(217,115,115,0.20);
  --brand-tint:   rgba(217,115,115,0.10);
  --brand-50:     #FFF0F0;

  --blue:         #4C7FB2;
  --blue-tint:    rgba(76,127,178,0.12);

  --gold:         #F2C45C;
  --gold-tint:    rgba(242,196,92,0.15);

  --green:        #66B380;
  --green-tint:   rgba(102,179,128,0.12);

  /* ── Backgrounds (app's rose-lilac gradient) ── */
  --bg:           #FAFAFA;
  --bg-warm:      #F5ECF5;   /* rose-lilac — matches app */
  --bg-lavender:  #F2EAF8;   /* soft lavender — matches app */
  --bg-card:      rgba(255,255,255,0.88);
  --bg-glass:     rgba(255,255,255,0.72);

  /* ── Text (app tokens) ── */
  --ink:          #191926;
  --ink-2:        rgba(25,25,38,0.60);
  --ink-3:        rgba(25,25,38,0.38);
  --ink-4:        rgba(25,25,38,0.20);

  /* ── Borders & shadows ── */
  --border:       rgba(255,255,255,0.80);
  --border-soft:  rgba(25,25,38,0.07);
  --shadow-xs:    0 2px 8px  rgba(140,89,140,0.08);
  --shadow-sm:    0 4px 16px rgba(140,89,140,0.10);
  --shadow-md:    0 8px 32px rgba(140,89,140,0.12);
  --shadow-lg:    0 20px 60px rgba(140,89,140,0.16);
  --shadow-xl:    0 32px 80px rgba(140,89,140,0.20);

  /* ── Typography ── */
  --font: ui-rounded, "SF Pro Rounded", "Plus Jakarta Sans", -apple-system,
          BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;

  /* ── Radii (matching app) ── */
  --r-sm:   10px;
  --r-md:   18px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-pill: 9999px;

  /* ── Spacing ── */
  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  24px;
  --sp-lg:  40px;
  --sp-xl:  80px;
  --sp-2xl: 140px;

  /* ── Layout ── */
  --max-w:  1180px;
  --max-text: 720px;
}

/* ─── Base ─────────────────────────────────────────────────────────────── */
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── Typography scale ────────────────────────────────────────────────── */
.display-xl {
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.00;
}
.display-lg {
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.display-md {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.10;
}
.display-sm {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.body-lg   { font-size: 19px; line-height: 1.65; font-weight: 400; }
.body-md   { font-size: 17px; line-height: 1.65; font-weight: 400; }
.body-sm   { font-size: 15px; line-height: 1.60; font-weight: 400; }
.caption   { font-size: 13px; line-height: 1.5;  font-weight: 500; letter-spacing: 0.01em; }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.text-muted    { color: var(--ink-2); }
.text-tertiary { color: var(--ink-3); }

/* ─── Layout utilities ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}
.container-text {
  max-width: var(--max-text);
  margin-inline: auto;
}
.section {
  padding-block: var(--sp-2xl);
}
.section-sm {
  padding-block: var(--sp-xl);
}
.center { text-align: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: var(--sp-sm); }
.gap-md { gap: var(--sp-md); }
.gap-lg { gap: var(--sp-lg); }

/* ─── Gradients & backgrounds ─────────────────────────────────────────── */
.bg-app {
  background: linear-gradient(140deg, var(--bg-warm) 0%, var(--bg-lavender) 60%, #EEE6F8 100%);
}
.bg-warm  { background: var(--bg-warm); }
.bg-white { background: #fff; }
.bg-dark  {
  background: var(--ink);
  color: #fff;
}

/* ─── Card ────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}
.card-glass {
  background: var(--bg-glass);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(24px);
}

/* ─── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 4px 20px var(--brand-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(217,115,115,0.35);
}

.btn-secondary {
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  border: 1.5px solid var(--border-soft);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  color: var(--brand);
  font-weight: 600;
  padding: 10px 0;
}
.btn-ghost:hover { opacity: 0.75; }

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
  border-radius: var(--r-pill);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ─── App Store Badge ──────────────────────────────────────────────────── */
.badge-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.badge-appstore:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: #2d2d3a;
}
.badge-appstore .badge-icon { font-size: 22px; line-height: 1; }
.badge-appstore .badge-text { display: flex; flex-direction: column; gap: 1px; }
.badge-appstore .badge-label { font-size: 10px; font-weight: 400; opacity: 0.72; letter-spacing: 0.02em; }
.badge-appstore .badge-store { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }

/* ─── Navigation ──────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,250,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-logo-bear { font-size: 26px; line-height: 1; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  list-style: none;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ─── Hero Section ────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding-block: 80px 40px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(217,115,115,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 80% 100%, rgba(140,89,140,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  position: relative;
}
.hero-text { max-width: 560px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-tint);
  border: 1px solid rgba(217,115,115,0.20);
  color: var(--brand-dark);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-headline {
  margin-bottom: 20px;
  color: var(--ink);
}
.hero-headline span { color: var(--brand); }
.hero-sub {
  font-size: 19px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-3);
}
.hero-stars { color: var(--gold); letter-spacing: -1px; font-size: 15px; }

/* (Old CSS phone-mockup styles removed — superseded by real screenshots) */

/* ─── Trust Strip ─────────────────────────────────────────────────────── */
.trust-strip {
  padding-block: 28px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 60px);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.trust-item .trust-icon { font-size: 18px; }
.trust-sep { width: 1px; height: 24px; background: var(--border-soft); }

/* ─── Section Headers ─────────────────────────────────────────────────── */
.section-header { margin-bottom: clamp(40px, 6vw, 72px); }
.section-header .eyebrow { margin-bottom: 12px; display: block; }

/* ─── Feature Bento Grid ──────────────────────────────────────────────── */
.bento {
  display: grid;
  gap: 20px;
}
.bento-2 { grid-template-columns: repeat(2, 1fr); }
.bento-3 { grid-template-columns: repeat(3, 1fr); }
.bento-4 { grid-template-columns: repeat(4, 1fr); }
.bento-cell {
  padding: var(--sp-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.25s ease;
}
.bento-cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.bento-cell.span-2 { grid-column: span 2; }
.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.icon-brand    { background: var(--brand-tint); }
.icon-blue     { background: var(--blue-tint); }
.icon-gold     { background: var(--gold-tint); }
.icon-green    { background: var(--green-tint); }
.icon-lavender { background: rgba(140,89,140,0.10); }
.bento-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.bento-desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ─── Lesson Grid ──────────────────────────────────────────────────────── */
.lessons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.lesson-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s ease;
}
.lesson-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.lesson-emoji { font-size: 20px; }

/* ─── Age Dial ────────────────────────────────────────────────────────── */
.age-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.age-card {
  padding: var(--sp-lg);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.age-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background: radial-gradient(circle at 50% 0%, var(--brand) 0%, transparent 70%);
  pointer-events: none;
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--brand-tint);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 14px;
}
.age-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.age-words {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}
.age-word {
  padding: 4px 12px;
  background: var(--bg-warm);
  border: 1px solid rgba(217,115,115,0.15);
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--ink-2);
}

/* ─── Sound Waves ─────────────────────────────────────────────────────── */
.sound-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.sound-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s ease;
}
.sound-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.sound-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  flex-shrink: 0;
}
.sound-wave span {
  width: 4px;
  background: var(--brand);
  border-radius: 2px;
  animation: wave 1.4s ease-in-out infinite;
  opacity: 0.7;
}
.sound-wave span:nth-child(1) { height: 60%; animation-delay: 0.0s; }
.sound-wave span:nth-child(2) { height: 100%; animation-delay: 0.1s; }
.sound-wave span:nth-child(3) { height: 75%; animation-delay: 0.2s; }
.sound-wave span:nth-child(4) { height: 45%; animation-delay: 0.3s; }
.sound-wave span:nth-child(5) { height: 90%; animation-delay: 0.4s; }
@keyframes wave {
  0%,100% { transform: scaleY(0.5); }
  50%     { transform: scaleY(1.0); }
}
.sound-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.sound-desc { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* ─── Best Practices ──────────────────────────────────────────────────── */
.practices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.practice-card {
  padding: var(--sp-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  display: flex;
  gap: var(--sp-sm);
}
.practice-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.practice-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.practice-body p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* ─── Book Teaser ─────────────────────────────────────────────────────── */
.book-section {
  position: relative;
  overflow: hidden;
}
.book-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--ink) 0%, #2A1F3D 100%);
}
.book-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.book-cover {
  aspect-ratio: 3/4;
  max-width: 300px;
  background: linear-gradient(135deg, #2D1B47 0%, #3D2460 50%, #2A1B4A 100%);
  border-radius: 12px 24px 24px 12px;
  box-shadow: -6px 0 0 rgba(255,255,255,0.03),
              6px 0 0 rgba(0,0,0,0.4),
              20px 20px 60px rgba(0,0,0,0.5),
              40px 40px 100px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.book-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 6px;
  right: 0;
  height: 100%;
  background: rgba(255,255,255,0.02);
  border-radius: 0 24px 24px 0;
}
.book-cover-stars {
  font-size: 28px;
  letter-spacing: -4px;
}
.book-cover-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  line-height: 1.2;
}
.book-cover-subtitle {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.book-cover-author {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}
.book-text { color: #fff; }
.book-text .eyebrow { color: var(--gold); }
.book-text h2 { color: #fff; margin-bottom: 16px; }
.book-text p { color: rgba(255,255,255,0.65); font-size: 17px; line-height: 1.7; margin-bottom: 28px; }
.email-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
}
.email-input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.16);
  border-radius: var(--r-pill);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.email-input::placeholder { color: rgba(255,255,255,0.40); }
.email-input:focus { border-color: rgba(255,255,255,0.4); }
.book-disclaimer { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 10px; }

/* ─── Testimonials ─────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  padding: var(--sp-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-stars { color: var(--gold); letter-spacing: -1px; font-size: 17px; }
.testimonial-quote {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  flex: 1;
}
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--bg-warm);
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.testimonial-meta { font-size: 12px; color: var(--ink-3); }

/* ─── Premium Section ──────────────────────────────────────────────────── */
.premium-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
.premium-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.premium-feat {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
}
.premium-feat-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.premium-feat h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.premium-feat p { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* ─── FAQ ──────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-inline: auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  gap: 12px;
  list-style: none;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--brand);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  border-top: 1px solid var(--border-soft);
}

/* ─── Final CTA ────────────────────────────────────────────────────────── */
.final-cta {
  text-align: center;
  padding-block: var(--sp-2xl);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%,
    rgba(217,115,115,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta h2 { margin-bottom: 16px; position: relative; }
.final-cta p { color: var(--ink-2); font-size: 19px; margin-bottom: 40px; position: relative; }
.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}
.fragment-trio {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  color: var(--ink-3);
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.fragment-trio span { color: var(--ink); }

/* ─── Footer ───────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-soft);
  padding-block: 48px 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.65;
  max-width: 240px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.15s;
}
.footer-col li a:hover { color: var(--brand); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--ink-3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--ink-3); }
.footer-legal a:hover { color: var(--brand); }

/* ─── Scroll Animations ────────────────────────────────────────────────── */
[data-fade] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-fade].visible {
  opacity: 1;
  transform: none;
}
[data-fade-delay="1"] { transition-delay: 0.10s; }
[data-fade-delay="2"] { transition-delay: 0.20s; }
[data-fade-delay="3"] { transition-delay: 0.30s; }
[data-fade-delay="4"] { transition-delay: 0.40s; }
[data-fade-delay="5"] { transition-delay: 0.50s; }

/* ─── Legal Pages ──────────────────────────────────────────────────────── */
.legal-hero {
  padding-block: 80px 48px;
  border-bottom: 1px solid var(--border-soft);
}
.legal-hero .eyebrow { margin-bottom: 12px; display: block; }
.legal-meta { font-size: 14px; color: var(--ink-3); margin-top: 12px; }
.legal-body {
  padding-block: 60px 100px;
}
.legal-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 52px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-tint);
}
.legal-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 10px;
}
.legal-body p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 16px;
}
.legal-body ul, .legal-body ol {
  margin: 0 0 16px 0;
  padding-left: 28px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
}
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--brand); }
.legal-body a:hover { text-decoration: underline; }
.legal-highlight {
  background: var(--bg-warm);
  border: 1px solid rgba(217,115,115,0.15);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 24px 0;
}
.legal-highlight p { margin-bottom: 0; color: var(--ink); font-weight: 500; }

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner       { grid-template-columns: 1fr; gap: 48px; }
  .phone-wrap       { order: -1; }
  .hero-text        { text-align: center; max-width: 100%; }
  .hero-cta-group   { justify-content: center; }
  .hero-sub         { max-width: 100%; }
  .hero-trust       { justify-content: center; }
  .bento-2          { grid-template-columns: 1fr; }
  .bento-3          { grid-template-columns: repeat(2, 1fr); }
  .book-inner       { grid-template-columns: 1fr; }
  .book-cover       { max-width: 200px; margin-inline: auto; }
  .book-text        { text-align: center; }
  .email-form       { max-width: 100%; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .premium-inner    { grid-template-columns: 1fr; }
  .footer-inner     { grid-template-columns: 1fr 1fr; }
  .age-steps        { grid-template-columns: 1fr; }
  .nav-links        { display: none; }
}
@media (max-width: 640px) {
  :root { --sp-2xl: 80px; --sp-xl: 60px; }
  .bento-3 { grid-template-columns: 1fr; }
  .bento-4 { grid-template-columns: repeat(2, 1fr); }
  .premium-features { grid-template-columns: 1fr; }
  .footer-inner     { grid-template-columns: 1fr; gap: 28px; }
  .bento-cell.span-2 { grid-column: span 1; }
  .email-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .phone-float, [data-fade], .sound-wave span, .phone-star { animation: none !important; transition: none !important; }
  [data-fade] { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   SUPPLEMENTAL — styles for index.html, terms.html, privacy.html
   ══════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════
   FLOATING NAV, FULL-BLEED HERO, SCREENSHOT SECTION
   ══════════════════════════════════════════════════════════════════════════ */

/* ── App icon in nav / footer ──────────────────────────────────────────── */
.nav-app-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(217,115,115,0.25);
  flex-shrink: 0;
}
.footer-app-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(217,115,115,0.20);
}

/* ── Floating pill nav ─────────────────────────────────────────────────── */
.nav-pill {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 32px), 1100px);
  padding: 10px 12px;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.76);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(62,45,67,0.12), 0 2px 8px rgba(140,89,140,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-pill .nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-pill .nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-pill .nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.15s;
}
.nav-pill .nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) {
  .nav-pill .nav-links { display: none; }
}

/* Legal pages — nav always white since there's no dark hero */
.nav-pill-light {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  box-shadow: none;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.95);
  margin: 0;
  padding-inline: clamp(20px, 5vw, 48px);
}
.legal-header { padding-top: 60px; }

/* ── Full-bleed hero (uses real background image) ──────────────────────── */
.hero-full {
  min-height: 92svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background-image: url("assets/hero-background-1800.jpg");
  background-size: cover;
  background-position: center;
}
/* Left dark vignette for text legibility — leaves the right (where phones sit)
   mostly untouched so the purple sky shows through */
.hero-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 95% at 18% 50%, rgba(20,12,28,0.78) 0%, rgba(20,12,28,0.55) 30%, transparent 65%),
    linear-gradient(180deg, rgba(20,12,28,0.20) 0%, transparent 30%, transparent 70%, rgba(20,12,28,0.25) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero-full::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(0deg, var(--bg) 0%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}
.hero-full > * { position: relative; z-index: 1; }
.hero-full-inner {
  width: min(100%, var(--max-w));
  margin-inline: auto;
  padding: 140px clamp(20px, 5vw, 48px) 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  align-items: end;
  gap: 48px;
}
.hero-copy { max-width: 580px; color: #fff; }

/* Eyebrow pill — refined with glow dot */
.hero-copy .eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px 0 12px;
  border-radius: var(--r-pill);
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 4px 16px rgba(0,0,0,0.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: eyebrowPulse 2.4s ease-in-out infinite;
}
@keyframes eyebrowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1.0; transform: scale(1.15); }
}

/* Headline — tighter, with proper hero gradient */
.hero-copy h1 {
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 6.8vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 28px rgba(0,0,0,0.28);
}
.hero-copy .gradient-text {
  background: linear-gradient(120deg, #FFB8B8 0%, #F58A8A 45%, #E66A6A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Lead — short, single paragraph */
.hero-lead {
  max-width: 520px;
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
  color: rgba(255,255,255,0.86);
  line-height: 1.6;
  margin-bottom: 32px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.18);
}

/* Actions — proper sibling buttons */
.hero-copy .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}
.hero-copy .hero-actions .btn-primary span {
  font-size: 1.1em;
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.hero-copy .hero-actions .btn-primary:hover span { transform: translateX(3px); }

/* Glass button — sibling to primary, lives on dark bg */
.btn-glass {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 8px 24px rgba(0,0,0,0.20);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 12px 32px rgba(0,0,0,0.28);
}
.btn-glass svg { opacity: 0.95; }

/* Value chips — visual variety + content density without prose */
.hero-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  max-width: 520px;
}
.hero-values::before {
  content: 'Lessons inside →';
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-right: 4px;
}
.hero-value-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.18s ease, border-color 0.18s ease;
}
.hero-value-chip:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.30);
}

/* ── Phone stack — natural iPhone proportions (no cropping) ────────────── */
.phone-stack {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  isolation: isolate;
  min-height: 660px;
}
/* Front phone — Kid Storytime start screen */
.phone {
  flex-shrink: 0;
  width: 300px;
  border: 11px solid #17151a;
  border-radius: 48px;          /* iPhone-like roundness */
  overflow: hidden;
  background: #17151a;
  position: relative;
  z-index: 2;                   /* IN FRONT — fully opaque */
  margin-left: auto;
  box-shadow:
    0 36px 90px rgba(24,18,28,0.55),
    0 0 0 1px rgba(255,255,255,0.14);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;                 /* respect image's natural 9:19.5 ratio */
}
/* Back phone — Tonight's Story, smaller, rotated, behind */
.phone.alt {
  position: absolute;
  left: 0;
  bottom: 30px;
  width: 215px;
  transform: rotate(-5deg);
  transform-origin: center center;
  z-index: 1;
  opacity: 0.95;
  border-width: 9px;
  border-radius: 40px;
  margin-left: 0;
  box-shadow:
    0 24px 70px rgba(24,18,28,0.45),
    0 0 0 1px rgba(255,255,255,0.10);
}

/* ── Screenshot showcase — smaller, centered, iPhone-locked ────────────── */
.showcase-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
}
.screen-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  margin-top: 56px;
  max-width: 760px;
  margin-inline: auto;
}
.screen {
  flex: 0 0 220px;                 /* fixed phone width — no stretching */
  width: 220px;
  aspect-ratio: 9 / 19.5;          /* lock iPhone shape */
  border: 9px solid #16151a;
  border-radius: 32px;
  overflow: hidden;
  background: #16151a;
  box-shadow: 0 22px 54px rgba(26,18,29,0.22);
}
.screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
/* All three phones aligned on the same baseline (no staircase) */
@media (max-width: 720px) {
  .screen-row {
    justify-content: flex-start;
    gap: 16px;
    max-width: none;
    overflow-x: auto;
    padding: 4px 20px 24px;
    margin-inline: -20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .screen-row::-webkit-scrollbar { display: none; }
  .screen {
    flex: 0 0 min(64vw, 220px);
    width: min(64vw, 220px);
    border-width: 7px;
    border-radius: 26px;
    scroll-snap-align: center;
  }
}

/* ── Dark night section (sleep science) ────────────────────────────────── */
.bg-night {
  background: linear-gradient(135deg, #171b24 0%, #222536 100%);
}
.science-card-dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
}
.science-card-dark .science-num { color: var(--brand); }

/* Responsive additions for new components */
@media (max-width: 1024px) {
  .hero-full-inner { grid-template-columns: 1fr; }
  .phone-stack     { min-height: 460px; justify-content: center; }
  .phone           { width: 280px; margin-left: 0; }
  .phone.alt       { width: 200px; left: 50%; margin-left: -200px; bottom: 20px; }
}
@media (max-width: 640px) {
  .phone.alt       { display: none; }
  .phone-stack     { min-height: 380px; }
  .phone           { width: 240px; }
}

/* ── Gradient text ─────────────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--brand), #C05050 40%, #A03A8E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Nav additions ─────────────────────────────────────────────────────── */
.nav-logo-icon { font-size: 24px; line-height: 1; }
.nav-logo-text { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.nav-scrolled  { box-shadow: var(--shadow-xs); }

/* ── Reveal animation (Intersection Observer) ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}
.reveal.revealed { opacity: 1; transform: none; }

/* ── Hero additions ────────────────────────────────────────────────────── */
/* Ambient stars in hero background */
.star {
  position: absolute;
  border-radius: 50%;
  background: rgba(140, 89, 140, 0.45);
  animation: twinkle 4s ease-in-out infinite;
  pointer-events: none;
}
.star-1 { width: 4px; height: 4px; top: 18%; left: 12%; animation-delay: 0.0s; }
.star-2 { width: 3px; height: 3px; top: 30%; left: 78%; animation-delay: 0.8s; }
.star-3 { width: 5px; height: 5px; top: 10%; left: 55%; animation-delay: 1.6s; }
.star-4 { width: 3px; height: 3px; top: 55%; left: 88%; animation-delay: 2.4s; }
.star-5 { width: 4px; height: 4px; top: 70%; left: 5%;  animation-delay: 3.2s; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.hero-note { display: block; margin-top: 8px; }

.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hero-scroll-hint span {
  display: block;
  width: 2px;
  height: 32px;
  background: linear-gradient(to bottom, var(--brand), transparent);
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 0.8; transform: scaleY(1.0); }
}

/* ── Phone mockup (hero) ───────────────────────────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 40px;
}
.phone-mockup {
  position: relative;
  z-index: 1;
  width: 270px;
  background: #1a1a2e;
  border-radius: 42px;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.12),
    0 0 0 10px #111,
    0 32px 80px rgba(0,0,0,0.50),
    0 4px 16px rgba(140,89,140,0.30);
  overflow: hidden;
  animation: phoneFloat 6s ease-in-out infinite;
}
.phone-mockup .phone-screen {
  position: relative;
  inset: 0;
  padding: 48px 16px 24px;
  background: linear-gradient(145deg, #F5ECF5, #EBE0F8);
  border-radius: 40px;
  margin: 3px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.phone-story-card {
  width: 100%;
  background: rgba(255,255,255,0.88);
  border-radius: 20px;
  padding: 18px 16px;
  box-shadow: 0 4px 20px rgba(140,89,140,0.14);
  border: 1px solid rgba(255,255,255,0.9);
}
.phone-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 4px;
}
.phone-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.phone-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}
.phone-chip {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--brand-tint);
  border: 1px solid rgba(217,115,115,0.18);
  font-size: 10px;
  font-weight: 600;
  color: var(--brand-dark);
}
.phone-text-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.phone-text-lines span {
  display: block;
  height: 8px;
  background: rgba(25,25,38,0.08);
  border-radius: 4px;
}
.phone-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.phone-play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--brand-glow);
  flex-shrink: 0;
}
.phone-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  flex: 1;
}
.phone-wave span {
  flex: 1;
  background: var(--brand);
  border-radius: 2px;
  opacity: 0.5;
  animation: wave 1.4s ease-in-out infinite;
}
.phone-wave span:nth-child(1) { height: 50%; animation-delay: 0.0s; }
.phone-wave span:nth-child(2) { height: 90%; animation-delay: 0.1s; }
.phone-wave span:nth-child(3) { height: 70%; animation-delay: 0.2s; }
.phone-wave span:nth-child(4) { height: 40%; animation-delay: 0.3s; }
.phone-wave span:nth-child(5) { height: 80%; animation-delay: 0.4s; }
.hero-visual .phone-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(217,115,115,0.20), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ── Trust strip ───────────────────────────────────────────────────────── */
.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.trust-num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.trust-stars { color: var(--gold); font-size: 16px; letter-spacing: -1px; }
.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border-soft);
  flex-shrink: 0;
}

/* ── Steps / How it works ──────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin-top: 60px;
}
.step-card {
  padding: var(--sp-lg) var(--sp-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand);
  opacity: 0.6;
  text-transform: uppercase;
}
.step-icon { font-size: 32px; line-height: 1; }

/* ── Bento card (index.html feature section) ───────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
  margin-top: 60px;
}
.bento-card {
  padding: var(--sp-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento-tall { grid-row: span 2; }
.bento-wide { grid-column: span 2; }
.bento-card .bento-icon {
  font-size: 28px;
  line-height: 1;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  margin-bottom: 4px;
}
.bento-card .bento-icon.text-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.bento-card .eyebrow { margin-bottom: 2px; }
.bento-card h3 { margin-bottom: 4px; }

.bento-sample-card {
  margin-top: auto;
  background: var(--bg-warm);
  border: 1px solid rgba(217,115,115,0.15);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.bento-sample-quote {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
  font-style: italic;
}

/* ── Lesson pills (bento) ──────────────────────────────────────────────── */
.lessons-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.lessons-pills .lesson-pill {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-warm);
  border: 1px solid rgba(217,115,115,0.18);
  color: var(--ink-2);
  display: inline-block;
  transition: all 0.18s ease;
}
.lessons-pills .lesson-pill:hover { background: #fff; color: var(--brand-dark); }
.pill-kindness  { background: rgba(217,115,115,0.12) !important; color: #B04040 !important; border-color: rgba(217,115,115,0.25) !important; }
.pill-courage   { background: rgba(76,127,178,0.10) !important; color: #2C5F8A !important; border-color: rgba(76,127,178,0.22) !important; }
.pill-honesty   { background: rgba(102,179,128,0.10) !important; color: #3A7A52 !important; border-color: rgba(102,179,128,0.22) !important; }
.pill-patience  { background: rgba(242,196,92,0.14) !important; color: #8A6800 !important; border-color: rgba(242,196,92,0.30) !important; }
.pill-sharing   { background: rgba(140,89,140,0.10) !important; color: #6A3A6A !important; border-color: rgba(140,89,140,0.22) !important; }
.pill-gratitude { background: rgba(217,115,115,0.08) !important; color: #B04040 !important; border-color: rgba(217,115,115,0.18) !important; }
.pill-empathy   { background: rgba(76,127,178,0.08) !important; color: #2C5F8A !important; border-color: rgba(76,127,178,0.18) !important; }
.pill-resilience{ background: rgba(102,179,128,0.08) !important; color: #3A7A52 !important; border-color: rgba(102,179,128,0.18) !important; }

/* ── Age cards (bento) ─────────────────────────────────────────────────── */
.age-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.age-cards .age-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-warm);
  border-radius: var(--r-md);
  border: 1px solid rgba(217,115,115,0.12);
}
.age-cards .age-badge {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-dark);
  background: rgba(217,115,115,0.12);
  padding: 4px 9px;
  border-radius: var(--r-pill);
  width: auto;
  height: auto;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.age-cards .age-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.4;
  margin: 0;
}

/* ── Sleep curve SVG container ─────────────────────────────────────────── */
.sleep-curve {
  margin-top: auto;
  width: 100%;
  max-width: 340px;
  opacity: 0.75;
}
.sleep-curve svg { width: 100%; height: auto; overflow: visible; }

/* ── Narration wave ────────────────────────────────────────────────────── */
.narration-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
  margin-top: auto;
  padding-top: 8px;
}
.narration-wave span {
  flex: 1;
  background: linear-gradient(to top, var(--brand), rgba(217,115,115,0.3));
  border-radius: 2px;
  animation: wave 1.4s ease-in-out infinite;
  opacity: 0.6;
}
.narration-wave span:nth-child(odd)  { height: 60%; animation-delay: 0.0s; }
.narration-wave span:nth-child(even) { height: 90%; animation-delay: 0.2s; }
.narration-wave span:nth-child(3n)   { height: 40%; animation-delay: 0.4s; }

/* ── Sound cards in bento ──────────────────────────────────────────────── */
.bento-card .sound-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.bento-card .sound-card {
  flex: 1 1 calc(50% - 4px);
  min-width: 100px;
  padding: 10px 12px;
  background: var(--bg-warm);
  border: 1px solid rgba(217,115,115,0.10);
  border-radius: var(--r-md);
  box-shadow: none;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.sound-icon { font-size: 20px; line-height: 1; }
.bento-card .sound-name { font-size: 11px; font-weight: 600; color: var(--ink-2); }
.sound-mini-wave {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
  margin-top: 2px;
}
.sound-mini-wave span {
  width: 3px;
  background: var(--brand);
  border-radius: 2px;
  opacity: 0.5;
  animation: wave 1.4s ease-in-out infinite;
}
.sound-mini-wave span:nth-child(1) { height: 50%; animation-delay: 0.0s; }
.sound-mini-wave span:nth-child(2) { height: 90%; animation-delay: 0.1s; }
.sound-mini-wave span:nth-child(3) { height: 65%; animation-delay: 0.2s; }

/* ── Sleep science section ─────────────────────────────────────────────── */
.science-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.science-card {
  padding: var(--sp-lg);
  border-left: 3px solid var(--brand);
  background: var(--bg-card);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.science-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand);
  opacity: 0.55;
  text-transform: uppercase;
}

/* ── Book section additions ────────────────────────────────────────────── */
.book-bg-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bstar {
  position: absolute;
  color: rgba(242,196,92,0.3);
  font-size: 18px;
  animation: twinkle 5s ease-in-out infinite;
}
.bstar-1 { top: 12%; left: 8%;  animation-delay: 0.0s; }
.bstar-2 { top: 25%; left: 92%; animation-delay: 0.8s; }
.bstar-3 { top: 65%; left: 5%;  animation-delay: 1.6s; }
.bstar-4 { top: 80%; left: 85%; animation-delay: 2.4s; }
.bstar-5 { top: 45%; left: 50%; animation-delay: 3.2s; font-size: 10px; }

.book-section .book-inner {
  position: relative;
  z-index: 1;
}
.book-cover-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 800px;
}
.book-cover {
  display: flex;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-12deg) rotateX(4deg);
  transition: transform 0.4s ease;
}
.book-cover:hover { transform: rotateY(-4deg) rotateX(2deg); }
.book-cover-front {
  width: 220px;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, #2D1B47 0%, #3D2460 50%, #2A1B4A 100%);
  border-radius: 4px 16px 16px 4px;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    0 4px 16px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 22px;
  text-align: center;
  overflow: hidden;
}
.book-cover-front::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: rgba(255,255,255,0.03);
  border-radius: 0 16px 16px 0;
}
.book-spine {
  width: 18px;
  height: 100%;
  background: linear-gradient(to right, #1A0F30, #2D1B47);
  border-radius: 4px 0 0 4px;
  box-shadow: -4px 0 12px rgba(0,0,0,0.4);
  position: absolute;
  left: -18px;
  top: 0;
}
.book-cover-moon { font-size: 36px; line-height: 1; }
.book-cover-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.book-cover-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
}
.book-cover-author {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
}
.book-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.book-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}
.book-bullets li {
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.book-bullets li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 3px;
  opacity: 0.7;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #D4A830);
  color: #1a1000;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(242,196,92,0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(242,196,92,0.45);
}

/* ── Testimonials additions ────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.testimonial-card {
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.t-stars { color: var(--gold); font-size: 16px; letter-spacing: -1px; }
.t-author { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--border-soft); }
.t-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.t-meta { font-size: 12px; }

/* ── One-tap flow ─────────────────────────────────────────────────────── */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.flow-card {
  padding: var(--sp-lg);
}
.flow-number {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.flow-card h3 {
  margin: 10px 0 8px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

/* ── Pricing section ───────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin-inline: auto;
  margin-top: 60px;
}
.pricing-card {
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.pricing-card-featured {
  background: linear-gradient(145deg, rgba(217,115,115,0.06), rgba(140,89,140,0.06));
  border-color: rgba(217,115,115,0.25);
  box-shadow: var(--shadow-lg);
}
.pricing-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-free { background: var(--bg-warm); color: var(--ink-2); }
.badge-premium { background: linear-gradient(135deg, var(--brand-tint), rgba(140,89,140,0.12)); color: var(--brand-dark); }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing-amount {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.pricing-plan-name {
  font-size: clamp(28px, 3.5vw, 36px);
  line-height: 1.05;
}
.pricing-period { font-size: 16px; color: var(--ink-3); font-weight: 500; }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin-top: 4px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 4px;
}
.btn-outline {
  border: 1.5px solid var(--brand);
  color: var(--brand);
  background: transparent;
}
.btn-outline:hover { background: var(--brand-tint); }
.btn-block { width: 100%; justify-content: center; margin-top: auto; }

/* ── CTA section ───────────────────────────────────────────────────────── */
.cta-section {
  padding-block: var(--sp-2xl);
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--bg-warm) 0%, var(--bg-lavender) 60%, #EEE6F8 100%);
}
.cta-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217,115,115,0.15), transparent 70%);
  top: -100px;
  left: -100px;
}
.cta-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(140,89,140,0.12), transparent 70%);
  bottom: -80px;
  right: -80px;
}
.cta-inner { position: relative; z-index: 1; }
.cta-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ── App Store badge ───────────────────────────────────────────────────── */
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 12px 24px;
  border-radius: 14px;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-md);
}
.app-badge:hover {
  background: #2d2d3a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.app-badge .badge-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.app-badge .badge-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.app-badge .badge-sub  { font-size: 10px; font-weight: 400; opacity: 0.72; letter-spacing: 0.02em; }
.app-badge .badge-store { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1; }

/* ── Footer (simplified for landing page) ──────────────────────────────── */
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-logo-icon { font-size: 28px; }
.footer-logo-text  { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.footer-tagline    { color: var(--ink-3); margin-top: 4px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}
.footer-links a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--brand); }
.footer-copy { color: var(--ink-3); font-size: 13px; }

/* ── FAQ chevron (override ::after for nav links display) ──────────────── */
.faq-chevron { display: none; } /* handled by CSS ::after on summary */

/* ══════════════════════════════════════════════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════════════════════════════════════════════ */
.legal-header {
  padding-block: 80px 48px;
  border-bottom: 1px solid var(--border-soft);
}
.legal-header-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-header .eyebrow { margin-bottom: 4px; }
.legal-header h1 { margin-bottom: 4px; }
.legal-header .body-md { color: var(--ink-3); }

.privacy-pledge {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  margin-top: 24px;
  background: rgba(76,127,178,0.07);
  border: 1px solid rgba(76,127,178,0.18);
  max-width: 620px;
}
.privacy-pledge-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(76,127,178,0.12);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}
.privacy-pledge .body-sm { color: var(--ink-2); }
.privacy-pledge strong { color: var(--ink); }

.legal-main { padding-block: 60px 100px; }
.legal-content {
  max-width: 780px;
  margin-inline: 0; /* already inside .container which centres */
}
.legal-header-inner {
  display: flex;
  flex-direction: column;
}

.legal-toc {
  padding: 24px 28px;
  margin-bottom: 48px;
  background: var(--bg-warm);
  border: 1px solid rgba(217,115,115,0.12);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}
.legal-toc-list {
  list-style: decimal;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-toc-list li a {
  font-size: 14px;
  color: var(--brand);
  transition: opacity 0.15s;
}
.legal-toc-list li a:hover { opacity: 0.7; text-decoration: underline; }

.legal-section {
  margin-bottom: 52px;
  scroll-margin-top: 80px;
}
.legal-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand-tint);
  letter-spacing: -0.01em;
}
.legal-section h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 10px;
}
.legal-section p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-section ul, .legal-section ol {
  padding-left: 24px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-section li {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.7;
}
.legal-section a { color: var(--brand); }
.legal-section a:hover { text-decoration: underline; }
.legal-section strong { color: var(--ink); font-weight: 600; }

.legal-contact {
  padding: 20px 24px;
  font-style: normal;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.9;
  margin-block: 16px;
  background: var(--bg-warm);
  border: 1px solid rgba(217,115,115,0.12);
  border-radius: var(--r-lg);
  box-shadow: none;
}
.legal-contact strong { color: var(--ink); display: block; margin-bottom: 4px; }
.legal-contact a { color: var(--brand); }

.legal-table-wrap { overflow-x: auto; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-block: 16px;
}
.legal-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--bg-warm);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  border-bottom: 2px solid rgba(217,115,115,0.18);
}
.legal-table td {
  padding: 10px 14px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
  line-height: 1.6;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:nth-child(even) td { background: rgba(245,236,245,0.5); }

.legal-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 48px;
  border-top: 1px solid var(--border-soft);
  margin-top: 48px;
}

/* ── Supplemental responsive overrides ─────────────────────────────────── */
@media (max-width: 1024px) {
  .steps-grid           { grid-template-columns: repeat(2, 1fr); }
  .flow-grid            { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .bento                { grid-template-columns: repeat(2, 1fr); }
  .bento-tall           { grid-row: span 1; }
  .bento-wide           { grid-column: span 1; }
  .science-grid         { grid-template-columns: 1fr; }
  .testimonials-grid    { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid         { grid-template-columns: 1fr; max-width: 440px; }
  .hero-visual          { order: -1; }
  .hero-inner           { text-align: center; }
  .hero-actions         { justify-content: center; }
  .book-cover-wrap      { order: -1; }
}
@media (max-width: 640px) {
  .steps-grid           { grid-template-columns: 1fr; }
  .flow-grid            { grid-template-columns: 1fr; }
  .bento                { grid-template-columns: 1fr; }
  .testimonials-grid    { grid-template-columns: 1fr; }
  .science-grid         { grid-template-columns: 1fr; }
  .trust-inner          { flex-direction: column; gap: 20px; }
  .trust-divider        { width: 60px; height: 1px; }
  .legal-table          { font-size: 12px; }
  .legal-table th,
  .legal-table td       { padding: 8px 10px; }
  .phone-mockup         { width: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  .star, .bstar, .narration-wave span, .phone-wave span, .sound-mini-wave span,
  .reveal, .book-cover { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
