/* ═══════════════════════════════════════════════════════════════════════════
   skubo · marketing site v2 — mockup
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── tokens (dark mode — values aligned with SkuboUIModule colorsDark.ts) ─── */
:root{
  /* brand — stays amber, just slightly muted-deep for readability on dark */
  --amber:#F5A623;
  --amber-deep:#DDA535;
  --amber-soft:#DDA535;
  --amber-stroke:#C98A1A;

  /* surfaces — token names kept (legacy "cream") but values are warm-dark now */
  --cream:#0F0E0D;       /* page background */
  --cream-2:#1C1A18;     /* primary surface (cards, panels) */
  --cream-3:#242220;     /* surface alt (inputs, hover) */

  /* ink — now warm cream text on dark */
  --ink:#F2EDE8;
  --ink-soft:#9C9490;
  --ink-mute:#665E58;
  --line:rgba(242,237,232,.08);
  --line-soft:rgba(242,237,232,.04);

  /* persona pastels — dark jewel tones (from app colorsDark.ts) */
  --mint:#1A3828;
  --mint-deep:#62C96A;
  --peach:#3E2A1C;
  --peach-deep:#E89060;
  --lavender:#2C2050;
  --lavender-deep:#9E82D8;
  --sky:#162C48;
  --sky-deep:#7AAFF5;
  --butter:#3E3518;
  --butter-deep:#FFC048;
  --rose:#3E1A30;
  --rose-deep:#F07880;

  /* radii */
  --r-xl:36px;
  --r-lg:28px;
  --r-md:20px;
  --r-sm:14px;
  --r-xs:10px;

  /* shadows — deeper on dark for legibility */
  --shadow-soft:0 12px 30px rgba(0,0,0,.35),0 2px 8px rgba(0,0,0,.25);
  --shadow-pop:0 22px 50px rgba(0,0,0,.45),0 4px 12px rgba(0,0,0,.3);
  --shadow-deep:0 30px 70px rgba(0,0,0,.55),0 8px 18px rgba(0,0,0,.4);

  /* layout */
  --container:1240px;
  --gutter:24px;

  /* persona accent (default = parent amber) */
  --accent:#FFB020;
  --accent-deep:#DDA535;
  --accent-soft:#3E2A1C;
  --accent-bg:rgba(255,176,32,.10);
  --accent-glow:rgba(255,176,32,.32);
}

/* ─── persona theme classes — flip --accent on scroll/click ─── */
body.theme-parent{
  --accent:#FFB020;
  --accent-deep:#DDA535;
  --accent-soft:#3E2A1C;
  --accent-bg:rgba(255,176,32,.10);
  --accent-glow:rgba(255,176,32,.32);
}
body.theme-teacher{
  --accent:#5B8DEF;
  --accent-deep:#7AAFF5;
  --accent-soft:#162C48;
  --accent-bg:rgba(91,141,239,.10);
  --accent-glow:rgba(91,141,239,.32);
}
body.theme-admin{
  --accent:#8B5CF6;
  --accent-deep:#9E82D8;
  --accent-soft:#2C2050;
  --accent-bg:rgba(139,92,246,.10);
  --accent-glow:rgba(139,92,246,.32);
}
body.theme-ai{
  --accent:#F5A623;
  --accent-deep:#DDA535;
  --accent-soft:#3E3518;
  --accent-bg:rgba(245,166,35,.10);
  --accent-glow:rgba(245,166,35,.40);
}
body.theme-trust{
  --accent:#62C96A;
  --accent-deep:#4DAC56;
  --accent-soft:#1A3828;
  --accent-bg:rgba(98,201,106,.10);
  --accent-glow:rgba(98,201,106,.32);
}
body.theme-faq{
  --accent:#F5A623;
  --accent-deep:#DDA535;
  --accent-soft:#2A2811;
  --accent-bg:rgba(245,166,35,.10);
  --accent-glow:rgba(245,166,35,.32);
}

