/* ===== TOKENS ===== */
:root{
  --blue-1:#0E5BD9;
  --blue-2:#1F7AEF;
  --blue-3:#3B95FF;
  --blue-deep:#0a3f99;
  --red:#E63946;
  --red-2:#D8313D;
  --yellow:#FFC732;
  --yellow-2:#FFB100;
  --sun:#FFD86B;
  --tan:#E8B98C;
  --tan-2:#C99771;
  --mascot:#F5BC1F;
  --mascot-shade:#D89A0A;
  --mascot-ear:#F39A1A;
  --face:#FFF7EA;

  --ink:#0F1B33;
  --ink-2:#3A4661;
  --muted:#6B7691;
  --bg:#FFFFFF;
  --bg-2:#F4F6FB;
  --line:#E6EAF2;

  --coral:#FF7A6A;
  --mint:#5DD0A4;

  --shadow-card: 0 1px 0 rgba(15,27,51,0.04), 0 8px 24px -10px rgba(15,27,51,0.12);
  --shadow-card-hover: 0 1px 0 rgba(15,27,51,0.04), 0 22px 50px -16px rgba(15,27,51,0.22);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}

.wrap{max-width:1240px;margin:0 auto;padding:0 28px}

.display{font-family:'Fredoka','Plus Jakarta Sans',sans-serif;font-weight:600;letter-spacing:-0.01em}

