/* Munja AI website
   Layout: one calm column on lavender paper. A saffron thread runs from the
   student's question to practice to revision; real app screens sit in device frames. */
:root {
  --paper: #F6F2FE;
  --paper-deep: #ECE4FB;
  --surface: #FFFFFF;
  --ink: #251E52;
  --ink-soft: #5A5484;
  --violet: #5B43D6;
  --violet-deep: #3E2BA6;
  --night: #1D1842;
  --teal: #2E8E8A;
  --teal-deep: #1E5E5B;
  --teal-wash: #E1F2EF;
  --saffron: #EE8A1B;
  --saffron-wash: #FFF1DC;
  --line: #DDD4F5;
  --on-dark: #FFFFFF;
  --on-dark-soft: #C9C3EC;
  --wa: #128C4B;

  --font-display: "Baloo 2", "Poppins", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Mukta", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(62, 43, 166, 0.10);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 2px;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 5.2vw, 3.5rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.94rem; }
.center { text-align: center; align-items: center; }
.center .lede { margin-inline: auto; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.skip {
  position: absolute; left: -999px; top: 0; background: var(--surface); color: var(--ink);
  padding: 10px 14px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(246, 242, 254, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 44px; height: 48px; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; line-height: 1; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem;
  padding: 8px 12px; border-radius: 10px;
}
.nav a:hover { background: var(--paper-deep); }
.nav a[aria-current="page"] { color: var(--violet-deep); background: var(--paper-deep); }
.nav a.btn-primary { color: var(--on-dark); background: var(--violet); margin-left: 8px; }
.nav a.btn-primary:hover { background: var(--violet-deep); }
.nav-toggle {
  display: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.1;
  padding: 13px 22px 11px; border-radius: 14px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .12s ease, background-color .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--violet); color: var(--on-dark); }
.btn-primary:hover { background: var(--violet-deep); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--violet); }
.btn-wa { background: var(--wa); color: var(--on-dark); }
.btn-saffron { background: var(--saffron); color: var(--night); }
.btn-on-dark { background: var(--surface); color: var(--night); }
.btn-outline-dark { background: transparent; color: var(--on-dark); border-color: var(--on-dark-soft); }
.btn-sm { font-size: 1rem; padding: 10px 16px 8px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Hero */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero-copy h1 em { font-style: normal; color: var(--violet); }
.price-line { font-size: 1.05rem; color: var(--ink-soft); }
.price-line strong { color: var(--ink); font-family: var(--font-display); font-size: 1.2rem; }
.hero-art { position: relative; min-width: 0; padding-bottom: 8%; }
.hero-art .tablet { width: 100%; }
.hero-art .phone { position: absolute; right: 2%; bottom: 0; width: 34%; }

/* Device frames */
.tablet { background: var(--night); border-radius: 22px; padding: 10px; box-shadow: var(--shadow); }
.tablet img { border-radius: 13px; width: 100%; }
.phone { background: var(--night); border-radius: 26px; padding: 7px; box-shadow: 0 14px 34px rgba(29, 24, 66, 0.30); }
.phone img { border-radius: 20px; width: 100%; }

/* Fact strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line); }
.facts div { padding: 18px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.facts div + div { border-left: 1px solid var(--line); }
.facts strong { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; }
.facts span { color: var(--ink-soft); font-size: 0.95rem; }

/* Thread: ask, practice, revise */
.thread { position: relative; display: flex; flex-direction: column; gap: clamp(36px, 6vw, 72px); padding-left: 56px; }
.thread::before {
  content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='40' viewBox='0 0 14 40'%3E%3Cpath d='M7 0 C13 10 1 10 7 20 C13 30 1 30 7 40' fill='none' stroke='%23EE8A1B' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-y center top;
}
.stop { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.stop::before {
  content: ""; position: absolute; left: -56px; top: 2px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--saffron);
}
.stop-step {
  position: absolute; left: -56px; top: 2px; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); padding-top: 2px;
}
.stop-copy { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding-top: 7px; }
.stop-copy p { color: var(--ink-soft); }
.stop-art { min-width: 0; }
.stop-art.pair { position: relative; padding-bottom: 20%; }
.stop-art.pair .tablet:first-child { width: 86%; }
.stop-art.pair .tablet:last-child { position: absolute; right: 0; bottom: 0; width: 58%; }
.stop-art .phone { max-width: 300px; margin-inline: auto; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 18px; height: 10px;
  border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg) scale(0.72); transform-origin: left center;
}