/* ─── reset + base ─── */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
html,body{margin:0;padding:0;}
body{
  font-family:'Nunito',system-ui,-apple-system,'Segoe UI',sans-serif;
  background:var(--cream);
  color:var(--ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4{
  font-family:'Fredoka',sans-serif;font-weight:600;letter-spacing:-.015em;line-height:1.15;
  color:var(--ink);
}
h1{font-size:clamp(36px,5.4vw,68px);font-weight:700;margin:0;}
h2{margin:0;}
h3{margin:0;font-size:clamp(22px,2.4vw,28px);}
h4{margin:0;font-size:18px;font-weight:600;}
p{margin:0;color:var(--ink-soft);}
a{color:var(--amber-deep);text-decoration:none;transition:color .2s;}
a:hover{color:var(--amber);}
img{max-width:100%;display:block;}
button{font-family:inherit;}
:focus-visible{outline:3px solid var(--amber);outline-offset:3px;border-radius:6px;}

/* ─── utility ─── */
.container{max-width:var(--container);margin:0 auto;padding:0 var(--gutter);position:relative;z-index:1;}
.ink-amber{color:var(--amber);}
.align-left{text-align:left;}
.eyebrow{
  display:inline-block;
  font-family:'Fredoka',sans-serif;font-weight:600;letter-spacing:.18em;
  text-transform:uppercase;font-size:13px;color:var(--amber);
  background:rgba(245,166,35,.10);padding:6px 14px;border-radius:999px;margin:0 0 18px;
  border:1px solid rgba(245,166,35,.18);
}
.eyebrow.on-amber{background:rgba(255,255,255,.22);color:#fff;}
.section-title{
  font-size:clamp(30px,4.4vw,52px);margin:0 0 16px;
}
.section-title.light{color:#fff;}
.section-sub{
  color:var(--ink-soft);max-width:680px;margin:0 auto 50px;font-size:clamp(16px,1.6vw,18px);
  text-align:center;
}
.section-sub.align-left{text-align:left;margin-left:0;}
section{position:relative;z-index:1;padding:clamp(70px,9vw,120px) 0;}

/* ─── doodle background — warm dark with amber halos ─── */
.doodle-bg{
  position:fixed;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(245,166,35,.08) 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(245,166,35,.05) 0%, transparent 55%),
    radial-gradient(700px 500px at 100% 80%, rgba(245,166,35,.06) 0%, transparent 60%),
    var(--cream);
}
.doodle{position:absolute;opacity:.13;transition:transform .6s cubic-bezier(.2,.8,.2,1);will-change:transform;}
.doodle svg{width:100%;height:100%;display:block;}

/* ─── header (brand · persona tabs · CTA) ─── */
.site-header{
  position:sticky;top:0;z-index:50;
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;
  padding:12px clamp(14px,2.5vw,32px);
  backdrop-filter:saturate(160%) blur(14px);
  -webkit-backdrop-filter:saturate(160%) blur(14px);
  background:rgba(15,14,13,.82);
  border-bottom:1px solid rgba(242,237,232,.06);
  transition:box-shadow .25s ease;
}
.site-header.is-scrolled{box-shadow:0 8px 24px rgba(0,0,0,.45);}
.brand{display:flex;align-items:center;text-decoration:none;flex-shrink:0;color:var(--amber);}
.brand:hover{color:var(--amber);}
.brand-logo{height:36px;width:auto;display:block;}
.bl-eyelid{transform-box:fill-box;transform-origin:50% 0%;animation:bl-blink 4s infinite;}
@keyframes bl-blink{
  0%,96%{transform:scaleY(0);}
  98%{transform:scaleY(1);}
  100%{transform:scaleY(0);}
}
.brand:hover .bl-eyelid{animation:bl-blink-double .9s ease-in-out;}
@keyframes bl-blink-double{
  0%,8%{transform:scaleY(0);}
  16%{transform:scaleY(1);}
  26%{transform:scaleY(0);}
  44%{transform:scaleY(1);}
  54%,100%{transform:scaleY(0);}
}
@media (prefers-reduced-motion:reduce){
  .bl-eyelid,.brand:hover .bl-eyelid{animation:none;transform:scaleY(0);}
}
.nav-cta{
  display:inline-flex;align-items:center;white-space:nowrap;
  background:var(--amber);color:#fff;box-shadow:var(--shadow-soft);
  padding:10px 18px;border-radius:999px;font-weight:700;font-size:14px;
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
  flex-shrink:0;
}
.nav-cta:hover{background:var(--amber-deep);color:#fff;transform:translateY(-1px);box-shadow:var(--shadow-pop);}

/* ─── buttons ─── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 26px;border-radius:999px;font-weight:700;font-size:16px;
  border:0;cursor:pointer;transition:transform .2s,background .2s,box-shadow .2s;
}
.btn-primary{background:var(--amber);color:#fff;box-shadow:var(--shadow-soft);}
.btn-primary:hover{background:var(--amber-deep);color:#fff;transform:translateY(-2px);box-shadow:var(--shadow-pop);}
.btn-ghost{background:transparent;color:var(--ink);border:2px solid var(--ink);}
.btn-ghost:hover{background:var(--ink);color:var(--cream);}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.hero{padding:clamp(40px,6vw,80px) 0 clamp(60px,9vw,120px);}
.hero-inner{
  max-width:var(--container);margin:0 auto;padding:0 var(--gutter);
  display:flex;flex-direction:column;align-items:center;gap:clamp(36px,5vw,64px);
}
.hero-intro{text-align:center;max-width:780px;position:relative;z-index:2;}
.coming-soon{
  display:inline-block;background:var(--amber);color:#fff;
  padding:7px 18px;border-radius:999px;font-weight:700;font-size:14px;
  letter-spacing:.06em;text-transform:lowercase;box-shadow:var(--shadow-soft);
  margin-bottom:24px;
}
.hero-headline{
  font-size:clamp(36px,6vw,72px);font-weight:700;line-height:1.05;
  margin:0 0 22px;letter-spacing:-.02em;
}
.hero-tag{
  font-size:clamp(16px,1.6vw,19px);color:var(--ink-soft);max-width:600px;
  margin:0 auto;
}
.hero-tag b{color:var(--ink);}
.hero-ctas{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;}

/* ─── HERO SCROLLYTELLING (Apple product-page) ─── */
.hero-scrolly{
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,5vw,80px);
  width:100%;max-width:1100px;position:relative;
}
.hero-phone-col{position:relative;}
.hero-phone-col .hero-phone-wrap{
  position:sticky;top:96px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  height:calc(100vh - 120px);min-height:600px;
  margin:0;
}
.hero-steps-col{
  display:flex;flex-direction:column;
}
.hero-step{
  min-height:80vh;
  display:flex;flex-direction:column;justify-content:center;
  padding:24px 0;
  opacity:.35;
  transition:opacity .35s ease;
}
.hero-step.is-active{opacity:1;}
.hs-eyebrow{
  display:inline-flex;align-items:center;gap:8px;align-self:flex-start;
  background:rgba(245,166,35,.08);color:var(--amber);
  border:1px solid rgba(245,166,35,.28);
  font-weight:700;font-size:12px;
  padding:6px 14px;border-radius:999px;letter-spacing:.06em;text-transform:uppercase;
  margin-bottom:18px;
}
.hs-ic{font-size:14px;line-height:1;}
.hs-title{
  font-family:'Fredoka',sans-serif;font-size:clamp(28px,3.6vw,42px);font-weight:600;
  margin:0 0 14px;line-height:1.1;letter-spacing:-.01em;
}
.hs-sub{
  font-size:clamp(16px,1.5vw,18px);color:var(--ink-soft);
  margin:0;line-height:1.55;
}
.hs-sub b{color:var(--ink);font-weight:700;}
.hs-cue{
  font-size:13px;color:var(--ink-mute);margin:18px 0 0;
  font-style:italic;
}

/* ─── on-phone CALLOUTS · dot + reveal-on-hover pill ─── */
.phone-callouts-layer{
  display:none;
  position:absolute;inset:10px;
  pointer-events:none;
  z-index:5;
}
.phone-callouts{
  position:absolute;inset:0;
  opacity:0;transition:opacity .35s ease;
}
.phone-callouts.is-active{opacity:1;}
.phone-callouts.is-active .callout{pointer-events:auto;}
.callout{
  position:absolute;left:var(--cx);top:var(--cy);
  width:0;height:0;
  pointer-events:none;
}
.cl-dot{
  display:block;
  width:14px;height:14px;border-radius:50%;
  background:radial-gradient(circle at 35% 35%, #FFD27A, #F5A623 70%);
  box-shadow:0 0 0 4px rgba(245,166,35,.22), 0 4px 12px rgba(0,0,0,.45);
  transform:translate(-50%,-50%);
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease;
}
.cl-dot::before{
  content:'';position:absolute;inset:-6px;border-radius:50%;
  border:2px solid rgba(245,166,35,.55);
  animation:callout-pulse 2s ease-out infinite;
  pointer-events:none;
}
.callout:hover .cl-dot{
  transform:translate(-50%,-50%) scale(1.15);
  box-shadow:0 0 0 5px rgba(245,166,35,.35), 0 6px 16px rgba(0,0,0,.55);
}
.cl-pill{
  position:absolute;left:14px;top:0;
  transform:translate(-4px,-50%);
  background:#FFFDF6;color:#1F1A17;
  padding:6px 12px;border-radius:10px;
  font-family:'Nunito',sans-serif;font-weight:700;font-size:12px;
  white-space:nowrap;letter-spacing:.01em;
  box-shadow:0 8px 22px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.04);
  opacity:0;
  transition:opacity .18s ease, transform .18s ease;
  pointer-events:none;
}
.callout:hover .cl-pill{
  opacity:1;
  transform:translate(4px,-50%);
}
@keyframes callout-pulse{
  0%   {transform:scale(.85);opacity:.85;}
  70%  {transform:scale(1.6);opacity:0;}
  100% {transform:scale(1.6);opacity:0;}
}
.hero-trust{display:flex;flex-wrap:wrap;gap:8px;}

/* hero starline feature chips — replaces generic trust pills */
.hero-features{
  display:flex;flex-wrap:wrap;gap:8px;
  margin-top:6px;
}
.hero-feature{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(242,237,232,.08);
  color:var(--ink);font-weight:700;font-size:13px;
  padding:7px 12px;border-radius:999px;
  transition:background .2s,border-color .2s,transform .2s;
}
.hero-feature:hover{background:rgba(245,166,35,.08);border-color:rgba(245,166,35,.22);transform:translateY(-1px);}
.hero-feature .hf-ic{font-size:14px;line-height:1;}
.hero-feature em{font-style:normal;color:var(--ink-soft);font-weight:600;}
.trust-pill{
  background:var(--cream-2);color:var(--ink);font-weight:700;font-size:13px;
  padding:8px 14px;border-radius:999px;box-shadow:var(--shadow-soft);
  border:1px solid var(--line-soft);
}

/* hero spotlight — dynamic feature tile that updates with the active phone screen */
.hero-spotlight{
  display:flex;align-items:flex-start;gap:14px;
  padding:14px 18px;max-width:480px;margin-top:6px;
  background:rgba(245,166,35,.06);
  border:1px solid rgba(245,166,35,.20);
  border-radius:18px;
  transition:opacity .22s ease, transform .22s ease;
}
.hero-spotlight.is-swapping{opacity:0;transform:translateY(4px);}
.hero-spotlight .hs-ic{font-size:28px;line-height:1;margin-top:2px;}
.hero-spotlight .hs-body{flex:1;min-width:0;}
.hero-spotlight .hs-title{
  font-family:'Fredoka',sans-serif;font-size:18px;font-weight:600;
  margin:0 0 4px;color:var(--ink);line-height:1.2;
}
.hero-spotlight .hs-desc{font-size:14px;color:var(--ink-soft);margin:0;line-height:1.45;}

/* hero phone */
.hero-phone-wrap{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:620px;gap:0;}

/* ─── HERO DECK · per-screen feature breakdown (Apple product-page style) ─── */
/* All feature-sets share one grid cell; only the active one is visible.
   This way the deck container auto-sizes to the tallest set, no min-height needed. */
.hero-deck{
  display:grid;width:100%;max-width:1040px;
}
.feature-set{
  grid-area:1 / 1;
  opacity:0;pointer-events:none;
  transform:translateY(8px);
  transition:opacity .35s ease, transform .35s ease;
  display:flex;flex-direction:column;align-items:center;gap:28px;
}
.feature-set.is-active{opacity:1;pointer-events:auto;transform:translateY(0);}

.fs-head{text-align:center;max-width:620px;}
.fs-eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(245,166,35,.08);
  color:var(--amber);
  border:1px solid rgba(245,166,35,.28);
  font-weight:700;font-size:12px;
  padding:6px 14px;border-radius:999px;letter-spacing:.06em;text-transform:uppercase;
  margin-bottom:14px;
}
.fs-ic{font-size:14px;line-height:1;}
.fs-title{
  font-family:'Fredoka',sans-serif;font-size:clamp(26px,3.2vw,36px);font-weight:600;
  margin:0 0 10px;line-height:1.15;letter-spacing:-.01em;
}
.fs-sub{
  font-size:clamp(15px,1.4vw,17px);color:var(--ink-soft);
  margin:0;line-height:1.5;
}

.fs-cards{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;width:100%;
}
.feature-card{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(242,237,232,.08);
  border-radius:18px;padding:14px;
  display:flex;flex-direction:column;gap:12px;
  transition:transform .22s ease, border-color .22s ease, background .22s ease;
}
.feature-card:hover{
  background:rgba(255,255,255,.05);
  border-color:rgba(245,166,35,.30);
  transform:translateY(-3px);
}
.fc-thumb{
  width:100%;aspect-ratio:5/3;
  background-image:var(--thumb-src);
  background-size:250% auto;
  background-position:center var(--thumb-y, 50%);
  background-repeat:no-repeat;
  background-color:#1F1A17;
  border-radius:12px;
  border:1px solid rgba(242,237,232,.06);
  box-shadow:0 6px 14px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.03);
}
.fc-label{
  font-family:'Fredoka',sans-serif;font-size:17px;font-weight:600;
  margin:0;color:var(--ink);line-height:1.2;
}
.fc-desc{
  font-size:14px;color:var(--ink-soft);margin:0;line-height:1.45;
}

/* on-screen click hotspots — invisible buttons positioned over the screenshot's
   actual nav-bar tabs (Photos · Schedule · Home · Chat · Profile) + the Daily
   Summary card on home. Tweak the percentages below if screenshots get re-cropped. */
.phone-hotspots{
  position:absolute;inset:0;z-index:4;pointer-events:none;
}
.ph-spot{
  position:absolute;
  background:transparent;border:0;padding:0;cursor:pointer;
  pointer-events:auto;
  transition:transform .12s ease;
  -webkit-tap-highlight-color:transparent;
}
.ph-spot:focus-visible{outline:2px solid var(--amber);outline-offset:3px;border-radius:50%;}
.ph-spot:active{transform:scale(.94);}
.ph-spot.is-disabled{pointer-events:none;}

/* Soft, edge-less light bloom on hover — no fitted rectangle. The radial gradient
   fades fully to transparent so the effect feels like a soft amber halo, not a box. */
.ph-spot::before{
  content:'';position:absolute;inset:-30%;
  background:radial-gradient(circle at center,
    rgba(245,166,35,.55) 0%,
    rgba(245,166,35,.22) 28%,
    rgba(245,166,35,0)   62%);
  opacity:0;transition:opacity .22s ease;
  pointer-events:none;
}
.ph-spot:hover::before{opacity:1;}

/* Cycling "tap demo" — each hotspot pulses in turn until first user click,
   teaching the viewer that the nav bar is interactive. */
.phone-hotspots:not(.is-tapped) .ph-spot:not(.is-disabled)::after{
  content:'';position:absolute;inset:-15%;
  background:radial-gradient(circle at center,
    rgba(245,166,35,.65) 0%,
    rgba(245,166,35,.20) 35%,
    rgba(245,166,35,0)   65%);
  opacity:0;
  animation:demo-tap 6s ease-in-out infinite;
  pointer-events:none;
}
.ph-spot-photos::after    {animation-delay:0.0s;}
.ph-spot-schedule::after  {animation-delay:1.0s;}
.ph-spot-home::after      {animation-delay:2.0s;}
.ph-spot-chat::after      {animation-delay:3.0s;}
.ph-spot-profile::after   {animation-delay:4.0s;}
.ph-spot-tap-track::after {animation-delay:5.0s;}
@keyframes demo-tap{
  0%   {opacity:0;   transform:scale(.7);}
  6%   {opacity:.85; transform:scale(1);}
  15%  {opacity:0;   transform:scale(1.3);}
  100% {opacity:0;   transform:scale(1.3);}
}

/* Bottom nav-bar tabs — five-column grid (Photos · Schedule · Home · Chat · Profile). */
.ph-spot-tab    {bottom:3%;height:8.5%;width:18%;}
.ph-spot-photos  {left:3%;}
.ph-spot-schedule{left:22%;}
/* Center home button is a raised amber circle — slightly larger hotspot, taller. */
.ph-spot-home    {left:41%;width:18%;bottom:3%;height:11%;}
.ph-spot-chat    {left:60%;}
.ph-spot-profile {left:79%;}

/* Tap & Track widget on the Home screenshot — clock/card near the top. */
.ph-spot-tap-track{top:13%;left:7%;width:86%;height:17%;border-radius:18px;}

/* tap-to-explore hint */
.hero-tap-hint{
  display:block;text-align:center;
  font-size:12px;color:var(--ink-soft);font-weight:600;
  margin-top:18px;letter-spacing:.02em;
  animation:tap-hint-bob 2.4s ease-in-out infinite;
  transition:opacity .4s ease;
  position:relative;z-index:2;
}
.hero-tap-hint.is-hidden{opacity:0;pointer-events:none;}
@keyframes tap-hint-bob{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-3px);}
}
.hero-blob{position:absolute;border-radius:50%;filter:blur(70px);opacity:.32;z-index:0;}
.hero-blob-1{width:380px;height:380px;background:var(--amber);top:-30px;right:-30px;}
.hero-blob-2{width:300px;height:300px;background:var(--lavender-deep);bottom:0;left:-20px;opacity:.20;}

