/* /public/css/autism-aac.css
   Extracted verbatim from /public/autism-aac.html on 2026-05-04 (Pass 1 refactor — same pattern as home/medical/schools/families).
   Brace balance at extraction: 333 open / 333 close. Order is load-bearing — append-only.
   Pass 2 (inline JS extraction) deferred. */
/* ═══════════════════════════════════════════
   FOUNDATIONS
   ═══════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --f-serif: 'Fraunces', 'Georgia', serif;
  --f-sans: 'General Sans', system-ui, -apple-system, sans-serif;

  --ink: #0d0b0e;
  --ink-soft: #2a2433;
  --ink-muted: #6b6177;
  --surface: #faf8f5;
  --surface-warm: #f7f1eb;
  --surface-dark: #13111a;
  --surface-deep: #0d0b10;

  /* Brand consistency */
  --amber: #e8a33d;
  --amber-light: #f4c97b;
  --lavender: #9b8ec4;

  /* Autism page palette — warm indigo/gold spectrum */
  --aut-primary: #6366f1;
  --aut-primary-soft: #818cf8;
  --aut-primary-pale: rgba(99,102,241,0.08);
  --aut-warm: #f5f0e8;
  --aut-accent: #e8a33d;
  --aut-accent-soft: #f4c97b;
  --aut-rose: #f0ecfa;
  --aut-teal: #3aada8;
  --aut-teal-soft: #7ed4d0;
  --aut-green: #22c55e;

  /* Tile colors — Fitzgerald Key */
  --fk-verb: #f0862e;
  --fk-noun: #f2c624;
  --fk-adj: #3b82f6;
  --fk-social: #ec5fa0;
  --fk-question: #8b5cf6;
  --fk-negation: #ef4444;
  --fk-help: #22c55e;

  --teal: #3aada8;
  --teal-soft: #7ed4d0;
  --green: #22c55e;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: min(1120px, 88vw);
  --section-gap: clamp(5rem, 12vw, 8rem);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--f-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

.container { width: var(--container); margin: 0 auto; }

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.rv.vis { opacity: 1; transform: translateY(0); }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }
.rv-d4 { transition-delay: 0.32s; }
.rv-d5 { transition-delay: 0.40s; }
.rv-d6 { transition-delay: 0.48s; }
.rv-d7 { transition-delay: 0.56s; }
.rv-d8 { transition-delay: 0.64s; }

/* ═══════════════════════════════════════════
   NAV — matches main site
   ═══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.1rem 0;
  transition: all 0.5s var(--ease-out);
}
.nav.scrolled {
  background: rgba(13, 11, 14, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0.65rem 0;
  box-shadow: 0 1px 40px rgba(0,0,0,0.25);
}
.nav-inner {
  width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--f-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--amber); }
.nav-links a.active { color: #fff; font-weight: 700; }
.nav-cta-btn {
  background: #9b8ec4;
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.55rem 1.3rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-spring);
}
.nav-cta-btn:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(155,142,196,0.4); }
.hamburger { display: none; background: none; border: none; padding: 0.5rem; cursor: pointer; }
.hamburger span {
  display: block; width: 22px; height: 2px; background: #fff;
  margin: 5px 0; border-radius: 2px;
}
.mob-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(13,11,14,0.96); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  color: #fff; font-size: 1.3rem; font-family: var(--f-serif);
  opacity: 0.8; transition: opacity 0.3s;
}
.mob-menu a:hover { opacity: 1; }
.mob-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer;
}

/* ═══════════════════════════════════════════
   SHARED SECTION STYLES
   ═══════════════════════════════════════════ */
.section-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aut-primary);
  margin-bottom: 1.2rem;
}
.section-label::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--aut-primary);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  max-width: 700px;
}
.section-title em {
  font-style: italic;
  color: var(--aut-primary);
  font-weight: 600;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--ink-muted);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 3rem;
}