/* Feature list */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.feature { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-top: 16px; border-top: 2px solid var(--line); }
.feature p { color: var(--ink-soft); }
.features-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.features-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }

/* Bands */
.band-teal { background: var(--teal-wash); }
.band-white { background: var(--surface); }
.band-night { background: var(--night); color: var(--on-dark); }
.band-night h2, .band-night h3 { color: var(--on-dark); }
.band-night .lede, .band-night .muted { color: var(--on-dark-soft); }
.band-night .eyebrow { color: #8FD9D3; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 820px; margin-inline: auto; width: 100%; }
.plan {
  background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 16px; min-width: 0; border: 2px solid var(--line);
}
.plan h3 { color: var(--ink); }
.plan-best { border-color: var(--saffron); position: relative; }
.plan-tag {
  align-self: flex-start; background: var(--saffron-wash); color: #7A4300; font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 8px;
}
.plan-tag.plain { background: var(--paper-deep); color: var(--ink-soft); }
.plan-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-family: var(--font-display); }
.plan-price b { font-size: 3rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 1.15rem; color: var(--ink-soft); font-weight: 500; }
.plan-note { color: var(--ink-soft); min-height: 3.2em; }
.plan .ticks { flex: 1; }
.plan-foot { font-size: 0.92rem; color: var(--ink-soft); text-align: center; }

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.steps li::before {
  content: counter(step); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--saffron);
  display: flex; align-items: center; justify-content: center; padding-top: 2px;
}
.steps p { color: var(--ink-soft); }

/* EduSoulX chip */
.logo-chip { background: #FFFFFF; border-radius: 14px; padding: 10px 16px; display: inline-flex; align-self: flex-start; border: 1px solid var(--line); }
.logo-chip img { width: 170px; height: auto; }

/* FAQ */
.faq { display: flex; flex-direction: column; max-width: 820px; margin-inline: auto; width: 100%; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 24px; width: 10px; height: 10px;
  border-right: 3px solid var(--violet); border-bottom: 3px solid var(--violet); transform: rotate(45deg);
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 29px; }
.faq details p { padding: 0 0 18px; color: var(--ink-soft); max-width: 68ch; }

/* Forms */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field label { font-weight: 600; font-size: 0.98rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 11px 13px; width: 100%; min-width: 0;
}
.field textarea { min-height: 96px; resize: vertical; }
.form-msg { font-size: 0.95rem; color: var(--ink-soft); }
.form-msg.err { color: #A3261C; font-weight: 600; }

/* Contact list */
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep); }
.contact-list b, .contact-list a { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); text-decoration: none; }