/* ─── phone frame ─── */
.phone{
  position:relative;
  width:280px;aspect-ratio:9/19;
  background:#1F1A17;
  border-radius:46px;
  padding:10px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 0 0 4px #2A2420,
    0 0 0 5px rgba(255,255,255,.04),
    0 30px 60px rgba(0,0,0,.55),
    0 12px 30px rgba(0,0,0,.35);
  z-index:1;
}
.phone-lg{width:300px;}
.phone-md{width:268px;}
.feature-phone{display:none;width:260px;margin:18px auto 0;}
.phone-notch{display:none;}
.phone-notch::before{display:none;}
.phone-stack{
  position:relative;width:100%;height:100%;
  border-radius:36px;overflow:hidden;background:var(--cream);
}
.phone-screen{
  position:absolute;inset:0;opacity:0;transition:opacity .5s ease;
  background:var(--cream);overflow:hidden;
}
.phone-screen.is-active{opacity:1;}

/* Real screenshots fill the phone screen cleanly. The web phone frame is 9:19;
   iPhone exports are 9:19.5 — `cover` crops a hair off top/bottom, never distorts. */
.phone-screen > img{width:100%;height:100%;object-fit:cover;display:block;background:#1F1A17;}

/* ─── mock screen primitives ─── */
.mock{
  width:100%;height:100%;display:flex;flex-direction:column;
  font-family:'Nunito',sans-serif;font-size:11px;color:var(--ink);
  position:relative;
}
.m-statusbar{
  display:flex;justify-content:space-between;align-items:center;
  padding:14px 20px 6px;font-size:10px;font-weight:800;color:var(--ink);
}
.m-statusbar .m-time{font-weight:800;}
.m-statusbar .m-icons{display:flex;gap:4px;align-items:center;}
.m-statusbar .m-icons span{width:5px;height:5px;border-radius:50%;background:var(--ink);}
.m-statusbar .m-batt{
  width:18px;height:9px;border:1.2px solid var(--ink);border-radius:2px;position:relative;
}
.m-statusbar .m-batt::after{
  content:'';position:absolute;left:1px;top:1px;bottom:1px;width:11px;background:var(--ink);border-radius:1px;
}
.m-header{
  display:flex;justify-content:space-between;align-items:center;
  padding:6px 18px 10px;
}
.m-header h5{font-family:'Fredoka',sans-serif;font-size:18px;font-weight:600;margin:0;color:var(--ink);}
.m-header .m-bell{
  width:28px;height:28px;border-radius:50%;background:var(--cream-2);
  display:flex;align-items:center;justify-content:center;font-size:12px;
}
.m-greet{padding:4px 18px 10px;font-size:11px;color:var(--ink-soft);}
.m-content{padding:6px 14px;flex:1;overflow:hidden;display:flex;flex-direction:column;gap:10px;}
.m-tabbar{
  display:flex;align-items:flex-end;
  padding:6px 8px 8px;background:#fff;border-top:1px solid var(--line-soft);
  gap:2px;
}
.m-tab{
  flex:1 1 0;min-width:0;
  display:flex;flex-direction:column;align-items:center;gap:2px;
  font-size:8.5px;color:var(--ink-mute);font-weight:700;
  text-align:center;
  white-space:nowrap;overflow:hidden;
}
.m-tab.is-active{color:var(--amber-deep);}
.m-tab .m-tab-icon{font-size:14px;}
.m-tab.center{
  width:42px;height:42px;border-radius:50%;background:var(--amber);color:#fff;
  margin-top:-22px;box-shadow:var(--shadow-soft);justify-content:center;font-size:18px;
}
.m-card{
  background:#fff;border-radius:14px;padding:10px 12px;
  box-shadow:0 4px 10px rgba(31,26,23,.06);border:1px solid var(--line-soft);
}
.m-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;}
.m-card-head .m-title{font-weight:800;font-size:11px;color:var(--ink);}
.m-card-head .m-pill{
  font-size:8.5px;font-weight:800;padding:2px 7px;border-radius:6px;background:var(--mint);color:#2E7D32;
  letter-spacing:.04em;text-transform:uppercase;
}
.m-card-head .m-pill.warn{background:var(--butter);color:#9A7A00;}
.m-row{display:flex;align-items:center;gap:8px;margin:4px 0;font-size:10px;color:var(--ink-soft);}
.m-row .m-dot{width:6px;height:6px;border-radius:50%;background:var(--mint-deep);}
.m-row .m-dot.amber{background:var(--amber);}
.m-row .m-dot.lav{background:var(--lavender-deep);}
.m-row .m-dot.sky{background:var(--sky-deep);}
.m-row b{color:var(--ink);font-weight:800;}

/* photo grid */
.m-photo-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;}
.m-photo{aspect-ratio:1/1;border-radius:6px;background:var(--peach);}
.m-photo:nth-child(2n){background:var(--mint);}
.m-photo:nth-child(3n){background:var(--lavender);}
.m-photo:nth-child(4n){background:var(--sky);}
.m-photo:nth-child(5n){background:var(--butter);}
.m-photo:nth-child(6n){background:var(--rose);}