/* ═══════════════════════════════════════════
   HERO — Dark, warm, empathetic
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--surface-dark);
  color: #fff;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 40%, rgba(99,102,241,0.08), transparent),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(232,163,61,0.05), transparent);
  pointer-events: none;
}
.hero-stars {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-stars canvas {
  width: 100%; height: 100%;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content { max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.2);
  color: var(--aut-primary-soft);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--aut-primary-soft);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--aut-accent-soft);
  font-weight: 700;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.hero-sub strong { color: #fff; }
.hero-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--aut-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  transition: all 0.3s var(--ease-spring);
}
.btn-primary:hover { transform: scale(1.04); box-shadow: 0 6px 28px rgba(99,102,241,0.35); }
.btn-outline {
  display: inline-flex; align-items: center;
  border: 2px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--aut-primary-soft); color: #fff; }
.hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
}
.hero-stat-val {
  font-family: var(--f-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--aut-accent-soft);
}
.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Hero visual — floating tile mosaic */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-mosaic {
  width: 420px;
  height: 420px;
  position: relative;
}
.mosaic-tile {
  position: absolute;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: mosaic-float 6s ease-in-out infinite;
  cursor: default;
  transition: transform 0.3s var(--ease-spring);
}
.mosaic-tile:hover { transform: scale(1.1) !important; }
.mosaic-tile .tile-ico { font-size: 2rem; }
.mosaic-tile .tile-lbl {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}
@keyframes mosaic-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.mt-1 { width: 90px; height: 90px; top: 10%; left: 5%; background: var(--fk-social); color: #fff; animation-delay: 0s; }
.mt-2 { width: 100px; height: 100px; top: 5%; left: 45%; background: var(--fk-noun); color: #1a1a2e; animation-delay: -1s; }
.mt-3 { width: 85px; height: 85px; top: 8%; right: 8%; background: var(--fk-help); color: #fff; animation-delay: -2s; }
.mt-4 { width: 95px; height: 95px; top: 38%; left: 12%; background: var(--fk-verb); color: #fff; animation-delay: -0.5s; }
.mt-5 { width: 110px; height: 110px; top: 32%; left: 42%; background: var(--fk-adj); color: #fff; animation-delay: -3s; border-radius: 20px; }
.mt-6 { width: 88px; height: 88px; top: 40%; right: 5%; background: var(--fk-negation); color: #fff; animation-delay: -1.5s; }
.mt-7 { width: 95px; height: 95px; bottom: 15%; left: 2%; background: var(--fk-question); color: #fff; animation-delay: -4s; }
.mt-8 { width: 100px; height: 100px; bottom: 12%; left: 38%; background: var(--fk-social); color: #fff; animation-delay: -2.5s; }
.mt-9 { width: 90px; height: 90px; bottom: 18%; right: 10%; background: var(--fk-noun); color: #1a1a2e; animation-delay: -3.5s; }

/* ═══════════════════════════════════════════
   CHALLENGE SECTION — Stats & awareness
   ═══════════════════════════════════════════ */
.challenge {
  padding: var(--section-gap) 0;
  background: var(--surface);
}
.challenge-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.challenge-header .section-label { justify-content: center; }
.challenge-header .section-title { margin: 0 auto 1.2rem; }
.challenge-header .section-desc { margin: 0 auto; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
.stat-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(99,102,241,0.08);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99,102,241,0.08);
}
.stat-num {
  font-family: var(--f-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--aut-primary);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.5;
}
.challenge-barriers {
  background: var(--surface-warm);
  border-radius: 24px;
  padding: 3rem;
}
.challenge-barriers h3 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  text-align: center;
}
.barrier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.barrier-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.8rem;
  border-left: 4px solid var(--fk-negation);
}
.barrier-card h4 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--ink);
}
.barrier-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   HOW TINKYSPEAK HELPS — Feature grid
   ═══════════════════════════════════════════ */
.features {
  padding: var(--section-gap) 0;
  background: var(--surface-dark);
  color: #fff;
}
.features .section-label { color: var(--aut-accent-soft); }
.features .section-label::before { background: var(--aut-accent-soft); }
.features .section-title em { color: var(--aut-accent-soft); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.feat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2.2rem;
  transition: all 0.3s var(--ease-out);
}
.feat-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(99,102,241,0.2);
  transform: translateY(-4px);
}
.feat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.feat-icon-visual { background: rgba(99,102,241,0.15); }
.feat-icon-sensory { background: rgba(58,173,168,0.15); }
.feat-icon-custom { background: rgba(232,163,61,0.15); }
.feat-icon-offline { background: rgba(34,197,94,0.15); }
.feat-icon-price { background: rgba(236,95,160,0.15); }
.feat-icon-easy { background: rgba(139,92,246,0.15); }
.feat-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: #fff;
}
.feat-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   INTERACTIVE DEMO — AAC Board
   ═══════════════════════════════════════════ */
.demo {
  padding: var(--section-gap) 0;
  background: linear-gradient(180deg, var(--surface-dark), #1a1528);
  color: #fff;
}
.demo .section-label { color: var(--aut-primary-soft); }
.demo .section-label::before { background: var(--aut-primary-soft); }
.demo-device {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}
.demo-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.demo-bar-left { display: flex; align-items: center; gap: 0.7rem; }
.demo-bar-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--aut-primary-soft);
  box-shadow: 0 0 8px var(--aut-primary-soft);
}
.demo-bar-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.demo-badges { display: flex; gap: 0.5rem; }
.demo-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-offline { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.badge-sensory { background: rgba(99,102,241,0.12); color: var(--aut-primary-soft); border: 1px solid rgba(99,102,241,0.2); }

.demo-sentence {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(58,173,168,0.04));
  border-bottom: 1px solid rgba(255,255,255,0.04);
  min-height: 62px;
}
.demo-sentence-text {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.25);
  line-height: 1.45;
  transition: color 0.3s;
}
.demo-sentence-text.has-text { color: #fff; }
.demo-sentence-actions { display: flex; gap: 0.5rem; }
.demo-btn-speak {
  background: var(--aut-primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  transition: all 0.2s;
}
.demo-btn-speak:disabled { opacity: 0.3; cursor: not-allowed; }
.demo-btn-speak:not(:disabled):hover { background: var(--aut-primary-soft); transform: scale(1.05); }
.demo-btn-clear {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  transition: all 0.2s;
}
.demo-btn-clear:hover { background: rgba(255,255,255,0.1); color: #fff; }

.demo-tabs {
  display: flex;
  gap: 0;
  padding: 0.5rem 0.8rem;
  background: rgba(0,0,0,0.15);
  overflow-x: auto;
}
.demo-tab {
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
  transition: all 0.2s;
}
.demo-tab:hover { color: rgba(255,255,255,0.8); }
.demo-tab.dt-on {
  background: rgba(99,102,241,0.2);
  color: var(--aut-primary-soft);
}

.demo-page { display: none; padding: 1rem; }
.demo-page.dp-on { display: block; }
.demo-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.demo-tile {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.25rem;
  padding: 1rem 0.5rem;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s var(--ease-spring);
  min-height: 80px;
  border: 2px solid transparent;
}
.demo-tile:hover { transform: scale(1.06); }
.demo-tile:active { transform: scale(0.96); }
.demo-tile.tile-tapped {
  animation: tile-flash 0.3s ease;
}
@keyframes tile-flash {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.4); }
  100% { filter: brightness(1); }
}
.demo-tile-ico { font-size: 1.6rem; }
.demo-tile-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}
/* Tile colors */
.dt-social { background: rgba(236,95,160,0.15); color: #f9a8d4; border-color: rgba(236,95,160,0.2); }
.dt-need { background: rgba(99,102,241,0.15); color: var(--aut-primary-soft); border-color: rgba(99,102,241,0.2); }
.dt-feeling { background: rgba(232,163,61,0.15); color: var(--aut-accent-soft); border-color: rgba(232,163,61,0.2); }
.dt-action { background: rgba(240,134,46,0.15); color: #fbb675; border-color: rgba(240,134,46,0.2); }
.dt-noun { background: rgba(242,198,36,0.15); color: #fde68a; border-color: rgba(242,198,36,0.2); }
.dt-emergency { background: rgba(239,68,68,0.15); color: #fca5a5; border-color: rgba(239,68,68,0.2); }

/* Overlay for spoken output */
.demo-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(13,11,26,0.92);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
  border-radius: 24px;
}
.demo-overlay.show { display: flex; }
.demo-overlay-ico { font-size: 3rem; animation: speak-pulse 0.6s ease infinite alternate; }
@keyframes speak-pulse { 0% { transform: scale(1); } 100% { transform: scale(1.15); } }
.demo-overlay-text {
  font-family: var(--f-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  padding: 0 2rem;
}
.demo-overlay-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.demo-device { position: relative; }
.demo-pages { background: linear-gradient(180deg, rgba(13,11,26,0.95), rgba(26,21,40,0.95)); min-height: 300px; }

/* ═══════════════════════════════════════════
   SCENARIOS
   ═══════════════════════════════════════════ */
.scenarios {
  padding: var(--section-gap) 0;
  background: var(--surface);
}
.scenarios-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}
.scenarios-header .section-label { justify-content: center; }
.scenarios-header .section-title { margin: 0 auto 1.2rem; }
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.scenario-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}
.scenario-header {
  padding: 1.5rem 2rem;
  display: flex; align-items: center; gap: 1rem;
}
.scenario-emoji { font-size: 2rem; }
.scenario-context h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.scenario-context span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.scenario-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.scenario-panel {
  padding: 1.5rem;
}
.scenario-panel-without {
  background: rgba(239,68,68,0.04);
  border-right: 1px solid rgba(0,0,0,0.04);
}
.scenario-panel-with {
  background: rgba(34,197,94,0.04);
}
.scenario-panel-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.scenario-panel-without .scenario-panel-tag { color: var(--fk-negation); }
.scenario-panel-with .scenario-panel-tag { color: var(--green); }
.scenario-panel p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   FOR PARENTS — Emotional section
   ═══════════════════════════════════════════ */
.parents {
  padding: var(--section-gap) 0;
  background: var(--aut-warm);
}
.parents-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.parents-content { max-width: 520px; }
.parents-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.parents-content h2 em {
  font-style: italic;
  color: var(--aut-primary);
}
.parents-content p {
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.parents-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.parent-step {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.2rem 1.5rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(99,102,241,0.08);
}
.parent-step-num {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--aut-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.parent-step-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.parent-step-text p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 0;
}
.parents-visual {
  display: flex;
  justify-content: center;
}
.parents-quote {
  background: var(--surface-dark);
  border-radius: 24px;
  padding: 3rem;
  color: #fff;
  max-width: 420px;
  position: relative;
}
.parents-quote::before {
  content: '"';
  font-family: var(--f-serif);
  font-size: 6rem;
  color: var(--aut-primary);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}
.parents-quote blockquote {
  font-family: var(--f-serif);
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.parents-quote cite {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ═══════════════════════════════════════════
   FOR THERAPISTS — Clinical value
   ═══════════════════════════════════════════ */
.therapists {
  padding: var(--section-gap) 0;
  background: var(--surface);
}
.therapists-header {
  max-width: 620px;
  margin-bottom: 3rem;
}
.therapist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.therapist-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s var(--ease-out);
}
.therapist-card:hover {
  box-shadow: 0 8px 32px rgba(99,102,241,0.06);
  transform: translateY(-2px);
}
.therapist-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  background: var(--aut-primary-pale);
}
.therapist-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.therapist-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   RESEARCH & EVIDENCE
   ═══════════════════════════════════════════ */
.research {
  padding: var(--section-gap) 0;
  background: var(--surface-dark);
  color: #fff;
}
.research .section-label { color: var(--aut-teal-soft); }
.research .section-label::before { background: var(--aut-teal-soft); }
.research-header {
  max-width: 650px;
  margin-bottom: 3rem;
}
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.research-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s;
}
.research-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(58,173,168,0.2);
}
.research-card-quote {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.2rem;
}
.research-card-source {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════════ */
.compare {
  padding: var(--section-gap) 0;
  background: var(--surface);
}
.compare-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.compare-header .section-label { justify-content: center; }
.compare-header .section-title { margin: 0 auto 1.2rem; }
.compare-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.compare-table th {
  background: var(--surface-dark);
  color: #fff;
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 0.85rem;
}
.compare-table th:first-child { border-radius: 20px 0 0 0; }
.compare-table th:last-child { border-radius: 0 20px 0 0; }
.compare-table th.highlight { background: var(--aut-primary); }
.compare-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  color: var(--ink-soft);
}
.compare-table td.highlight {
  background: rgba(99,102,241,0.04);
  font-weight: 600;
  color: var(--aut-primary);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tbody tr { background: #fff; }
.compare-table tbody tr:nth-child(even) { background: var(--surface); }

/* ═══════════════════════════════════════════
   CTA — Order section
   ═══════════════════════════════════════════ */
.cta {
  padding: var(--section-gap) 0;
  background: var(--surface-dark);
  color: #fff;
  text-align: center;
}
.cta-inner {
  max-width: 650px;
  margin: 0 auto;
}
.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.cta h2 em {
  font-style: italic;
  color: var(--aut-accent-soft);
}
.cta-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.cta-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.cta-price-amount {
  font-family: var(--f-serif);
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
}
.cta-price-note {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.cta-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--aut-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  transition: all 0.3s var(--ease-spring);
}
.cta-btn-main:hover { transform: scale(1.05); box-shadow: 0 8px 32px rgba(99,102,241,0.3); }
.cta-checklist {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.cta-checklist li::before {
  content: '✓ ';
  color: var(--green);
  font-weight: 700;
}

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq {
  padding: var(--section-gap) 0;
  background: var(--surface);
}
.faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.faq-header .section-label { justify-content: center; }
.faq-header .section-title { margin: 0 auto; }
.faq-list {
  max-width: 740px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.faq-q {
  width: 100%;
  background: transparent;
  text-align: left;
  padding: 1.5rem 0;
  font-family: var(--f-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q::after {
  content: '+';
  font-family: var(--f-sans);
  font-size: 1.3rem;
  color: var(--aut-primary);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding-bottom: 1.5rem;
}
.faq-a p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.8;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 3rem 0 2rem;
  background: var(--surface-deep, #0d0b10);
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.footer-logo {
  font-family: var(--f-serif);
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
}
.footer-columns {
  display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap;
}
.footer-col { min-width: 140px; }
.footer-col-title {
  font-weight: 600; color: rgba(255,255,255,0.6);
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 0.75rem;
}
.footer-links {
  list-style: none; display: flex; flex-direction: column; gap: 0.45rem;
}
.footer-links a {
  color: rgba(255,255,255,0.4); transition: color 0.3s; font-size: 0.82rem;
}
.footer-links a:hover { color: var(--amber, #e8a33d); }
.footer-bottom {
  text-align: center; font-size: 0.72rem; opacity: 0.5;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05);
  width: 100%;
}
@media (max-width: 600px) {
  .footer-columns { flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
}

/* ═══════════════════════════════════════════
   AUTH NAV
   ═══════════════════════════════════════════ */
.nav-login-btn { padding:0.5rem 1.2rem; border-radius:100px; font-size:0.82rem; font-weight:700; color:#22c55e; border:2px solid #22c55e; text-decoration:none; transition:all 0.3s ease; letter-spacing:0.02em; }
.nav-login-btn:hover { background:#22c55e; color:#fff; transform:scale(1.05); }
.nav-user-wrap { position:relative; }
.nav-user-btn { display:flex; align-items:center; gap:0.5rem; padding:0.4rem 1rem 0.4rem 0.4rem; border-radius:100px; font-size:0.82rem; font-weight:600; color:#22c55e; border:2px solid rgba(34,197,94,0.3); cursor:pointer; transition:all 0.3s ease; background:transparent; white-space:nowrap; }
.nav-user-btn:hover { border-color:#22c55e; }
.nav-user-avatar { width:26px; height:26px; border-radius:50%; background:#22c55e; color:#000; display:flex; align-items:center; justify-content:center; font-size:0.72rem; font-weight:800; flex-shrink:0; }
.nav-user-drop { display:none; position:absolute; top:calc(100% + 0.5rem); right:0; background:#1a1a2e; border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:0.5rem; min-width:200px; z-index:1000; box-shadow:0 8px 32px rgba(0,0,0,0.4); }
.nav-user-drop.open { display:block; }
.nav-user-drop a { display:block; padding:0.6rem 1rem; color:rgba(255,255,255,0.8); font-size:0.82rem; border-radius:8px; text-decoration:none; transition:background 0.2s; cursor:pointer; }
.nav-user-drop a:hover { background:rgba(255,255,255,0.05); color:#fff; }
.nav-user-drop .drop-divider { height:1px; background:rgba(255,255,255,0.08); margin:0.3rem 0; }
.nav-user-drop .drop-signout { color:#ef4444; }
.nav-user-drop .drop-signout:hover { background:rgba(239,68,68,0.1); }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto; }
  .hero-mosaic { width: 320px; height: 320px; }
  .stat-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
  .parents-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .therapist-grid { grid-template-columns: 1fr; }
  .research-grid { grid-template-columns: 1fr; }
  .barrier-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: block; }
}
@media (max-width: 768px) {
  .scenario-panels { grid-template-columns: 1fr; }
  .scenario-panel-without { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.04); }
  .demo-tiles { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { gap: 1.5rem; }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
  .demo-tiles { grid-template-columns: repeat(2, 1fr); }
  .mosaic-tile { transform: scale(0.8); }
}

/* ── Breadcrumb ── */
.breadcrumb{background:var(--aut-dark, #1a1a2e);padding:0.75rem 0;border-bottom:1px solid rgba(255,255,255,0.08)}
.breadcrumb .container{display:flex;align-items:center;gap:0.5rem;font-size:0.85rem}
.breadcrumb a{color:rgba(255,255,255,0.55);text-decoration:none;transition:color 0.2s}
.breadcrumb a:hover{color:var(--amber, #e8a33d)}
.breadcrumb .sep{color:rgba(255,255,255,0.25)}
.breadcrumb .current{color:rgba(255,255,255,0.85);font-weight:600}

/* ── Cross-links ── */
.cross-links{padding:5rem 0;background:var(--surface-warm, #f5f0e8)}
.cross-links .container{max-width:min(1120px,88vw);margin:0 auto;padding:0 1rem}
.cross-title{font-family:var(--f-serif, 'Fraunces', serif);font-size:clamp(1.6rem,3vw,2.2rem);color:var(--ink, #1a1a2e);text-align:center;margin-bottom:0.5rem}
.cross-subtitle{text-align:center;color:rgba(26,26,46,0.6);font-size:1rem;margin-bottom:2.5rem}
.cross-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.25rem}
.cross-card{background:#fff;border-radius:14px;padding:1.5rem;text-decoration:none;color:var(--ink, #1a1a2e);transition:transform 0.3s,box-shadow 0.3s;border:1px solid rgba(26,26,46,0.06);text-align:center}
.cross-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(26,26,46,0.1)}
.cross-card-emoji{font-size:1.8rem;margin-bottom:0.5rem}
.cross-card-title{font-family:var(--f-serif, 'Fraunces', serif);font-size:1rem;font-weight:700;margin-bottom:0.35rem}
.cross-card-desc{font-size:0.82rem;color:rgba(26,26,46,0.6);line-height:1.5}
/* Language Picker */
.lang-picker { position: relative; margin-left: 0.5rem; }
.lang-picker-btn { background: none; border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 0.35rem 0.7rem; border-radius: 8px; font-size: 0.75rem; cursor: pointer; font-family: var(--f-sans); display: flex; align-items: center; gap: 0.35rem; transition: all 0.3s; white-space: nowrap; }
.lang-picker-btn:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }
.lang-picker-dropdown { position: absolute; top: calc(100% + 0.5rem); right: 0; background: var(--surface-dark, #13111a); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 0.6rem; display: none; grid-template-columns: repeat(3, 1fr); gap: 0.25rem; box-shadow: 0 16px 48px rgba(0,0,0,0.6); z-index: 1001; min-width: 320px; max-height: 70vh; overflow-y: auto; }
.lang-picker-dropdown.open { display: grid; }
.lang-option { padding: 0.45rem 0.55rem; border-radius: 8px; font-size: 0.73rem; color: rgba(255,255,255,0.65); cursor: pointer; text-align: center; transition: all 0.2s; white-space: nowrap; }
.lang-option:hover { background: rgba(255,255,255,0.08); color: #fff; }
.lang-option.active { background: var(--amber, #e8a33d); color: var(--ink, #0d0b0e); font-weight: 700; }
@media (max-width: 768px) {
  .lang-picker { position: fixed; top: 0.8rem; right: 3.5rem; z-index: 1001; }
  .lang-picker-dropdown { min-width: 280px; right: -1rem; }
}
