/* ============================================================
   Skolvio — Fun & Vibrant Homepage
   Built on the Skolvio design tokens (Fredoka + Nunito, teal + amber)
   Content sourced from the Skolvio Instagram parent posts.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Hand-drawn swoosh underline for emphasising a phrase. Stretches under the
   text; clones across line wraps so each line fragment gets the swoosh. */
.swoosh {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 28 13 55 5 84 8 C 104 10 113 9 117 4' fill='none' stroke='%23D97706' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.42em;
  padding-bottom: 0.16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; }
.wrap { max-width: 1152px; margin: 0 auto; padding: 0 32px; }
/* Visually hidden but readable by screen readers, crawlers, and LLMs (GEO) */
.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; }
.eyebrow {
  font-family: var(--font-body); font-weight: 800; font-size: 0.8125rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-500);
}

/* ---------- logo wordmark ---------- */
.logo { font-family: var(--font-heading); font-weight: 700; font-size: 26px; letter-spacing: -0.5px; position: relative; display: inline-block; line-height: 1; }
.logo .dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--logo-dot); top: -3px; right: 12px; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-body); font-weight: 800; font-size: 1rem;
  border-radius: var(--r-btn); display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; transition: transform .15s var(--ease-out), background .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-amber { background: var(--accent-500); color: #fff; box-shadow: 0 10px 26px rgba(217,119,6,0.30); }
.btn-amber:hover { background: var(--accent-400); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(217,119,6,0.36); }
.btn-teal { background: var(--brand-700); color: #fff; box-shadow: var(--shadow-cta); }
.btn-teal:hover { background: var(--brand-900); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--charcoal); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand-500); color: var(--brand-700); transform: translateY(-2px); }
.btn-ghost-d { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.28); }
.btn-ghost-d:hover { background: rgba(255,255,255,0.2); }
.btn-sm { padding: 10px 18px; font-size: 0.9375rem; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(10,107,110,0.82); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,0.12); }
.nav .row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav .logo { color: #fff; }
.nav .links { display: flex; gap: 30px; }
.nav .links a { font-weight: 700; font-size: 0.95rem; color: rgba(255,255,255,0.78); transition: color .15s; }
.nav .links a:hover { color: #fff; }
.nav .right { display: flex; align-items: center; gap: 14px; }
.nav .login { font-weight: 800; font-size: 0.95rem; color: #fff; }
.nav-mid { display: flex; align-items: center; gap: 16px; }
.nav-search { display: flex; align-items: center; gap: 8px; height: 36px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); border-radius: 9999px; padding: 0 14px; min-width: 220px; color: rgba(255,255,255,0.85); transition: background .15s, border-color .15s; }
.nav-search:focus-within { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.55); }
.nav-search svg { flex-shrink: 0; color: rgba(255,255,255,0.8); }
.nav-search input { flex: 1; min-width: 0; min-height: 0; height: auto; line-height: 1.2; padding: 0; margin: 0; background: transparent; border: none; outline: none; color: #fff; font-family: inherit; font-size: 0.9rem; }
.nav-search input::placeholder { color: rgba(255,255,255,0.7); }
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 9px; background: rgba(255,255,255,0.14); border: none; border-radius: 11px; cursor: pointer; }
.nav-burger span { display: block; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .25s var(--ease-out), opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 8px 20px 20px; background: var(--brand-900); }
.mobile-menu a { color: rgba(255,255,255,0.92); font-weight: 800; font-size: 1.05rem; padding: 13px 6px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-menu a.btn { color: #5a3d00; border-bottom: none; margin-top: 12px; text-align: center; }
.mobile-menu a.mm-login { border-bottom: none; }
.nav.menu-open .mobile-menu { display: flex; }
@media (max-width: 860px){
  .nav .links { display: none; }
  .nav-mid { display: none; }
  .nav .right .login { display: none; }
  .nav .right .btn-amber { display: none; }
  .nav-burger { display: flex; }
}

/* ---------- decorative floating shapes ---------- */
.float { position: absolute; pointer-events: none; z-index: 1; will-change: transform; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(var(--rot,0deg)); } 50% { transform: translateY(-18px) rotate(var(--rot,0deg)); } }
@keyframes bob2 { 0%,100% { transform: translateY(0) rotate(var(--rot,0deg)); } 50% { transform: translateY(14px) rotate(calc(var(--rot,0deg) + 8deg)); } }
@keyframes spinSlow { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* star burst shape */
.star { color: var(--warm-500); filter: drop-shadow(0 4px 10px rgba(251,191,36,0.4)); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background:
    radial-gradient(1000px 520px at 50% -14%, #FDE68A 0%, #FFF9EF 46%, #FFFDF7 80%);
}
.hero .wrap { position: relative; z-index: 2; }

/* product-forward: text left + browser mock right */
.hero-grid { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.hero-top { max-width: 520px; text-align: left; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.hero h1 { font-size: clamp(2.3rem, 4vw, 3.4rem); line-height: 1.06; margin: 16px 0 0; }
.hero h1 .teal { color: var(--brand-700); }
/* Centered Sunrise hero (single column, no product panel) */
.hero-centered .hero-grid { grid-template-columns: 1fr; }
.hero-centered .hero-top { max-width: 880px; margin: 0 auto; text-align: center; }
.hero-centered h1 { line-height: 1.32; }
.hero-centered .hero-lead { margin-left: auto; margin-right: auto; }
.hero-centered .hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px auto 4px; font-size: 13px; font-weight: 600; }
.hero-centered .hero-cta { justify-content: center; margin-top: 24px; }
.hero h1 .hl-mark { background: var(--brand-700); color: #fff; padding: 0.02em 0.2em; border-radius: 8px; white-space: nowrap; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-lead b { color: var(--accent-500); font-weight: 700; }
/* Lesson preview, relocated to its own section just below the hero */
.lessons-preview { padding: 8px 0 76px; background: var(--cream-warm); }
.lessons-preview .lp-head { text-align: center; max-width: 640px; margin: 0 auto 26px; }
.lessons-preview .lp-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 8px; }
.lessons-preview .browser-mock { max-width: 760px; margin: 0 auto; }
/* Reading & Writing Studio showcase */
.studios-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.studio-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: 0 18px 40px -22px rgba(10,107,110,0.22); }
.studio-card .ic { width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.studio-card h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--charcoal); }
.studio-card p { color: var(--charcoal-light); font-weight: 600; line-height: 1.6; font-size: 1rem; }
.studio-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.studio-tags span { font-size: 0.78rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 760px){ .studios-grid { grid-template-columns: 1fr; } }
/* Homepage FAQ accordion */
.home-faq .qa { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 6px 18px -12px rgba(10,107,110,0.25); }
.home-faq .qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--font-heading); font-weight: 600; font-size: 1.12rem; color: var(--charcoal); }
.home-faq .qa summary::-webkit-details-marker { display: none; }
.home-faq .qa .chev { margin-left: auto; color: var(--brand-700); flex: none; transition: transform 0.2s ease; }
.home-faq .qa[open] .chev { transform: rotate(90deg); }
.home-faq .qa[open] summary { color: var(--brand-900); }
.home-faq .qa .ans { padding: 0 22px 22px 22px; }
.home-faq .qa .ans p { color: var(--charcoal-light); font-size: 1rem; line-height: 1.6; font-weight: 600; }
.home-faq .home-faq-more { text-align: center; margin-top: 28px; }
.home-faq .home-faq-more a { color: var(--brand-700); font-weight: 800; text-decoration: none; font-size: 1rem; display: inline-flex; align-items: center; gap: 7px; }
.home-faq .home-faq-more a:hover { color: var(--brand-900); }
.hero-lead { font-size: 1.12rem; line-height: 1.5; color: var(--charcoal-light); max-width: 32rem; margin: 22px 0 0; font-weight: 600; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.hero-trust .stars { display: inline-flex; gap: 2px; }
.hero-trust .txt { font-weight: 700; font-size: 0.92rem; color: var(--charcoal-light); }
.hero-trust .txt b { color: var(--charcoal); }

/* browser window mockup */
.browser-mock { position: relative; width: 100%; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 40px 90px rgba(10,107,110,0.22); overflow: hidden; }
.bm-sticker { position: absolute; top: -15px; right: 24px; left: auto; z-index: 5; white-space: nowrap; background: var(--warm-500); color: #5a3d00; font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; padding: 7px 13px; border-radius: 999px; box-shadow: 0 10px 22px rgba(251,191,36,0.45); display: inline-flex; align-items: center; gap: 6px; transform: rotate(3deg); }
.bm-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #F3F0E8; border-bottom: 1px solid var(--line); }
.bm-lights { display: flex; gap: 7px; flex-shrink: 0; }
.bm-lights i { width: 11px; height: 11px; border-radius: 50%; background: #D6CFBE; }
.bm-lights i:nth-child(1){ background: #F8857B; } .bm-lights i:nth-child(2){ background: #FBC04D; } .bm-lights i:nth-child(3){ background: #5FCB7E; }
.bm-url { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-weight: 700; font-size: 0.78rem; color: var(--charcoal-light); margin: 0 auto; }
.bm-url svg { color: var(--success); }
.bm-carousel { position: relative; display: flex; flex-direction: column; aspect-ratio: 4 / 3; background: var(--cream); cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.bm-carousel:active { cursor: grabbing; }
.bm-carousel:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 3px; }
.bm-slide { -webkit-user-drag: none; user-drag: none; }
.bm-track { position: relative; flex: 1 1 auto; overflow: hidden; }
.bm-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .6s var(--ease-out); }
.bm-slide.active { opacity: 1; }
.bm-caption { position: relative; flex: 0 0 auto; z-index: 2; min-height: 52px; display: flex; align-items: center; padding: 12px 92px 12px 18px; background: var(--brand-900); border-top: 1px solid rgba(255,255,255,0.12); color: var(--warm-500); font-weight: 700; font-size: 0.92rem; line-height: 1.35; text-align: left; pointer-events: none; }
.bm-dots { position: absolute; bottom: 0; right: 18px; height: 52px; display: flex; align-items: center; gap: 7px; z-index: 3; }
.bm-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.4); cursor: pointer; padding: 0; transition: all .3s var(--ease-out); }
.bm-dot.active { width: 22px; background: var(--warm-500); }
@media (max-width: 560px){ .bm-caption { font-size: 0.82rem; padding: 11px 84px 11px 16px; min-height: 48px; } .bm-dots { height: 48px; } }
/* Desktop: stretch the hero preview card to the full height of the text column */
@media (min-width: 901px){
  .hero-grid { align-items: stretch; }
  .browser-mock { display: flex; flex-direction: column; }
  .bm-carousel { aspect-ratio: auto; flex: 1 1 auto; min-height: 480px; }
}

/* ─── Hero Animated Scenes ─── */
.hs-scene { position:absolute; inset:0; opacity:0; transition:opacity .6s var(--ease-out); display:flex; flex-direction:column; overflow:hidden; }
.hs-scene.active { opacity:1; }
.hs-bar { display:flex; align-items:center; gap:10px; padding:12px 18px; border-bottom:1px solid var(--line); background:#fff; flex-shrink:0; }
.hs-pill { font-size:11px; font-weight:700; padding:3px 10px; border-radius:8px; white-space:nowrap; }
.hs-pill-blue { background:rgba(58,181,230,0.12); color:#0A6B6E; }
.hs-pill-amber { background:rgba(245,166,35,0.15); color:#92400E; }
.hs-pill-teal { background:rgba(10,107,110,0.1); color:#0A6B6E; }
.hs-btitle { font-family:var(--font-heading); font-weight:700; font-size:13px; color:var(--charcoal); }
.hs-main { flex:1; padding:14px 18px; background:var(--cream); overflow:hidden; display:flex; flex-direction:column; gap:8px; }
.hs-el { opacity:0; transform:translateY(6px); }
.hs-scene.active .hs-el { animation:hsIn .45s var(--ease-out) both; }
.hs-scene.active .hs-d0 { animation-delay:.15s; }
.hs-scene.active .hs-d1 { animation-delay:.5s; }
.hs-scene.active .hs-d2 { animation-delay:1s; }
.hs-scene.active .hs-d3 { animation-delay:1.5s; }
.hs-scene.active .hs-d4 { animation-delay:2s; }
.hs-scene.active .hs-d5 { animation-delay:2.8s; }
.hs-scene.active .hs-d6 { animation-delay:3.5s; }
@keyframes hsIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }

/* S1: Teaching */
.hs-tutor-row { display:flex; align-items:center; gap:8px; }
.hs-ava { width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg,#0A6B6E,#14B8B4); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:12px; flex-shrink:0; }
.hs-tname { font-weight:700; font-size:13px; color:var(--brand-700); }
.hs-bbl { background:#fff; border:1px solid var(--line); border-radius:12px; padding:10px 14px; font-size:12.5px; line-height:1.55; color:var(--charcoal); max-width:88%; }
.hs-tip { background:rgba(245,196,66,0.12); border:1px solid rgba(245,196,66,0.3); border-radius:10px; padding:8px 12px; font-size:11.5px; line-height:1.5; color:#78350F; }
.hs-svg-wt { width:100%; max-height:130px; border-radius:8px; border:1px solid var(--line); flex-shrink:0; }

/* S2: Practice */
.hs-q { font-weight:600; font-size:13.5px; color:var(--charcoal); line-height:1.5; }
.hs-opt { background:#fff; border:1px solid var(--line); border-radius:10px; padding:8px 14px; font-size:12px; color:var(--charcoal); }
.hs-scene.active .hs-opt.hs-opt-correct { animation:hsIn .45s 1s both, hsCorrect .4s 2.8s both; }
@keyframes hsCorrect { to{background:rgba(52,211,153,0.15);border-color:#34D399;color:#065F46;} }
.hs-fb { background:rgba(52,211,153,0.1); border:1px solid rgba(52,211,153,0.3); border-radius:10px; padding:8px 12px; font-size:11.5px; color:#065F46; line-height:1.4; }
.hs-prog-row { display:flex; align-items:center; gap:10px; }
.hs-prog-track { flex:1; height:8px; background:rgba(0,0,0,0.06); border-radius:99px; overflow:hidden; }
.hs-prog-fill { height:100%; background:linear-gradient(90deg,#0D8F8B,#14B8B4); border-radius:99px; width:0; }
.hs-scene.active .hs-prog-fill { animation:hsPFill 1s 3.8s var(--ease-out) both; }
@keyframes hsPFill { to{width:70%;} }
.hs-prog-lbl { font-weight:700; font-size:12px; color:var(--brand-700); }

/* S3: Chat */
.hs-main-chat { gap:10px; justify-content:center; }
.hs-chat-row { display:flex; gap:8px; align-items:flex-start; }
.hs-chat-stu { justify-content:flex-end; }
.hs-chat-bbl { border-radius:14px; padding:10px 14px; font-size:12px; line-height:1.55; max-width:82%; }
.hs-stu-bbl { background:var(--brand-700); color:#fff; border-bottom-right-radius:4px; }
.hs-bot-bbl { background:#fff; border:1px solid var(--line); color:var(--charcoal); border-bottom-left-radius:4px; }
.hs-ava-s { width:24px; height:24px; border-radius:50%; background:linear-gradient(135deg,#0A6B6E,#14B8B4); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:10px; flex-shrink:0; margin-top:2px; }
.hs-typing-row { opacity:0; align-items:center; }
.hs-scene.active .hs-typing-row { animation:hsTypingLife 2.2s 1.5s both; }
@keyframes hsTypingLife { 0%{opacity:0;transform:translateY(6px)} 12%{opacity:1;transform:translateY(0)} 82%{opacity:1} 100%{opacity:0} }
.hs-dots { display:flex; gap:4px; padding:8px 12px; background:#fff; border:1px solid var(--line); border-radius:14px; }
.hs-dots span { width:6px; height:6px; border-radius:50%; background:#999; display:block; animation:hsBounce 1.2s infinite; }
.hs-dots span:nth-child(2) { animation-delay:.2s; }
.hs-dots span:nth-child(3) { animation-delay:.4s; }
@keyframes hsBounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-3px)} }

/* S4: Dashboard */
.hs-stat-row { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.hs-stat { background:#fff; border:1px solid var(--line); border-radius:12px; padding:10px; text-align:center; }
.hs-stat-n { font-family:var(--font-heading); font-weight:800; font-size:18px; color:var(--brand-700); }
.hs-stat-l { font-size:11px; color:var(--charcoal-light); font-weight:500; margin-top:2px; }
.hs-sbar { display:flex; align-items:center; gap:8px; }
.hs-sbar-l { font-size:11px; font-weight:600; color:var(--charcoal); width:52px; flex-shrink:0; }
.hs-sbar-t { flex:1; height:10px; background:rgba(0,0,0,0.06); border-radius:99px; overflow:hidden; }
.hs-sbar-f { height:100%; border-radius:99px; width:0; }
.hs-fill-1 { background:linear-gradient(90deg,#0D8F8B,#14B8B4); }
.hs-fill-2 { background:linear-gradient(90deg,#3AB5E6,#0D8F8B); }
.hs-fill-3 { background:linear-gradient(90deg,#F5A623,#F5C842); }
.hs-scene.active .hs-d1 .hs-sbar-f { animation:hsSbarFill .8s .5s var(--ease-out) both; }
.hs-scene.active .hs-d2 .hs-sbar-f { animation:hsSbarFill .8s 1s var(--ease-out) both; }
.hs-scene.active .hs-d3 .hs-sbar-f { animation:hsSbarFill .8s 1.5s var(--ease-out) both; }
@keyframes hsSbarFill { to{width:var(--w);} }
.hs-sbar-p { font-size:11px; font-weight:700; color:var(--brand-700); width:28px; text-align:right; }
.hs-track-badge { background:rgba(52,211,153,0.1); border:1px solid rgba(52,211,153,0.3); border-radius:10px; padding:8px 12px; font-size:11.5px; color:#065F46; font-weight:600; text-align:center; }
.hs-recent { background:#fff; border:1px solid var(--line); border-radius:12px; padding:10px 14px; }
.hs-recent-h { font-weight:700; font-size:11.5px; color:var(--charcoal); margin-bottom:6px; }
.hs-recent-i { font-size:11px; color:var(--charcoal-light); padding:3px 0; border-top:1px solid rgba(0,0,0,0.04); }
.hs-recent-i:first-of-type { border-top:none; }

/* ---- Scenes 2 & 3: spread + enlarge content to fill the card (all screens) ---- */
.hs-fill { justify-content: space-between; }
.hs-fill .hs-q { font-size: 15px; line-height: 1.4; }
.hs-fill .hs-opt { font-size: 13.5px; padding: 11px 15px; }
.hs-fill .hs-fb { font-size: 13px; padding: 11px 14px; line-height: 1.45; }
.hs-fill .hs-prog-row { gap: 11px; }
.hs-fill .hs-prog-track { height: 10px; }
.hs-fill .hs-prog-lbl { font-size: 13px; }
.hs-fill.hs-main-chat { justify-content: center; gap: 14px; }
.hs-fill .hs-chat-bbl { font-size: 15px; padding: 13px 17px; line-height: 1.55; max-width: 90%; }
.hs-fill .hs-ava-s { width: 30px; height: 30px; font-size: 13px; }
.hs-fill .hs-dots { padding: 11px 15px; }
.hs-fill .hs-dots span { width: 7px; height: 7px; }
/* Chat: bot answer waits until the typing indicator has finished */
.hs-scene.active .hs-main-chat .hs-d3 { animation-delay: 3.6s; }

/* ---- Scene 1: Water Table Simulator (auto-playing) ---- */
.hs-sim-lead { font-size:12px; font-weight:600; color:var(--charcoal); }
.hs-sim-sliders { display:flex; flex-direction:column; gap:7px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:11px 13px; }
.hs-sim-row { display:flex; align-items:center; gap:10px; }
.hs-sim-lbl { font-size:11px; font-weight:600; color:var(--charcoal); width:104px; flex-shrink:0; white-space:nowrap; }
.hs-sim-track { position:relative; flex:1; height:6px; background:rgba(0,0,0,0.08); border-radius:99px; }
.hs-sim-fill { position:absolute; left:0; top:0; height:100%; border-radius:99px; background:linear-gradient(90deg,#0D8F8B,#14B8B4); width:50%; }
.hs-sim-knob { position:absolute; top:50%; left:50%; width:13px; height:13px; border-radius:50%; background:#fff; border:2.5px solid #0D8F8B; box-shadow:0 1px 3px rgba(0,0,0,0.2); transform:translate(-50%,-50%); }
.hs-sim-fill-rain { background:linear-gradient(90deg,#3AB5E6,#14B8B4); }
.hs-sim-knob-rain { border-color:#3AB5E6; }
.hs-sim-diagram { width:100%; flex:1; min-height:0; border-radius:8px; border:1px solid var(--line); }
.hs-sim-water, .hs-sim-drop, .hs-sim-fill-rain, .hs-sim-knob-rain, .hs-sim-fill-forest, .hs-sim-knob-forest { will-change:transform; }
/* loops run only while the scene is active */
.hs-scene.active .hs-sim-water { animation:hsSimTable 7s var(--ease-in-out) 1.6s infinite; }
.hs-scene.active .hs-sim-fill-rain { animation:hsSimRainFill 7s var(--ease-in-out) 1.6s infinite; }
.hs-scene.active .hs-sim-knob-rain { animation:hsSimRainKnob 7s var(--ease-in-out) 1.6s infinite; }
.hs-scene.active .hs-sim-fill-forest { animation:hsSimRainFill 7s var(--ease-in-out) 1.6s infinite; }
.hs-scene.active .hs-sim-knob-forest { animation:hsSimRainKnob 7s var(--ease-in-out) 1.6s infinite; }
.hs-scene.active .hs-sim-drop { animation:hsSimDrop 0.9s linear infinite; }
.hs-rd0 { animation-delay:0s; } .hs-rd1 { animation-delay:.45s; } .hs-rd2 { animation-delay:.15s; }
.hs-rd3 { animation-delay:.6s; } .hs-rd4 { animation-delay:.3s; } .hs-rd5 { animation-delay:.75s; }
@keyframes hsSimTable { 0%,100% { transform:translateY(0); } 45%,60% { transform:translateY(-44px); } }
@keyframes hsSimRainFill { 0%,100% { width:34%; } 45%,60% { width:86%; } }
@keyframes hsSimRainKnob { 0%,100% { left:34%; } 45%,60% { left:86%; } }
@keyframes hsSimDrop { 0% { transform:translateY(0); opacity:0; } 20% { opacity:1; } 100% { transform:translateY(98px); opacity:0; } }
/* Forest cover: extra trees fade in as the forest slider rises, vanish as it falls.
   Rainfall: the rain group gets heavier when the rainfall slider is high. */
.hs-sim-forest-extra { will-change:opacity; }
.hs-scene.active .hs-sim-forest-extra { animation:hsSimForest 7s var(--ease-in-out) 1.6s infinite; }
.hs-scene.active .hs-sim-rain { animation:hsSimRainLevel 7s var(--ease-in-out) 1.6s infinite; }
@keyframes hsSimForest { 0%,100% { opacity:0; } 45%,60% { opacity:1; } }
@keyframes hsSimRainLevel { 0%,100% { opacity:0.32; } 45%,60% { opacity:1; } }
@media (prefers-reduced-motion: reduce) {
  .hs-scene.active .hs-sim-water, .hs-scene.active .hs-sim-fill-rain, .hs-scene.active .hs-sim-knob-rain,
  .hs-scene.active .hs-sim-fill-forest, .hs-scene.active .hs-sim-knob-forest, .hs-scene.active .hs-sim-drop,
  .hs-scene.active .hs-sim-forest-extra, .hs-scene.active .hs-sim-rain { animation:none; }
}

@media (max-width:560px) {
  .bm-carousel { aspect-ratio: 3 / 4; }
  .hs-bar { padding:8px 12px; }
  .hs-pill { font-size:9.5px; }
  .hs-btitle { font-size:11px; }
  .hs-main { padding:10px 12px; gap:5px; }
  .hs-bbl, .hs-tip { font-size:10px; padding:6px 10px; }
  .hs-q { font-size:11px; }
  .hs-opt { font-size:10px; padding:5px 10px; }
  .hs-fb { font-size:9.5px; padding:5px 8px; }
  .hs-chat-bbl { font-size:10px; padding:7px 10px; }
  .hs-stat-n { font-size:14px; }
  .hs-stat-l, .hs-sbar-l, .hs-sbar-p { font-size:9px; }
  .hs-track-badge { font-size:9.5px; padding:5px 8px; }
  .hs-recent { padding:6px 10px; }
  .hs-recent-h { font-size:9.5px; }
  .hs-recent-i { font-size:9px; }
  .hs-ava { width:22px; height:22px; font-size:10px; }
  .hs-svg-wt { max-height:80px; }
  .hs-sim-lead { font-size:10px; }
  .hs-sim-sliders { padding:8px 10px; gap:5px; }
  .hs-sim-lbl { font-size:9.5px; width:88px; }
  .hs-sim-row { gap:7px; }
  /* keep enlarged scenes 2 & 3 from overflowing the smaller phone card */
  .hs-fill .hs-q { font-size:13.5px; }
  .hs-fill .hs-opt { font-size:12px; padding:9px 12px; }
  .hs-fill .hs-fb { font-size:11.5px; padding:9px 11px; }
  .hs-fill .hs-prog-lbl { font-size:12px; }
  .hs-fill .hs-chat-bbl { font-size:13px; padding:11px 14px; }
  .hs-fill .hs-ava-s { width:27px; height:27px; }
}

/* Desktop: scenes 2 & 3 a touch larger to fill the tall card */
@media (min-width: 901px){
  .hs-fill .hs-q { font-size: 17px; }
  .hs-fill .hs-opt { font-size: 15px; padding: 13px 18px; }
  .hs-fill .hs-fb { font-size: 14px; padding: 12px 16px; }
  .hs-fill .hs-prog-track { height: 11px; }
  .hs-fill .hs-prog-lbl { font-size: 14px; }
  .hs-fill.hs-main-chat { gap: 16px; }
  .hs-fill .hs-chat-bbl { font-size: 16.5px; padding: 15px 20px; line-height: 1.6; }
  .hs-fill .hs-ava-s { width: 34px; height: 34px; font-size: 14px; }
  .hs-fill .hs-dots { padding: 13px 17px; }
  .hs-fill .hs-dots span { width: 8px; height: 8px; }
}

.bm-app { display: flex; flex-direction: column; }
.bm-appbar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--grad-header); }
.bm-logo { position: relative; font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: #fff; letter-spacing: -0.5px; }
.bm-logo i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--logo-dot); top: 3px; right: 7px; }
.bm-unit { margin-left: 6px; font-weight: 700; font-size: 0.84rem; color: rgba(255,255,255,0.85); white-space: nowrap; }
.bm-streak { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 0.85rem; color: #fff; background: rgba(255,255,255,0.14); padding: 5px 12px; border-radius: 999px; }
.bm-main { display: grid; grid-template-columns: 190px 1fr; min-height: 320px; }
.bm-side { background: var(--cream-warm); border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 6px; }
.bm-side-h { font-weight: 800; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal-light); margin-bottom: 6px; }
.bm-step { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: var(--r-md); font-weight: 700; font-size: 0.82rem; color: var(--charcoal-light); }
.bm-step .bm-tick, .bm-step .bm-num { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 800; font-size: 0.72rem; }
.bm-step .bm-tick { background: var(--success); color: #fff; }
.bm-step .bm-num { background: #E5DFD0; color: var(--charcoal-light); }
.bm-step.done { color: var(--charcoal); }
.bm-step.active { background: #fff; color: var(--brand-900); box-shadow: var(--shadow-sm); border: 1.5px solid var(--brand-500); }
.bm-step.active .bm-num { background: var(--brand-700); color: #fff; }

.bm-lesson { padding: 22px 24px; }
.bm-tutor { display: flex; align-items: center; gap: 11px; }
.bm-av { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-primary); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bm-tutor-meta { display: flex; flex-direction: column; line-height: 1.3; }
.bm-tutor-meta b { font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem; color: var(--charcoal); }
.bm-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.74rem; color: var(--success); white-space: nowrap; }
.bm-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.bm-phase { margin-left: auto; white-space: nowrap; font-weight: 800; font-size: 0.74rem; color: var(--brand-700); background: var(--brand-50); padding: 5px 12px; border-radius: 999px; }
.bm-teach { font-weight: 600; font-size: 0.96rem; line-height: 1.5; color: var(--charcoal); margin-top: 16px; }
.bm-teach b { color: var(--brand-900); }

.bm-numline { position: relative; height: 52px; margin: 20px 12px 4px; }
.bm-nl-track { position: absolute; top: 13px; left: 0; right: 0; height: 3px; background: rgba(13,143,139,0.25); border-radius: 2px; }
.bm-nl-tick { position: absolute; top: 13px; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; }
.bm-nl-tick i { width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2.5px solid var(--brand-500); }
.bm-nl-tick em { margin-top: 9px; font-weight: 800; font-size: 0.74rem; font-style: normal; color: var(--charcoal-light); }
.bm-nl-tick.hi i { background: var(--brand-500); transform: scale(1.35); box-shadow: 0 0 0 4px rgba(20,184,180,0.18); }
.bm-nl-tick.hi em { color: var(--brand-700); }
.bm-nl-tick.lo i { background: var(--coral); border-color: var(--coral); }
.bm-nl-tick.lo em { color: var(--coral); }

.bm-q { margin-top: 20px; background: var(--amber-50); border: 1.5px solid var(--warm-300); border-radius: var(--r-lg); padding: 14px 16px; }
.bm-q-tag { font-weight: 800; font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: #92400e; }
.bm-q-text { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; color: var(--charcoal); margin: 7px 0 11px; }
.bm-q-opts { display: flex; gap: 10px; }
.bm-opt { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 84px; border: 2px solid var(--line-strong); background: #fff; border-radius: var(--r-md); padding: 10px 15px; font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; color: var(--charcoal); cursor: pointer; }
.bm-opt.correct { border-color: var(--success); background: #EEFBEE; color: #059669; }

/* hero chip row — responsive, no overflow on mobile */
.hero-chips { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 8px; white-space: nowrap; }
.hero-chips > span { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-50); border: 1px solid #c8eded; border-radius: 20px; padding: 5px 14px; color: var(--charcoal); }

@media (max-width: 900px){
  .hero .float { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-top { text-align: center; max-width: 640px; margin: 0 auto; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-chips { justify-content: center; }
}
@media (max-width: 560px){
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .hero-chips { grid-template-columns: 1fr; white-space: normal; max-width: 100%; }
  .hero-chips > span { white-space: normal; justify-content: center; text-align: left; }
  .hero-cta { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .browser-mock, .bm-carousel { max-width: 100%; width: 100%; }
  .bm-main { grid-template-columns: 1fr; }
  .bm-side { display: none; }
  .bm-unit { display: none; }
}


/* ---------- stat strip ---------- */
@media (max-width: 640px){ .stat-strip div[style*="grid-template-columns"] { grid-template-columns: repeat(2, 1fr) !important; } }

/* ---------- condensed "isn't" band ---------- */
.isnt-band { background: var(--cream-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.isnt-band .row { max-width: 1152px; margin: 0 auto; padding: 22px 32px; display: flex; align-items: center; justify-content: center; gap: 14px 22px; flex-wrap: wrap; }
.isnt-band .lbl { font-weight: 800; font-size: 0.92rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal); }
.isnt-chips { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.isnt-chip { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 0.92rem; color: var(--charcoal-light); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; white-space: nowrap; }
.isnt-chip .xi { display: inline-flex; color: var(--error); }
.isnt-chip s { text-decoration-color: var(--error); text-decoration-thickness: 2px; }
.isnt-arrow { color: var(--brand-500); flex-shrink: 0; display: inline-flex; animation: nudgeX 1.8s var(--ease-in-out) infinite; }
@keyframes nudgeX { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.isnt-yes { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-heading); font-weight: 600; font-size: 1.08rem; color: #fff; background: var(--grad-primary); border-radius: 999px; padding: 11px 21px; white-space: nowrap; box-shadow: 0 10px 26px rgba(13,143,139,0.32); transition: transform .2s var(--ease-out), box-shadow .2s; }
.isnt-yes:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(13,143,139,0.4); }
.isnt-yes em { font-style: italic; color: var(--warm-300); }
.isnt-yes .yi { display: inline-flex; color: var(--warm-300); filter: drop-shadow(0 2px 5px rgba(251,191,36,0.5)); }
@media (max-width: 760px){ .isnt-arrow { display: none; } }

/* ---------- curricula strip ---------- */
.strip { background: var(--brand-900); }
.strip .row { display: flex; align-items: center; justify-content: center; gap: 14px 26px; flex-wrap: wrap; padding: 22px 32px; }
.strip .lbl { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.pill { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.95rem; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,0.12); color: #fff; white-space: nowrap; }
.pill .flag { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; }
.pill.soon { color: rgba(255,255,255,0.6); }
.pill.soon .badge { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(245,158,11,0.25); color: var(--warm-300); padding: 2px 7px; border-radius: 6px; }

/* ---------- section base ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section.warm { background: var(--cream); }
.sec-head { max-width: 640px; }
.sec-head .eyebrow { display: block; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 14px; }
.sec-head h2 .amber { color: var(--accent-500); }
.sec-head h2 .teal { color: var(--brand-700); }
.sec-head p { font-size: 1.15rem; color: var(--charcoal-light); margin-top: 18px; font-weight: 600; line-height: 1.55; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 8px; }
.split.reverse .col-media { order: 2; }

/* quote bubble (from posts) */
.qbubble { position: relative; display: inline-block; border-radius: 20px; padding: 16px 22px; font-family: var(--font-heading); font-weight: 600; font-size: 1.5rem; }
.qbubble:after { content: ""; position: absolute; bottom: -13px; left: 30px; border-left: 14px solid transparent; border-top: 16px solid currentColor; }
.qbubble.amber { background: #FFF1E0; color: var(--amber-700); }
.qbubble.teal { background: var(--brand-50); color: var(--brand-900); }
.qsub { font-weight: 700; font-size: 1.05rem; color: var(--charcoal-light); margin-top: 22px; }
.qsub em { color: var(--accent-500); font-style: italic; }

/* ---------- quick check card (Post 1) ---------- */
.qc { background: var(--amber-50); border: 3px solid var(--warm-300); border-radius: var(--r-2xl); padding: 30px; box-shadow: 0 20px 50px rgba(217,119,6,0.12); position: relative; }
.qc .tag { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; background: var(--warm-300); color: #92400e; padding: 7px 14px; border-radius: var(--r-md); }
.qc .q { font-weight: 800; font-size: 1.35rem; color: var(--charcoal); margin: 18px 0 22px; font-family: var(--font-heading); }
.qc .opts { display: flex; flex-direction: column; gap: 12px; }
.opt { display: flex; align-items: center; gap: 16px; border: 2.5px solid var(--line-strong); background: #fff; border-radius: var(--r-lg); padding: 15px 20px; font-weight: 700; font-size: 1.15rem; color: var(--charcoal); transition: all .3s var(--ease-out); }
.opt .letter { width: 40px; height: 40px; border-radius: 50%; background: #F3F0E8; color: var(--charcoal-light); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.05rem; flex-shrink: 0; transition: all .3s var(--ease-out); }
.opt .mark { margin-left: auto; font-size: 1.5rem; opacity: 0; transform: scale(0); transition: all .35s var(--ease-out); }
.opt.correct { border-color: var(--success); background: #EEFBEE; }
.opt.correct .letter { background: var(--success); color: #fff; }
.opt.correct .mark { color: var(--success); opacity: 1; transform: scale(1); }
.opt.wrong { border-color: var(--error); background: #FEF0F0; }
.opt.wrong .letter { background: var(--error); color: #fff; }
.opt.wrong .mark { color: var(--error); opacity: 1; transform: scale(1); }
.qc-result { margin-top: 20px; display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--brand-900); opacity: 0; transform: translateY(8px); transition: all .4s var(--ease-out); }
.qc-result.show { opacity: 1; transform: none; }

/* parent peek card */
.peek { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px 24px; box-shadow: var(--shadow-card); }
.peek .ph { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.peek .ph .t { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; }
.peek .ph .badge { font-weight: 800; font-size: 0.75rem; color: var(--brand-700); background: var(--brand-50); padding: 4px 10px; border-radius: 999px; }
.peek .barrow { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.peek .barrow .nm { font-weight: 700; font-size: 0.92rem; width: 92px; flex-shrink: 0; color: var(--charcoal); }
.peek .track { flex: 1; height: 10px; background: #EFEAE0; border-radius: 999px; overflow: hidden; }
.peek .track i { display: block; height: 100%; width: 0; border-radius: 999px; transition: width 1.1s var(--ease-out); }
.peek .pct { font-weight: 800; font-size: 0.85rem; width: 38px; text-align: right; color: var(--charcoal-light); font-variant-numeric: tabular-nums; }

/* ---------- value band (Post 2) ---------- */
.feat-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.feat-list li { display: flex; align-items: flex-start; gap: 13px; font-weight: 600; font-size: 1.08rem; color: var(--charcoal); }
.feat-list .ic { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-50); color: var(--brand-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

/* ---------- value band (Post 2) ---------- */
.value { background: var(--brand-900); color: #fff; position: relative; overflow: hidden; text-align: center; }
.value:before { content:""; position:absolute; top:50%; left:50%; transform: translate(-50%,-50%); width: 760px; height: 760px; background: radial-gradient(circle, rgba(20,184,180,0.18), transparent 62%); }
.value .wrap { position: relative; z-index: 2; }
.value .eyebrow { color: rgba(224,247,246,0.8); }
.value .old { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); color: rgba(255,255,255,0.5); text-decoration: line-through; text-decoration-thickness: 3px; margin-top: 20px; }
.value .big { font-family: var(--font-heading); font-weight: 700; font-size: clamp(4rem, 12vw, 9rem); line-height: 0.95; margin-top: 6px; }
.value .big .amt { color: var(--accent-400); }
.value .vlead { font-size: 1.2rem; color: rgba(255,255,255,0.82); max-width: 620px; margin: 26px auto 0; font-weight: 600; line-height: 1.5; }
.value .chips { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.value .chips .c { font-weight: 700; font-size: 1rem; padding: 11px 20px; border-radius: 999px; background: rgba(255,255,255,0.13); }
.value .chips .c.warm { background: rgba(245,158,11,0.2); color: var(--warm-300); }
.value .vcta { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- dual audience ---------- */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 50px; }
.aud { border-radius: var(--r-2xl); padding: 38px; position: relative; overflow: hidden; }
.aud.students { background: #fff; border: 1px solid var(--line); }
.aud.parents { background: var(--brand-900); color: #fff; }
.aud .tile { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.aud.students .tile { background: var(--amber-50); }
.aud.parents .tile { background: rgba(255,255,255,0.12); }
.aud h3 { font-size: 1.6rem; }
.aud .sub { font-weight: 700; margin-top: 6px; }
.aud.students .sub { color: var(--accent-500); }
.aud.parents .sub { color: var(--warm-300); }
.aud ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 13px; }
.aud li { display: flex; gap: 11px; font-weight: 600; font-size: 1.02rem; }
.aud.parents li { color: rgba(255,255,255,0.88); }
.aud .ck { flex-shrink: 0; margin-top: 2px; }

/* ---------- final cta ---------- */
.finalcta-sec { padding: clamp(64px, 8vw, 100px) 0; }
.finalcta { background: var(--accent-500); color: #fff; border-radius: var(--r-2xl); padding: clamp(48px, 7vw, 76px) 40px; text-align: center; position: relative; overflow: hidden; }
.finalcta:before { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,0.12) 1.4px, transparent 1.5px); background-size: 22px 22px; opacity: .6; }
.finalcta > * { position: relative; z-index: 2; }
.finalcta h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); color: #fff; }
.finalcta p { font-size: 1.2rem; font-weight: 600; color: rgba(255,255,255,0.92); margin: 18px auto 0; max-width: 520px; }
.finalcta .fcta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.finalcta .btn-white { background: #fff; color: var(--accent-500); }
.finalcta .btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,0.18); }
.finalcta .fnote { margin-top: 18px; font-weight: 700; font-size: 0.95rem; color: rgba(255,255,255,0.82); }

/* ---------- footer ---------- */
.footer { background: var(--charcoal); color: rgba(255,255,255,0.7); padding: 56px 0 36px; }
.footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 9999px; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.75); transition: background .15s, color .15s; }
.footer-social a:hover { background: rgba(255,255,255,0.2); color: #fff; }
.footer h4 { font-family: var(--font-body); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-weight: 600; font-size: 0.96rem; color: rgba(255,255,255,0.72); transition: color .15s; }
.footer ul a:hover { color: #fff; }
.footer .tag { margin-top: 16px; font-weight: 600; font-size: 0.96rem; color: rgba(255,255,255,0.6); max-width: 280px; }
.footer-bot { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.88rem; color: rgba(255,255,255,0.5); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.d1.in { transition-delay: .08s; } .reveal.d2.in { transition-delay: .16s; } .reveal.d3.in { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal, .bubble, .qc-result { opacity: 1 !important; transform: none !important; }
}

/* ---------- interactive practice widget (Learn by doing) ---------- */
.practice { background: #fff; border-radius: var(--r-2xl); padding: 30px; box-shadow: 0 24px 60px rgba(10,107,110,0.12); border: 1px solid var(--line); position: relative; }
.practice .ph { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.practice .ph .tag { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-50); padding: 6px 12px; border-radius: var(--r-md); }
.practice .ph .live { margin-left: auto; font-weight: 800; font-size: 0.78rem; color: var(--accent-500); display: inline-flex; align-items: center; gap: 6px; }
.practice .prompt { font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem; color: var(--charcoal); line-height: 1.3; }
.practice .hint { font-weight: 700; font-size: 0.95rem; color: var(--charcoal-light); margin-top: 6px; }
.practice .pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.tile-btn { border: 2.5px solid var(--line-strong); background: #fff; border-radius: var(--r-lg); padding: 18px 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; color: var(--charcoal); transition: all .18s var(--ease-out); }
.tile-btn:hover { border-color: var(--brand-500); transform: translateY(-3px); box-shadow: 0 10px 22px rgba(13,143,139,0.14); }
.tile-btn:disabled { cursor: default; }
.tile-btn.is-right { border-color: var(--success); background: #EEFBEE; color: #059669; transform: none; }
.tile-btn.is-wrong { border-color: var(--error); background: #FEF0F0; color: var(--error); animation: shake .4s; }
@keyframes shake { 0%,100%{transform:translateX(0);} 20%,60%{transform:translateX(-6px);} 40%,80%{transform:translateX(6px);} }
.practice .fb { margin-top: 20px; min-height: 26px; font-weight: 800; font-size: 1.02rem; display: flex; align-items: center; gap: 9px; opacity: 0; transform: translateY(6px); transition: all .3s var(--ease-out); }
.practice .fb.show { opacity: 1; transform: none; }
.practice .fb.good { color: #059669; }
.practice .fb.try { color: var(--accent-500); }
.practice .safe { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-weight: 700; font-size: 0.88rem; color: var(--gray-soft); display: flex; align-items: center; gap: 8px; }

/* ---------- progress map ---------- */
.map-sec { text-align: center; }
.map-wrap { margin-top: 50px; position: relative; }
.maprow { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; position: relative; max-width: 920px; margin: 0 auto; }
.maprow .line { position: absolute; top: 28px; left: 8%; right: 8%; height: 5px; background: #EFEAE0; border-radius: 999px; z-index: 0; }
.maprow .line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand-700), var(--success)); border-radius: 999px; transition: width 1.6s var(--ease-out); }
.node { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.node .dot { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; border: 4px solid var(--cream-warm); background: #EFEAE0; color: var(--gray-soft); transition: all .4s var(--ease-out); }
.node .lbl { font-weight: 800; font-size: 0.92rem; color: var(--charcoal); }
.node .sub { font-weight: 700; font-size: 0.78rem; color: var(--gray-soft); }
.node.done .dot { background: var(--success); color: #fff; transform: scale(1); }
.node.now .dot { background: var(--accent-500); color: #fff; box-shadow: 0 0 0 6px rgba(245,158,11,0.2); animation: nowpulse 2s infinite; }
.node.now .sub { color: var(--accent-500); }
@keyframes nowpulse { 0%,100%{ box-shadow: 0 0 0 6px rgba(245,158,11,0.18);} 50%{ box-shadow: 0 0 0 11px rgba(245,158,11,0.06);} }
.node .dot.reveal-pop { opacity: 0; transform: scale(0.4); }
.node .dot.pop { opacity: 1; transform: scale(1); transition: all .45s var(--ease-out); }
@media (max-width: 760px){
  .maprow { flex-wrap: wrap; gap: 22px 8px; }
  .maprow .line { display: none; }
  .node { flex: 0 0 28%; }
}

/* progress map — extra feature cards */
.map-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 30px auto 0; text-align: left; }
.mx-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-2xl); padding: 30px; box-shadow: var(--shadow-card); }
.mx-head { display: flex; align-items: center; gap: 14px; }
.mx-ico { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mx-ico.teal { background: var(--brand-50); color: var(--brand-700); }
.mx-ico.amber { background: var(--amber-50); color: var(--accent-500); }
.mx-card h3 { font-size: 1.3rem; }
.mx-desc { font-weight: 600; font-size: 1rem; color: var(--charcoal-light); line-height: 1.5; margin-top: 14px; }

/* spaced-repetition timeline */
.spaced { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: 24px; position: relative; }
.spaced:before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 19px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 11px); z-index: 0; }
.sp { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 9px; flex: 1; }
.sp .chip2 { font-weight: 800; font-size: 0.68rem; padding: 4px 9px; border-radius: 999px; white-space: nowrap; background: #F3F0E8; color: var(--charcoal-light); }
.sp .dot2 { width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2.5px solid var(--brand-500); }
.sp .day2 { font-weight: 800; font-size: 0.7rem; color: var(--charcoal-light); white-space: nowrap; }
.sp.learn .chip2 { background: var(--brand-50); color: var(--brand-700); }
.sp.test .chip2 { background: var(--amber-50); color: var(--accent-500); }
.sp.test .dot2 { background: var(--accent-500); border-color: var(--accent-500); }
.sp.kept .chip2 { background: #EEFBEE; color: #059669; }
.sp.kept .dot2 { background: var(--success); border-color: var(--success); }

/* mini parent dashboard */
.pdash { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 18px; background: var(--cream-warm); }
.pdash .pd-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pdash .pd-who { font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem; color: var(--charcoal); }
.pdash .pd-week { font-weight: 800; font-size: 0.74rem; color: #059669; background: #EEFBEE; padding: 4px 10px; border-radius: 999px; }
.bloom-scale { display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap; font-weight: 800; font-size: 0.6rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gray-soft); margin-bottom: 15px; }
.bloom-scale i { font-style: normal; color: var(--charcoal-light); }
.bloom-scale .ar { color: var(--field-border); font-size: 0.7rem; }
.pd-row { display: grid; grid-template-columns: 80px 1fr 74px; align-items: center; gap: 10px; margin-bottom: 12px; }
.pd-row:last-child { margin-bottom: 0; }
.pd-row .pn { font-weight: 700; font-size: 0.82rem; color: var(--charcoal); }
.bloom { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.bloom span { height: 15px; border-radius: 4px; background: #EFEAE0; }
.bloom span.on { transform: scaleX(0); transform-origin: left; opacity: 0; background: var(--brand-500); }
.map-extras.shown .bloom span.on { transform: scaleX(1); opacity: 1; transition: transform .45s var(--ease-out), opacity .45s; }
.map-extras.shown .bloom span.on:nth-child(1){transition-delay:.05s}
.map-extras.shown .bloom span.on:nth-child(2){transition-delay:.13s}
.map-extras.shown .bloom span.on:nth-child(3){transition-delay:.21s}
.map-extras.shown .bloom span.on:nth-child(4){transition-delay:.29s}
.bloom span.cur { box-shadow: inset 0 0 0 2.5px rgba(255,255,255,0.7); }
.pd-row.strong .bloom span.on { background: var(--success); }
.pd-row.gap .bloom span.on { background: var(--accent-500); }
.pd-row .pf { font-weight: 800; font-size: 0.72rem; text-align: right; color: var(--brand-700); }
.pd-row.strong .pf { color: #059669; } .pd-row.gap .pf { color: var(--accent-500); }
@media (max-width: 760px){ .map-extras { grid-template-columns: 1fr; } }

/* comfort-level picker (student choice) */
.level-pick { max-width: 920px; margin: 40px auto 0; background: var(--grad-header); color: #fff; border-radius: var(--r-2xl); padding: 32px 36px; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 36px; align-items: center; text-align: left; position: relative; overflow: hidden; }
.level-pick:before { content: ""; position: absolute; top: -40%; right: -10%; width: 360px; height: 360px; background: radial-gradient(circle, rgba(20,184,180,0.28), transparent 65%); pointer-events: none; }
.lp-left { position: relative; z-index: 1; }
.lp-left .eyebrow { color: var(--warm-300); }
.lp-left h3 { color: #fff; font-size: 1.5rem; margin-top: 10px; }
.lp-left p { color: rgba(255,255,255,0.82); font-weight: 600; margin-top: 10px; font-size: 0.98rem; line-height: 1.5; }
.lp-right { position: relative; z-index: 1; }
.lp-seg { display: flex; gap: 6px; background: rgba(255,255,255,0.12); padding: 6px; border-radius: 999px; }
.lp-opt { flex: 1; padding: 12px 8px; border-radius: 999px; font-family: var(--font-body); font-weight: 800; font-size: 0.92rem; color: rgba(255,255,255,0.72); white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: background .25s var(--ease-out), color .25s var(--ease-out), box-shadow .25s; }
.lp-opt:hover { color: #fff; }
.lp-opt.active { background: #fff; color: var(--brand-900); box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.lp-desc { margin-top: 16px; font-weight: 700; font-size: 1rem; color: var(--warm-300); line-height: 1.5; min-height: 3em; transition: opacity .2s; }
@media (max-width: 760px){ .level-pick { grid-template-columns: 1fr; gap: 22px; } }



/* ---------- what it's NOT ---------- */
.not-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; margin-top: 46px; }
.notcard { border-radius: var(--r-2xl); padding: 30px; }
.notcard.no { background: #fff; border: 1.5px solid var(--line); }
.notcard.no .x { width: 46px; height: 46px; border-radius: 12px; background: #FEF0F0; color: var(--error); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.notcard.no h3 { font-size: 1.18rem; color: var(--charcoal); }
.notcard.no p { font-weight: 600; font-size: 0.98rem; color: var(--charcoal-light); margin-top: 8px; }
.notcard.no .strike { color: var(--gray-soft); text-decoration: line-through; font-weight: 700; }
.not-yes { margin-top: 26px; background: var(--grad-primary); color: #fff; border-radius: var(--r-2xl); padding: 38px 40px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.not-yes .yic { width: 60px; height: 60px; border-radius: 16px; background: rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.not-yes .yt { flex: 1; min-width: 240px; }
.not-yes .yt .k { font-family: var(--font-heading); font-weight: 700; font-size: 1.55rem; }
.not-yes .yt .d { font-weight: 600; font-size: 1.05rem; color: rgba(255,255,255,0.85); margin-top: 4px; }
@media (max-width: 820px){ .not-grid { grid-template-columns: 1fr; } }

/* ---------- how it works ---------- */
.how-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; align-items: stretch; }
.how-rail { position: absolute; top: 56px; left: 10%; right: 10%; height: 3px; background: linear-gradient(90deg, var(--brand-500), var(--accent-500)); border-radius: 3px; opacity: 0.4; z-index: 0; }
.how-step { position: relative; z-index: 1; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-2xl); padding: 26px 22px 24px; box-shadow: var(--shadow-card); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s; }
.how-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(13,143,139,0.25); }
.how-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.how-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--amber-50); color: var(--accent-500); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.how-num { font-family: var(--font-heading); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--brand-500); opacity: 0.85; }
.how-step h3 { font-size: 1.18rem; color: var(--charcoal); line-height: 1.2; }
.how-step p { font-weight: 600; font-size: 0.95rem; color: var(--charcoal-light); line-height: 1.55; margin-top: 9px; }
@media (max-width: 980px){
  .how-grid { grid-template-columns: 1fr 1fr 1fr; gap: 22px 18px; }
  .how-rail { display: none; }
}
@media (max-width: 640px){
  .how-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px){
  .how-grid { grid-template-columns: 1fr; }
}

/* learning-science strip */
/* ── How-it-works alternating timeline ── */
.how-timeline { display: flex; flex-direction: column; gap: 96px; margin: 64px 0 24px; }
.how-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.how-row-reverse > :nth-child(1) { order: 1; }
.how-row-reverse > :nth-child(2) { order: 2; }
.how-row-reverse > * { }
.how-copy { max-width: 460px; }
.how-row-reverse .how-copy { justify-self: end; }
.how-badge { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 18px; font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; color: #fff; margin-bottom: 22px; box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.how-badge-teal     { background: linear-gradient(135deg, #14B8B4, #0D8F8B); }
.how-badge-amber    { background: linear-gradient(135deg, #F59E0B, #D97706); }
.how-badge-gold     { background: linear-gradient(135deg, #FBBF24, #F59E0B); }
.how-badge-deepteal { background: linear-gradient(135deg, #0D8F8B, #0A6B6E); }
.how-copy h3 { font-family: var(--font-heading); font-weight: 800; font-size: 2rem; line-height: 1.15; color: var(--charcoal); margin: 0 0 14px; }
.how-copy p { font-weight: 600; font-size: 1.1rem; color: var(--charcoal-light); line-height: 1.55; margin: 0; }
.how-visual { display: flex; align-items: center; justify-content: center; }
.how-visual img { width: 100%; max-width: 480px; height: auto; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: block; }
.how-illust { width: 100%; max-width: 420px; height: auto; filter: drop-shadow(0 18px 36px rgba(13,143,139,0.18)); }
@media (max-width: 880px){
  .how-timeline { gap: 64px; }
  .how-row, .how-row-reverse { grid-template-columns: 1fr; gap: 28px; }
  /* Always text-first on mobile, regardless of desktop side. Forces a clean
     top-to-bottom reading order down the timeline. The high-specificity
     nth-child overrides win over the .how-* rules, so set those too. */
  .how-row > .how-copy, .how-row-reverse > .how-copy,
  .how-row-reverse > :nth-child(1).how-copy, .how-row-reverse > :nth-child(2).how-copy { order: 1; max-width: 100%; justify-self: start; }
  .how-row > .how-visual, .how-row-reverse > .how-visual,
  .how-row-reverse > :nth-child(1).how-visual, .how-row-reverse > :nth-child(2).how-visual { order: 2; }
  .how-copy h3 { font-size: 1.6rem; }
}

.science-strip { display: flex; align-items: center; gap: 16px; margin-top: 44px; background: linear-gradient(135deg, var(--brand-50) 0%, #f0fbfa 100%); border: 1px solid rgba(13, 143, 139, 0.18); border-left: 4px solid var(--brand-700); border-radius: var(--r-xl); padding: 20px 26px; box-shadow: var(--shadow-card); }
.science-strip .sci-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-700); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.science-strip p { font-weight: 600; font-size: 1.02rem; color: var(--charcoal-light); line-height: 1.5; margin: 0; }
.science-strip p strong { color: var(--brand-900); font-weight: 800; }
@media (max-width: 540px){ .science-strip { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* ---------- safety & privacy — trust badges ---------- */
.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.tb { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-body); font-weight: 800; font-size: 0.95rem; color: var(--charcoal-light); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-full); padding: 11px 20px 11px 14px; cursor: pointer; transition: all .22s var(--ease-out); }
.tb .tb-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-50); color: var(--brand-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .22s var(--ease-out); }
.tb:hover { border-color: var(--brand-500); color: var(--charcoal); transform: translateY(-2px); }
.tb.active { border-color: transparent; color: #fff; background: var(--brand-700); box-shadow: var(--shadow-cta); }
.tb.active .tb-ic { background: rgba(255,255,255,0.18); color: #fff; }
.trust-detail { max-width: 640px; margin: 22px auto 0; min-height: 58px; background: var(--cream-warm); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 24px; text-align: center; position: relative; }
.td-panel { margin: 0; font-weight: 600; font-size: 1.05rem; line-height: 1.5; color: var(--charcoal-light); display: none; }
.td-panel.active { display: block; }
.td-panel b { color: var(--brand-900); font-weight: 800; }
@media (max-width: 540px){ .tb { font-size: 0.88rem; padding: 10px 16px 10px 12px; } }

/* ---------- our-approach teaser (links to /our-approach) ---------- */
.approach-teaser { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; max-width: 640px; margin: 34px auto 0; background: linear-gradient(135deg, var(--brand-50) 0%, #f0fbfa 100%); border: 1px solid rgba(13,143,139,0.18); border-radius: var(--r-xl); padding: 26px 30px; box-shadow: var(--shadow-card); transition: transform .2s var(--ease-out), box-shadow .2s; }
.approach-teaser:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(10,107,110,0.16); }
.approach-teaser .at-eyebrow { font-weight: 800; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--accent-500); }
.approach-teaser .at-line { font-family: var(--font-heading); font-weight: 500; font-size: 1.4rem; color: var(--brand-900); line-height: 1.2; }
.approach-teaser .at-line b { font-weight: 700; color: var(--brand-700); }
.approach-teaser .at-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 5px; font-weight: 800; font-size: 1rem; color: var(--brand-700); }
.approach-teaser:hover .at-link { color: var(--brand-900); }
.approach-teaser:hover .at-link svg { transform: translateX(3px); }
.approach-teaser .at-link svg { transition: transform .2s var(--ease-out); }
@media (max-width: 540px){ .approach-teaser .at-line { font-size: 1.18rem; } }

/* ---------- comparison table ---------- */
.cmp-wrap { margin-top: 48px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0; }
.cmp-table th, .cmp-table td { padding: 16px 14px; text-align: center; }
.cmp-table thead th { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; color: var(--charcoal-light); vertical-align: middle; }
.cmp-table .cmp-rowhead { text-align: left; font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; color: var(--charcoal); width: 30%; }
.cmp-table tbody tr { border-radius: 12px; }
.cmp-table tbody tr:nth-child(odd) td:not(.cmp-skolvio), .cmp-table tbody tr:nth-child(odd) .cmp-rowhead { background: rgba(255,255,255,0.55); }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { padding-top: 20px; padding-bottom: 20px; }
/* highlighted Skolvio column */
.cmp-table .cmp-skolvio { background: #fff; border-left: 2px solid var(--brand-500); border-right: 2px solid var(--brand-500); position: relative; }
.cmp-table thead .cmp-skolvio { background: var(--brand-700); border-color: var(--brand-700); border-top-left-radius: var(--r-lg); border-top-right-radius: var(--r-lg); box-shadow: var(--shadow-cta); }
.cmp-table tbody tr:last-child .cmp-skolvio { border-bottom: 2px solid var(--brand-500); border-bottom-left-radius: var(--r-lg); border-bottom-right-radius: var(--r-lg); }
.cmp-brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; color: #fff; letter-spacing: -0.5px; position: relative; }
.cmp-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--logo-dot); top: -2px; right: 10px; }
.cmp-table .ic { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 800; font-size: 1rem; }
.cmp-table .ic.yes { background: #EAF8EF; color: #1FA15F; }
.cmp-table .ic.no { background: #FBECEA; color: #D0584B; }
.cmp-table .ic.part { background: #FBF1E0; color: #C2851A; }
.cmp-skolvio .cmp-price { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: var(--brand-700); }
.cmp-cost { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--charcoal-light); }
@media (max-width: 720px){ .cmp-wrap { margin-left: -8px; margin-right: -8px; } }

/* ---------- pricing plan card ---------- */
.plan-card { max-width: 460px; margin: 32px auto 0; background: #fff; border-radius: var(--r-2xl); padding: 30px 30px 28px; text-align: left; box-shadow: 0 24px 60px rgba(0,0,0,0.28); }
.plan-top { text-align: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan-name { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-700); }
.plan-price { display: flex; align-items: baseline; justify-content: center; gap: 7px; margin-top: 12px; }
.plan-price .amt { font-family: var(--font-heading); font-weight: 700; font-size: 3.6rem; line-height: 1; color: var(--charcoal); }
.plan-price .per { font-weight: 700; font-size: 1.05rem; color: var(--charcoal-light); }
.plan-anchor { display: block; margin-top: 8px; font-weight: 700; font-size: 0.92rem; color: var(--gray-soft); }
.plan-incl { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 13px; }
.plan-incl li { display: flex; align-items: flex-start; gap: 11px; font-weight: 700; font-size: 1rem; line-height: 1.4; color: var(--charcoal); text-align: left; }
.plan-incl li svg { color: var(--brand-700); flex-shrink: 0; margin-top: 2px; }
.plan-cta { display: flex; width: 100%; justify-content: center; margin-top: 26px; }
.plan-multi { text-align: center; font-weight: 700; font-size: 0.9rem; color: var(--gray-soft); margin-top: 14px; }
.plan-multi b { color: var(--brand-700); font-weight: 800; }

/* ---------- soft CTA: free sample lesson capture ---------- */
.sample-band { background: var(--brand-900); padding: clamp(48px, 6vw, 76px) 0; }
.sb-inner { max-width: 940px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.sb-copy .eyebrow { display: block; color: var(--warm-300); }
.sb-copy h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 12px; }
.sb-copy h2 .teal { color: var(--warm-500); }
.sb-copy p { color: rgba(255,255,255,0.82); font-weight: 600; font-size: 1.05rem; line-height: 1.55; margin-top: 14px; }
.sb-form { width: 100%; }
.sb-field { display: flex; gap: 10px; background: #fff; padding: 8px; border-radius: var(--r-full); box-shadow: var(--shadow-lg); }
.sb-field input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--charcoal); padding: 0 16px; }
.sb-field input::placeholder { color: var(--gray-soft); }
.sb-field .btn { white-space: nowrap; flex-shrink: 0; }
.sb-field.invalid { box-shadow: 0 0 0 3px rgba(232,93,75,0.5); }
.sb-note { color: rgba(255,255,255,0.6); font-weight: 700; font-size: 0.85rem; margin-top: 12px; padding-left: 8px; }
.sb-note.err { color: #FFC9C2; }
.sb-success { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r-lg); padding: 20px 22px; }
.sb-check { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--success); flex-shrink: 0; }
.sb-success p { color: #fff; font-weight: 600; font-size: 1.05rem; margin: 0; }
.sb-success b { font-weight: 800; }
.sb-success-body { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.sb-lesson-link { display: inline-flex; align-items: center; gap: 7px; background: var(--warm-500); color: #5a3d00; font-weight: 800; font-size: 0.98rem; padding: 10px 18px; border-radius: var(--r-full); text-decoration: none; transition: transform .14s, background .18s; }
.sb-lesson-link:hover { background: var(--warm-400, #FBBF24); transform: translateY(-1px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
@media (max-width: 760px){ .sb-inner { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 460px){ .sb-field { flex-direction: column; padding: 12px; border-radius: var(--r-lg); } .sb-field input { padding: 10px 12px; } .sb-field .btn { width: 100%; } }

/* ---------- mobile sticky CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px){
  .mobile-cta { display: flex; align-items: center; gap: 14px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90; background: var(--brand-900); color: #fff; border-radius: var(--r-2xl); padding: 12px 14px 12px 18px; box-shadow: 0 10px 30px rgba(0,0,0,0.28); transform: translateY(140%); opacity: 0; transition: transform .35s var(--ease-out), opacity .35s var(--ease-out); padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .mobile-cta.show { transform: translateY(0); opacity: 1; }
  .mc-text { display: flex; flex-direction: column; line-height: 1.15; }
  .mc-price { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: #fff; }
  .mc-sub { font-weight: 700; font-size: 0.74rem; color: rgba(255,255,255,0.7); }
  .mobile-cta .btn { margin-left: auto; flex-shrink: 0; padding: 12px 20px; }
}
@media (prefers-reduced-motion: reduce){ .mobile-cta { transition: opacity .2s; } }

/* ---------- closing CTA ---------- */
.closing-cta { background: var(--cream); border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 104px) 0; text-align: center; }
.cc-inner { max-width: 680px; margin: 0 auto; }
.cc-inner .eyebrow { display: block; }
.cc-inner h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--charcoal); margin-top: 14px; }
.cc-inner > p { font-weight: 600; font-size: 1.15rem; color: var(--charcoal-light); line-height: 1.55; max-width: 38rem; margin: 18px auto 0; }
.cc-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.cc-note { font-weight: 700; font-size: 0.92rem; color: var(--gray-soft); margin-top: 20px; }

/* ---------- pricing reassurance strip ---------- */
.guarantee { display: inline-flex; align-items: center; gap: 12px; max-width: 600px; margin: 22px auto 0; padding: 14px 22px; background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.22); border-radius: var(--r-full); text-align: left; }
.guarantee .g-ic { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--warm-500); color: #5a3d00; flex-shrink: 0; }
.guarantee span:last-child { font-weight: 600; font-size: 0.96rem; line-height: 1.4; color: rgba(255,255,255,0.92); }
.guarantee b { color: #fff; font-weight: 800; }
@media (max-width: 540px){ .guarantee { border-radius: var(--r-2xl); } }
.reassure { list-style: none; padding: 0; margin: 22px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; max-width: 720px; }
.reassure li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; color: rgba(255,255,255,0.92); }
.reassure .ri { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.16); color: #fff; flex-shrink: 0; }
@media (max-width: 540px){ .reassure { flex-direction: column; align-items: center; gap: 12px; } }

/* ---------- try a lesson (interactive demo) ---------- */
.try-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; margin-top: 8px; }
.try-intro .eyebrow { display: block; }
.try-intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--charcoal); margin-top: 14px; }
.try-intro > p { font-weight: 600; font-size: 1.08rem; line-height: 1.6; color: var(--charcoal-light); margin-top: 16px; }
.try-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.try-points li { display: flex; align-items: flex-start; gap: 11px; font-weight: 700; font-size: 1rem; color: var(--charcoal); }
.try-points .tp-ic { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); flex-shrink: 0; }

.try-stage { display: flex; flex-direction: column; }
.try-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.try-tab { flex: 1; font-family: var(--font-body); font-weight: 800; font-size: 0.95rem; color: var(--charcoal-light); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-full); padding: 11px 14px; cursor: pointer; transition: all .2s var(--ease-out); }
.try-tab:hover { border-color: var(--brand-500); color: var(--charcoal); }
.try-tab.active { background: var(--brand-700); border-color: var(--brand-700); color: #fff; box-shadow: var(--shadow-cta); }

/* water table diagram + slider */
.wt-diagram { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); margin: 16px 0 4px; line-height: 0; }
.wt-diagram svg { width: 100%; height: 168px; display: block; }
.wt-control { display: flex; align-items: center; gap: 14px; padding: 14px 4px 4px; }
.wt-control label { font-weight: 800; font-size: 0.92rem; color: var(--charcoal); white-space: nowrap; }
.wt-control input[type="range"] { flex: 1; -webkit-appearance: none; appearance: none; height: 7px; border-radius: 99px; background: linear-gradient(90deg, var(--brand-500), var(--accent-500)); outline: none; cursor: pointer; }
.wt-control input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-700); box-shadow: 0 2px 6px rgba(0,0,0,0.2); cursor: pointer; }
.wt-control input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-700); box-shadow: 0 2px 6px rgba(0,0,0,0.2); cursor: pointer; }
.wt-control input[type="range"]:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; }
.wt-val { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; color: var(--brand-700); width: 64px; text-align: right; flex-shrink: 0; }
.cir-flip { font-family: var(--font-body); font-weight: 800; font-size: 0.98rem; color: #fff; background: var(--brand-700); border: none; border-radius: var(--r-md); padding: 12px 20px; cursor: pointer; box-shadow: var(--shadow-cta); transition: background .18s, transform .12s; }
.cir-flip:hover { background: var(--brand-900); transform: translateY(-1px); }
.cir-flip:active { transform: translateY(1px); }
.cir-diagram svg { background: #FBFAF6; }
#cirLever { transition: transform .28s var(--ease-out); }
#cirBulb, #cirRays { transition: fill .25s var(--ease-out), opacity .25s var(--ease-out); }

.tal { background: #fff; border: 1px solid var(--line); border-radius: var(--r-2xl); box-shadow: 0 18px 48px rgba(0,0,0,0.1); padding: 24px 24px 26px; }
/* BEDMAS order-of-operations lesson */
.bedmas-head { margin: -24px -24px 18px; padding: 16px 22px; border-radius: var(--r-2xl) var(--r-2xl) 0 0; background: linear-gradient(100deg, #7B5EA7, #3AB5E6); border-bottom: none; }
.bedmas-head .tal-name { color: #fff; }
.bedmas-head .tal-role { color: rgba(255,255,255,0.85); }
.bedmas-ava { background: rgba(255,255,255,0.22); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 24px; }
.bedmas-head .tal-live { background: rgba(255,255,255,0.2); color: #fff; }
.bedmas-head .tal-live .pulse { background: #fff; }
.bedmas-teach { min-height: 78px; margin-top: 0; }
.bd-cursor { display: inline-block; width: 2px; height: 1.05em; background: var(--charcoal); margin-left: 1px; vertical-align: text-bottom; animation: bdBlink 1s step-end infinite; }
@keyframes bdBlink { 50% { opacity: 0; } }
.bedmas-stage { background: #F5F3FA; border-radius: var(--r-lg); padding: 22px 20px; text-align: center; margin: 4px 0 2px; }
.geo-diagram { margin: 0 auto 12px; max-width: 280px; }
.geo-diagram svg { display: block; width: 100%; height: auto; touch-action: none; }
.geo-ripple { opacity: 0; }
.geo-ripple.active { animation: geoRipple 2.4s ease-out infinite; }
.geo-r2.active { animation-delay: 0.8s; }
.geo-r3.active { animation-delay: 1.6s; }
@keyframes geoRipple { 0% { r: 8; opacity: 0.55; stroke-width: 2; } 100% { r: 72; opacity: 0; stroke-width: 0.5; } }
#geoDragHandle { transition: opacity 0.4s; filter: drop-shadow(0 0 8px rgba(123,94,167,0.45)); }
#geoDragHandle:hover, #geoDragHandle.dragging { filter: drop-shadow(0 0 12px rgba(123,94,167,0.7)); }
#geoDragHandle.pulse { animation: geoPulse 1s ease-in-out infinite; }
@keyframes geoPulse { 0%,100% { r: 12; } 50% { r: 17; } }
#geoDragHint { transition: opacity 0.4s; font-size: 12px !important; font-weight: 800 !important; letter-spacing: 0.03em; animation: geoBounce 1s ease-in-out infinite; }
@keyframes geoBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.bedmas-steplabel { font-weight: 800; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-soft); margin-bottom: 12px; min-height: 1em; }
.bedmas-expr { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2rem); color: var(--charcoal); letter-spacing: 0.01em; }
.bedmas-expr.frame-in { animation: bdMorph .42s var(--ease-out); }
@keyframes bdMorph { 0% { opacity: 0; transform: scale(0.92); } 100% { opacity: 1; transform: none; } }
.bd-dim { color: #BCC1CC; }
.bd-hi { font-weight: 800; padding: 1px 6px; border-radius: 7px; }
.bd-result { font-size: 1.15em; color: #4CAF50; }
.bedmas-next { margin-top: 16px; min-height: 40px; display: flex; justify-content: center; }
.bedmas-nextbtn { font-family: var(--font-body); font-weight: 800; font-size: 0.95rem; color: #fff; background: linear-gradient(100deg, #7B5EA7, #3AB5E6); border: none; border-radius: var(--r-full); padding: 11px 22px; cursor: pointer; box-shadow: 0 6px 18px rgba(123,94,167,0.32); transition: transform .14s, box-shadow .18s; animation: bdMorph .35s var(--ease-out); }
.bedmas-nextbtn:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(123,94,167,0.4); }
.bedmas-nextbtn:active { transform: translateY(0); }
/* English "Building Better Sentences" lesson */
.english-head { background: linear-gradient(100deg, #D97706, #E85D75); }
.en-expr { font-size: clamp(1.15rem, 3vw, 1.5rem); line-height: 1.4; }
.english-card .bedmas-nextbtn { background: linear-gradient(100deg, #D97706, #E85D75); box-shadow: 0 6px 18px rgba(232,93,117,0.32); }
.english-card .bedmas-nextbtn:hover { box-shadow: 0 9px 22px rgba(232,93,117,0.42); }
.en-base { color: #B0B6C0; }
@media (prefers-reduced-motion: reduce){ .bd-cursor, .bedmas-expr.frame-in { animation: none; } }
.tal.shake { animation: talShake .42s var(--ease-out); }
@keyframes talShake { 10%,90%{transform:translateX(-2px)} 20%,80%{transform:translateX(4px)} 30%,50%,70%{transform:translateX(-7px)} 40%,60%{transform:translateX(7px)} }
.tal-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.tal-ava { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-50); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.tal-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--charcoal); }
.tal-role { font-weight: 700; font-size: 0.84rem; color: var(--charcoal-light); }
.tal-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--success); background: #EAF8EF; padding: 6px 11px; border-radius: var(--r-full); }
.tal-live .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: talPulse 1.6s ease-in-out infinite; }
@keyframes talPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }
.tal-teach { font-weight: 600; font-size: 1rem; line-height: 1.55; color: var(--charcoal); margin: 16px 0 0; }
.tal-teach strong { color: var(--brand-900); font-weight: 800; }

.tal-eqwrap { background: var(--amber-50); border: 2px dashed rgba(217,119,6,0.28); border-radius: var(--r-lg); padding: 20px; text-align: center; margin: 18px 0; }
.tal-eqlabel { font-weight: 800; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-soft); margin-bottom: 12px; }
.tal-eq { display: flex; align-items: center; justify-content: center; gap: 14px; font-family: var(--font-heading); font-weight: 700; }
.tal-eq.morph { animation: talMorph .5s var(--ease-out); }
@keyframes talMorph { 0%{opacity:0;transform:scale(0.8)} 100%{opacity:1;transform:none} }
.frac { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.frac .num, .frac .den { font-size: 2rem; color: var(--charcoal); padding: 1px 8px; }
.frac .bar { width: 100%; min-width: 34px; height: 3px; background: var(--charcoal); border-radius: 2px; margin: 3px 0; }
.tal-eq .eq-sign { font-size: 1.8rem; color: var(--brand-700); }
.tal-eq.solved .frac .num, .tal-eq.solved .frac .den { color: var(--brand-700); }
.tal-eq.solved .frac .bar { background: var(--brand-700); }
.tal-eq .pop-emoji { font-size: 1.6rem; }

.tal-qrow { display: flex; align-items: flex-start; gap: 14px; justify-content: space-between; }
.tal-q { font-weight: 700; font-size: 1rem; line-height: 1.45; color: var(--charcoal); margin: 0; flex: 1; }
.tal-q em { font-style: italic; color: var(--brand-700); }
.tal-dots { display: flex; gap: 6px; flex-shrink: 0; margin-top: 5px; }
.tal-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(31,41,55,0.16); transition: background .25s; }
.tal-dots i.on { background: var(--brand-500); }
.tal-opts { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.tal-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: var(--r-md); padding: 13px 15px; font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--charcoal); cursor: pointer; transition: border-color .18s, background .18s, transform .12s; }
.tal-opt:hover:not(:disabled) { border-color: var(--brand-500); transform: translateY(-1px); }
.tal-opt:disabled { cursor: default; }
.tal-opt .ltr { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: #F3F4F6; color: var(--gray-soft); font-weight: 800; font-size: 0.86rem; flex-shrink: 0; }
.tal-opt .mk { margin-left: auto; font-weight: 800; display: inline-flex; }
.tal-opt.correct { border-color: var(--success); background: #EEFBEE; }
.tal-opt.correct .ltr { background: var(--success); color: #fff; }
.tal-opt.correct .mk { color: #059669; }
.tal-opt.wrong { border-color: var(--error); background: #FCEFEC; }
.tal-opt.wrong .ltr { background: var(--error); color: #fff; }
.tal-nudge-slot { min-height: 24px; margin-top: 10px; }
.tal-nudge { margin: 0; font-weight: 700; font-size: 0.92rem; line-height: 1.45; color: var(--amber-700); display: flex; align-items: flex-start; gap: 7px; }
.tal-nudge:before { content: "💡"; }
.tal-body.slide-in, .tal-done.slide-in { animation: talSlide .32s var(--ease-out); }
@keyframes talSlide { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }

.tal-done { text-align: center; padding: 6px 0 2px; }
.tal-stars { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.tal-stars span { font-size: 30px; animation: talPop .45s both; }
@keyframes talPop { 0%{opacity:0;transform:scale(0.3)} 70%{transform:scale(1.25)} 100%{opacity:1;transform:scale(1)} }
.tal-done h3 { font-size: 1.3rem; color: var(--charcoal); margin: 0 0 6px; }
.tal-done p { font-weight: 600; font-size: 0.98rem; line-height: 1.5; color: var(--charcoal-light); margin: 0 auto 18px; max-width: 30rem; }
.tal-done .tal-cta { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; align-items: center; }
.tal-retry { background: none; border: none; font-family: var(--font-body); font-weight: 800; font-size: 0.95rem; color: var(--charcoal-light); cursor: pointer; padding: 13px 16px; }
.tal-retry:hover { color: var(--brand-700); }
@media (prefers-reduced-motion: reduce){ .tal.shake, .tal-eq.morph, .tal-stars span, .tal-body.slide-in, .tal-done.slide-in { animation: none !important; } }
@media (max-width: 900px){ .try-layout { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- pilot results (proof) ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.proof-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-2xl); padding: 28px 22px; text-align: center; box-shadow: var(--shadow-card); }
.proof-stat .ps-num { font-family: var(--font-heading); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--brand-700); }
.proof-stat .ps-suffix { font-size: 1.3rem; color: var(--accent-500); margin-left: 2px; }
.proof-stat .ps-pre { color: var(--accent-500); }
.proof-stat .ps-label { font-weight: 700; font-size: 0.98rem; line-height: 1.4; color: var(--charcoal-light); margin-top: 14px; }
.proof-quote { max-width: 720px; margin: 36px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-2xl); padding: 32px 36px; text-align: center; box-shadow: var(--shadow-card); }
.proof-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.proof-quotes .proof-quote { max-width: none; margin: 0; padding: 26px 24px; text-align: left; display: flex; flex-direction: column; }
.proof-quotes .pq-stars { justify-content: flex-start; margin-bottom: 14px; }
.proof-quotes blockquote { font-size: 1.05rem; line-height: 1.5; flex: 1; }
.proof-quotes figcaption { justify-content: flex-start; margin-top: 18px; }
.pq-student { background: var(--amber-50); border-color: rgba(217,119,6,0.2); }
.pq-av-kid { background: var(--grad-warm, linear-gradient(135deg, #F59E0B, #D97706)); }
@media (max-width: 860px){ .proof-quotes { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }
.proof-quote .pq-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 16px; }
.proof-quote blockquote { margin: 0; font-family: var(--font-heading); font-weight: 500; font-size: 1.4rem; line-height: 1.45; color: var(--charcoal); }
.proof-quote blockquote em { font-style: italic; color: var(--brand-700); }
.proof-quote figcaption { display: flex; align-items: center; justify-content: center; gap: 11px; margin-top: 20px; font-weight: 700; font-size: 0.98rem; color: var(--charcoal-light); }
.proof-quote .pq-av { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-primary); color: #fff; font-family: var(--font-heading); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.proof-quote .pq-meta b { color: var(--charcoal); }
@media (max-width: 860px){ .proof-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px){ .proof-grid { grid-template-columns: 1fr; } .proof-quote blockquote { font-size: 1.2rem; } }

/* ---------- built for growth ---------- */
.growth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.growth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-2xl); padding: 32px 30px; box-shadow: var(--shadow-card); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); position: relative; overflow: hidden; }
.growth-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.growth-card .g-ico { width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 20px; }
.growth-card.g-map .g-ico { background: var(--grad-primary); box-shadow: 0 10px 22px rgba(20,184,180,0.3); }
.growth-card.g-adapt .g-ico { background: var(--grad-quiz); box-shadow: 0 10px 22px rgba(245,158,11,0.28); }
.growth-card.g-master .g-ico { background: linear-gradient(135deg, #F43F5E, #FB7185); box-shadow: 0 10px 22px rgba(244,63,94,0.28); }
.growth-card h3 { font-size: 1.4rem; color: var(--charcoal); }
.growth-card p { font-weight: 600; font-size: 1.02rem; color: var(--charcoal-light); line-height: 1.55; margin-top: 12px; }
.g-levels { display: flex; gap: 8px; margin-top: 18px; }
.g-levels .lvl { font-weight: 800; font-size: 0.82rem; padding: 7px 14px; border-radius: 999px; background: var(--amber-50); color: var(--amber-700); border: 1.5px solid transparent; }
.g-levels .lvl.on { background: var(--accent-500); color: #fff; box-shadow: 0 6px 14px rgba(245,158,11,0.3); }
@media (max-width: 820px){ .growth-grid { grid-template-columns: 1fr; } }

/* ---------- multi-modal section ---------- */
.mm-card { background: #fff; border-radius: var(--r-2xl); padding: 28px; box-shadow: 0 24px 60px rgba(10,107,110,0.12); border: 1px solid var(--line); }
.mode-tabs { display: flex; gap: 8px; background: var(--cream-warm); padding: 6px; border-radius: var(--r-full); }
.mode-tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 6px; border-radius: var(--r-full); font-family: var(--font-body); font-weight: 800; font-size: 0.9rem; color: var(--charcoal-light); transition: all .2s var(--ease-out); }
.mode-tab svg { width: 17px; height: 17px; }
.mode-tab:hover { color: var(--charcoal); }
.mode-tab.active { background: var(--brand-700); color: #fff; box-shadow: 0 6px 16px rgba(13,143,139,0.3); }
.mode-stage { margin-top: 22px; }
.mode-panel { display: none; }
.mode-panel.active { display: block; animation: fadeUp .35s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mode-q { font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; color: var(--charcoal); margin-bottom: 4px; }
.mode-sub { font-weight: 700; font-size: 0.92rem; color: var(--accent-500); margin-bottom: 16px; }

/* area builder (click to understand) */
.area-build { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.area-grid { display: grid; grid-template-columns: repeat(6, 38px); grid-template-rows: repeat(5, 38px); gap: 5px; flex-shrink: 0; }
.cell { width: 38px; height: 38px; border-radius: 7px; background: var(--cream-warm); border: 2px solid #ECE5D8; cursor: pointer; transition: all .14s var(--ease-out); }
.cell:hover { border-color: var(--brand-500); transform: scale(1.06); }
.cell.on { background: var(--brand-500); border-color: var(--brand-700); animation: cellpop .25s var(--ease-out); }
@keyframes cellpop { 0%{ transform: scale(0.7);} 60%{ transform: scale(1.12);} 100%{ transform: scale(1);} }
.area-read { flex: 1; min-width: 150px; }
.area-read .big { font-family: var(--font-heading); font-weight: 700; font-size: 3.2rem; line-height: 1; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.area-read .big span { font-size: 1.1rem; color: var(--charcoal-light); }
.area-read .cap { font-weight: 700; font-size: 0.95rem; color: var(--charcoal-light); margin-top: 6px; }
.area-read .dims { font-weight: 800; font-size: 1.05rem; color: var(--accent-500); margin-top: 12px; font-variant-numeric: tabular-nums; }
.area-read .reset { margin-top: 14px; font-weight: 800; font-size: 0.85rem; color: var(--brand-700); display: inline-flex; align-items: center; gap: 6px; }
.area-read .reset:hover { color: var(--brand-900); }

/* draw pad */
.draw-pad { position: relative; border: 2px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--cream-warm); height: 188px; touch-action: none; overflow: hidden; }
.draw-pad canvas { display: block; width: 100%; height: 100%; cursor: crosshair; }
.draw-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--gray-soft); pointer-events: none; transition: opacity .2s; }
.draw-clear { margin-top: 12px; font-weight: 800; font-size: 0.85rem; color: var(--brand-700); display: inline-flex; align-items: center; gap: 6px; }

/* type panel */
.type-row { display: flex; gap: 10px; }
.type-in { flex: 1; border: 2px solid var(--field-border); border-radius: var(--r-btn); padding: 13px 16px; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--charcoal); outline: none; transition: border-color .15s; }
.type-in:focus { border-color: var(--brand-500); box-shadow: var(--ring-focus); }
.type-send { background: var(--brand-700); color: #fff; border-radius: var(--r-btn); padding: 0 18px; font-weight: 800; }
.type-send:hover { background: var(--brand-900); }
.type-fb { margin-top: 14px; font-weight: 800; font-size: 1rem; min-height: 24px; display: flex; align-items: center; gap: 8px; }
.type-fb.good { color: #059669; } .type-fb.try { color: var(--accent-500); }

/* read/speak panel */
.read-card { background: var(--brand-50); border-radius: var(--r-lg); padding: 20px 22px; }
.read-card .line2 { font-weight: 700; font-size: 1.05rem; color: #0a5c5e; line-height: 1.5; }
.read-card .word { background: var(--warm-300); border-radius: 5px; padding: 1px 5px; font-weight: 800; color: #92400e; }
.speak-bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 16px; }
.speak-bars i { width: 6px; background: var(--brand-500); border-radius: 3px; animation: eq 1s ease-in-out infinite; }
.speak-bars i:nth-child(odd){ animation-delay: .2s; } .speak-bars i:nth-child(3n){ animation-delay: .4s; }
@keyframes eq { 0%,100%{ height: 10px; } 50%{ height: 42px; } }

/* ---------- subjects — interactive showcase ---------- */
.subj-show { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 26px; margin-top: 46px; align-items: stretch; }
.subj-tabs { display: flex; flex-direction: column; gap: 14px; }
.subj-tab { display: flex; align-items: center; gap: 14px; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-xl); padding: 18px 20px; transition: transform .2s var(--ease-out), border-color .2s, box-shadow .2s; position: relative; }
.subj-tab:hover { transform: translateX(4px); }
.subj-tab .st-ico { width: 50px; height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .25s, color .25s, box-shadow .25s; }
.subj-tab.math .st-ico { background: var(--brand-50); color: var(--brand-700); }
.subj-tab.sci  .st-ico { background: var(--amber-50); color: var(--accent-500); }
.subj-tab.lang .st-ico { background: #FCE7EB; color: var(--coral); }
.subj-tab .st-txt { display: flex; flex-direction: column; line-height: 1.2; }
.subj-tab .st-name { font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; color: var(--charcoal); }
.subj-tab .st-sub { font-weight: 700; font-size: 0.82rem; color: var(--charcoal-light); margin-top: 2px; }
.subj-tab .st-chev { margin-left: auto; color: var(--field-border); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s, color .2s; }
.subj-tab.active { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateX(4px); }
.subj-tab.math.active { box-shadow: 0 14px 34px rgba(20,184,180,0.22); }
.subj-tab.sci.active  { box-shadow: 0 14px 34px rgba(245,158,11,0.2); }
.subj-tab.lang.active { box-shadow: 0 14px 34px rgba(244,63,94,0.18); }
.subj-tab.math.active { border-left: 4px solid var(--brand-500); }
.subj-tab.sci.active  { border-left: 4px solid var(--accent-500); }
.subj-tab.lang.active { border-left: 4px solid var(--coral); }
.subj-tab.active .st-ico { color: #fff; }
.subj-tab.math.active .st-ico { background: var(--grad-primary); box-shadow: 0 8px 18px rgba(20,184,180,0.32); }
.subj-tab.sci.active  .st-ico { background: var(--grad-quiz); box-shadow: 0 8px 18px rgba(245,158,11,0.3); }
.subj-tab.lang.active .st-ico { background: linear-gradient(135deg, #F43F5E, #FB7185); box-shadow: 0 8px 18px rgba(244,63,94,0.3); }
.subj-tab.active .st-chev { opacity: 1; transform: none; }
.subj-tab.math.active .st-chev { color: var(--brand-500); }
.subj-tab.sci.active  .st-chev { color: var(--accent-500); }
.subj-tab.lang.active .st-chev { color: var(--coral); }

.subj-panel { position: relative; border-radius: var(--r-2xl); overflow: hidden; min-height: 288px; }
.sp-face { position: absolute; inset: 0; padding: 38px 40px; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility .4s; display: flex; flex-direction: column; }
.sp-face.active { opacity: 1; visibility: visible; transform: none; }
.sp-face.math { background: linear-gradient(160deg, #E6F7F6, #FFFFFF 70%); border: 1.5px solid rgba(20,184,180,0.25); border-radius: var(--r-2xl); }
.sp-face.sci  { background: linear-gradient(160deg, #FFF4E0, #FFFFFF 70%); border: 1.5px solid rgba(245,158,11,0.28); border-radius: var(--r-2xl); }
.sp-face.lang { background: linear-gradient(160deg, #FCE7EB, #FFFFFF 70%); border: 1.5px solid rgba(244,63,94,0.22); border-radius: var(--r-2xl); }
.sp-blob { position: absolute; top: -70px; right: -70px; width: 200px; height: 200px; border-radius: 50%; opacity: 0.16; }
.sp-face.math .sp-blob { background: var(--brand-500); }
.sp-face.sci  .sp-blob { background: var(--accent-500); }
.sp-face.lang .sp-blob { background: var(--coral); }
.sp-top { display: flex; align-items: center; gap: 18px; position: relative; z-index: 1; }
.sp-ico { width: 70px; height: 70px; border-radius: 22px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.sp-face.math .sp-ico { background: var(--grad-primary); box-shadow: 0 12px 26px rgba(20,184,180,0.32); }
.sp-face.sci  .sp-ico { background: var(--grad-quiz); box-shadow: 0 12px 26px rgba(245,158,11,0.3); }
.sp-face.lang .sp-ico { background: linear-gradient(135deg, #F43F5E, #FB7185); box-shadow: 0 12px 26px rgba(244,63,94,0.3); }
.sp-top h3 { font-size: 2rem; color: var(--charcoal); }
.sp-tag { font-weight: 700; font-size: 1rem; margin-top: 3px; }
.sp-face.math .sp-tag { color: var(--brand-700); }
.sp-face.sci  .sp-tag { color: var(--amber-700); }
.sp-face.lang .sp-tag { color: var(--coral); }
.sp-desc { font-weight: 600; font-size: 1.1rem; color: var(--charcoal-light); line-height: 1.55; margin-top: 22px; position: relative; z-index: 1; max-width: 38rem; }
.sp-label { font-weight: 800; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-soft); margin-top: auto; padding-top: 24px; position: relative; z-index: 1; }

/* shared learn → practice → check strip (outside the panels) */
.subj-flow { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-full); padding: 14px 26px; box-shadow: var(--shadow-card); }
.subj-flow .sf-lead { font-weight: 800; font-size: 0.92rem; color: var(--charcoal-light); margin-right: 4px; }
.subj-flow .sf-step { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; color: var(--brand-900); }
.subj-flow .sf-step b { font-size: 1.15rem; line-height: 1; }
.subj-flow .sf-ar { display: inline-flex; color: var(--brand-500); flex-shrink: 0; }
@media (max-width: 560px){ .subj-flow { flex-direction: column; gap: 8px; border-radius: var(--r-2xl); } .subj-flow .sf-ar { transform: rotate(90deg); } }
@media (max-width: 820px){
  .subj-show { grid-template-columns: 1fr; }
  .subj-tabs { flex-direction: row; flex-wrap: wrap; }
  .subj-tab { flex: 1; min-width: 150px; }
  .subj-tab .st-chev { display: none; }
  .subj-panel { min-height: 0; }
  .sp-face { position: relative; opacity: 1; visibility: visible; transform: none; display: none; }
  .sp-face.active { display: flex; }
}

/* ---------- bonus: Mind Gym — condensed band ---------- */
.gym-band { background: #E9F6F3; border-top: 1px solid rgba(20,184,180,0.18); border-bottom: 1px solid rgba(20,184,180,0.18); position: relative; overflow: hidden; }
.gym-band:before { content:""; position:absolute; top:-120px; right:-60px; width:320px; height:320px; border-radius:50%; background: radial-gradient(circle, rgba(20,184,180,0.16), transparent 70%); pointer-events:none; }
.gym-band .gb-wrap { max-width: 1152px; margin: 0 auto; padding: 40px 32px; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.gb-intro .bonus-badge { display:inline-flex; align-items:center; gap:7px; font-weight:800; font-size:0.78rem; letter-spacing:0.1em; text-transform:uppercase; color:#92400e; background: var(--warm-300); padding:6px 13px; border-radius:999px; }
.gb-intro .bonus-badge svg { animation: spinSlow 9s linear infinite; }
.gb-intro h2 { font-size: 1.7rem; margin-top: 14px; }
.gb-intro h2 .teal { color: var(--brand-700); }
.gb-intro p { font-weight:600; font-size: 0.98rem; color: var(--charcoal-light); margin-top: 10px; line-height: 1.45; }
.gb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gb-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-xl); padding: 20px 18px; transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out); cursor: pointer; }
.gb-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(10,107,110,0.16); }
.gb-card .gicon { width: 46px; height: 46px; border-radius: 14px; display:flex; align-items:center; justify-content:center; margin-bottom: 14px; transition: transform .22s var(--ease-out); }
.gb-card:hover .gicon { transform: rotate(-8deg) scale(1.08); }
.gb-card.trivia .gicon { background: var(--amber-50); color: var(--accent-500); }
.gb-card.geo .gicon { background: var(--brand-50); color: var(--brand-700); }
.gb-card.read .gicon { background:#FCE7EB; color: var(--coral); }
.gb-card h3 { font-size: 1.08rem; color: var(--charcoal); }
.gb-card .gb-tag { font-weight: 700; font-size: 0.8rem; color: var(--charcoal-light); margin-top: 5px; display: block; }
.gb-more { grid-column: 1 / -1; text-align: center; font-weight: 800; font-size: 0.88rem; color: var(--brand-700); margin-top: 2px; }
@media (max-width: 860px){ .gym-band .gb-wrap { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 560px){ .gb-cards { grid-template-columns: 1fr; } }

/* ---------- parent pain points ---------- */
.pain { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 8px; }
.worry-stack { display: flex; flex-direction: column; gap: 14px; }
.worry { display: flex; align-items: flex-start; gap: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--error); border-radius: var(--r-lg); padding: 16px 20px; box-shadow: var(--shadow-sm); font-weight: 700; font-size: 1.05rem; color: var(--charcoal); }
.worry .wq { width: 36px; height: 36px; border-radius: 50%; background: #FEF0F0; color: var(--error); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; }
.worry em { font-style: normal; color: var(--charcoal-light); font-weight: 600; }
.solve-card { background: var(--grad-primary); color: #fff; border-radius: var(--r-2xl); padding: 38px; box-shadow: 0 24px 60px rgba(10,107,110,0.2); position: relative; overflow: hidden; }
.solve-card:before { content:""; position:absolute; top:-40px; right:-40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.solve-card .badge2 { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(255,255,255,0.16); padding: 7px 14px; border-radius: 999px; }
.solve-card h3 { font-size: 1.7rem; margin-top: 18px; line-height: 1.1; }
.solve-card .sd { font-weight: 600; font-size: 1.05rem; color: rgba(255,255,255,0.85); margin-top: 12px; line-height: 1.5; }
.solve-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; position: relative; }
.solve-list li { display: flex; align-items: flex-start; gap: 13px; font-weight: 700; font-size: 1.02rem; }
.solve-list li:before { content: ""; width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 1px; background: var(--warm-500); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23114f3a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; box-shadow: 0 4px 10px rgba(251,191,36,0.35); }
@media (max-width: 900px){ .pain { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .aud-grid, .footer-grid { grid-template-columns: 1fr; }
  .split.reverse .col-media { order: 0; }
  .hero { padding: 48px 0 64px; }
  .chatcard { margin-top: 12px; }
  .footer-grid { gap: 28px; }
}

/* ---------- multimodal: write + draw panel ---------- */
.write-panel { display:flex; flex-direction:column; gap:16px; }
.write-panel .paper { position:relative; background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding:15px 20px; min-height:104px; background-image: repeating-linear-gradient(transparent, transparent 29px, #E8F1EF 29px, #E8F1EF 30px); box-shadow: inset 0 1px 4px rgba(0,0,0,0.03); }
.write-panel .story-prompt { font-style:normal; font-weight:800; font-size:0.82rem; color: var(--accent-500); background: var(--amber-50); border:1px solid var(--warm-300); border-radius: var(--r-md); padding:7px 12px; margin-bottom:12px; display:inline-block; }
.write-panel .story { margin:0; font-style:italic; font-weight:700; font-size:1.05rem; line-height:30px; color: var(--brand-900); }
.write-panel .caret { display:inline-block; width:2.5px; height:1em; background: var(--accent-500); vertical-align:-2px; margin-left:2px; animation: caretBlink 1s step-end infinite; }
@keyframes caretBlink { 50%{ opacity:0; } }
.write-panel .illus-label { font-weight:800; font-size:0.82rem; letter-spacing:.03em; color: var(--accent-500); margin-bottom:8px; }
.write-panel .draw-pad { height:152px; }
.tutor-note { display:inline-flex; align-items:center; gap:10px; background: var(--amber-50); border:1.5px solid var(--warm-300); border-radius:14px; padding:10px 14px; opacity:0; transform: translateY(6px); transition: all .35s var(--ease-out); }
.tutor-note.show { opacity:1; transform:none; }
.tn-av { width:30px; height:30px; border-radius:50%; background: var(--grad-primary); color:#fff; font-family: var(--font-heading); font-weight:700; font-size:14px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.tn-msg { font-weight:800; font-size:0.92rem; color: var(--amber-700); line-height:1.3; }

/* ============================================================
   The Skolvio Difference — "Learning loops" section (#loopdiff)
   All selectors scoped under .loop-diff to avoid collisions
   (e.g. global .pill, .section). Type sizes map to --text-* tokens.
   ============================================================ */
.loop-diff{
  --ld-teal:#0C8684; --ld-teal-dk:#0C7C7C; --ld-teal-br:#0F908B; --ld-teal-deep:#0A6F6D;
  --ld-mint:#EBFAF9; --ld-mint-bd:#CFEEEC;
  --ld-wgray:#F1ECE4; --ld-wgray-bd:#E2DCD2;
  --ld-rose-bg:#FBE3E3; --ld-rose-bd:#F4C9C9; --ld-rose-red:#E5494E;
  --ld-gold:#F59E0B; --ld-gold2:#FBBF24;
  --ld-gray:#6B7280; --ld-gray-soft:#9CA3AF; --ld-gray-badge:#ECEAE6;
  background: linear-gradient(170deg, #FFFCF5 0%, #FFFBF2 55%, #FEF8EC 100%);
}
.loop-diff .wrap{ max-width: 1040px; }
.loop-diff .eyebrow{ display:block; margin-bottom:10px; }
.loop-diff .ld-headline{ font-size: var(--text-h2); color: var(--charcoal); line-height: var(--lh-tight); margin-bottom:10px; }
.loop-diff .ld-headline .teal{ color: var(--ld-teal); }
.loop-diff .ld-sub{ font-size: var(--text-lg); color: var(--charcoal-light); max-width:640px; margin-bottom:20px; line-height: var(--lh-snug); font-weight:600; }

.loop-diff .ld-panels{ display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:stretch; }
.loop-diff .ld-panel{ border-radius:16px; padding:18px 20px; display:flex; flex-direction:column; }
.loop-diff .ld-ttl{ align-self:flex-start; font-family: var(--font-body); font-weight:800; font-size: var(--text-lg); letter-spacing:.04em; text-transform:uppercase; color:#fff; padding:3px 12px; border-radius:8px; margin-bottom:10px; line-height:1.25; }
.loop-diff .ld-cap{ font-family: var(--font-heading); font-weight:600; font-size: var(--text-sm); margin-bottom:14px; line-height: var(--lh-snug); }

.loop-diff .ld-most{ background: var(--ld-wgray); border:1px solid var(--ld-wgray-bd); }
.loop-diff .ld-most .ld-ttl{ background: var(--ld-gray); }
.loop-diff .ld-most .ld-cap{ color: var(--charcoal); }
.loop-diff .ld-step{ display:flex; align-items:center; gap:12px; background:#fff; border:1px solid #EAE7E1; border-radius:11px; padding:9px 14px; }
.loop-diff .ld-step .ld-ic{ width:28px; height:28px; border-radius:8px; background: var(--ld-gray-badge); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.loop-diff .ld-step .ld-ic svg{ width:16px; height:16px; stroke: var(--ld-gray-soft); fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.loop-diff .ld-step b{ font-family: var(--font-heading); font-weight:600; font-size: var(--text-sm); color: var(--charcoal); }
.loop-diff .ld-down{ display:flex; justify-content:center; color: var(--ld-gray-soft); font-size: var(--text-sm); margin:4px 0; line-height:1; }
.loop-diff .ld-dead{ display:flex; align-items:center; gap:12px; background: var(--ld-rose-bg); border:1px solid var(--ld-rose-bd); border-radius:11px; padding:10px 14px; margin-top:auto; }
.loop-diff .ld-dead .ld-pct{ font-family: var(--font-heading); font-weight:700; color: var(--ld-rose-red); line-height:1; flex-shrink:0; }
.loop-diff .ld-dead .ld-pct .n{ font-size:1.5rem; }
.loop-diff .ld-dead .ld-pct .p{ font-size: var(--text-sm); }
.loop-diff .ld-dead .t b{ display:block; font-family: var(--font-heading); font-weight:700; color: var(--charcoal); font-size: var(--text-sm); }
.loop-diff .ld-dead .t span{ font-size: var(--text-sm); color: var(--ld-rose-red); font-weight:600; }

.loop-diff .ld-skol{ background: var(--ld-mint); border:1px solid var(--ld-mint-bd); }
.loop-diff .ld-skol .ld-ttl{ background: var(--ld-teal); }
.loop-diff .ld-skol .ld-cap{ color: var(--ld-teal-deep); }
.loop-diff .ld-loop{ position:relative; width:100%; max-width:272px; aspect-ratio:1; margin:auto auto 0; }
.loop-diff .ld-loop > svg{ position:absolute; inset:0; width:100%; height:100%; }
.loop-diff .ld-hub{ position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:104px; height:104px; border-radius:50%; background: radial-gradient(130% 130% at 35% 28%, #109691, var(--ld-teal) 55%, var(--ld-teal-deep)); color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; box-shadow:0 12px 24px -8px rgba(10,111,109,.55); z-index:3; font-family: var(--font-heading); font-weight:700; font-size: var(--text-sm); line-height:1.2; }
.loop-diff .ld-hub em{ font-style:normal; color: var(--ld-gold2); }
.loop-diff .ld-pill{ position:absolute; transform:translate(-50%,-50%); display:inline-flex; align-items:center; gap:6px; background:#fff; border:2px solid; border-radius:99px; padding:5px 11px; font-family: var(--font-heading); font-weight:600; font-size:.8125rem; color: var(--charcoal); box-shadow:0 4px 11px -4px rgba(31,41,55,.22); z-index:2; white-space:nowrap; }
.loop-diff .ld-pill svg{ width:15px; height:15px; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.loop-diff .ld-pill.top{ top:1%; left:50%; border-color: var(--ld-teal); color: var(--ld-teal); }
.loop-diff .ld-pill.top svg{ stroke: var(--ld-teal); }
.loop-diff .ld-pill.right{ top:50%; left:86%; border-color: var(--ld-gold); }
.loop-diff .ld-pill.right svg{ stroke: var(--ld-gold); }
.loop-diff .ld-pill.bottom{ top:99%; left:50%; border-color: var(--ld-gold); }
.loop-diff .ld-pill.bottom svg{ stroke: var(--ld-gold); }
.loop-diff .ld-pill.left{ top:50%; left:14%; border-color:#EF6B6E; }
.loop-diff .ld-pill.left svg{ stroke: var(--ld-rose-red); }

.loop-diff .ld-cta{ position:relative; overflow:hidden; margin-top:18px; border-radius:15px; padding:16px 28px; text-align:center; background: linear-gradient(100deg, var(--ld-teal-dk) 0%, var(--ld-teal-br) 78%); box-shadow:0 12px 28px -16px rgba(12,124,124,.55); }
.loop-diff .ld-cta::before{ content:""; position:absolute; right:-40px; top:-40%; width:320px; height:180%; border-radius:50%; background: radial-gradient(closest-side, rgba(255,255,255,.12), transparent); pointer-events:none; }
.loop-diff .ld-cta .txt{ position:relative; font-family: var(--font-heading); font-weight:700; font-size: var(--text-h3); color:#fff; line-height:1.25; }
.loop-diff .ld-cta .txt em{ font-style:normal; color: var(--ld-gold); }

@media (max-width:760px){
  .loop-diff .ld-panels{ grid-template-columns:1fr; }
}

/* ============================================================
   CONCEPT MASTERY — homepage feature section
   Copy-left / dashboard-card-right. Scoped under .cmastery to
   avoid collisions. The rose/amber/emerald mastery bands aren't
   in the global tokens, so they're hard-coded here (as .loop-diff
   does with its own palette).
   ============================================================ */
.cmastery .eyebrow{ display:block; }
.cmastery .cm-grid{ display:grid; grid-template-columns:1fr 1.05fr; gap:64px; align-items:center; }
.cmastery .cm-h{ font-family: var(--font-heading); font-weight:600; font-size: clamp(2rem, 3.6vw, 3rem); line-height:1.1; color:var(--charcoal); margin-top:14px; }
.cmastery .cm-h .teal{ color:var(--brand-700); }
.cmastery .cm-lead{ font-size:1.12rem; color:var(--charcoal-light); font-weight:600; line-height:1.55; margin-top:16px; max-width:480px; }
.cmastery .cm-lead b{ color:var(--charcoal); font-weight:800; }
.cmastery .cm-bullets{ margin-top:26px; display:flex; flex-direction:column; gap:16px; }
.cmastery .cm-b{ display:flex; gap:13px; align-items:flex-start; }
.cmastery .cm-bi{ width:34px; height:34px; border-radius:10px; background:var(--brand-50); color:var(--brand-700); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.cmastery .cm-bi svg{ width:17px; height:17px; }
.cmastery .cm-b b{ font-family:var(--font-heading); font-weight:600; font-size:15.5px; color:var(--charcoal); display:block; margin-bottom:2px; }
.cmastery .cm-b p{ font-size:14px; color:var(--charcoal-light); font-weight:600; line-height:1.5; }

.cmastery .cm-card{ background:#fff; border:1px solid var(--line); border-radius:var(--r-2xl); box-shadow:var(--shadow-lg); padding:26px; }
.cmastery .cm-card-head{ display:flex; align-items:center; gap:13px; margin-bottom:18px; }
.cmastery .cm-ava{ width:46px; height:46px; border-radius:50%; background:#DCEFE0; display:flex; align-items:center; justify-content:center; font-size:24px; flex-shrink:0; }
.cmastery .cm-card-head h3{ font-family:var(--font-heading); font-weight:600; font-size:17px; color:var(--charcoal); }
.cmastery .cm-meta{ font-size:12.5px; color:var(--charcoal-light); font-weight:600; }
.cmastery .cm-pill{ margin-left:auto; display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:800; padding:4px 11px; border-radius:999px; background:#FFFBEB; color:#B45309; white-space:nowrap; }
.cmastery .cm-pill .cm-dot{ width:6px; height:6px; border-radius:50%; background:#F59E0B; }
.cmastery .cm-title{ font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:var(--charcoal-light); margin-bottom:10px; }
.cmastery .cm-tiles{ display:flex; flex-wrap:wrap; gap:7px; }
.cmastery .cm-tile{ display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:700; padding:7px 11px; border-radius:10px; border:1px solid; }
.cmastery .cm-tile i{ width:8px; height:8px; border-radius:2px; flex-shrink:0; }
.cmastery .cm-tile .cm-arr{ font-size:11px; opacity:.6; }
.cmastery .cm-tile.rose{ background:#FFF1F2; border-color:#FECDD3; color:#BE123C; } .cmastery .cm-tile.rose i{ background:#F43F5E; }
.cmastery .cm-tile.amber{ background:#FFFBEB; border-color:#FDE68A; color:#B45309; } .cmastery .cm-tile.amber i{ background:#F59E0B; }
.cmastery .cm-tile.emerald{ background:#ECFDF5; border-color:#A7F3D0; color:#047857; } .cmastery .cm-tile.emerald i{ background:#10B981; }
.cmastery .cm-tile.more{ background:#F9FAFB; border-color:#E5E7EB; color:var(--charcoal-light); }
.cmastery .cm-legend{ display:flex; flex-wrap:wrap; gap:16px; font-size:12px; color:var(--charcoal-light); font-weight:600; margin-top:14px; }
.cmastery .cm-legend span{ display:inline-flex; align-items:center; gap:6px; }
.cmastery .cm-legend i{ width:9px; height:9px; border-radius:3px; }

@media (max-width:880px){
  .cmastery .cm-grid{ grid-template-columns:1fr; gap:34px; }
  .cmastery .cm-lead{ max-width:none; }
}

/* ════════════ New two-column hero (graphic collage + feature card) ════════════ */
.nhero { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 48px; align-items: stretch; text-align: left; }
.nhero-left { display: flex; flex-direction: column; }
.nhero .nhero-eyebrow { margin-bottom: 14px; }
.nhero .nhero-h1 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(2.5rem, 4.7vw, 3.7rem); line-height: 1.04; letter-spacing: -0.5px; color: var(--charcoal); margin: 0; }
.nhero .nhero-h1 .teal { color: var(--brand-700); }
.nhero .nhero-lead { margin: 18px 0 0; font-size: 1.18rem; line-height: 1.55; font-weight: 600; color: var(--charcoal-light); max-width: 44ch; }
.nhero .nhero-lead b { color: var(--accent-500); font-weight: 800; }
.nhero-art { display: block; width: 100%; max-width: 540px; height: auto; margin: 10px auto -6px; align-self: center; }
/* safe-AI trust strip (below the hero art) */
.nhero-safe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; width: 100%; max-width: 540px; margin: 16px auto 0; padding: 11px 15px; background: #F4FBFA; border: 1px solid #CCEDEC; border-radius: 14px; }
.nhero-safe .ns-badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-heading); font-weight: 700; font-size: .86rem; color: var(--brand-900); }
.nhero-safe .ns-badge svg { color: var(--brand-700); flex: none; }
.nhero-safe .ns-pts { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.nhero-safe .ns-pt { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--charcoal-light); }
.nhero-safe .ns-pt svg { color: var(--brand-700); flex: none; }

/* feature card (right) */
.nhero-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: 0 14px 40px rgba(10,107,110,0.14); align-self: start; }
.nhero-card-eyebrow { display: inline-block; font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: var(--accent-500); margin-bottom: 6px; }
.nhero-card .nhero-card-h { font-family: var(--font-heading); font-weight: 700; font-size: 1.55rem; color: var(--charcoal); margin: 0 0 14px; letter-spacing: -.3px; }
.nfeat { display: flex; align-items: flex-start; gap: 13px; padding: 13px 0; border-top: 1px solid var(--line); }
.nfeat:first-of-type { border-top: none; padding-top: 4px; }
.nfeat-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; flex: none; margin-top: 2px; }
.nfeat-ico.i1 { background: var(--brand-50); }
.nfeat-ico.i2 { background: #EAF7D7; }
.nfeat-ico.i3 { background: #FFF3D6; }
.nfeat-ico.i4 { background: #FDE7E9; }
.nfeat-ico.i5 { background: #FFE0C2; }
.nfeat-tx b { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 1.02rem; color: var(--charcoal); margin-bottom: 2px; }
.nfeat-tx .d { display: block; font-size: .86rem; line-height: 1.45; color: var(--charcoal-light); font-weight: 600; }
.nfeat-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; font-family: var(--font-heading); font-size: .82rem; font-weight: 700; color: var(--brand-700); text-decoration: none; }
.nfeat-link:hover { color: var(--brand-900); }
.nfeat-link .ar { transition: transform .18s ease; }
.nfeat-link:hover .ar { transform: translateX(3px); }
.nhero-cta { display: block; text-align: center; margin-top: 20px; background: var(--accent-500); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1rem; padding: 15px; border-radius: 12px; text-decoration: none; box-shadow: 0 8px 20px rgba(217,119,6,.28); transition: background .18s ease, transform .18s ease; }
.nhero-cta:hover { background: #B45309; transform: translateY(-2px); }
.nhero-note { text-align: center; margin-top: 12px; font-size: .8rem; font-weight: 700; color: var(--charcoal-light); }

@media (max-width: 900px) {
  .nhero { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .nhero-left { align-items: center; }
  .nhero .nhero-lead { margin-left: auto; margin-right: auto; }
  .nhero-art { max-width: 460px; }
  .nhero-card { text-align: left; }
}

/* White hero background for the two-column graphic hero (blends the transparent art) */
.hero:has(.nhero) { background: #fff; }
.hero:has(.nhero) .hero-bg { display: none; }