/* schedule timeline */
.m-tline{display:flex;flex-direction:column;gap:6px;}
.m-tline-item{
  display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:8px;
  font-size:10px;color:var(--ink);background:var(--cream-2);
}
.m-tline-item .m-time-tag{font-weight:800;color:var(--amber-deep);min-width:34px;}
.m-tline-item.now{background:var(--amber);color:#fff;}
.m-tline-item.now .m-time-tag{color:#fff;}
.m-tline-divider{
  height:1.5px;background:var(--amber);position:relative;margin:2px 0;
}
.m-tline-divider::after{
  content:'▶ now';position:absolute;right:0;top:-7px;font-size:8.5px;font-weight:800;
  background:var(--amber);color:#fff;padding:1px 6px;border-radius:4px;
}

/* AI summary */
.m-ai-card{
  background:linear-gradient(160deg,#FFF6E4,#FFE9C2);
  border-radius:14px;padding:14px;border:1px solid rgba(245,166,35,.18);
}
.m-ai-card .m-ai-head{
  display:flex;align-items:center;gap:6px;margin-bottom:10px;
  font-weight:800;font-size:11px;color:var(--amber-deep);
}
.m-ai-card .m-ai-head .ai-orb-mini{
  width:22px;height:22px;border-radius:50%;
  background:radial-gradient(circle at 30% 30%,#fff,var(--amber));
  box-shadow:0 0 12px rgba(245,166,35,.5);
}
.m-ai-line{display:flex;gap:6px;align-items:flex-start;font-size:10px;color:var(--ink);margin-bottom:6px;}
.m-ai-line span:first-child{flex-shrink:0;}
.m-ai-line cite{font-style:normal;color:var(--ink-mute);font-size:8.5px;}

/* gate pass */
.m-gate{display:flex;flex-direction:column;align-items:center;gap:10px;padding:8px;}
.m-qr{
  width:140px;height:140px;border-radius:14px;background:#fff;
  border:1px solid var(--line);padding:10px;
  background-image:
    repeating-linear-gradient(0deg, var(--ink) 0 4px, transparent 4px 8px),
    repeating-linear-gradient(90deg, var(--ink) 0 4px, transparent 4px 8px);
  background-blend-mode:multiply;
  position:relative;
}
.m-qr::before,.m-qr::after{
  content:'';position:absolute;width:30px;height:30px;
  border:5px solid var(--ink);background:#fff;border-radius:5px;
}
.m-qr::before{top:6px;left:6px;}
.m-qr::after{top:6px;right:6px;}
.m-gate-info{text-align:center;}
.m-gate-info b{font-size:13px;display:block;}
.m-gate-info span{font-size:10px;color:var(--ink-soft);}

/* events */
.m-event{
  background:linear-gradient(135deg,var(--lavender),var(--rose));
  padding:14px;border-radius:14px;color:var(--ink);
}
.m-event h6{margin:0 0 6px;font-family:'Fredoka',sans-serif;font-size:14px;font-weight:600;}
.m-event .m-when{font-size:9.5px;color:var(--ink-soft);margin-bottom:10px;}
.m-event-actions{display:flex;gap:6px;}
.m-event-actions .m-btn{
  padding:6px 12px;border-radius:999px;font-size:10px;font-weight:800;
  background:var(--ink);color:#fff;
}
.m-event-actions .m-btn.ghost{background:transparent;color:var(--ink);border:1.5px solid var(--ink);}

/* teacher classes */
.m-class-banner{
  background:var(--amber);color:#fff;padding:10px 12px;border-radius:12px;
  display:flex;justify-content:space-between;align-items:center;
  font-size:10px;font-weight:800;
}
.m-class-banner .m-now-tag{
  background:rgba(255,255,255,.22);padding:2px 8px;border-radius:6px;font-size:9px;
}
.m-action-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;}
.m-action-tile{
  aspect-ratio:1/1;background:#fff;border-radius:10px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  font-size:9px;font-weight:700;color:var(--ink-soft);
  border:1px solid var(--line-soft);
}
.m-action-tile .m-action-emoji{font-size:18px;}

/* attendance */
.m-att-list{display:flex;flex-direction:column;gap:5px;}
.m-att-row{
  display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;
  background:#fff;border:1px solid var(--line-soft);font-size:10px;
}
.m-att-row .m-avatar{
  width:22px;height:22px;border-radius:50%;background:var(--peach);
  font-size:10px;font-weight:800;color:var(--ink);display:flex;align-items:center;justify-content:center;
}
.m-att-row.is-absent .m-avatar{background:var(--rose);}
.m-att-row .m-toggle{
  margin-left:auto;width:30px;height:18px;background:var(--mint-deep);border-radius:999px;
  position:relative;
}
.m-att-row .m-toggle::after{
  content:'';position:absolute;top:1.5px;right:1.5px;width:15px;height:15px;border-radius:50%;background:#fff;
}
.m-att-row.is-absent .m-toggle{background:var(--rose-deep);}
.m-att-row.is-absent .m-toggle::after{right:auto;left:1.5px;}

/* activity composer */
.m-form-card{display:flex;flex-direction:column;gap:8px;}
.m-input{
  background:#fff;border:1px solid var(--line);border-radius:10px;
  padding:10px 12px;font-size:10px;color:var(--ink-soft);font-weight:600;
}
.m-input.has-icon{display:flex;align-items:center;gap:6px;}
.m-photo-strip{display:flex;gap:5px;}
.m-photo-strip .m-photo{width:50px;}
.m-cta{
  background:var(--amber);color:#fff;font-weight:800;font-size:11px;
  padding:11px;border-radius:10px;text-align:center;letter-spacing:.04em;
}

/* chat */
.m-chat{display:flex;flex-direction:column;gap:6px;padding:6px;}
.m-bubble{
  max-width:75%;padding:7px 10px;border-radius:12px;font-size:10px;line-height:1.4;
}
.m-bubble.in{background:#fff;color:var(--ink);align-self:flex-start;border-bottom-left-radius:4px;border:1px solid var(--line-soft);}
.m-bubble.out{background:var(--amber);color:#fff;align-self:flex-end;border-bottom-right-radius:4px;}
.m-bubble cite{display:block;font-size:8px;font-style:normal;opacity:.7;margin-top:2px;}

/* admin setup wizard */
.m-step-list{display:flex;flex-direction:column;gap:6px;}
.m-step{
  display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:#fff;
  border:1px solid var(--line-soft);font-size:10px;
}
.m-step .m-check{
  width:20px;height:20px;border-radius:50%;background:var(--mint-deep);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;
}
.m-step.pending .m-check{background:var(--cream-2);color:var(--ink-soft);border:1.5px dashed var(--ink-mute);}
.m-step.active{background:var(--amber);color:#fff;}
.m-step.active .m-check{background:#fff;color:var(--amber-deep);}

/* admin codes */
.m-code-card{
  background:linear-gradient(135deg,var(--mint),var(--sky));
  padding:12px;border-radius:12px;text-align:center;
}
.m-code-card .m-code-label{font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft);}
.m-code-card .m-code{
  font-family:'Fredoka',sans-serif;font-size:22px;font-weight:600;color:var(--ink);letter-spacing:.15em;margin:6px 0;
}
.m-code-card .m-code-meta{font-size:9px;color:var(--ink-soft);}

/* admin recent joins */
.m-join-list{display:flex;flex-direction:column;gap:5px;}
.m-join-row{
  display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:10px;background:#fff;
  border:1px solid var(--line-soft);font-size:10px;
}
.m-join-row .m-avatar{
  width:24px;height:24px;border-radius:50%;background:var(--peach);
  display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;
}
.m-join-row.parent .m-avatar{background:var(--mint);}
.m-join-row.teach .m-avatar{background:var(--lavender);}
.m-join-row .m-meta{display:flex;flex-direction:column;line-height:1.3;}
.m-join-row .m-meta b{font-size:10.5px;}
.m-join-row .m-meta span{font-size:8.5px;color:var(--ink-soft);}
.m-join-row time{margin-left:auto;font-size:9px;color:var(--ink-mute);font-weight:700;}

/* admin fees */
.m-fee-summary{
  background:linear-gradient(135deg,var(--butter),var(--peach));padding:12px;border-radius:12px;
}
.m-fee-summary .m-amount{font-family:'Fredoka',sans-serif;font-size:24px;font-weight:600;color:var(--ink);}
.m-fee-summary .m-amount-tag{font-size:9px;color:var(--ink-soft);font-weight:700;}
.m-fee-row{
  display:flex;justify-content:space-between;align-items:center;
  padding:7px 10px;border-radius:8px;background:#fff;border:1px solid var(--line-soft);font-size:10px;
}
.m-fee-row .m-status{
  padding:2px 7px;border-radius:6px;font-size:8.5px;font-weight:800;
  background:var(--mint);color:#2E7D32;
}
.m-fee-row .m-status.due{background:var(--rose);color:#C0392B;}

/* admin staff */
.m-staff-list{display:flex;flex-direction:column;gap:5px;}
.m-staff-row{
  display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:10px;background:#fff;
  border:1px solid var(--line-soft);font-size:10px;
}
.m-staff-row .m-avatar{width:24px;height:24px;border-radius:50%;background:var(--lavender);font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center;}
.m-staff-row .m-role{
  margin-left:auto;font-size:8.5px;font-weight:800;padding:2px 7px;border-radius:6px;
  background:var(--cream-2);color:var(--ink-soft);
}

/* AI detailed screen */
.m-ai-large{padding:8px 14px;display:flex;flex-direction:column;gap:8px;flex:1;overflow:hidden;}
.m-ai-large .m-ai-card{padding:16px;}
.m-ai-large .m-ai-head{font-size:12px;}
.m-ai-large .m-ai-line{font-size:11px;}
.m-ai-citebar{
  display:flex;align-items:center;gap:6px;font-size:9px;color:var(--ink-soft);
  background:#fff;padding:6px 10px;border-radius:8px;border:1px solid var(--line-soft);
}
.m-ai-citebar b{color:var(--amber-deep);}

/* ═══════════════════════════════════════════════════════════════════════════
   DIFFERENCE
   ═══════════════════════════════════════════════════════════════════════════ */
.difference .section-title{text-align:center;}
.diff-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:50px;
  max-width:1100px;margin-left:auto;margin-right:auto;
}
.diff-card{
  position:relative;border-radius:var(--r-lg);padding:32px 28px 36px;
  background:var(--cream-2);border:1px solid var(--line-soft);
  box-shadow:var(--shadow-soft);overflow:hidden;
  transition:transform .3s ease,box-shadow .3s ease;
}
.diff-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-pop);}
.diff-tnt   {background:linear-gradient(165deg,#162C48 0%,#2C2050 100%);border-color:rgba(122,175,245,.20);}
.diff-today {background:linear-gradient(165deg,#3E2A1C 0%,#3E1A30 100%);border-color:rgba(232,144,96,.20);}
.diff-ai    {background:linear-gradient(165deg,#3E3518 0%,#2A2811 100%);border-color:rgba(255,192,72,.20);}
.diff-photos{background:linear-gradient(165deg,#1A3828 0%,#0E2218 100%);border-color:rgba(98,201,106,.20);}
.diff-badge{
  display:inline-block;font-family:'Nunito',sans-serif;font-weight:800;font-size:12px;
  background:rgba(255,255,255,.10);color:var(--ink);
  padding:6px 12px;border-radius:999px;margin-bottom:16px;
  border:1px solid rgba(242,237,232,.10);
}
.diff-card h3{font-size:24px;line-height:1.2;margin-bottom:12px;}
.diff-card p{margin-bottom:16px;color:var(--ink-soft);}
.diff-link{
  font-weight:800;font-size:14px;color:var(--ink);
  display:inline-flex;align-items:center;gap:4px;
}
.diff-link:hover{color:var(--amber-deep);}

/* diff-art (decorative bottom blobs) */
.diff-art{
  margin-top:24px;padding-top:20px;border-top:1.5px dashed rgba(242,237,232,.10);
  display:flex;flex-wrap:wrap;gap:6px;
}
.diff-art-ai{flex-direction:column;}
.ai-pop{display:flex;flex-direction:column;gap:6px;width:100%;}
.ai-pop-row{
  background:rgba(255,255,255,.06);padding:8px 12px;border-radius:10px;
  font-size:13px;color:var(--ink);font-weight:600;
  border:1px solid rgba(242,237,232,.06);
}
.diff-art-tnt{flex-direction:column;}
.tnt-step{
  background:rgba(255,255,255,.04);padding:9px 12px;border-radius:10px;
  font-size:13px;color:var(--ink-soft);font-weight:700;width:100%;
  border:1px solid rgba(242,237,232,.06);
}
.tnt-step.is-done{color:var(--ink);}
.tnt-step.is-active{
  background:rgba(255,255,255,.08);color:var(--ink);border-color:var(--amber);
  box-shadow:0 0 0 3px rgba(245,166,35,.18);
}
.tnt-now{
  background:var(--amber);color:#fff;font-size:10px;font-weight:800;
  padding:2px 7px;border-radius:5px;margin-left:6px;letter-spacing:.05em;text-transform:uppercase;
}
.act-tile{
  width:48px;height:48px;border-radius:14px;background:var(--c,var(--cream-3));
  display:flex;align-items:center;justify-content:center;font-size:22px;
  border:1px solid rgba(255,255,255,.05);
  box-shadow:0 4px 10px rgba(0,0,0,.3);
}

/* diff-art: Today (warm, day-in-progress) */
.diff-art-today{flex-direction:column;}
.today-row{
  background:rgba(255,255,255,.06);
  padding:10px 14px;border-radius:10px;
  font-size:13px;color:var(--ink);font-weight:600;width:100%;
  border:1px solid rgba(242,237,232,.06);
  display:flex;gap:10px;align-items:center;
}
.today-row .t-ic{font-size:18px;line-height:1;}
.today-row em{font-style:normal;color:var(--ink-soft);font-weight:600;font-size:12px;}
.today-row b{color:var(--ink);font-weight:800;}

/* diff-art: Photos (tile grid with subtle gradient sheen) */
.diff-art-photos{
  display:grid;grid-template-columns:repeat(3,1fr);gap:6px;width:100%;
}
.photo-tile{
  aspect-ratio:1/1;
  background:var(--c,var(--cream-3));
  border-radius:10px;position:relative;overflow:hidden;
  border:1px solid rgba(255,255,255,.05);
}
.photo-tile::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(135deg, transparent 55%, rgba(255,255,255,.06) 100%);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PERSONA SCROLLYTELLING
   ═══════════════════════════════════════════════════════════════════════════ */
.persona{padding-top:clamp(50px,7vw,90px);padding-bottom:clamp(50px,7vw,90px);}
.persona-head{text-align:center;margin-bottom:60px;}
.persona-head .section-title{margin-bottom:12px;}
.persona-head .section-sub{margin-bottom:0;}

.persona-stage{
  position:relative;max-width:1100px;margin:0 auto;padding:0 var(--gutter);
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,5vw,80px);align-items:flex-start;
}
.persona-content{display:flex;flex-direction:column;gap:clamp(80px,12vw,160px);padding-bottom:30vh;}
.feature-block{position:relative;}
.feature-num{
  font-family:'Fredoka',sans-serif;font-weight:600;font-size:64px;color:var(--amber);
  opacity:.25;line-height:.9;margin-bottom:6px;
}
.feature-block h3{font-size:clamp(26px,3vw,36px);margin-bottom:14px;line-height:1.15;}
.feature-block p{font-size:17px;line-height:1.65;margin-bottom:18px;}
.feature-block p em{color:var(--ink);font-style:normal;font-weight:700;}
.feature-bullets{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;max-width:540px;}
.feature-bullets li{
  position:relative;padding-left:28px;font-size:15px;color:var(--ink-soft);
}
.feature-bullets li::before{
  content:'';position:absolute;left:0;top:8px;width:16px;height:16px;border-radius:50%;
  background:var(--amber);
  box-shadow:0 0 0 4px rgba(245,166,35,.15);
}

.persona-phone-wrap{
  position:sticky;top:120px;align-self:start;
  display:flex;justify-content:center;
  z-index:2;
}

/* per-persona theme — scoped --accent + dark tint wash per section */
.persona-parent {
  --accent:#FFB020; --accent-deep:#DDA535; --accent-soft:#3E2A1C; --accent-bg:rgba(255,176,32,.10);
  background:
    linear-gradient(180deg, transparent 0%, rgba(62,42,28,.45) 30%, rgba(62,42,28,.45) 70%, transparent 100%);
}
.persona-teacher {
  --accent:#5B8DEF; --accent-deep:#7AAFF5; --accent-soft:#162C48; --accent-bg:rgba(91,141,239,.10);
  background:
    linear-gradient(180deg, transparent 0%, rgba(22,44,72,.45) 30%, rgba(22,44,72,.45) 70%, transparent 100%);
}
.persona-admin {
  --accent:#8B5CF6; --accent-deep:#9E82D8; --accent-soft:#2C2050; --accent-bg:rgba(139,92,246,.10);
  background:
    linear-gradient(180deg, transparent 0%, rgba(44,32,80,.45) 30%, rgba(44,32,80,.45) 70%, transparent 100%);
}

/* feature-num + bullets pick up --accent from the enclosing persona */
.feature-num{color:var(--accent);}
.feature-bullets li::before{
  background:var(--accent);
  box-shadow:0 0 0 4px var(--accent-bg);
}

/* ─── horizontal-slider stage (Parents): 4 slides × 2 cards ─── */
.persona-stage-horizontal{
  display:block;grid-template-columns:none;gap:0;
  max-width:none;padding:0;
}
.persona-slider{
  display:flex;
  overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.persona-slider::-webkit-scrollbar{display:none;}
.persona-slide{
  flex:0 0 100%;min-width:100%;
  scroll-snap-align:center;scroll-snap-stop:always;
  display:grid;grid-template-columns:1fr 1fr;
  gap:24px;
  padding:8px var(--gutter) 36px;
  max-width:var(--container);margin:0 auto;
  box-sizing:border-box;
  align-items:stretch;
}

/* card: phone left, text right */
.feature-card{
  display:flex;flex-direction:row;align-items:center;
  gap:24px;padding:24px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.06);
  border-radius:24px;
  box-shadow:0 12px 32px rgba(0,0,0,.25);
  min-height:100%;
  transition:transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.feature-card:hover{
  transform:translateY(-2px);
  border-color:var(--accent-bg);
  box-shadow:0 16px 36px rgba(0,0,0,.3);
}
.feature-card-phone{
  width:170px;flex-shrink:0;
  border-radius:30px;padding:6px;
}
.feature-card-phone .phone-stack{border-radius:24px;}
.feature-card-phone .phone-notch{
  width:64px;height:16px;top:9px;border-radius:9px;
}
.feature-card-phone .phone-notch::before{left:9px;width:6px;height:6px;}
.feature-card-body{
  display:flex;flex-direction:column;gap:8px;min-width:0;
}
.feature-card-num{
  font-family:'Fredoka',sans-serif;font-weight:600;
  font-size:20px;color:var(--accent);
  line-height:1;letter-spacing:.04em;
  opacity:.85;
}
.feature-card-body h3{
  font-size:clamp(20px,1.6vw,24px);
  margin:0;line-height:1.22;
}
.feature-card-body p{
  font-size:15px;line-height:1.55;
  color:var(--ink-soft);margin:0;
}

/* dots */
.persona-dots{
  display:flex;justify-content:center;gap:10px;
  padding:0 0 16px;
}
.persona-dot{
  width:10px;height:10px;border-radius:50%;
  background:rgba(242,237,232,.18);
  border:0;padding:0;cursor:pointer;
  transition:background .25s ease, width .25s ease, box-shadow .25s ease;
}
.persona-dot:hover{background:rgba(242,237,232,.32);}
.persona-dot.is-active{
  background:var(--accent);
  width:28px;border-radius:6px;
  box-shadow:0 0 0 4px var(--accent-bg);
}
.persona-dot:focus-visible{outline:2px solid var(--accent);outline-offset:3px;}

/* tablet — tighten phone + spacing */
@media (max-width:980px){
  .persona-slide{gap:18px;padding:8px 18px 32px;}
  .feature-card{padding:20px;gap:18px;border-radius:20px;}
  .feature-card-phone{width:140px;}
}

/* mobile — stack the 2 cards vertically inside each slide */
@media (max-width:700px){
  .persona-slide{
    grid-template-columns:1fr;gap:14px;
    padding:6px 16px 24px;
  }
  .feature-card{padding:16px;gap:16px;border-radius:18px;}
  .feature-card-phone{width:118px;}
  .feature-card-num{font-size:17px;}
  .feature-card-body h3{font-size:18px;line-height:1.2;}
  .feature-card-body p{font-size:14px;line-height:1.5;}
  .persona-dots{padding-bottom:8px;}
}

/* very narrow — extra compact */
@media (max-width:380px){
  .feature-card-phone{width:104px;}
  .feature-card-body h3{font-size:17px;}
}

/* ─── persona tabs (sit inside the sticky header) ─── */
.persona-tabs{
  position:relative;
  display:flex;gap:4px;
  padding:5px;border-radius:999px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(242,237,232,.06);
  box-shadow:0 6px 18px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.03);
  justify-self:center;
}
.persona-tabs-indicator{
  position:absolute;top:5px;bottom:5px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow:0 6px 14px var(--accent-glow);
  transition:left .45s cubic-bezier(.55,.05,.2,1.05),
             width .45s cubic-bezier(.55,.05,.2,1.05),
             background .35s ease,
             box-shadow .35s ease;
  z-index:0;pointer-events:none;
  left:5px;width:120px;
}
.persona-tab{
  position:relative;z-index:1;
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 14px;
  border:0;background:transparent;cursor:pointer;
  border-radius:999px;
  font-family:'Nunito',sans-serif;color:var(--ink);font-weight:700;
  transition:color .25s ease, transform .2s ease;
}
.persona-tab:hover:not(.is-active){transform:translateY(-1px);}
.persona-tab.is-active{color:#fff;}
.ptab-icon{
  width:24px;height:24px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--accent-soft);color:var(--accent-deep);
  flex-shrink:0;transition:background .25s ease, color .25s ease;
  overflow:hidden;
}
.ptab-icon svg{width:14px;height:14px;}
.ptab-icon img{width:24px;height:24px;display:block;border-radius:50%;}
.persona-tab.is-active .ptab-icon{background:rgba(255,255,255,.22);color:#fff;}
.persona-tab.is-active .ptab-icon img{background:rgba(255,255,255,.85);}
.ptab-label{font-size:14px;font-family:'Fredoka',sans-serif;font-weight:600;letter-spacing:.005em;}

/* Skubo tab uses brand amber; other personas pull from body theme */
body.theme-skubo{--accent:#F5A623; --accent-deep:#C98A1A; --accent-soft:#FFE9C2; --accent-glow:rgba(245,166,35,.22);}

/* ═══════════════════════════════════════════════════════════════════════════
   SKUBO AI
   ═══════════════════════════════════════════════════════════════════════════ */
.skubo-ai{
  background:linear-gradient(135deg,#1A140C 0%,#2E1F0D 50%,#3D2810 100%);
  color:#fff;
  position:relative;overflow:clip;
  border-top:1px solid rgba(245,166,35,.10);
  border-bottom:1px solid rgba(245,166,35,.10);
}
.skubo-ai::before{
  content:'';position:absolute;inset:0;
  background:
    radial-gradient(900px 600px at 80% 20%, rgba(245,166,35,.28), transparent 60%),
    radial-gradient(700px 500px at 10% 85%, rgba(255,176,32,.18), transparent 60%);
  pointer-events:none;
}
.skubo-ai .section-title.light,.skubo-ai .section-title{color:#fff;}
.ai-grid{
  display:grid;grid-template-columns:1.1fr .9fr;gap:80px;align-items:center;position:relative;z-index:1;
}
.ai-eyebrow{background:rgba(255,255,255,.12);color:#FFD27A;}
.ai-tag{font-size:18px;color:rgba(255,251,243,.8);max-width:560px;margin:0 0 36px;}
.ai-points{list-style:none;margin:0 0 32px;padding:0;display:flex;flex-direction:column;gap:24px;}
.ai-points li{display:flex;gap:16px;align-items:flex-start;}
.ai-num{
  font-family:'Fredoka',sans-serif;font-weight:600;font-size:14px;
  color:var(--amber);background:rgba(245,166,35,.15);
  width:32px;height:32px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  border:1px solid rgba(245,166,35,.3);
}
.ai-points h4{color:#fff;margin-bottom:4px;font-size:18px;}
.ai-points p{color:rgba(255,251,243,.7);font-size:14px;}
/* Hoverable items (Daily / Weekly) drive the AI phone-screen swap */
.ai-points li[data-screen]{
  cursor:pointer;
  padding:6px 10px;margin:-6px -10px;
  border-radius:12px;
  transition:background .22s ease, transform .22s ease;
}
.ai-points li[data-screen]:hover{background:rgba(255,255,255,.04);}
.ai-points li[data-screen].is-active .ai-num{
  background:linear-gradient(135deg,#F5A623,#E08D14);
  color:#1F1A17;
  border-color:transparent;
  box-shadow:0 0 0 4px rgba(245,166,35,.25), 0 4px 14px rgba(245,166,35,.45);
}
.ai-points li[data-screen].is-active{transform:translateX(4px);}
.ai-cue{
  font-size:12px;color:rgba(255,251,243,.55);
  margin:-16px 0 28px;font-style:italic;letter-spacing:.02em;
}
.ai-roadmap{
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.10);
  border-radius:var(--r-md);padding:18px;
}
.roadmap-tag{
  display:inline-block;font-family:'Nunito',sans-serif;font-weight:800;font-size:11px;
  color:var(--amber-soft);letter-spacing:.12em;text-transform:uppercase;margin-bottom:10px;
}
.roadmap-pills{display:flex;flex-wrap:wrap;gap:8px;}
.roadmap-pills span{
  background:rgba(255,255,255,.08);color:#fff;padding:6px 12px;border-radius:999px;
  font-size:12px;font-weight:700;border:1px solid rgba(255,255,255,.10);
}
.ai-phone-wrap{position:relative;display:flex;justify-content:center;align-items:center;}
.ai-phone{box-shadow:
  0 0 0 4px #2A2420,
  0 40px 80px rgba(0,0,0,.5),
  0 0 60px rgba(245,166,35,.25);
}
.ai-orb{
  position:absolute;border-radius:50%;filter:blur(40px);pointer-events:none;
  animation:orb 8s ease-in-out infinite;
}
.ai-orb-1{width:200px;height:200px;background:var(--amber);opacity:.4;top:-30px;right:-30px;}
.ai-orb-2{width:160px;height:160px;background:#FFD9DE;opacity:.3;bottom:0;left:-20px;animation-delay:-3s;}
.ai-orb-3{width:120px;height:120px;background:#C9B6EB;opacity:.3;top:40%;right:30%;animation-delay:-5s;}
@keyframes orb{0%,100%{transform:translateY(0) scale(1);}50%{transform:translateY(-20px) scale(1.06);}}

/* ─── SkuboAI scrolly tweaks (uses persona-stage; just light overrides) ─── */
.skubo-ai .persona-head{margin-bottom:60px;}
.skubo-ai .persona-head .section-sub{color:rgba(255,251,243,.8);max-width:680px;}
.skubo-ai .persona-content{padding-bottom:30vh;}
/* The ai-stage's amber accent on numbers + bullets */
.skubo-ai .feature-num{color:var(--amber);}
.skubo-ai .feature-block h3{color:#fff;}
.skubo-ai .feature-block p{color:rgba(255,251,243,.78);}
/* Roadmap strip below the stage */
.ai-roadmap-wrap{
  margin-top:clamp(40px,6vw,80px);position:relative;z-index:1;
}
.ai-roadmap-wrap .ai-roadmap{max-width:780px;margin:0 auto;}

/* ═══════════════════════════════════════════════════════════════════════════
   TRUST
   ═══════════════════════════════════════════════════════════════════════════ */
.trust .section-title{text-align:center;margin-bottom:50px;}
.trust .eyebrow{display:block;width:fit-content;margin-left:auto;margin-right:auto;}
.faq .eyebrow{display:block;width:fit-content;margin-left:auto;margin-right:auto;}
.trust-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;
}
.trust-grid-4{grid-template-columns:repeat(4,1fr);}
.trust-card{
  background:var(--cream-2);border-radius:var(--r-lg);padding:28px 26px;
  border:1px solid var(--line-soft);box-shadow:var(--shadow-soft);
  transition:transform .25s ease,box-shadow .25s ease;
}
.trust-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-pop);border-color:var(--line);}
.trust-icon{
  width:48px;height:48px;border-radius:14px;background:var(--cream-3);
  display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:14px;
}
.trust-card h4{margin-bottom:6px;font-size:18px;}
.trust-card p{font-size:14px;}

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════════════ */
.faq-inner{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:flex-start;}
.faq-head{position:sticky;top:120px;}
.faq-head .section-sub{margin-bottom:0;}
.faq-list{display:flex;flex-direction:column;gap:10px;}
.faq-item{
  background:var(--cream-2);border-radius:var(--r-md);padding:20px 24px;
  border:1px solid var(--line-soft);box-shadow:var(--shadow-soft);
  transition:box-shadow .2s,transform .2s,border-color .2s;
}
.faq-item:hover{box-shadow:var(--shadow-pop);border-color:var(--line);}
.faq-item[open]{border-color:var(--accent-bg);}
.faq-item summary{
  cursor:pointer;list-style:none;
  font-family:'Fredoka',sans-serif;font-weight:600;font-size:18px;color:var(--ink);
  display:flex;justify-content:space-between;align-items:center;gap:12px;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:'+';font-size:24px;font-weight:600;color:var(--amber);
  transition:transform .2s;flex-shrink:0;
}
.faq-item[open] summary::after{transform:rotate(45deg);}
.faq-item p{margin-top:14px;color:var(--ink-soft);font-size:15px;line-height:1.65;}

/* ═══════════════════════════════════════════════════════════════════════════
   SCHOOLS / CONTACT CTA
   ═══════════════════════════════════════════════════════════════════════════ */
.contact-cta{padding-top:0;padding-bottom:clamp(60px,9vw,120px);}
.cta-card{
  background:linear-gradient(135deg,#F5A623 0%,#E89512 100%);
  border-radius:var(--r-xl);padding:clamp(40px,5vw,72px) clamp(32px,4vw,64px);
  display:grid;grid-template-columns:1.2fr .8fr;gap:60px;align-items:center;
  color:#fff;box-shadow:var(--shadow-pop);position:relative;overflow:hidden;
}
.cta-card::before{
  content:'';position:absolute;top:-100px;right:-100px;width:400px;height:400px;border-radius:50%;
  background:rgba(255,255,255,.12);pointer-events:none;
}
.cta-card::after{
  content:'';position:absolute;bottom:-150px;left:-50px;width:300px;height:300px;border-radius:50%;
  background:rgba(255,217,222,.18);pointer-events:none;
}
.cta-copy{position:relative;z-index:1;}
.cta-copy .section-title{color:#fff;text-align:left;font-size:clamp(28px,3.6vw,42px);}
.cta-tag{color:rgba(255,255,255,.92);font-size:17px;margin-bottom:24px;}
.cta-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;}
.cta-list li{font-weight:700;color:#fff;font-size:15px;}
.cta-actions{position:relative;z-index:1;}
.cta-block{
  background:rgba(15,14,13,.92);border-radius:var(--r-lg);padding:24px;
  display:flex;flex-direction:column;gap:14px;color:var(--ink);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 12px 40px rgba(0,0,0,.4);
}
.cta-label{
  font-family:'Fredoka',sans-serif;font-weight:600;font-size:13px;
  letter-spacing:.14em;text-transform:uppercase;color:var(--amber);
}
.cta-channel{
  display:flex;align-items:center;gap:14px;
  padding:14px;border-radius:var(--r-md);background:rgba(255,255,255,.04);
  text-decoration:none;color:var(--ink);
  transition:background .2s,transform .2s;
  border:1px solid rgba(255,255,255,.04);
}
.cta-channel:hover{background:rgba(255,255,255,.08);transform:translateX(4px);color:var(--ink);}
.cta-icon{
  width:46px;height:46px;border-radius:14px;background:rgba(245,166,35,.16);
  display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0;
}
.cta-line{display:flex;flex-direction:column;line-height:1.3;}
.cta-line-1{font-family:'Fredoka',sans-serif;font-weight:600;font-size:18px;color:var(--ink);}
.cta-line-2{font-size:13px;color:var(--ink-soft);}

/* ═══════════════════════════════════════════════════════════════════════════
   WAITLIST
   ═══════════════════════════════════════════════════════════════════════════ */
.waitlist{padding-top:0;}
.waitlist-card{
  max-width:780px;margin:0 auto;text-align:center;
  background:
    radial-gradient(circle at 50% 0%, rgba(245,166,35,.22), transparent 60%),
    linear-gradient(160deg,#1F1814 0%,#0F0E0D 100%);
  border-radius:var(--r-xl);padding:clamp(40px,5vw,64px) clamp(24px,4vw,40px);
  box-shadow:0 0 80px rgba(245,166,35,.12), var(--shadow-deep);
  position:relative;overflow:hidden;
  border:1px solid rgba(245,166,35,.28);
}
.waitlist-mascot{width:78px;height:78px;border-radius:18px;margin:0 auto 14px;}
.float-anim{animation:floaty 6s ease-in-out infinite;}
@keyframes floaty{
  0%,100%{transform:translateY(0) rotate(0);}
  50%{transform:translateY(-10px) rotate(-1deg);}
}
.waitlist-card h2{font-size:clamp(28px,3.6vw,40px);margin:0 0 12px;}
.waitlist-card p{color:var(--ink-soft);margin:0 auto 24px;max-width:520px;}
.waitlist-form{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;}
.waitlist-form input[type="email"]{
  padding:14px 20px;border-radius:999px;
  border:2px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.06);color:var(--ink);
  font:inherit;min-width:280px;outline:none;box-shadow:var(--shadow-soft);
  transition:border-color .2s,background .2s;
}
.waitlist-form input[type="email"]::placeholder{color:var(--ink-mute);}
.waitlist-form input[type="email"]:focus{border-color:var(--amber);background:rgba(255,255,255,.10);}
.waitlist-form button{
  padding:14px 28px;border-radius:999px;border:0;cursor:pointer;
  background:var(--amber);color:#fff;font:inherit;font-weight:700;font-size:16px;
  box-shadow:var(--shadow-soft);transition:transform .2s,background .2s;
}
.waitlist-form button:hover{background:var(--amber-deep);transform:translateY(-1px);}
.waitlist-form button:disabled{opacity:.65;cursor:not-allowed;transform:none;}
.waitlist-form .hp-field{
  position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;
  opacity:0!important;pointer-events:none!important;
}
.waitlist-msg{
  min-height:1.4em;margin:24px auto 8px;max-width:520px;font-weight:700;font-size:15px;
}
.waitlist-msg.ok{color:#7AE690;}
.waitlist-msg.err{color:#FF8090;}
.waitlist-fine{font-size:13px;color:var(--ink-mute);margin-top:8px;}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.site-footer{
  position:relative;z-index:1;
  background:linear-gradient(180deg,var(--cream) 0%,#08070A 100%);
  padding:80px clamp(20px,4vw,40px) 30px;
  border-top:1px solid rgba(245,166,35,.14);
}
.foot-grid{
  max-width:var(--container);margin:0 auto;
  display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;
}
.foot-brand{display:flex;align-items:center;gap:10px;font-family:'Fredoka',sans-serif;font-size:28px;color:var(--amber);font-weight:700;}
.foot-brand img{width:40px;height:40px;border-radius:10px;}
.foot-tag{color:var(--ink-soft);margin-top:12px;line-height:1.6;font-size:14px;}
.foot-col h4{margin:0 0 14px;font-size:13px;color:var(--ink);text-transform:uppercase;letter-spacing:.12em;font-family:'Fredoka',sans-serif;font-weight:600;}
.foot-col ul{list-style:none;padding:0;margin:0;}
.foot-col li{margin-bottom:10px;color:var(--ink-soft);font-size:14px;}
.foot-col a{color:var(--ink-soft);}
.foot-col a:hover{color:var(--amber-deep);}
.foot-bottom{
  text-align:center;margin-top:50px;padding-top:24px;
  border-top:1px dashed rgba(242,237,232,.15);color:var(--ink-mute);font-size:13px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease;}
.reveal.is-in{opacity:1;transform:translateY(0);}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width:1100px){
  .hero-inner{grid-template-columns:1fr;gap:40px;text-align:center;}
  .hero-copy{text-align:center;}
  .hero-tag{margin-left:auto;margin-right:auto;}
  .hero-ctas,.hero-trust,.hero-features{justify-content:center;}
  /* mobile sticky-phone pattern: phone holds the top half of the viewport, text
     scrolls in the bottom half. Applied to hero + all three persona stages.
     Sticky goes on .hero-phone-col (not the inner wrap) so its containing block
     is .hero-scrolly — which is tall enough for sticky to actually engage. */
  .hero-scrolly{grid-template-columns:1fr;gap:0;}
  .hero-phone-col{
    position:sticky;top:60px;
    height:50vh;z-index:2;
    background:var(--cream);
  }
  .hero-phone-col .hero-phone-wrap{
    position:static;
    height:100%;min-height:0;margin:0 auto;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
  }
  .hero-phone-col .hero-phone-wrap .phone{width:auto;height:46vh;}
  .hero-tap-hint{display:none;}
  .hero-step{
    min-height:55vh;padding:24px 0;opacity:1;
    display:flex;flex-direction:column;justify-content:center;
    text-align:center;
  }
  .hs-eyebrow{align-self:center;}

  .cta-card{grid-template-columns:1fr;}
  .cta-copy .section-title{text-align:center;}
  .cta-tag{text-align:center;}
  .cta-list li{text-align:center;}
  .faq-inner{grid-template-columns:1fr;gap:40px;}
  .faq-head{position:static;}

  /* Persona stages (SkuboAI / Teachers / Schools): one sticky phone, text below. */
  .persona-stage{
    display:flex;flex-direction:column;gap:0;
  }
  .persona-phone-wrap{
    display:flex;order:-1;align-self:stretch;
    position:sticky;top:60px;
    height:50vh;z-index:2;
    align-items:center;justify-content:center;
    margin-bottom:24px;
    background:var(--cream);
  }
  .skubo-ai .persona-phone-wrap{background:#231811;}
  .persona-teacher .persona-phone-wrap{background:#0F141C;}
  .persona-admin .persona-phone-wrap{background:#13101F;}
  .persona-phone-wrap .phone{width:auto;height:46vh;}
  .feature-phone{display:none !important;}
  .persona-content{padding-top:0;padding-bottom:40px;gap:0;}
  .feature-block{
    display:flex;flex-direction:column;align-items:center;text-align:center;
    min-height:55vh;justify-content:center;
  }
  .feature-num{font-size:44px;margin-bottom:4px;}
  .feature-block h3{font-size:24px;line-height:1.18;}
  .feature-block p{font-size:16px;line-height:1.55;margin:0;}
  .feature-bullets{align-self:stretch;}
}

@media (max-width:900px){
  .diff-grid{grid-template-columns:1fr;}
  .trust-grid,.trust-grid-4{grid-template-columns:1fr 1fr;}
  .foot-grid{grid-template-columns:1fr 1fr;}
  .site-header{padding:10px 14px;gap:10px;}
  .brand-logo{height:32px;}
  .ptab-label{font-size:13px;}
  .persona-tab{padding:7px 11px;gap:6px;}
  .nav-cta{padding:9px 14px;font-size:13px;}
}

@media (max-width:900px){
  /* 7 tabs is a lot — drop labels by 900px so icon row fits cleanly */
  .ptab-label{display:none;}
  .persona-tab{padding:7px 9px;gap:0;}
  .ptab-icon{width:22px;height:22px;}
  .ptab-icon svg{width:14px;height:14px;}
  .ptab-icon img{width:22px;height:22px;}
  .persona-tabs{padding:4px;gap:2px;}
  .persona-tabs-indicator{top:4px;bottom:4px;}
  .nav-cta{padding:8px 14px;font-size:13px;}
}

@media (max-width:520px){
  .nav-cta{display:none;}
  .site-header{grid-template-columns:auto 1fr;padding:8px 10px;gap:6px;}
  .persona-tab{padding:6px 7px;}
  .ptab-icon{width:20px;height:20px;}
  .ptab-icon svg{width:13px;height:13px;}
}

@media (max-width:380px){
  .persona-tab{padding:5px 6px;}
  .ptab-icon{width:18px;height:18px;}
}

@media (max-width:560px){
  .trust-grid,.foot-grid{grid-template-columns:1fr;}
  section{padding:60px 0;}
  .hero{padding-top:30px;padding-bottom:60px;}
  .container{padding:0 18px;}
  .hero-inner{padding:0 18px;}
  .persona-stage{padding:0 18px;}
  .hero-feature{font-size:12px;padding:6px 10px;}
  .hero-feature em{display:none;}
  .phone{width:240px;}
  .phone-lg{width:260px;}
  .feature-num{font-size:44px;}
  .feature-block h3{font-size:22px;}
  .feature-block p{font-size:15px;}
  .feature-bullets li{font-size:14px;}
  .cta-card{padding:32px 22px;}
  .ai-points li{flex-direction:column;align-items:center;text-align:center;}
  .ai-points li > div{text-align:center;}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important;
  }
  .reveal{opacity:1;transform:none;}
  .doodle{display:none;}
  .ai-orb,.hero-blob{display:none;}
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEGAL PAGES (privacy.html · terms.html) — single-column readable layout
   ═══════════════════════════════════════════════════════════════════════════ */
.legal-page{
  max-width:760px;margin:0 auto;
  padding:clamp(36px,6vw,72px) var(--gutter) clamp(60px,8vw,100px);
  position:relative;z-index:1;
}
.legal-back{
  display:inline-flex;align-items:center;gap:6px;
  color:var(--ink-soft);font-size:14px;font-weight:700;
  margin:0 0 28px;
}
.legal-back:hover{color:var(--amber);}
.legal-page h1{
  font-size:clamp(34px,4.6vw,52px);
  margin:0 0 10px;
}
.legal-meta{
  color:var(--ink-mute);font-size:14px;margin:0;
  font-family:'Fredoka',sans-serif;letter-spacing:.02em;
}
.legal-disclaimer{
  display:block;
  background:rgba(245,166,35,.08);
  border:1px solid rgba(245,166,35,.20);
  border-radius:var(--r-md);
  padding:14px 18px;margin:24px 0 40px;
  color:var(--ink-soft);font-size:14px;line-height:1.65;
}
.legal-disclaimer strong{color:var(--amber);}
.legal-toc{
  background:var(--cream-2);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  padding:18px 22px;margin:0 0 48px;
}
.legal-toc-title{
  margin:0 0 12px;font-size:12px;color:var(--ink);
  text-transform:uppercase;letter-spacing:.14em;
  font-family:'Fredoka',sans-serif;font-weight:600;
}
.legal-toc ol{
  margin:0;padding:0;list-style:none;
  display:grid;grid-template-columns:1fr 1fr;gap:6px 20px;
  counter-reset:toc;
}
.legal-toc li{
  counter-increment:toc;
  font-size:14px;color:var(--ink-soft);line-height:1.5;
}
.legal-toc li::before{
  content:counter(toc) ". ";color:var(--ink-mute);
}
.legal-toc a{color:var(--ink-soft);}
.legal-toc a:hover{color:var(--amber);}
.legal-section{
  padding:0;margin:0 0 40px;
  scroll-margin-top:88px;
}
.legal-page h2{
  font-size:clamp(22px,2.4vw,28px);
  margin:0 0 14px;color:var(--ink);
}
.legal-page h3{
  font-size:17px;margin:22px 0 8px;color:var(--ink);
  font-family:'Fredoka',sans-serif;font-weight:600;
}
.legal-page p,
.legal-page li{
  font-size:16px;color:var(--ink-soft);line-height:1.7;
}
.legal-page p{margin:0 0 14px;}
.legal-page ul{padding-left:22px;margin:0 0 18px;}
.legal-page li{margin-bottom:6px;}
.legal-page strong{color:var(--ink);}
.legal-page a{color:var(--amber-deep);font-weight:600;}
.legal-page a:hover{color:var(--amber);}
.legal-page hr{
  border:none;border-top:1px solid var(--line);
  margin:48px 0;
}
.legal-contact{
  background:var(--cream-2);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  padding:18px 22px;margin:18px 0 0;
}
.legal-contact p{margin:0 0 6px;}
.legal-contact p:last-child{margin:0;}

/* The legal pages reuse the site header but link out to the home page sections,
   so the persona-tabs render without the sliding indicator. */
.persona-tabs-static .persona-tab{cursor:pointer;}
.persona-tabs-static .persona-tab:hover{color:var(--amber);}

@media (max-width:680px){
  .legal-toc ol{grid-template-columns:1fr;}
}

/* ─── persona tab indicator squash-and-stretch settle ─── */
.persona-tabs-indicator.is-settling{animation:tab-settle .5s cubic-bezier(.34,1.4,.64,1);}
@keyframes tab-settle{
  0%   {transform:scaleY(1) scaleX(1);}
  35%  {transform:scaleY(.84) scaleX(1.04);}
  70%  {transform:scaleY(1.06) scaleX(.98);}
  100% {transform:scaleY(1) scaleX(1);}
}

/* ─── parallax tilt (hero + persona phones) ─── */
.hero-phone,
.persona-phone-wrap .phone{
  transition:transform .35s cubic-bezier(.2,.8,.3,1);
}

/* ─── waitlist success: mascot bounce + confetti ─── */
.waitlist-mascot.is-celebrating{animation:mascot-cheer .9s cubic-bezier(.34,1.56,.64,1);}
@keyframes mascot-cheer{
  0%   {transform:translateY(0) rotate(0) scale(1);}
  20%  {transform:translateY(-22px) rotate(-10deg) scale(1.08);}
  45%  {transform:translateY(0) rotate(8deg) scale(.96);}
  65%  {transform:translateY(-10px) rotate(-4deg) scale(1.03);}
  100% {transform:translateY(0) rotate(0) scale(1);}
}
.confetti{
  position:absolute;left:0;top:0;
  width:9px;height:13px;border-radius:2px;
  background:var(--c, var(--amber));
  opacity:0;pointer-events:none;
  transform:translate(-50%,-50%);
  animation:confetti-burst 1s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes confetti-burst{
  0%   {opacity:0;transform:translate(calc(-50% + var(--ox,0px)),calc(-50% + var(--oy,0px))) rotate(0);}
  10%  {opacity:1;}
  100% {opacity:0;transform:translate(calc(-50% + var(--ox,0px) + var(--dx,0px)),calc(-50% + var(--oy,0px) + var(--dy,-160px))) rotate(var(--rot,540deg));}
}

@media (prefers-reduced-motion:reduce){
  .persona-tabs-indicator.is-settling,
  .waitlist-mascot.is-celebrating,
  .confetti{animation:none;}
  .hero-phone,.persona-phone-wrap .phone{transition:none;}
  .confetti{display:none;}
}