/* ===== BUTTONS ===== */
.btn{display:inline-flex;align-items:center;gap:10px;padding:14px 22px;border-radius:999px;font-weight:600;font-size:15px;transition:transform .18s ease, box-shadow .18s ease, background .18s ease;white-space:nowrap}
.btn--primary{background:var(--yellow);color:#1a1206;box-shadow:0 6px 0 0 var(--yellow-2), 0 14px 24px -10px rgba(0,0,0,.25)}
.btn--primary:hover{transform:translateY(-2px);box-shadow:0 8px 0 0 var(--yellow-2), 0 18px 32px -10px rgba(0,0,0,.3)}
.btn--primary:active{transform:translateY(2px);box-shadow:0 2px 0 0 var(--yellow-2), 0 6px 12px -6px rgba(0,0,0,.2)}
.btn--red{background:var(--red);color:#fff;box-shadow:0 6px 0 0 var(--red-2), 0 14px 24px -10px rgba(230,57,70,.4)}
.btn--red:hover{transform:translateY(-2px);box-shadow:0 8px 0 0 var(--red-2), 0 18px 32px -10px rgba(230,57,70,.5)}
.btn--ghost-light{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.5)}
.btn--ghost-light:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.85)}
.btn--ghost{background:transparent;color:var(--ink);border:2px solid var(--line)}
.btn--ghost:hover{border-color:var(--ink)}
.btn .ico-pill{width:24px;height:24px;border-radius:6px;background:#fff;color:var(--red);display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;font-family:'Fredoka';margin-right:-2px}

/* ===== HERO ===== */
.hero{position:relative;background:linear-gradient(180deg,#062a72 0%,#0a44a8 38%,#0d56cf 70%,#1163da 100%);color:#fff;overflow:hidden;padding-bottom:0}
/* animated starfield across the WHOLE hero */
.starfield{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.starfield i{position:absolute;display:block;border-radius:50%;background:#fff;animation:twinkle 7s ease-in-out infinite}
.starfield i.big{width:3px;height:3px}
.starfield i.mid{width:2px;height:2px;opacity:.85}
.starfield i.sm{width:1.5px;height:1.5px;opacity:.7}
.starfield i.gold{background:#FFD86B;width:3px;height:3px}
@keyframes twinkle{0%,100%{opacity:.35;transform:scale(.75)}50%{opacity:1;transform:scale(1)}}
.starfield .glint{position:absolute;color:#FFD86B;animation:twinkle 9s ease-in-out infinite}
.starfield .glint svg{width:100%;height:100%;display:block}
.starfield .shoot{position:absolute;width:120px;height:2px;background:linear-gradient(90deg,transparent,#fff);border-radius:2px;opacity:0;animation:shootStar 9s ease-in infinite}
.starfield .shoot.s2{animation-delay:3s;animation-duration:11s}
.starfield .shoot.s3{animation-delay:6.5s;animation-duration:10s;width:90px}
.starfield .shoot.s4{animation-delay:1.5s;animation-duration:12s;width:150px}
@keyframes shootStar{0%{opacity:0;transform:translate(0,0) rotate(24deg)}3%{opacity:.9}14%{opacity:0;transform:translate(-320px,150px) rotate(24deg)}100%{opacity:0;transform:translate(-320px,150px) rotate(24deg)}}
.hero::before{
  content:"";position:absolute;inset:0;z-index:0;
  background:radial-gradient(ellipse 70% 50% at 50% 100%, rgba(31,122,239,.55), transparent 70%);
  pointer-events:none;
}

/* nav */
.nav{position:relative;z-index:5;padding:22px 0}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center;gap:10px;font-family:'Fredoka';font-weight:700;font-size:22px;letter-spacing:0.01em;color:#fff}
.brand-mark{
  width:36px;height:36px;border-radius:10px;
  background:linear-gradient(160deg,#fff 0%, #d8e8ff 100%);
  display:inline-flex;align-items:center;justify-content:center;color:var(--blue-1);
  box-shadow:0 4px 0 rgba(0,0,0,.08), inset 0 -3px 0 rgba(0,30,80,.1);
}
.brand-mark svg{width:22px;height:22px}
.brand b{font-weight:700}
.brand .dot-ba{font-weight:500;opacity:.85}

.nav-links{display:flex;align-items:center;gap:6px}
.nav-links a{
  position:relative;color:rgba(255,255,255,.92);font-weight:500;font-size:15px;
  padding:8px 14px;border-radius:999px;transition:background .18s ease;
}
.nav-links a:hover{background:rgba(255,255,255,.12)}
.nav-links .has-icon{display:inline-flex;align-items:center;gap:6px}
.nav-cta{display:flex;align-items:center;gap:10px}
.lang-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:14px;font-weight:500}
.lang-pill svg{width:14px;height:14px}

/* hero confetti */
.confetti{position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden}
.confetti i{position:absolute;display:block;animation:float 9s ease-in-out infinite}
.confetti i:nth-child(2){animation-duration:11s;animation-delay:-2s}
.confetti i:nth-child(3){animation-duration:13s;animation-delay:-4s}
.confetti i:nth-child(4){animation-duration:10s;animation-delay:-1s}
.confetti i:nth-child(5){animation-duration:12s;animation-delay:-3s}
.confetti i:nth-child(6){animation-duration:14s;animation-delay:-5s}
.confetti i:nth-child(7){animation-duration:11s;animation-delay:-2.5s}
.confetti i:nth-child(8){animation-duration:9s;animation-delay:-1.5s}
@keyframes float{
  0%,100%{transform:translate3d(0,0,0) rotate(var(--rot,0deg))}
  50%{transform:translate3d(var(--dx,8px),var(--dy,-12px),0) rotate(calc(var(--rot,0deg) + 18deg))}
}
.tri{width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:14px solid var(--yellow)}
.tri.lg{border-left-width:11px;border-right-width:11px;border-bottom-width:18px}
.dot{width:8px;height:8px;border-radius:50%;background:var(--yellow)}
.dot.red{background:var(--red);width:10px;height:10px}
.dot.white{background:rgba(255,255,255,.55);width:6px;height:6px}
.starx{width:22px;height:22px;color:var(--red)}
.spark{width:14px;height:14px;color:rgba(255,255,255,.7)}

/* hero content */
.hero-grid{
  position:relative;z-index:3;
  display:grid;grid-template-columns:1.05fr 1fr;gap:40px;align-items:center;
  padding:36px 0 80px;
}
.eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  font-size:13px;font-weight:500;color:#eaf3ff;
  backdrop-filter:blur(6px);
}
.eyebrow .pulse{width:8px;height:8px;border-radius:50%;background:var(--yellow);box-shadow:0 0 0 0 rgba(255,199,50,.7);animation:pulse 1.8s ease-out infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255,199,50,.6)}70%{box-shadow:0 0 0 12px rgba(255,199,50,0)}100%{box-shadow:0 0 0 0 rgba(255,199,50,0)}}

h1.hero-title{
  font-family:'Fredoka';font-weight:600;font-size:clamp(40px,5.5vw,72px);
  line-height:1.02;letter-spacing:-0.02em;margin:18px 0 18px;color:#fff;
  text-wrap:balance;
}
h1.hero-title .hl{
  display:inline-block;background:var(--yellow);color:#1a1206;
  padding:0 14px;border-radius:14px;
  box-shadow:0 6px 0 var(--yellow-2);
  transform:translateY(-2px);
}
h1.hero-title .scribble{position:relative;display:inline-block}
h1.hero-title .scribble::after{
  content:"";position:absolute;left:-4px;right:-4px;bottom:-2px;height:10px;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'><path d='M2,7 Q25,1 50,6 T98,5' stroke='%23FFC732' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") no-repeat center/100% 100%;
}
.hero-sub{font-size:18px;line-height:1.6;color:rgba(255,255,255,.88);max-width:540px;margin:0 0 28px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.hero-trust{display:flex;align-items:center;gap:14px;margin-top:30px;color:rgba(255,255,255,.85);font-size:14px}
.avatar-stack{display:flex}
.avatar-stack i{
  width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  font-style:normal;font-weight:700;font-size:13px;color:#fff;
  border:2px solid var(--blue-1);margin-left:-8px;
}
.avatar-stack i:nth-child(1){background:#FF7A6A;margin-left:0}
.avatar-stack i:nth-child(2){background:#5DD0A4}
.avatar-stack i:nth-child(3){background:#FFC732;color:#1a1206}
.avatar-stack i:nth-child(4){background:rgba(255,255,255,.18);font-size:12px}
.stars{display:inline-flex;gap:1px;color:var(--yellow);vertical-align:-1px}

/* ===== HERO VIDEO ===== */
.scene{position:relative;height:600px;display:flex;align-items:center;justify-content:center}
.video-card{
  position:relative;width:100%;max-width:580px;aspect-ratio:9/11;
  border-radius:32px;overflow:hidden;
  background:linear-gradient(155deg,#0E5BD9 0%,#072d6b 60%,#04153a 100%);
  box-shadow:0 30px 80px -20px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.18),
    0 0 0 1px rgba(255,255,255,.10);
  isolation:isolate;
  transform:rotate(-1.5deg);
  animation:videoFloat 7s ease-in-out infinite;
}
@keyframes videoFloat{0%,100%{transform:translateY(0) rotate(-1.5deg)}50%{transform:translateY(-12px) rotate(0.5deg)}}
.video-card .stripe{
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse 60% 40% at 30% 20%, rgba(255,177,0,.22), transparent 60%),
    radial-gradient(ellipse 50% 35% at 75% 80%, rgba(230,57,70,.20), transparent 60%);
  mix-blend-mode:screen;pointer-events:none;
}
.video-card .grid-bg{
  position:absolute;inset:0;opacity:.18;
  background-image:linear-gradient(rgba(255,255,255,.4) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.4) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:radial-gradient(circle at 50% 50%,#000,transparent 75%);
  -webkit-mask-image:radial-gradient(circle at 50% 50%,#000,transparent 75%);
}
.video-card .vlabel{
  position:absolute;top:18px;left:18px;display:inline-flex;align-items:center;gap:8px;
  background:rgba(255,255,255,.14);backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;font-family:'Fredoka';font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  padding:7px 12px 7px 8px;border-radius:999px;z-index:3;
}
.video-card .vlabel .rec{width:8px;height:8px;border-radius:50%;background:#FF4757;box-shadow:0 0 0 4px rgba(255,71,87,.25);animation:rec 1.6s ease-in-out infinite}
@keyframes rec{0%,100%{opacity:1;box-shadow:0 0 0 4px rgba(255,71,87,.25)}50%{opacity:.6;box-shadow:0 0 0 8px rgba(255,71,87,0)}}
.video-card .vmeta{
  position:absolute;top:18px;right:18px;display:inline-flex;align-items:center;gap:6px;
  background:rgba(0,0,0,.32);backdrop-filter:blur(8px);color:#fff;font-size:12px;font-weight:600;font-family:'Fredoka';
  padding:7px 12px;border-radius:999px;z-index:3;
}
.video-card .center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;z-index:2}
.video-card .play{
  width:96px;height:96px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#fff,#FFEFC4 60%,#FFB100);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 18px 48px rgba(255,177,0,.45),0 0 0 8px rgba(255,255,255,.10),0 0 0 18px rgba(255,255,255,.05);
  cursor:pointer;transition:transform .25s ease;
  animation:playPulse 2.4s ease-in-out infinite;
}
.video-card .play:hover{transform:scale(1.08)}
@keyframes playPulse{0%,100%{box-shadow:0 18px 48px rgba(255,177,0,.45),0 0 0 8px rgba(255,255,255,.12),0 0 0 22px rgba(255,255,255,.06)}50%{box-shadow:0 18px 48px rgba(255,177,0,.55),0 0 0 14px rgba(255,255,255,.18),0 0 0 34px rgba(255,255,255,0)}}
.video-card .play svg{width:38px;height:38px;color:#0E5BD9;margin-left:4px}
.video-card .vtitle{color:#fff;font-family:'Fredoka';font-weight:600;font-size:18px;text-align:center;letter-spacing:-.01em;text-shadow:0 2px 14px rgba(0,0,0,.35)}
.video-card .vsub{color:rgba(255,255,255,.72);font-size:13px;margin-top:-12px;text-align:center}
.video-card .vfoot{position:absolute;left:18px;right:18px;bottom:16px;z-index:3;display:flex;flex-direction:column;gap:10px}
.video-card .vfoot-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.video-card .progress{position:relative;height:4px;border-radius:999px;background:rgba(255,255,255,.18);overflow:hidden}
.video-card .progress::after{content:"";display:block;height:100%;width:34%;background:linear-gradient(90deg,#FFB100,#E63946);border-radius:999px;animation:progBar 6s linear infinite}
@keyframes progBar{0%{width:0%}100%{width:100%}}
.video-card .scrub{color:rgba(255,255,255,.78);font-size:11px;font-family:'Fredoka';font-weight:500;line-height:1}
.video-card .scrub b{color:#fff}
.video-card .ctrls{display:flex;gap:6px}
.video-card .ctrls span{width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.14);backdrop-filter:blur(8px);display:inline-flex;align-items:center;justify-content:center;color:#fff}
.video-card .ctrls span svg{width:13px;height:13px}

/* floating chips orbiting the video */
.float-chip{
  position:absolute;display:inline-flex;align-items:center;gap:8px;
  background:#fff;color:var(--ink);padding:10px 14px 10px 10px;border-radius:999px;
  font-family:'Fredoka';font-weight:600;font-size:13px;
  box-shadow:0 16px 36px -10px rgba(0,0,0,.35);
  z-index:4;
}
.float-chip .ico{width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff}
.float-chip .ico svg{width:14px;height:14px}
.float-chip.c1{top:6%;right:-4%;background:#fff;animation:floatA 6s ease-in-out infinite}
.float-chip.c1 .ico{background:#FFB100;color:#3a2400}
.float-chip.c2{top:46%;left:-8%;animation:floatB 7s ease-in-out infinite}
.float-chip.c2 .ico{background:#E63946}
.float-chip.c3{bottom:8%;right:-2%;animation:floatA 8s ease-in-out infinite reverse}
.float-chip.c3 .ico{background:var(--blue-1)}
@keyframes floatA{0%,100%{transform:translateY(0) rotate(2deg)}50%{transform:translateY(-12px) rotate(-1deg)}}
@keyframes floatB{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(10px) rotate(1deg)}}

/* sparkles around the video */
.sparkles{position:absolute;inset:-30px;pointer-events:none;z-index:0}
.sparkles span{position:absolute;display:block}
.sparkles span::before{content:"";display:block;width:100%;height:100%;background:#FFD86B;border-radius:50%;animation:sparkleTwinkle 3s ease-in-out infinite}
.sparkles span:nth-child(1){top:8%;left:10%;width:10px;height:10px;animation-delay:0s}
.sparkles span:nth-child(2){top:20%;right:14%;width:7px;height:7px;animation-delay:.6s}
.sparkles span:nth-child(2)::before{background:#E63946}
.sparkles span:nth-child(3){bottom:18%;left:6%;width:8px;height:8px;animation-delay:1.1s}
.sparkles span:nth-child(3)::before{background:#fff}
.sparkles span:nth-child(4){bottom:4%;right:18%;width:12px;height:12px;animation-delay:1.6s}
.sparkles span:nth-child(5){top:42%;right:-2%;width:6px;height:6px;animation-delay:2.1s}
.sparkles span:nth-child(5)::before{background:#E63946}
@keyframes sparkleTwinkle{0%,100%{transform:scale(.6);opacity:.4}50%{transform:scale(1);opacity:1}}

/* hero horizon — hills + stargazing mascot */
.hero-waves{position:relative;width:100%;line-height:0;margin-top:-70px;z-index:2}
.hero-waves svg{width:100%;height:auto;display:block}
.hw-star{animation:hwTwinkle 6.5s ease-in-out infinite}
.hw-star:nth-of-type(2n){animation-duration:8.2s;animation-delay:-1.6s}
.hw-star:nth-of-type(3n){animation-duration:5.4s;animation-delay:-3.2s}
.hw-star:nth-of-type(5n){animation-duration:9.6s;animation-delay:-4.8s}
@keyframes hwTwinkle{0%,100%{opacity:.25;transform:scale(.7)}50%{opacity:1;transform:scale(1)}}
.hw-shoot{animation:shoot 7s ease-in infinite}
@keyframes shoot{0%{opacity:0;transform:translate(0,0)}6%{opacity:1}18%{opacity:0;transform:translate(-190px,96px)}100%{opacity:0;transform:translate(-190px,96px)}}
.hw-mascot{transform-origin:820px 200px;animation:mFloat 6s ease-in-out infinite}
@keyframes mFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
.hw-head{transform-origin:820px 158px;animation:mGaze 9s ease-in-out infinite}
@keyframes mGaze{0%,26%{transform:rotate(-20deg)}44%,64%{transform:rotate(-12deg)}80%,100%{transform:rotate(-20deg)}}
.hw-body{transform-origin:820px 196px;animation:mLean 9s ease-in-out infinite}
@keyframes mLean{0%,26%{transform:rotate(-3deg)}44%,64%{transform:rotate(-1deg)}80%,100%{transform:rotate(-3deg)}}
.hw-arm{transform-origin:832px 166px;animation:mScan 9s ease-in-out infinite}
@keyframes mScan{0%,24%{transform:rotate(2deg)}44%,64%{transform:rotate(-3deg)}80%,100%{transform:rotate(2deg)}}
.hw-blink{animation:mBlink 6s infinite}
@keyframes mBlink{0%,44%,49%,100%{transform:scaleY(1)}46%,47%{transform:scaleY(.08)}}
.hw-drift{animation:drift 12s ease-in-out infinite}
@keyframes drift{0%,100%{transform:translate(0,0) rotate(0)}50%{transform:translate(10px,-8px) rotate(16deg)}}

/* ===== STATS strip ===== */
.stats{padding:40px 0;background:#fff;border-bottom:1px solid var(--line)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.stat{padding:8px 14px;text-align:center;position:relative}
.stat:not(:last-child)::after{content:"";position:absolute;right:0;top:18%;bottom:18%;width:1px;background:var(--line)}
.stat .num{font-family:'Fredoka';font-weight:600;font-size:42px;color:var(--blue-1);letter-spacing:-0.02em;line-height:1}
.stat .num .suffix{color:var(--yellow-2)}
.stat .lbl{font-size:13px;text-transform:uppercase;letter-spacing:0.08em;color:var(--muted);margin-top:8px;font-weight:500}

/* ===== SECTIONS ===== */
.sec{padding:96px 0}
.sec.alt{background:var(--bg-2)}
.sec-head{max-width:780px;margin:0 0 56px}
.sec-head.center{margin-left:auto;margin-right:auto;text-align:center}
.sec-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;text-transform:uppercase;letter-spacing:0.12em;color:var(--blue-1);font-weight:600;margin-bottom:14px}
.sec-eyebrow::before{content:"";width:24px;height:2px;background:var(--blue-1);border-radius:2px}
.sec-title{font-family:'Fredoka';font-weight:600;font-size:clamp(32px,3.6vw,48px);line-height:1.05;letter-spacing:-0.015em;margin:0 0 16px;color:var(--ink)}
.sec-title .hl{background:var(--yellow);padding:0 10px;border-radius:10px;display:inline-block;box-shadow:0 4px 0 var(--yellow-2);transform:translateY(-1px)}
.sec-sub{font-size:17px;color:var(--ink-2);max-width:620px}
.sec-head.center .sec-sub{margin-left:auto;margin-right:auto}

/* ===== AI TUTOR — hero feature ===== */
.ai-section{position:relative;padding:120px 0 110px;background:linear-gradient(180deg,#fff 0%, #f5f8ff 100%);overflow:hidden}
.ai-section::before{
  content:"";position:absolute;left:-100px;top:80px;width:240px;height:240px;border-radius:50%;
  background:radial-gradient(circle, rgba(15,91,217,.08), transparent 70%);
}
.ai-section::after{
  content:"";position:absolute;right:-120px;bottom:60px;width:300px;height:300px;border-radius:50%;
  background:radial-gradient(circle, rgba(255,199,50,.18), transparent 70%);
}
.ai-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:60px;align-items:center;position:relative}
.ai-badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 14px;border-radius:999px;
  background:linear-gradient(90deg, rgba(15,91,217,.08), rgba(255,199,50,.18));
  color:var(--blue-1);font-size:13px;font-weight:600;letter-spacing:0.04em;
  margin-bottom:18px;
}
.ai-badge .star{width:14px;height:14px;color:var(--yellow-2)}
.ai-feats{display:grid;gap:14px;margin-top:30px}
.ai-feat{display:flex;gap:14px;align-items:flex-start}
.ai-feat .ico{
  flex-shrink:0;width:40px;height:40px;border-radius:12px;
  background:linear-gradient(160deg,#FFD86B,#FFB100);
  display:inline-flex;align-items:center;justify-content:center;color:#1a1206;
  box-shadow:0 4px 0 var(--yellow-2);
}
.ai-feat .ico svg{width:20px;height:20px}
.ai-feat h3{font-family:'Fredoka';font-weight:600;font-size:18px;margin:6px 0 4px;color:var(--ink)}
.ai-feat p{margin:0;font-size:15px;color:var(--ink-2);line-height:1.5}

/* AI chat mock */
.chat{
  background:#fff;border-radius:28px;padding:22px;
  box-shadow:0 30px 80px -30px rgba(15,27,51,.25), 0 1px 0 rgba(15,27,51,.04);
  border:1px solid var(--line);position:relative;
}
.chat::before{
  content:"";position:absolute;inset:-2px;border-radius:30px;z-index:-1;
  background:linear-gradient(135deg, rgba(255,199,50,.45), rgba(15,91,217,.35), rgba(230,57,70,.3));
  filter:blur(18px);opacity:.5;
}
.chat-head{display:flex;align-items:center;gap:12px;padding:6px 6px 16px;border-bottom:1px solid var(--line);margin-bottom:16px}
.chat-head .avi{
  width:42px;height:42px;border-radius:50%;background:var(--mascot);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  box-shadow:0 4px 10px -4px rgba(245,188,31,.6);
}
.chat-head .cname{font-family:'Fredoka';font-weight:600;font-size:17px;margin:0;color:var(--ink)}
.chat-head .status{font-size:12px;color:var(--mint);display:flex;align-items:center;gap:6px;font-weight:500}
.chat-head .status::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--mint)}
.chat-body{display:flex;flex-direction:column;gap:14px;padding:6px 0;max-height:380px;overflow:hidden}
.msg{display:flex;gap:10px;max-width:88%;animation:slideUp .5s ease both}
.msg.bot{align-self:flex-start}
.msg.you{align-self:flex-end;flex-direction:row-reverse}
.msg .av{
  width:30px;height:30px;border-radius:50%;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;
}
.msg.bot .av{background:var(--mascot)}
.msg.you .av{background:var(--blue-1);color:#fff}
.msg .bub{
  padding:12px 16px;border-radius:16px;font-size:14.5px;line-height:1.5;
}
.msg.bot .bub{background:#F4F6FB;color:var(--ink);border-top-left-radius:4px}
.msg.you .bub{background:var(--blue-1);color:#fff;border-top-right-radius:4px}
.msg .math{
  display:block;margin-top:6px;padding:8px 10px;background:#fff;border-radius:8px;
  font-family:'Fredoka',serif;font-size:16px;color:var(--ink);border:1px dashed var(--line);
}
.msg .step-row{display:flex;align-items:center;gap:8px;margin-top:6px}
.msg .step-row .pill{font-size:11px;background:var(--blue-1);color:#fff;padding:2px 8px;border-radius:999px;font-weight:600}
@keyframes slideUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.typing{display:inline-flex;gap:4px;padding:14px 16px;background:#F4F6FB;border-radius:16px;border-top-left-radius:4px;align-self:flex-start}
.typing span{width:7px;height:7px;border-radius:50%;background:#9aa6c2;animation:typed 1.2s ease-in-out infinite}
.typing span:nth-child(2){animation-delay:.2s}
.typing span:nth-child(3){animation-delay:.4s}
@keyframes typed{0%,80%,100%{transform:translateY(0);opacity:.4}40%{transform:translateY(-4px);opacity:1}}
.chat-input{
  display:flex;align-items:center;gap:10px;margin-top:14px;
  border:1px solid var(--line);border-radius:14px;padding:10px 12px;background:#FAFBFD;
}
.chat-input input{flex:1;border:0;background:transparent;font:inherit;font-size:14.5px;color:var(--ink);outline:none}
.chat-input input::placeholder{color:#9aa6c2}
.chat-input .send{
  width:36px;height:36px;border-radius:10px;background:var(--blue-1);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;
}
.chat-input .send svg{width:16px;height:16px}
.chat-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.chat-tags span{
  font-size:12px;padding:6px 10px;border-radius:999px;background:#fff;
  border:1px solid var(--line);color:var(--ink-2);font-weight:500;
}

/* ===== PRICING BAND ===== */
.pricing{padding:0 0 96px;background:linear-gradient(180deg,#f5f8ff 0%,#fff 100%)}
.price-band{position:relative;border-radius:32px;overflow:hidden;background:linear-gradient(135deg,#0E5BD9 0%,#1F7AEF 55%,#3B95FF 100%);color:#fff;padding:52px 48px}
.price-band::before{content:"";position:absolute;top:-60px;right:-40px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(255,199,50,.45),transparent 70%)}
.price-band::after{content:"";position:absolute;bottom:-70px;left:-50px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(230,57,70,.32),transparent 70%)}
.price-head{position:relative;z-index:2;text-align:center;margin-bottom:36px}
.price-head .kicker{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);padding:7px 14px;border-radius:999px;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;backdrop-filter:blur(6px);margin-bottom:16px}
.price-head h2{font-family:'Fredoka';font-weight:600;font-size:clamp(28px,3.4vw,42px);line-height:1.08;letter-spacing:-.02em;margin:0}
.price-head h2 .hl{background:var(--yellow);color:#1a1206;padding:0 12px;border-radius:12px;display:inline-block;box-shadow:0 5px 0 var(--yellow-2)}
.price-grid{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:20px}
.price-card{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.22);border-radius:24px;padding:28px;backdrop-filter:blur(10px);display:flex;flex-direction:column}
.price-card.paid{background:#fff;color:var(--ink);border-color:transparent;box-shadow:0 24px 50px -20px rgba(0,0,0,.4)}
.price-card .tag{display:inline-flex;align-items:center;gap:7px;align-self:flex-start;font-family:'Fredoka';font-weight:600;font-size:11.5px;letter-spacing:.09em;text-transform:uppercase;padding:6px 12px;border-radius:999px;margin-bottom:16px}
.price-card.free .tag{background:#5DD0A4;color:#04301f}
.price-card.paid .tag{background:var(--yellow);color:#1a1206}
.price-card .amount{font-family:'Fredoka';font-weight:700;font-size:46px;line-height:1;letter-spacing:-.02em;display:flex;align-items:baseline;gap:8px}
.price-card .amount small{font-size:16px;font-weight:500;opacity:.7;letter-spacing:0}
.price-card .what{font-size:15.5px;line-height:1.5;margin:12px 0 18px;opacity:.9}
.price-card.paid .what{opacity:1;color:var(--ink-2)}
.price-card ul{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:9px}
.price-card li{display:flex;gap:9px;align-items:flex-start;font-size:14.5px;line-height:1.45}
.price-card li svg{flex-shrink:0;width:17px;height:17px;margin-top:2px}
.price-card.free li svg{color:#5DD0A4}
.price-card.paid li svg{color:var(--blue-1)}
.price-card .foot{margin-top:auto}
.price-note{position:relative;z-index:2;text-align:center;margin-top:26px;font-size:14px;color:rgba(255,255,255,.82)}
.price-note b{color:#fff}
@media (max-width:820px){.price-band{padding:38px 24px}.price-grid{grid-template-columns:1fr}}

/* ===== PILLARS ===== */
.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.pillar{
  position:relative;background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;
  transition:transform .25s ease, box-shadow .25s ease;
  box-shadow:var(--shadow-card);
}
.pillar:hover{transform:translateY(-4px);box-shadow:var(--shadow-card-hover)}
.pillar-ico{
  width:54px;height:54px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;
  margin-bottom:18px;color:var(--accent,#FF7A6A);
  background:color-mix(in oklab,var(--accent,#FF7A6A) 14%, white);
}
.pillar h3{font-family:'Fredoka';font-weight:600;font-size:22px;margin:0 0 14px}
.pillar ul{list-style:none;padding:0;margin:0 0 18px;display:grid;gap:10px}
.pillar ul li{display:flex;gap:10px;align-items:flex-start;font-size:15px;color:var(--ink-2)}
.pillar ul li::before{
  content:"";flex-shrink:0;width:18px;height:18px;border-radius:50%;
  background:color-mix(in oklab,var(--accent) 14%, white);
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E5BD9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size:12px;background-position:center;background-repeat:no-repeat;
  margin-top:2px;
}
.pillar-link{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--accent,var(--blue-1));font-size:14px}

/* ===== STEPS ===== */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;position:relative}
.steps::before{
  content:"";position:absolute;left:8%;right:8%;top:54px;height:2px;
  background-image:linear-gradient(90deg,var(--blue-1) 0 8px,transparent 8px 16px);
  background-size:16px 2px;background-repeat:repeat-x;z-index:0;
}
.step{
  position:relative;z-index:1;background:#fff;border-radius:22px;padding:28px;
  border:1px solid var(--line);box-shadow:var(--shadow-card);
}
.step-num{
  width:46px;height:46px;border-radius:14px;background:var(--blue-1);color:#fff;
  font-family:'Fredoka';font-weight:700;font-size:20px;
  display:inline-flex;align-items:center;justify-content:center;margin-bottom:18px;
  box-shadow:0 4px 0 var(--blue-deep);
}
.step h3{font-family:'Fredoka';font-weight:600;font-size:20px;margin:0 0 8px}
.step p{margin:0;color:var(--ink-2);font-size:15px}

/* ===== SUBJECTS — playful asymmetric bento ===== */
.subjects{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  grid-auto-rows:minmax(180px,auto);
  gap:18px;
}
.subject{
  position:relative;border-radius:28px;padding:24px;color:#fff;text-align:left;
  display:flex;flex-direction:column;justify-content:space-between;
  overflow:hidden;isolation:isolate;
  border:none;cursor:pointer;
  font-family:inherit;
  transition:transform .25s ease, box-shadow .25s ease;
  box-shadow:0 12px 28px rgba(20,30,60,.10), 0 1px 0 rgba(255,255,255,.5) inset;
  min-height:240px;
}
.subject:hover{transform:translateY(-6px) rotate(-.4deg);box-shadow:0 26px 54px rgba(20,30,60,.20)}
.subject:hover .glyph{transform:scale(1.08) rotate(-4deg);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.subject .glyph{transition:transform .35s ease}
@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}
.subject:hover .blob.b1{animation:blobFloat 3s ease-in-out infinite}
@keyframes blobFloat{0%,100%{transform:translate(0,0)}50%{transform:translate(-8px,8px)}}
/* hand-drawn doodle layer */
/* subject-specific background motif layer */
.subject .pattern{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden;
  mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.5) 12%,#000 26%,#000 62%,rgba(0,0,0,.3) 78%,transparent 90%);
  -webkit-mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.5) 12%,#000 26%,#000 62%,rgba(0,0,0,.3) 78%,transparent 90%);}
.subject .pattern svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.subject--hem .pattern{opacity:.55}
.subject .doodle{
  position:absolute;inset:0;pointer-events:none;opacity:.16;
  background-image:radial-gradient(circle at 20% 30%, rgba(255,255,255,.5) 1.5px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.45) 1px, transparent 1.5px),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,.4) 1px, transparent 1.5px);
  background-size:120px 120px,90px 90px,140px 140px;
}
.subject .blob{
  position:absolute;width:240px;height:240px;border-radius:50%;
  background:rgba(255,255,255,.18);filter:blur(2px);z-index:-1;
}
.subject .blob.b1{top:-90px;right:-60px}
.subject .blob.b2{bottom:-110px;left:-70px;width:200px;height:200px;background:rgba(255,255,255,.12)}

/* layout sizing — asymmetric */
.subject--mat{grid-column:span 6;grid-row:span 2;min-height:380px}
.subject--bhs{grid-column:span 6}
.subject--bio{grid-column:span 4}
.subject--hem{grid-column:span 4}
.subject--fiz{grid-column:span 4}

.subject .head{display:flex;align-items:center;justify-content:space-between;gap:8px;position:relative;z-index:2}
.subject .grade-pill{
  display:inline-flex;align-items:center;gap:6px;
  font-family:'Fredoka';font-size:11.5px;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;
  background:rgba(255,255,255,.22);color:#fff;padding:6px 12px;border-radius:999px;
  backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.25);
}
.subject--hem .grade-pill{background:rgba(58,36,0,.14);color:#3a2400;border-color:rgba(58,36,0,.18)}
.subject .badge-q{
  font-family:'Fredoka';font-size:11.5px;font-weight:600;
  background:rgba(255,255,255,.94);color:#0E5BD9;
  padding:5px 10px;border-radius:999px;display:inline-flex;align-items:center;gap:5px;
  box-shadow:0 4px 10px rgba(0,0,0,.08);
}
.subject .badge-q svg{width:11px;height:11px}
.subject .center-art{
  flex:1;display:flex;align-items:center;justify-content:center;position:relative;z-index:2;
  margin:8px 0;
}
.subject .glyph{
  display:flex;align-items:center;justify-content:center;
  transition:transform .35s cubic-bezier(.2,.8,.2,1);
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.18));
}
.subject .glyph svg{width:132px;height:132px;display:block}
.subject--mat .glyph svg{width:190px;height:190px}
.subject .meta{position:relative;z-index:2}
.subject .name{font-family:'Fredoka';font-weight:700;font-size:26px;letter-spacing:-.01em}
.subject--mat .name{font-size:34px}
.subject .info{font-size:13.5px;opacity:.92;margin-top:4px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.subject .info .dot{width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.5}
.subject .arrow{
  position:absolute;top:18px;right:18px;
  width:34px;height:34px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.92);color:#0E5BD9;
  transition:transform .25s ease;z-index:3;
  box-shadow:0 4px 10px rgba(0,0,0,.10);
}
.subject:hover .arrow{transform:translate(2px,-2px) rotate(-12deg)}
.subject--hem .arrow{color:#B97F0C}
.subject--bhs .arrow{color:#C7222E}
.subject--bio .arrow{color:#1A8A5E}
.subject--fiz .arrow{color:#14567F}

/* mini ai-prompt floating chip on featured card */
.subject--mat .ai-chip{
  position:absolute;top:24px;right:64px;z-index:3;
  display:inline-flex;align-items:center;gap:8px;
  background:#fff;color:#0E5BD9;border-radius:999px;
  padding:7px 14px 7px 8px;font-size:12.5px;font-weight:600;font-family:'Fredoka';
  box-shadow:0 8px 22px rgba(0,0,0,.18);
}
.subject--mat .ai-chip .av{
  width:22px;height:22px;border-radius:50%;background:#FFB100;
  display:inline-flex;align-items:center;justify-content:center;font-size:12px;color:#3a2400;
}

/* old keep — placeholder */
.subject_keep{
  position:relative;border-radius:24px;padding:26px 22px 24px;color:#fff;text-align:left;
  min-height:280px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;
  transition:transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
  box-shadow:0 18px 36px -18px rgba(0,0,0,.25);
  border:0;
}
.subject::before{
  content:"";position:absolute;inset:0;border-radius:24px;
  background:radial-gradient(circle at 75% 110%, rgba(255,255,255,.18), transparent 50%);
  pointer-events:none;
}
.subject:hover{transform:translateY(-8px) rotate(-1.2deg);box-shadow:0 30px 50px -18px rgba(0,0,0,.35)}
.subject:nth-child(2):hover{transform:translateY(-8px) rotate(1.2deg)}
.subject:nth-child(4):hover{transform:translateY(-8px) rotate(1.2deg)}
.subject .top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.subject .grade{font-family:'Fredoka';font-size:12px;font-weight:600;letter-spacing:0.04em;background:rgba(255,255,255,.22);color:#fff;padding:5px 10px;border-radius:999px;backdrop-filter:blur(4px)}
.subject--hem .grade{background:rgba(0,0,0,.16);color:#3a2400}
.subject .glyph{
  font-family:'Fredoka';font-weight:700;font-size:120px;line-height:.85;
  text-align:center;margin:8px auto 0;
  text-shadow:0 6px 0 rgba(0,0,0,.08), 0 14px 24px rgba(0,0,0,.18);
}
.subject .meta{margin-top:auto}
.subject .name{font-family:'Fredoka';font-weight:600;font-size:22px;letter-spacing:-0.01em}
.subject .info{font-size:13px;opacity:.92;margin-top:3px;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center}
.subject .info .sep{opacity:.5}
.subject .arrow{
  width:34px;height:34px;border-radius:11px;
  background:rgba(255,255,255,.22);display:inline-flex;align-items:center;justify-content:center;
  transition:transform .25s ease, background .2s ease;
}
.subject:hover .arrow{transform:translate(2px,-2px) rotate(-8deg);background:rgba(255,255,255,.34)}
.subject--hem .arrow{background:rgba(0,0,0,.14)}
.subject--hem:hover .arrow{background:rgba(0,0,0,.22)}
.subject--mat{background:linear-gradient(155deg,#3B95FF 0%,#0E5BD9 100%)}
.subject--bhs{background:linear-gradient(155deg,#FF8A6F 0%,#E55C44 100%)}
.subject--bio{background:linear-gradient(155deg,#6BD8AD 0%,#27A276 100%)}
.subject--hem{background:linear-gradient(155deg,#FFD86B 0%,#FFB100 100%);color:#3a2400}
.subject--fiz{background:linear-gradient(155deg,#4FC3E8 0%,#1B6FA8 100%)}
.subjects-foot{display:flex;justify-content:center;margin-top:36px}
.subjects-foot .helper{display:inline-flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);padding:10px 18px 10px 12px;border-radius:999px;box-shadow:var(--shadow-card)}
.subjects-foot .helper .av{width:36px;height:36px;border-radius:50%;background:var(--mascot);overflow:hidden;display:inline-flex;align-items:flex-end;justify-content:center}
.subjects-foot .helper .av img{width:100%;height:auto;display:block}
.subjects-foot .helper .txt{font-size:14px;color:var(--ink-2)}
.subjects-foot .helper .txt b{color:var(--ink)}

/* ===== TESTIMONIALS ===== */
.t-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tcard{background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px;position:relative;box-shadow:var(--shadow-card)}
.tcard .qm{font-family:'Fredoka';font-size:54px;color:var(--accent,#FFC732);line-height:.6;display:block;margin-bottom:6px}
.tcard p{font-size:15.5px;color:var(--ink);line-height:1.55;margin:8px 0 18px}
.tcard .who{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:14px}
.tcard .who .avi{width:38px;height:38px;border-radius:50%;background:var(--accent,#FFC732);color:#fff;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.tcard .who-name{font-weight:600}
.tcard .who-role{font-size:12px;color:var(--muted)}

/* ===== FAQ ===== */
.faq{display:grid;gap:12px;max-width:820px;margin:0 auto}
.faq-item{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px 24px;cursor:pointer;transition:box-shadow .2s ease,border-color .2s ease}
.faq-item:hover{border-color:#cdd5e8}
.faq-q{font-family:'Fredoka';font-weight:500;font-size:17px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.faq-toggle{width:28px;height:28px;border-radius:50%;background:var(--bg-2);color:var(--blue-1);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .25s ease,background .2s ease}
.faq-toggle::before{content:"+";font-family:'Fredoka';font-size:20px;font-weight:600;line-height:1}
.faq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .32s cubic-bezier(.2,.8,.2,1),margin .24s ease;color:var(--ink-2);font-size:15px;line-height:1.55}
.faq-a>*{overflow:hidden;min-height:0}
.faq-item[data-open="true"] .faq-toggle{background:var(--blue-1);color:#fff;transform:rotate(45deg)}
.faq-item[data-open="true"] .faq-a{grid-template-rows:1fr;margin-top:14px}

/* ===== CTA ===== */
.cta-block{
  background:linear-gradient(135deg,#0E5BD9,#1F7AEF 60%, #3B95FF);color:#fff;
  border-radius:32px;padding:60px 40px;text-align:center;position:relative;overflow:hidden;
}
.cta-block::before{
  content:"";position:absolute;top:-40px;right:-40px;width:240px;height:240px;border-radius:50%;
  background:radial-gradient(circle, rgba(255,199,50,.6), transparent 70%);
}
.cta-block::after{
  content:"";position:absolute;bottom:-40px;left:-40px;width:200px;height:200px;border-radius:50%;
  background:radial-gradient(circle, rgba(230,57,70,.4), transparent 70%);
}
.cta-block h2{font-family:'Fredoka';font-weight:600;font-size:clamp(28px,3.5vw,42px);margin:0 0 12px;position:relative;z-index:1}
.cta-block h2 .hl{background:var(--yellow);color:#1a1206;padding:0 10px;border-radius:10px;display:inline-block;box-shadow:0 4px 0 var(--yellow-2);transform:translateY(-1px)}
.cta-block p{position:relative;z-index:1;color:rgba(255,255,255,.92);font-size:17px;margin:0 0 26px}
.cta-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;position:relative;z-index:1}

/* ===== PARTNER ===== */
.partner{padding:34px 0;background:var(--bg-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.partner-inner{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap}
.partner-label{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:0.12em;font-weight:600}
.partner-name{display:inline-flex;align-items:center;gap:12px;color:var(--ink);font-weight:500;font-size:15px}
.partner-crest{width:36px;height:36px;border-radius:8px;background:var(--blue-1);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}

/* ===== FOOTER ===== */
.footer{background:#0a1224;color:rgba(255,255,255,.7);padding:60px 0 28px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,.08)}
.footer h3{font-family:'Fredoka';font-weight:500;font-size:14px;color:#fff;text-transform:uppercase;letter-spacing:0.12em;margin:0 0 16px}
.footer ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.footer ul a{color:rgba(255,255,255,.65);font-size:14px}
.footer ul a:hover{color:#fff}
.footer .brand{color:#fff;margin-bottom:16px}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:rgba(255,255,255,.45);padding-top:24px}

/* ===== REVEAL ===== */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .46s ease, transform .46s cubic-bezier(.2,.8,.2,1)}
.reveal.in{opacity:1;transform:none}
.reveal-stagger > *{opacity:0;transform:translateY(18px);transition:opacity .46s ease, transform .46s cubic-bezier(.2,.8,.2,1)}
.reveal-stagger.in > *{opacity:1;transform:none}
.reveal-stagger.in > *:nth-child(1){transition-delay:0s}
.reveal-stagger.in > *:nth-child(2){transition-delay:.08s}
.reveal-stagger.in > *:nth-child(3){transition-delay:.16s}
.reveal-stagger.in > *:nth-child(4){transition-delay:.24s}
.reveal-stagger.in > *:nth-child(5){transition-delay:.32s}
.reveal-stagger.in > *:nth-child(6){transition-delay:.40s}

/* ===== RESPONSIVE ===== */
@media (max-width:1100px){
  .hero-grid{grid-template-columns:1fr;gap:0}
  .scene{height:auto;padding:20px 0;margin-top:20px}
  .video-card{max-width:480px}
  .float-chip.c1{right:0;top:-2%}
  .float-chip.c2{left:0}
  .float-chip.c3{right:0}
  .ai-grid{grid-template-columns:1fr;gap:40px}
  .pillars,.steps,.t-grid{grid-template-columns:1fr;gap:18px}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:32px}
  .subjects{grid-template-columns:repeat(2,1fr);gap:14px;grid-auto-rows:auto}
  .subject{min-height:220px;padding:22px 18px}
  .subject--mat,.subject--bhs,.subject--bio,.subject--hem,.subject--fiz{grid-column:span 1;grid-row:span 1;min-height:220px}
  .subject--mat{grid-column:span 2;min-height:280px}
  .subject .glyph svg{width:96px;height:96px}
  .subject--mat .glyph svg{width:150px;height:150px}
  .subject--mat .name{font-size:28px}
  .subject--mat .ai-chip{display:none}
  .footer-grid{grid-template-columns:1fr 1fr;gap:32px}
  .nav-links{display:none}
  .steps::before{display:none}
}
@media (max-width:600px){
  .stats-grid{grid-template-columns:1fr 1fr}
  .subjects{grid-template-columns:1fr;gap:12px}
  .subject,.subject--mat{grid-column:span 1;min-height:180px;padding:18px 16px}
  .subject .glyph svg{width:84px;height:84px}
  .subject--mat .glyph svg{width:110px;height:110px}
  .subject .name,.subject--mat .name{font-size:22px}
  .subject .name{font-size:18px}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;gap:8px}
  .scene{height:auto;padding:20px 0}
  .video-card{max-width:420px;aspect-ratio:9/12}
  .float-chip.c1{right:0%;top:-2%}
  .float-chip.c2{left:0%}
  .float-chip.c3{right:0%}
}

/* ============================================================
   SITE-WIDE ADDITIONS (multi-page)
   ============================================================ */

/* ---- sticky site header (subpages) ---- */
.site-head{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.92);backdrop-filter:saturate(160%) blur(12px);border-bottom:1px solid var(--line)}
.site-head .nav{padding:14px 0}
.site-head .brand{color:var(--ink)}
.site-head .brand-mark{background:linear-gradient(160deg,var(--blue-2),var(--blue-1));color:#fff;box-shadow:0 4px 0 rgba(10,63,153,.25)}
.site-head .nav-links a{color:var(--ink-2)}
.site-head .nav-links a:hover{background:var(--bg-2);color:var(--ink)}
.site-head .nav-links a[aria-current="page"]{background:var(--bg-2);color:var(--blue-1);font-weight:600}
.site-head .lang-pill{background:var(--bg-2);color:var(--ink-2)}

/* ---- mobile nav ---- */
.nav-toggle{display:none;width:44px;height:44px;border-radius:12px;align-items:center;justify-content:center;flex-shrink:0}
.nav-toggle span{position:relative;display:block;width:20px;height:2px;border-radius:2px;background:currentColor;transition:transform .25s ease, opacity .2s ease}
.nav-toggle span::before,.nav-toggle span::after{content:"";position:absolute;left:0;width:20px;height:2px;border-radius:2px;background:currentColor;transition:transform .25s ease}
.nav-toggle span::before{top:-6px}
.nav-toggle span::after{top:6px}
.nav-toggle[aria-expanded="true"] span{background:transparent}
.nav-toggle[aria-expanded="true"] span::before{transform:translateY(6px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span::after{transform:translateY(-6px) rotate(-45deg)}
.hero .nav-toggle{color:#fff;background:rgba(255,255,255,.14)}
.site-head .nav-toggle{color:var(--ink);background:var(--bg-2)}

.mobile-drawer{position:fixed;inset:0;z-index:90;display:none}
.mobile-drawer[data-open="true"]{display:block}
.mobile-drawer .scrim{position:absolute;inset:0;background:rgba(9,18,36,.55);backdrop-filter:blur(3px);animation:fadeIn .2s ease}
.mobile-drawer .sheet{position:absolute;top:0;right:0;bottom:0;width:min(340px,86vw);background:#fff;box-shadow:-20px 0 60px -20px rgba(0,0,0,.4);padding:22px 20px;display:flex;flex-direction:column;gap:6px;overflow-y:auto;animation:slideIn .28s cubic-bezier(.2,.8,.3,1)}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes slideIn{from{transform:translateX(100%)}to{transform:none}}
.mobile-drawer .sheet-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.mobile-drawer .close{width:40px;height:40px;border-radius:12px;background:var(--bg-2);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;font-size:22px;line-height:1;font-family:'Fredoka'}
.mobile-drawer a.m-link{padding:13px 14px;border-radius:12px;font-size:16px;font-weight:500;color:var(--ink);display:flex;align-items:center;justify-content:space-between;min-height:48px}
.mobile-drawer a.m-link:hover{background:var(--bg-2)}
.mobile-drawer a.m-link[aria-current="page"]{background:#EAF2FF;color:var(--blue-1);font-weight:600}
.mobile-drawer .m-label{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:600;padding:16px 14px 6px}
.mobile-drawer .m-cta{margin-top:16px;display:grid;gap:10px}
.mobile-drawer .m-cta .btn{justify-content:center;width:100%}
body[data-nav-open="true"]{overflow:hidden}

/* ---- compact page hero (subpages) ---- */
.page-hero{position:relative;background:linear-gradient(180deg,#062a72 0%,#0a44a8 55%,#0d56cf 100%);color:#fff;overflow:hidden;padding:64px 0 76px}
.page-hero .starfield i{animation-duration:8s}
.page-hero .inner{position:relative;z-index:3;max-width:820px}
.page-hero .crumbs{display:flex;align-items:center;gap:8px;font-size:13px;color:rgba(255,255,255,.7);margin-bottom:18px;flex-wrap:wrap}
.page-hero .crumbs a{color:rgba(255,255,255,.75)}
.page-hero .crumbs a:hover{color:#fff;text-decoration:underline}
.page-hero .crumbs .sep{opacity:.45}
.page-hero .crumbs [aria-current]{color:#fff;font-weight:500}
.page-hero .eyebrow{margin-bottom:16px}
.page-hero h1{font-family:'Fredoka';font-weight:600;font-size:clamp(32px,4.6vw,58px);line-height:1.04;letter-spacing:-.02em;margin:0 0 16px;text-wrap:balance}
.page-hero h1 .hl{display:inline-block;background:var(--yellow);color:#1a1206;padding:0 12px;border-radius:12px;box-shadow:0 5px 0 var(--yellow-2)}
.page-hero .lede{font-size:18px;line-height:1.6;color:rgba(255,255,255,.86);max-width:640px;margin:0}
.page-hero .hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.page-hero .facts{display:flex;gap:28px;flex-wrap:wrap;margin-top:32px}
.page-hero .facts .f .n{font-family:'Fredoka';font-weight:600;font-size:28px;line-height:1}
.page-hero .facts .f .l{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.65);margin-top:6px}
.page-hero-wave{position:relative;line-height:0;margin-top:-1px}
.page-hero-wave svg{width:100%;height:auto;display:block}

/* ---- reusable CTA band ---- */
.cta-band{background:linear-gradient(135deg,#0E5BD9,#1F7AEF 60%,#3B95FF);color:#fff;border-radius:28px;padding:44px 40px;position:relative;overflow:hidden;display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center}
.cta-band::before{content:"";position:absolute;top:-50px;right:-30px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(255,199,50,.5),transparent 70%)}
.cta-band .t{position:relative;z-index:2}
.cta-band h2{font-family:'Fredoka';font-weight:600;font-size:clamp(22px,2.4vw,30px);margin:0 0 8px;letter-spacing:-.01em}
.cta-band p{margin:0;color:rgba(255,255,255,.85);font-size:15.5px;line-height:1.5;max-width:560px}
.cta-band .a{position:relative;z-index:2;display:flex;gap:12px;flex-wrap:wrap}
@media (max-width:860px){.cta-band{grid-template-columns:1fr;padding:32px 24px}.cta-band .a .btn{width:100%;justify-content:center}}

/* ---- inline price strip ---- */
.price-strip{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:8px}
.price-strip .ps{border-radius:20px;padding:22px;border:1px solid var(--line);background:#fff}
.price-strip .ps.free{background:linear-gradient(160deg,#F0FBF6,#fff)}
.price-strip .ps .tg{display:inline-flex;align-items:center;gap:6px;font-family:'Fredoka';font-weight:600;font-size:11px;letter-spacing:.09em;text-transform:uppercase;padding:5px 11px;border-radius:999px;margin-bottom:12px}
.price-strip .ps.free .tg{background:#5DD0A4;color:#04301f}
.price-strip .ps.paid .tg{background:var(--yellow);color:#1a1206}
.price-strip .ps .amt{font-family:'Fredoka';font-weight:700;font-size:34px;line-height:1;color:var(--ink)}
.price-strip .ps .amt small{font-size:14px;font-weight:500;color:var(--muted)}
.price-strip .ps p{margin:10px 0 0;font-size:14.5px;color:var(--ink-2);line-height:1.5}
@media (max-width:700px){.price-strip{grid-template-columns:1fr}}

/* ---- prose (legal / about) ---- */
.prose{max-width:760px;font-size:16.5px;line-height:1.7;color:var(--ink-2)}
.prose h2{font-family:'Fredoka';font-weight:600;font-size:26px;color:var(--ink);letter-spacing:-.01em;margin:40px 0 12px;line-height:1.2}
.prose h2:first-child{margin-top:0}
.prose h3{font-family:'Fredoka';font-weight:600;font-size:19px;color:var(--ink);margin:26px 0 8px}
.prose p{margin:0 0 16px}
.prose ul,.prose ol{margin:0 0 18px;padding-left:22px;display:grid;gap:8px}
.prose li{padding-left:2px}
.prose strong{color:var(--ink)}
.prose a{color:var(--blue-1);text-decoration:underline;text-underline-offset:2px}
.prose a:hover{color:var(--blue-deep)}
.prose .updated{font-size:13px;color:var(--muted);padding:12px 16px;background:var(--bg-2);border-radius:12px;display:inline-block;margin-bottom:28px}

/* ---- curriculum list (subject pages) ---- */
.curric{display:grid;gap:12px;max-width:900px}
.curric-item{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:var(--shadow-card)}
.curric-head{display:flex;align-items:center;gap:16px;padding:18px 22px;cursor:pointer;min-height:64px}
.curric-head:hover{background:var(--bg-2)}
.curric-grade{flex-shrink:0;width:44px;height:44px;border-radius:13px;background:linear-gradient(160deg,var(--blue-2),var(--blue-1));color:#fff;font-family:'Fredoka';font-weight:700;font-size:16px;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 3px 0 var(--blue-deep)}
.curric-title{flex:1;min-width:0}
.curric-title .t{font-family:'Fredoka';font-weight:600;font-size:17px;color:var(--ink)}
.curric-title .m{font-size:13px;color:var(--muted);margin-top:2px}
.curric-toggle{flex-shrink:0;width:30px;height:30px;border-radius:50%;background:var(--bg-2);color:var(--blue-1);display:inline-flex;align-items:center;justify-content:center;font-family:'Fredoka';font-size:20px;font-weight:600;line-height:1;transition:transform .25s ease,background .2s ease}
.curric-toggle::before{content:"+"}
.curric-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .32s cubic-bezier(.2,.8,.2,1)}
.curric-body>*{overflow:hidden;min-height:0}
.curric-item[data-open="true"] .curric-toggle{background:var(--blue-1);color:#fff;transform:rotate(45deg)}
.curric-item[data-open="true"] .curric-body{grid-template-rows:1fr}
.curric-body .inner{padding:4px 22px 22px}
.curric-body ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.curric-body li{display:flex;gap:10px;align-items:flex-start;font-size:15px;color:var(--ink-2)}
.curric-body li svg{flex-shrink:0;width:17px;height:17px;color:var(--blue-1);margin-top:3px}

/* ---- feature rows (alternating) ---- */
.frow{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.frow + .frow{margin-top:88px}
.frow.flip .fmedia{order:-1}
.frow h2{font-family:'Fredoka';font-weight:600;font-size:clamp(24px,2.6vw,32px);line-height:1.15;letter-spacing:-.015em;margin:0 0 14px;color:var(--ink)}
.frow p{font-size:16.5px;line-height:1.6;color:var(--ink-2);margin:0 0 18px}
.frow ul{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:10px}
.frow li{display:flex;gap:11px;align-items:flex-start;font-size:15.5px;color:var(--ink-2)}
.frow li svg{flex-shrink:0;width:18px;height:18px;color:var(--blue-1);margin-top:3px}
.fmedia{border-radius:26px;overflow:hidden;position:relative;min-height:320px;display:flex;align-items:center;justify-content:center;padding:28px;box-shadow:0 22px 50px -24px rgba(15,27,51,.3)}
.fmedia.blue{background:linear-gradient(155deg,#3B95FF,#0E5BD9)}
.fmedia.yellow{background:linear-gradient(155deg,#FFD86B,#FFB100)}
.fmedia.coral{background:linear-gradient(155deg,#FF8A6F,#E55C44)}
.fmedia.mint{background:linear-gradient(155deg,#6BD8AD,#27A276)}
.fmedia.dark{background:linear-gradient(155deg,#16233F,#0B1428)}
@media (max-width:900px){.frow{grid-template-columns:1fr;gap:28px}.frow.flip .fmedia{order:0}.frow + .frow{margin-top:56px}.fmedia{min-height:240px}}

/* ---- contact ---- */
.contact-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:start}
@media (max-width:900px){.contact-grid{grid-template-columns:1fr;gap:32px}}
.form-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:var(--shadow-card)}
.field{display:grid;gap:7px;margin-bottom:16px}
.field label{font-size:13.5px;font-weight:600;color:var(--ink)}
.field input,.field select,.field textarea{width:100%;font:inherit;font-size:15.5px;color:var(--ink);background:#FAFBFD;border:1.5px solid var(--line);border-radius:12px;padding:13px 14px;min-height:48px;transition:border-color .2s ease,background .2s ease}
.field textarea{min-height:130px;resize:vertical;line-height:1.5}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--blue-2);background:#fff;box-shadow:0 0 0 4px rgba(31,122,239,.12)}
.field .hint{font-size:12.5px;color:var(--muted)}
.form-card .btn{width:100%;justify-content:center;margin-top:4px}
.form-note{font-size:12.5px;color:var(--muted);margin:14px 0 0;line-height:1.5}
.contact-list{display:grid;gap:14px}
.contact-item{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px}
.contact-item .ic{flex-shrink:0;width:42px;height:42px;border-radius:13px;background:#EAF2FF;color:var(--blue-1);display:inline-flex;align-items:center;justify-content:center}
.contact-item .ic svg{width:19px;height:19px}
.contact-item h3{font-family:'Fredoka';font-weight:600;font-size:16px;margin:2px 0 4px;color:var(--ink)}
.contact-item p{margin:0;font-size:14.5px;color:var(--ink-2);line-height:1.5}
.contact-item a{color:var(--blue-1)}
.contact-item a:hover{text-decoration:underline}

/* ---- subject index cards ---- */
.subj-index{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}
.subj-card{position:relative;border-radius:24px;overflow:hidden;color:#fff;padding:26px;min-height:260px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 14px 32px -16px rgba(15,27,51,.25);transition:transform .25s ease,box-shadow .25s ease}
.subj-card:hover{transform:translateY(-5px);box-shadow:0 26px 52px -20px rgba(15,27,51,.35)}
.subj-card .top{display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative;z-index:2}
.subj-card .pill{font-family:'Fredoka';font-weight:600;font-size:11px;letter-spacing:.08em;text-transform:uppercase;background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.24);padding:5px 11px;border-radius:999px;backdrop-filter:blur(6px)}
.subj-card .go{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.94);color:var(--blue-1);display:inline-flex;align-items:center;justify-content:center;transition:transform .25s ease}
.subj-card:hover .go{transform:translate(2px,-2px) rotate(-10deg)}
.subj-card .mid{flex:1;display:flex;align-items:center;justify-content:center;position:relative;z-index:2;padding:12px 0}
.subj-card .mid svg{width:110px;height:110px;filter:drop-shadow(0 8px 16px rgba(0,0,0,.18))}
.subj-card .bot{position:relative;z-index:2}
.subj-card .bot .n{font-family:'Fredoka';font-weight:700;font-size:23px;letter-spacing:-.01em}
.subj-card .bot .d{font-size:13.5px;opacity:.9;margin-top:3px}
.subj-card.c-mat{background:linear-gradient(155deg,#3B95FF,#0E5BD9)}
.subj-card.c-bhs{background:linear-gradient(155deg,#FF8A6F,#E55C44)}
.subj-card.c-bio{background:linear-gradient(155deg,#6BD8AD,#27A276)}
.subj-card.c-hem{background:linear-gradient(155deg,#FFD86B,#FFB100);color:#3a2400}
.subj-card.c-hem .go{color:#B97F0C}
.subj-card.c-hem .pill{background:rgba(58,36,0,.14);border-color:rgba(58,36,0,.18);color:#3a2400}
.subj-card.c-fiz{background:linear-gradient(155deg,#4FC3E8,#1B6FA8)}
.subj-card.c-bhs .go{color:#C7222E}
.subj-card.c-bio .go{color:#1A8A5E}
.subj-card.c-fiz .go{color:#14567F}

/* ---- team / values ---- */
.vgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.vcard{background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px;box-shadow:var(--shadow-card)}
.vcard .ic{width:48px;height:48px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:16px;background:#EAF2FF;color:var(--blue-1)}
.vcard .ic svg{width:22px;height:22px}
.vcard h3{font-family:'Fredoka';font-weight:600;font-size:19px;margin:0 0 8px;color:var(--ink)}
.vcard p{margin:0;font-size:15px;line-height:1.55;color:var(--ink-2)}

/* ---- skip link (a11y) ---- */
.skip{position:absolute;left:-9999px;top:0;z-index:200;background:#fff;color:var(--ink);padding:12px 18px;border-radius:0 0 12px 0;font-weight:600}
.skip:focus{left:0}

/* ---- footer tweaks ---- */
.footer ul a[aria-current="page"]{color:#fff;font-weight:600}
.footer-legal{display:flex;gap:16px;flex-wrap:wrap}

/* ============================================================
   RESPONSIVE — site-wide
   ============================================================ */
@media (max-width:1000px){
  .nav-toggle{display:inline-flex}
  .nav-links{display:none!important}
  .nav-cta .btn{display:none}
  .nav-cta .lang-pill{display:none}
  .site-head .nav-inner,.hero .nav-inner{gap:12px}
}
@media (max-width:760px){
  .wrap{padding:0 20px}
  .sec{padding:64px 0}
  .page-hero{padding:44px 0 56px}
  .page-hero .facts{gap:20px}
  .cta-band{border-radius:22px}
  .prose{font-size:16px}
  .frow{gap:24px}
  .fmedia{min-height:200px;padding:20px;border-radius:20px}
  .form-card{padding:22px;border-radius:20px}
  .curric-head{padding:16px;gap:12px}
  .curric-grade{width:40px;height:40px;font-size:15px}
}
@media (max-width:480px){
  .wrap{padding:0 16px}
  .page-hero h1{font-size:30px}
  .page-hero .lede{font-size:16.5px}
  .page-hero .hero-actions .btn{width:100%;justify-content:center}
  .subj-card{min-height:220px;padding:20px}
  .subj-card .mid svg{width:84px;height:84px}
}

/* ---- reduced motion ----
   Large parallax-style motion is suppressed. Ambient twinkles, the meteor
   streaks and the mascot's stargazing drift stay alive in gentler,
   reduced-amplitude variants — they are small, local, and opacity-led. */
@media (prefers-reduced-motion:reduce){
  /* genuinely large motion — off */
  .float-chip,.osnovko-img,.confetti i,.marq .track,.thought .bubble,
  .hw-drift,.starfield .glint{animation:none!important;transform:none!important}
  /* keep the card's designed tilt, drop only its float */
  .video-card,.video-card .play{animation:none!important}
  .video-card .progress::after{animation:none!important;width:34%!important}
  /* ambient twinkles — slowed */
  .starfield i,.hw-star,.sparkles span::before{animation-duration:9s!important}
  /* meteors — opacity-led, short travel */
  .starfield .shoot{animation:shootStarRM 14s ease-in infinite!important}
  .hw-shoot{animation:shootRM 14s ease-in infinite!important}
  /* mascot — 1px drift, gentle gaze and arm sway retained */
  .hw-mascot{animation:mFloatRM 12s ease-in-out infinite!important}
  .hw-head{animation:mGazeRM 16s ease-in-out infinite!important}
  .hw-body{animation:mLeanRM 16s ease-in-out infinite!important}
  .hw-arm{animation:mScanRM 16s ease-in-out infinite!important}
  .hw-blink{animation-duration:9s!important}
  /* hover lifts — off */
  .subject:hover,.subj-card:hover,.pillar:hover,.step:hover,.tcard:hover,
  .btn:hover,.btn:active,.subject:hover .glyph,.subject:hover .arrow,
  .subj-card:hover .go{transform:none!important}
  .reveal,.reveal-stagger>*{opacity:1!important;transform:none!important;transition:none!important}
}
/* reduced-amplitude variants (declared outside the query so they are always available) */
@keyframes shootStarRM{0%{opacity:0;transform:translate(0,0) rotate(24deg)}4%{opacity:.75}12%{opacity:0;transform:translate(-70px,32px) rotate(24deg)}100%{opacity:0;transform:translate(-70px,32px) rotate(24deg)}}
@keyframes shootRM{0%{opacity:0}5%{opacity:.8}14%{opacity:0;transform:translate(-46px,23px)}100%{opacity:0;transform:translate(-46px,23px)}}
@keyframes mFloatRM{0%,100%{transform:translateY(0)}50%{transform:translateY(-1px)}}
@keyframes mGazeRM{0%,30%{transform:rotate(-20deg)}50%,70%{transform:rotate(-16deg)}90%,100%{transform:rotate(-20deg)}}
@keyframes mLeanRM{0%,30%{transform:rotate(-3deg)}50%,70%{transform:rotate(-2deg)}90%,100%{transform:rotate(-3deg)}}
@keyframes mScanRM{0%,30%{transform:rotate(2deg)}50%,70%{transform:rotate(0deg)}90%,100%{transform:rotate(2deg)}}

/* ---- print ---- */
@media print{
  .site-head,.mobile-drawer,.nav,.hero-waves,.page-hero-wave,.cta-band,.footer{display:none!important}
  body{background:#fff;color:#000}
  .page-hero{background:#fff;color:#000;padding:0 0 20px}
  .prose{max-width:none}
}


/* ============================================================
   FOCUS VISIBILITY  (keyboard users)
   ============================================================ */
:where(a,button,input,select,textarea,[tabindex],[role="button"]):focus{outline:none}
:where(a,button,input,select,textarea,[tabindex],[role="button"]):focus-visible{
  outline:3px solid var(--blue-2);outline-offset:3px;border-radius:8px
}
/* on dark grounds the blue ring disappears — use yellow */
.hero :where(a,button):focus-visible,
.page-hero :where(a,button):focus-visible,
.footer :where(a,button):focus-visible,
.cta-band :where(a,button):focus-visible,
.price-band :where(a,button):focus-visible,
.subject:focus-visible,.subj-card:focus-visible,
.fmedia :where(a,button):focus-visible{
  outline-color:var(--yellow);outline-offset:4px
}
.btn:focus-visible{outline-offset:4px}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{
  outline-offset:1px
}
.skip:focus-visible{outline-offset:-3px}
.curric-head:focus-visible,.faq-item:focus-visible{outline-offset:-3px;border-radius:18px}

/* ============================================================
   POINTER GATING
   Hover embellishment is for real cursors only. Touch devices
   otherwise keep the lifted/rotated state stuck after a tap.
   ============================================================ */
@media (hover:none),(pointer:coarse){
  .subject:hover,.subj-card:hover,.pillar:hover,.step:hover,.tcard:hover,
  .vcard:hover,.curric-head:hover,.faq-item:hover,
  .btn:hover,.btn--primary:hover,.btn--red:hover,.btn--ghost:hover,
  .btn--ghost-light:hover,.btn-neon:hover,.nav-links a:hover,
  .mobile-drawer a.m-link:hover,.video-card .play:hover,
  .cta-band .btn:hover,.h05 .tile:hover{
    transform:none
  }
  .subject:hover .glyph,.subject:hover .arrow,.subj-card:hover .go,
  .subject:hover .blob.b1{transform:none;animation:none}
  .subject:hover,.subj-card:hover,.pillar:hover,.tcard:hover,.vcard:hover{
    box-shadow:var(--shadow-card)
  }
  .btn--primary:hover{box-shadow:0 6px 0 0 var(--yellow-2),0 14px 24px -10px rgba(0,0,0,.25)}
  .btn--red:hover{box-shadow:0 6px 0 0 var(--red-2),0 14px 24px -10px rgba(230,57,70,.4)}
  .nav-links a:hover,.curric-head:hover,.faq-item:hover{background:transparent}
  /* keep the tap itself legible */
  .subject:active,.subj-card:active,.pillar:active,.vcard:active{opacity:.85}
}

/* visually hidden (available to screen readers) */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