/* Page head and long text */
.page-head { padding-block: clamp(32px, 5vw, 60px) clamp(20px, 3vw, 32px); }
.page-head .stack { max-width: 780px; }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: 1.5rem; margin-top: 18px; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose p, .prose li { color: #3A3466; }
.prose .updated { color: var(--ink-soft); font-size: 0.95rem; }
.note {
  background: var(--saffron-wash); border-radius: 14px; padding: 16px 18px; color: #4A2F06;
}

/* Footer */
.site-footer { background: var(--night); color: var(--on-dark-soft); padding-block: 48px 28px; font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid > * { min-width: 0; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .brand span { color: var(--on-dark); }
.site-footer h4 { color: var(--on-dark); margin-bottom: 10px; font-size: 1.05rem; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-base { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.9rem; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: var(--on-dark);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(18, 140, 75, 0.35);
}
.wa-float svg { width: 30px; height: 30px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 18px; gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1.1rem; }
  .nav a.btn-primary { margin: 6px 0 0; }
  .hero-grid, .split, .stop { grid-template-columns: minmax(0, 1fr); }
  .features, .features-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  body { font-size: 1.03rem; }
  .plans, .features, .features-2, .features-5, .field-row { grid-template-columns: minmax(0, 1fr); }
  .thread { padding-left: 44px; }
  .thread::before { left: 9px; }
  .stop::before, .stop-step { left: -44px; width: 32px; height: 32px; }
  .stop-step { font-size: 1rem; }
  .stop-art.pair { padding-bottom: 0; display: flex; flex-direction: column; gap: 14px; }
  .stop-art.pair .tablet:first-child, .stop-art.pair .tablet:last-child { position: static; width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .plan-note { min-height: 0; }
  .hero-art .phone { width: 38%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}

/* ---------- v2: AI banner, audience pages, motion ---------- */
.nav a { padding: 8px 10px; font-size: 0.98rem; }

/* AI banner */
.ai-hero { position: relative; background: var(--night); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.ai-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(91, 67, 214, 0.55), transparent 70%),
    radial-gradient(45% 55% at 8% 95%, rgba(46, 142, 138, 0.42), transparent 70%);
}
.ai-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.ai-hero .wrap { padding-block: clamp(40px, 6vw, 84px) clamp(36px, 5vw, 64px); }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ai-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ai-copy h1 { color: var(--on-dark); }
.ai-copy h1 em { font-style: normal; color: #FFC46B; }
.ai-copy .lede { color: var(--on-dark-soft); }
.ai-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 5px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.09em; text-transform: uppercase; color: #BFEDE8;
}
.ai-badge i { width: 8px; height: 8px; border-radius: 50%; background: #5FE0D4; animation: pulse 1.8s ease-in-out infinite; }
.ai-price { color: var(--on-dark-soft); }
.ai-price strong { color: var(--on-dark); font-family: var(--font-display); font-size: 1.2rem; }
.ai-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid rgba(255, 255, 255, 0.18); }
.ai-facts div { padding: 16px 16px 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ai-facts div + div { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.ai-facts strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; color: var(--on-dark); }
.ai-facts span { color: var(--on-dark-soft); font-size: 0.93rem; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }

/* Animated demo */
.demo-wrap { position: relative; min-width: 0; }
.demo-wrap .float-owl { position: absolute; left: -34px; top: -40px; width: 92px; z-index: 2; animation: bob 4.5s ease-in-out infinite; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35)); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.demo { background: #0F0C2A; border-radius: 26px; padding: 10px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.10); }
.demo-screen { background: #F0E8FF; border-radius: 17px; color: var(--ink); display: flex; flex-direction: column; overflow: hidden; }
.demo-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #FFFFFF; border-bottom: 1px solid var(--line); }
.demo-top b { font-family: var(--font-display); font-size: 1.1rem; margin-right: auto; padding-left: 40px; }
.demo-tabs { display: flex; gap: 6px; }
.demo-tabs span { font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: var(--ink-soft); background: var(--paper); transition: background-color .3s, color .3s; }
.demo-tabs span.on { background: var(--violet); color: #FFFFFF; }
.demo-stage { position: relative; height: 310px; }
.scene { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; gap: 10px; opacity: 0; visibility: hidden; transition: opacity .45s ease; }
.scene.on { opacity: 1; visibility: visible; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 0.95rem; line-height: 1.45; }
.bubble.me { align-self: flex-end; background: var(--violet); color: #FFFFFF; border-bottom-right-radius: 5px; }
.bubble.ai { align-self: flex-start; background: #FFFFFF; border-bottom-left-radius: 5px; }
.bubble.ai ol { margin: 6px 0 0; padding-left: 20px; }
.bubble.ai b { color: var(--violet-deep); }
.q-card { background: #FFFFFF; border-radius: 16px; padding: 14px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.25; }
.q-card small { display: block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: var(--teal-deep); margin-bottom: 4px; }
.q-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.q-opts span { background: #FFFFFF; border-radius: 14px; padding: 12px 10px; text-align: center; font-weight: 600; font-size: 0.95rem; border: 2px solid transparent; }
.q-opts span.right { border-color: #2FA65A; background: #E9F8EE; }
.q-result { align-self: center; background: #2FA65A; color: #FFFFFF; font-weight: 700; padding: 6px 16px; border-radius: 999px; font-size: 0.92rem; }
.scene-map svg { width: 100%; height: 100%; }
.demo-foot { margin: 0 14px 14px; padding: 10px 14px; background: #FFFFFF; border-radius: 999px; font-size: 0.88rem; color: var(--ink-soft); }
.demo-note { margin-top: 10px; font-size: 0.82rem; color: var(--on-dark-soft); text-align: center; }
.motion .scene.on .anim { animation: rise .5s ease both; }
.motion .scene.on .anim.d1 { animation-delay: .35s; }
.motion .scene.on .anim.d2 { animation-delay: 1s; }
.motion .scene.on .anim.d3 { animation-delay: 1.7s; }
.motion .scene.on .draw { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw .7s ease forwards; }
.motion .scene.on .draw.d1 { animation-delay: .25s; }
.motion .scene.on .draw.d2 { animation-delay: .5s; }
.motion .scene.on .draw.d3 { animation-delay: .75s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Audience cards */
.aud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.aud-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 10px; min-width: 0; text-decoration: none; color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.aud-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--violet); }
.aud-card svg { width: 52px; height: 52px; }
.aud-card p { color: var(--ink-soft); font-size: 0.98rem; flex: 1; }
.aud-card span { font-family: var(--font-display); font-weight: 600; color: var(--violet-deep); }

/* Evidence */
.evi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.evi-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.evi { background: var(--surface); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; border: 1px solid var(--line); }
.band-night .evi { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); }
.evi-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; color: var(--violet); font-variant-numeric: tabular-nums; }
.band-night .evi-num { color: #FFC46B; }
.evi h3 { font-size: 1.15rem; }
.evi p { color: var(--ink-soft); font-size: 0.98rem; }
.band-night .evi p { color: var(--on-dark-soft); }
.evi .src { font-size: 0.84rem; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.band-night .evi .src { border-top-color: rgba(255, 255, 255, 0.16); }
.band-night .evi .src a { color: #BFEDE8; }
.disclaim { font-size: 0.92rem; color: var(--ink-soft); max-width: 78ch; }
.band-night .disclaim { color: var(--on-dark-soft); }

/* Learning loop */
.loop { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.loop svg { width: 100%; max-width: 420px; margin-inline: auto; display: block; }
.loop-list { list-style: none; counter-reset: lp; display: flex; flex-direction: column; gap: 18px; }
.loop-list li { counter-increment: lp; position: relative; padding-left: 54px; min-width: 0; }
.loop-list li::before {
  content: counter(lp); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--violet); color: #FFFFFF; font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: center; justify-content: center; padding-top: 2px;
}
.loop-list p { color: var(--ink-soft); }

/* Timeline (example plans, school day) */
.plan-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.tag-example { align-self: flex-start; background: var(--saffron-wash); color: #7A4300; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.07em; text-transform: uppercase; padding: 4px 10px; border-radius: 8px; }
.tline { list-style: none; display: flex; flex-direction: column; }
.tline li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; padding-block: 14px; border-top: 1px solid var(--line); }
.tline li:first-child { border-top: 0; }
.tline b { font-family: var(--font-display); font-size: 1.1rem; color: var(--teal-deep); }
.tline p { color: var(--ink-soft); }
.tline strong { color: var(--ink); }
.bar { height: 10px; border-radius: 99px; background: var(--paper-deep); overflow: hidden; display: flex; gap: 2px; }
.bar i { display: block; height: 100%; border-radius: 99px; transform-origin: left center; }
.bar i:nth-child(1) { background: var(--violet); }
.bar i:nth-child(2) { background: var(--teal); }
.bar i:nth-child(3) { background: var(--saffron); }
.motion .rv .bar i { transform: scaleX(0); transition: transform .9s cubic-bezier(.2, .7, .2, 1) .2s; }
.motion .rv.in .bar i { transform: none; }
.bar-key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.9rem; color: var(--ink-soft); }
.bar-key span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.bar-key span:nth-child(1)::before { background: var(--violet); }
.bar-key span:nth-child(2)::before { background: var(--teal); }
.bar-key span:nth-child(3)::before { background: var(--saffron); }

/* Flip card */
.flip { perspective: 1200px; cursor: pointer; border: 0; background: none; padding: 0; width: 100%; max-width: 520px; display: block; margin-inline: auto; font: inherit; }
.flip-in { position: relative; aspect-ratio: 775 / 398; transition: transform .7s cubic-bezier(.3, .8, .3, 1); transform-style: preserve-3d; }
.flip.flipped .flip-in { transform: rotateY(180deg); }
.flip img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 18px; backface-visibility: hidden; box-shadow: var(--shadow); }
.flip img:last-child { transform: rotateY(180deg); }
.flip-hint { text-align: center; font-size: 0.95rem; color: var(--ink-soft); margin-top: 12px; }

/* Page hero with art */
.page-hero { padding-block: clamp(32px, 5vw, 64px); }
.page-hero .split { align-items: center; }
.shot-stack { position: relative; padding: 0 0 12% 0; }
.shot-stack .tablet { width: 90%; }
.shot-stack .phone { position: absolute; right: 0; bottom: 0; width: 32%; }
.shot-stack .tablet + .tablet { position: absolute; right: 0; bottom: 0; width: 56%; }

/* Brochure band */
.brochure { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(20px, 4vw, 48px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); }
.brochure-art { position: relative; max-width: 240px; margin-inline: auto; width: 100%; }
.brochure-art img { border-radius: 8px; box-shadow: 0 16px 36px rgba(29, 24, 66, 0.25); border: 1px solid var(--line); transform: rotate(3deg); transition: transform .3s ease; }
.brochure:hover .brochure-art img { transform: rotate(0deg) scale(1.03); }

/* Day in school */
.day { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: day; }
.day div { position: relative; padding: 34px 18px 0 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.day div::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 3px; background: var(--saffron); }
.day div::after { content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--paper); border: 3px solid var(--saffron); }
.band-white .day div::after { background: var(--surface); }
.day small { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep); font-size: 0.8rem; }
.day p { color: var(--ink-soft); font-size: 0.98rem; }

/* Scroll reveal: slides up from a visible resting state */
.motion .rv { transform: translateY(26px); opacity: 0.4; transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .7s ease; }
.motion .rv.in { transform: none; opacity: 1; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 18px; gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1.1rem; }
  .nav a.btn-primary { margin: 6px 0 0; }
}
@media (max-width: 900px) {
  .ai-grid, .loop, .brochure { grid-template-columns: minmax(0, 1fr); }
  .aud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evi-grid, .evi-grid.two { grid-template-columns: minmax(0, 1fr); }
  .ai-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .ai-facts div:nth-child(3) { border-left: 0; }
  .day { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .demo-wrap { max-width: 520px; margin-inline: auto; width: 100%; }
  .demo-wrap .float-owl { left: -6px; top: -46px; width: 76px; }
}
@media (max-width: 620px) {
  .aud { grid-template-columns: minmax(0, 1fr); }
  .tline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .day { grid-template-columns: minmax(0, 1fr); }
  .demo-stage { height: 330px; }
  .demo-tabs span { padding: 4px 8px; font-size: 0.74rem; }
  .demo-top b { display: none; }
  .demo-tabs { margin-left: auto; }
  .brochure-art { max-width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-badge i, .demo-wrap .float-owl { animation: none; }
  .flip-in, .aud-card, .brochure-art img { transition: none; }
}
.loop-arc { transform-origin: 200px 200px; animation: orbit 9s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.feature .tablet { margin-bottom: 8px; padding: 7px; border-radius: 16px; }
.feature .tablet img { border-radius: 10px; }
@media (prefers-reduced-motion: reduce) { .loop-arc { animation: none; } }
@media (max-width: 900px) { .demo-wrap { margin-top: 44px; } }
