/* Learning & Leadership
   Radius rule: buttons/chips = pill, cards/panels = 22px, inputs = 14px.
   One accent (cobalt). Pastel tints only categorise (online = sky, in class = peach, etc). */

:root {
  /* Neutral base + Outschool-style playful tints (sunshine, redhot, bubblegum, waterslide, grass). */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f7f7;
  --ink: #262626;
  --ink-2: #333333;
  --line: #e3e3e3;
  --accent: #ffc619;
  --accent-hover: #ffd556;
  --accent-ink: #262626;
  --accent-soft: #fff8e3;
  --sun: #ffe492;
  --sun-band: #ffd556;
  --purple: #4b01d4;
  --purple-deep: #2c017d;
  --coral: #ff5c33;
  --water: #19affa;
  --sun-soft: #fff8e3;
  --sky: #e3f5fe;
  --sky-ink: #0b6694;
  --peach: #ffebe7;
  --peach-ink: #a53c21;
  --mint: #e3f6ec;
  --mint-ink: #1f6b4a;
  --lilac: #fff0f9;
  --lilac-ink: #a55383;
  --danger: #c62828;
  --danger-soft: #fdeaea;
  --wa: #1da851;
  --shadow: 0 18px 40px -24px rgb(38 38 38 / 0.35);
  --shadow-sm: 0 6px 18px -10px rgb(38 38 38 / 0.22);
  --r-card: 22px;
  --r-input: 14px;
  --font-display: "Baloo 2", "Baloo Da 2", "Hind Siliguri", system-ui, sans-serif;
  --font-body: "Nunito", "Hind Siliguri", "Hind", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
  color-scheme: light;
}


/* ---------- base ---------- */
::selection { background: var(--accent); color: var(--accent-ink); }
html { scrollbar-color: color-mix(in srgb, var(--ink) 25%, transparent) transparent; }
input, textarea { caret-color: var(--ink); }
a { text-underline-offset: 3px; text-decoration-thickness: 2px; }
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 18px; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.container { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }
@media (min-width: 1280px) { .container { padding-inline: 56px; } }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tint { background: var(--surface-2); margin-top: clamp(40px, 6vw, 72px); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { margin-top: 12px; color: var(--ink-2); font-size: 1.2rem; font-weight: 700; }
.muted { color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 2px solid transparent;
  font: 800 1rem/1 var(--font-body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.08rem; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn .ph-bold, .btn .ph-fill { font-size: 1.15em; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.15rem/1 var(--font-display); color: var(--ink); white-space: nowrap; }
.brand span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .brand span { display: none; } .nav { gap: 10px; } }
.brand img { flex: none; width: 44px; height: 44px; }
.brand .amp { color: var(--coral); }
.nav-links { display: none; gap: 4px; margin-left: 12px; }
.nav-links a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-login { white-space: nowrap; font-weight: 800; text-decoration: none; padding: 8px 10px; display: none; }
.nav-cta { display: none; }
.menu-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.3rem; cursor: pointer; }
@media (min-width: 640px) { .nav-cta, .nav-login { display: inline-flex; } }
@media (min-width: 1240px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
}
/* mobile menu panel */
@media (max-width: 1239px) {
  .nav-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: var(--header-h); left: 12px; right: 12px; margin: 0;
    padding: 12px; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-card); box-shadow: 0 22px 44px -18px rgb(38 38 38 / 0.3);
  }
  .nav-open .nav-links a { padding: 14px 16px; font-size: 1.1rem; }
  .nav-links .menu-only { display: block; }
}
.nav-links .menu-only { display: none; }

/* language switch */
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.lang button {
  min-width: 40px; height: 36px; padding: 0 10px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-2); font: 800 0.9rem/1 var(--font-body); cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- hero ---------- */
.hero { padding-block: 32px 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding-block: 48px 88px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.08; margin-top: 20px; letter-spacing: -0.02em; }
mark {
  background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%);
  color: inherit; padding-inline: 4px;
}
.lead { font-size: 1.2rem; color: var(--ink-2); margin-top: 20px; max-width: 34ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-art { position: relative; padding: 18px 10px 0 0; }
.hero-art .deco-stripes {
  position: absolute; right: -14px; top: -4px; width: 46%; height: 70%;
  border-radius: 52% 48% 60% 40% / 44% 56% 44% 56%;
  background: repeating-linear-gradient(135deg, var(--coral) 0 14px, var(--accent) 14px 26px);
}
.hero-art .deco-dots {
  position: absolute; left: -26px; bottom: 28%; width: 90px; height: 130px;
  background: radial-gradient(circle, var(--ink) 34%, transparent 38%) 0 0 / 18px 18px;
  border-radius: 46% 54% 52% 48% / 40% 44% 56% 60%;
}
.hero-art .deco-squiggle { right: 34%; top: -22px; }
.hero-art .photo {
  position: relative; border-radius: 47% 53% 44% 56% / 52% 44% 56% 48%; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sky);
  box-shadow: var(--shadow);
}
.hero-art .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }


/* ---------- modes ---------- */
.modes { display: grid; gap: 20px; }
@media (min-width: 860px) { .modes { grid-template-columns: 1fr 1fr; } }
.mode {
  border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 14px;
  min-height: 100%;
}
.mode { position: relative; overflow: hidden; }
.mode::after { content: ""; position: absolute; right: -34px; bottom: -34px; width: 130px; height: 130px; border-radius: 52% 48% 60% 40% / 44% 56% 44% 56%; pointer-events: none; }
.mode.online::after { background: radial-gradient(circle, var(--water) 32%, transparent 36%) 0 0 / 16px 16px; }
.mode.offline::after { background: repeating-linear-gradient(135deg, var(--coral) 0 10px, transparent 10px 20px); opacity: 0.55; }
.mode > * { position: relative; z-index: 1; }
.mode.online { background: var(--sky); }
.mode.offline { background: var(--peach); }
.mode h3 { font-size: 1.7rem; display: flex; align-items: center; gap: 10px; }
.mode h3 i { font-size: 1.9rem; }
.mode.online h3 i { color: var(--sky-ink); }
.mode.offline h3 i { color: var(--peach-ink); }
.mode p { color: var(--ink); opacity: 0.85; font-size: 1.05rem; }
.mode ul { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.mode li { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.95rem; }
.mode .btn { margin-top: auto; align-self: flex-start; }

/* ---------- finder ---------- */
.finder { background: var(--surface-2); border-radius: 28px; padding: clamp(20px, 4vw, 40px); }
.controls { display: grid; gap: 22px; }
@media (min-width: 900px) { .controls { grid-template-columns: auto 1fr; column-gap: 40px; } .controls .full { grid-column: 1 / -1; } }
.control-label { display: block; font-weight: 800; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 46px; padding: 0 18px; border-radius: 999px;
  border: 2px solid var(--line); background: var(--surface); color: var(--ink);
  font: 800 1rem/1 var(--font-body); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: border-color 0.15s, background-color 0.15s, transform 0.15s var(--ease);
}
.chip:hover { border-color: var(--ink-2); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"], .chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.chip.num { min-width: 56px; justify-content: center; }

.results { margin-top: 32px; }
.results-head { font: 800 1.35rem/1.2 var(--font-display); margin-bottom: 16px; }
.batch-grid { display: grid; gap: 16px; }
@media (min-width: 680px) { .batch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .batch-grid { grid-template-columns: repeat(3, 1fr); } }
.batch {
  position: relative;
  border: 2px solid var(--line); border-radius: var(--r-card); padding: 20px;
  display: flex; flex-direction: column; gap: 10px; background: var(--surface);
  transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.batch:hover { border-color: var(--ink); transform: translateY(-2px); }
.batch-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.batch h3 { font-size: 1.35rem; }
.batch-meta { display: grid; gap: 4px; color: var(--ink-2); font-weight: 700; }
.batch-meta span { display: flex; align-items: center; gap: 8px; }
.batch-fee { font-weight: 700; color: var(--ink-2); }
.batch-fee strong { font: 800 1.6rem/1 var(--font-display); color: var(--ink); }
.batch .btn { margin-top: auto; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-weight: 800; font-size: 0.88rem; }
.pill-online { background: var(--sky); color: var(--sky-ink); }
.pill-offline { background: var(--peach); color: var(--peach-ink); }
.pill-ok { background: var(--mint); color: var(--mint-ink); }
.pill-wait { background: var(--sun-soft); color: #7a5b00; }
.pill-no { background: var(--danger-soft); color: var(--danger); }
.seats { font-weight: 800; font-size: 0.9rem; color: var(--mint-ink); }
.seats.few { color: var(--peach-ink); }
.seats.none { color: var(--danger); }

.empty {
  text-align: center; padding: 40px 20px; border: 2px dashed var(--line); border-radius: var(--r-card);
  display: grid; justify-items: center; gap: 10px;
}
.empty i { font-size: 2.6rem; color: var(--peach-ink); }
.empty h3 { font-size: 1.3rem; }

/* ---------- how ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; counter-reset: s; position: relative; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps::before {
    content: ""; position: absolute; top: 36px; left: 12%; right: 12%;
    border-top: 3px dashed var(--line); z-index: 0;
  }
}
.step { position: relative; z-index: 1; display: grid; gap: 10px; justify-items: start; }
@media (min-width: 860px) { .step { justify-items: center; text-align: center; } }
.step-num {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  font: 800 2.2rem/1 var(--font-display); border: 4px solid var(--bg);
}
.step:nth-child(1) .step-num { background: var(--accent); color: var(--accent-ink); }
.step:nth-child(2) .step-num { background: var(--mint); color: var(--mint-ink); }
.step:nth-child(3) .step-num { background: var(--lilac); color: var(--lilac-ink); }
.step h3 { font-size: 1.45rem; }
.step p { color: var(--ink-2); max-width: 30ch; }

/* ---------- learn bento ---------- */
.learn { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .learn { grid-template-columns: repeat(3, 1fr); }
}
.tile { border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.tile .grade { font: 800 3rem/1 var(--font-display); }
.tile p { font-size: 1.05rem; }
.learn-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.learn-list li { position: relative; padding-left: 22px; font-weight: 700; }
.learn-list li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: 0.35; }
.tile-a .learn-list li::before { background: #a87900; opacity: 1; }
.tile-b .learn-list li::before { background: var(--mint-ink); opacity: 1; }
.tile-c .learn-list li::before { background: var(--lilac-ink); opacity: 1; }
.tile-a { background: var(--sun-soft); }
.tile-b { background: var(--mint); }
.tile-b .grade { color: var(--mint-ink); }
.tile-c { background: var(--lilac); }
.tile-c .grade { color: var(--lilac-ink); }
.tile-a .grade { color: #a87900; }

/* ---------- playful bands (Outschool-style colour blocks) ---------- */
.band { position: relative; overflow: hidden; padding-block: clamp(64px, 9vw, 120px); margin-block: clamp(40px, 6vw, 72px); }
.band-sun { background: var(--sun-band); color: var(--purple); }
.band-coral { background: var(--coral); color: var(--ink); }
.band-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.band-sun .band-title { color: var(--purple); }
/* dotted cluster, bottom-left */
.band-dots {
  position: absolute; left: -40px; bottom: 40px; width: 150px; height: 220px; pointer-events: none;
  background: radial-gradient(circle, var(--ink) 34%, transparent 38%) 0 0 / 22px 22px;
  border-radius: 46% 54% 52% 48% / 40% 44% 56% 60%;
}
/* marbled blob, bottom-right edge */
.band-blob {
  position: absolute; right: -60px; bottom: -70px; width: 200px; height: 260px; pointer-events: none;
  border-radius: 58% 42% 40% 60% / 52% 38% 62% 48%;
  background: radial-gradient(circle at 30% 30%, var(--purple) 0 14%, transparent 15%), radial-gradient(circle at 70% 60%, var(--purple) 0 10%, transparent 11%), var(--water);
}
.band-coral .band-blob { background: radial-gradient(circle at 35% 35%, var(--coral) 0 12%, transparent 13%), var(--sun-band); }
.band-coral .band-dots { background-image: radial-gradient(circle, var(--sun-band) 34%, transparent 38%); }

/* doodle + stripes reused on hero and founder */
.deco-squiggle { position: absolute; width: 70px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; z-index: 2; }

/* ---------- about (inside sun band) ---------- */
.about { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } }
.founder { display: grid; justify-items: center; gap: 14px; text-align: center; }
.founder-art { position: relative; width: 240px; height: 230px; }
.founder-art .deco-squiggle { left: -18px; top: -6px; }
.founder-stripes {
  position: absolute; right: -6px; top: 18px; width: 120px; height: 170px;
  border-radius: 52% 48% 60% 40% / 44% 56% 44% 56%;
  background: repeating-linear-gradient(135deg, var(--coral) 0 12px, var(--accent) 12px 22px);
}
.avatar {
  position: absolute; left: 6px; top: 22px; width: 196px; height: 196px; display: grid; place-items: center;
  border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%;
  background: #fff; color: var(--purple); font: 800 4rem/1 var(--font-display);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder h3 { font-size: 1.6rem; color: var(--purple); }
.founder p { color: var(--purple-deep); font-weight: 700; }
.creds { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.creds span { padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--purple-deep); font-weight: 800; font-size: 0.92rem; }
.about-copy p { color: var(--purple-deep); font-size: 1.15rem; margin-top: 18px; max-width: 56ch; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 800; color: var(--purple-deep); }
.ticks i { color: var(--purple); font-size: 1.4rem; flex: none; margin-top: 1px; }
.about-copy .btn { margin-top: 28px; }

/* ---------- featured course cards ---------- */
.course-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .course-grid { grid-template-columns: repeat(3, 1fr); } }
.course-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-card);
  transition: transform 0.25s var(--ease), border-color 0.2s;
}
.course-card:hover { transform: translateY(-3px); border-color: var(--ink); }
.course-top { position: relative; height: 150px; display: grid; place-items: center; background: var(--tone-bg); }
.course-top::before { content: ""; position: absolute; inset: 0; background: var(--tone-pattern); opacity: 0.55; }
.course-icon {
  position: relative; width: 92px; height: 92px; display: grid; place-items: center;
  border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; background: #fff;
  font-size: 2.9rem; color: var(--tone-ink); transform: rotate(-6deg);
}
.course-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course-meta { font-size: 0.88rem; font-weight: 800; color: var(--ink-2); }
.course-body h3 { font-size: 1.3rem; }
.course-body > p:not(.course-meta) { color: var(--ink-2); }
.course-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.was { font-weight: 700; color: var(--ink-2); text-decoration-thickness: 2px; text-decoration-color: var(--coral); margin-inline: 4px; }
.course-foot strong { font: 800 1.45rem/1 var(--font-display); }
.course-foot span { font-weight: 800; font-size: 0.92rem; color: var(--peach-ink); }
.tone-sun { --tone-bg: var(--sun-soft); --tone-ink: #a58010; --tone-pattern: radial-gradient(circle, var(--accent) 22%, transparent 25%) 0 0 / 18px 18px; }
.tone-sky { --tone-bg: var(--sky); --tone-ink: var(--sky-ink); --tone-pattern: radial-gradient(circle, var(--water) 20%, transparent 23%) 0 0 / 18px 18px; }
.tone-peach { --tone-bg: var(--peach); --tone-ink: var(--peach-ink); --tone-pattern: repeating-linear-gradient(135deg, var(--coral) 0 8px, transparent 8px 22px); }
.tone-lilac { --tone-bg: var(--lilac); --tone-ink: var(--lilac-ink); --tone-pattern: radial-gradient(circle, #ff80ca 20%, transparent 23%) 0 0 / 18px 18px; }
.tone-mint { --tone-bg: var(--mint); --tone-ink: var(--mint-ink); --tone-pattern: repeating-linear-gradient(135deg, #29a877 0 8px, transparent 8px 22px); }

/* ---------- reviews ---------- */
.review-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; gap: 14px; }
.review blockquote { margin: 0; font-size: 1.1rem; }
.review figcaption { font-weight: 800; }
.review figcaption span { display: block; font-weight: 600; color: var(--ink-2); font-size: 0.95rem; }

/* ---------- faq ---------- */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 56px; } .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 0 22px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font: 700 1.15rem/1.35 var(--font-display);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { transition: transform 0.25s var(--ease); flex: none; color: var(--ink); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--ink-2); }

/* ---------- final cta (inside coral band) ---------- */
.final { position: relative; display: grid; gap: 20px; justify-items: start; }
.final .band-title { max-width: 16ch; }
.final p { font-size: 1.15rem; max-width: 44ch; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { padding-block: 56px 120px; border-top: 1px solid var(--line); margin-top: 40px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .site-footer { padding-bottom: 56px; } }
.footer-title { font-size: 1.05rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: var(--ink-2); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.site-footer a:hover { color: var(--ink); }
.footer-tag { color: var(--ink-2); margin-top: 14px; max-width: 36ch; }
.copyright { margin-top: 40px; color: var(--ink-2); font-size: 0.92rem; }

/* ---------- WhatsApp float + mobile bar ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  display: none; align-items: center; gap: 10px; padding: 0 22px 0 16px; height: 56px;
  border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 800;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease);
}
.wa-float i { font-size: 1.6rem; }
.wa-float:hover { transform: translateY(-2px); }
@media (min-width: 768px) { .wa-float { display: inline-flex; } }
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 94%, transparent); border-top: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transform: translateY(110%); transition: transform 0.3s var(--ease);
}
.mobile-bar .btn-primary { flex: 1; }
.mobile-bar .btn-wa { width: 52px; padding: 0; font-size: 1.5rem; }
.show-bar .mobile-bar { transform: none; }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field > label, .field > legend, .label { font-weight: 800; padding: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.input {
  width: 100%; min-height: 54px; padding: 0 16px;
  border-radius: var(--r-input); border: 2px solid var(--line);
  background: var(--surface); color: var(--ink); font: 600 1.05rem/1.2 var(--font-body);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder { color: color-mix(in srgb, var(--ink-2) 80%, transparent); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--sun); }
.input[aria-invalid="true"] { border-color: var(--danger); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
textarea.input { min-height: 96px; padding: 14px 16px; }
.hint { color: var(--ink-2); font-size: 0.93rem; }
.error { color: var(--danger); font-weight: 700; font-size: 0.93rem; display: flex; gap: 6px; align-items: center; }
.error:empty { display: none; }
.prefix-input { display: flex; align-items: stretch; }
.prefix-input span { display: grid; place-items: center; padding: 0 14px; border: 2px solid var(--line); border-right: 0; border-radius: var(--r-input) 0 0 var(--r-input); background: var(--surface-2); font-weight: 800; }
.prefix-input .input { border-radius: 0 var(--r-input) var(--r-input) 0; }
.pass-wrap { position: relative; }
.pass-wrap .input { padding-right: 84px; }
.pass-wrap button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); min-height: 38px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--surface-2); color: var(--ink); font-weight: 800; cursor: pointer; }
.alert { padding: 14px 16px; border-radius: var(--r-input); background: var(--danger-soft); color: var(--danger); font-weight: 700; display: flex; gap: 10px; align-items: flex-start; }

/* ---------- focused flow pages (enroll / login) ---------- */
.flow-header .nav { justify-content: space-between; }
.flow { min-height: calc(100dvh - var(--header-h)); padding-block: 24px 80px; }
.flow-card { max-width: 640px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 5vw, 44px); }
.flow-card h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; }
.flow-card .sub { color: var(--ink-2); margin-top: 8px; }
.stack { display: grid; gap: 22px; }
.progress { display: flex; gap: 8px; margin-bottom: 28px; }
.progress li { flex: 1; list-style: none; display: grid; gap: 8px; font-weight: 800; font-size: 0.88rem; color: var(--ink-2); }
.progress li::before { content: ""; height: 8px; border-radius: 999px; background: var(--line); transition: background-color 0.3s; }
.progress li.done::before, .progress li.current::before { background: var(--accent); }
.progress li.current { color: var(--ink); }
.progress { padding: 0; margin-top: 0; }
.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.form-actions .btn-primary { flex: 1; }
.reassure { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--mint-ink); font-weight: 800; font-size: 0.95rem; margin-top: 16px; text-align: center; }
.summary-chip { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 10px 14px; border-radius: var(--r-input); background: var(--surface-2); font-weight: 700; }
.choice-list { display: grid; gap: 12px; }
.choice {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 16px; border: 2px solid var(--line); border-radius: 18px; cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.choice:hover { border-color: var(--ink-2); }
.choice:has(input:checked) { border-color: var(--ink); background: var(--accent-soft); }
.choice:has(input:disabled) { opacity: 0.55; cursor: not-allowed; }
.choice input { width: 22px; height: 22px; accent-color: var(--ink); }
.choice b { font: 800 1.1rem/1.2 var(--font-display); display: block; }
.choice small { color: var(--ink-2); font-weight: 700; font-size: 0.92rem; display: block; }
.choice .price { text-align: right; font: 800 1.15rem/1 var(--font-display); }
.choice .price small { font-family: var(--font-body); }
.done-panel { text-align: center; display: grid; justify-items: center; gap: 14px; }
.done-badge { width: 96px; height: 96px; border-radius: 32px; display: grid; place-items: center; background: var(--mint); color: var(--mint-ink); font-size: 3rem; transform: rotate(-6deg); }

/* ---------- dashboards ---------- */
.dash { padding-block: 28px 80px; }
.dash-hello { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
.dash-grid { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 900px) { .dash-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; gap: 14px; }
.panel h2 { font-size: 1.35rem; }
.next-class { background: var(--accent); color: var(--accent-ink); border: 0; padding: clamp(24px, 4vw, 36px); }
.next-class .label-sm { font-weight: 800; opacity: 0.85; }
.next-class .big { font: 800 clamp(1.8rem, 4vw, 2.6rem)/1.1 var(--font-display); }
.next-class .rel { font-weight: 800; font-size: 1.1rem; }
.next-class .btn { background: var(--accent-ink); color: var(--accent); min-height: 60px; font-size: 1.15rem; justify-self: start; padding: 0 34px; }
.next-class .note { opacity: 0.85; font-weight: 600; }
.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #3ee07f; margin-right: 8px; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.track { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 0; }
.track li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; min-height: 52px; position: relative; font-weight: 800; color: var(--ink-2); }
.track li::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: -16px; border-left: 3px solid var(--line); }
.track li:last-child::before { display: none; }
.track .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 3px solid var(--line); font-size: 1rem; z-index: 1; }
.track li.done { color: var(--ink); }
.track li.done .dot { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); }
.track li.now .dot { border-color: var(--ink); color: var(--ink); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; }
.kv dt { color: var(--ink-2); font-weight: 700; }
.kv dd { margin: 0; font-weight: 800; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.skeleton { border-radius: var(--r-card); background: linear-gradient(90deg, var(--surface-2), var(--line), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; min-height: 180px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* teacher */
.tabs { display: flex; gap: 6px; padding: 4px; background: var(--surface-2); border-radius: 999px; width: fit-content; margin-top: 20px; flex-wrap: wrap; }
.tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); font: 800 1rem/1 var(--font-body); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 0.8rem; display: inline-grid; place-items: center; }
.count:empty, .count[data-n="0"] { display: none; }
.list { display: grid; gap: 12px; margin-top: 20px; }
.item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 12px; }
@media (min-width: 900px) { .item { grid-template-columns: 1fr auto; align-items: center; } }
.item h3 { font-size: 1.15rem; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.item .meta { color: var(--ink-2); font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; }
.item .meta span { display: inline-flex; gap: 6px; align-items: center; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 20px; }
.toolbar .input { max-width: 320px; min-height: 46px; }
dialog { border: 0; border-radius: 24px; padding: 0; width: min(560px, calc(100% - 24px)); background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.45); }
dialog::backdrop { background: rgb(15 18 38 / 0.5); backdrop-filter: blur(3px); }
.dialog-body { padding: 24px; display: grid; gap: 18px; max-height: 85dvh; overflow: auto; }
.grid-2 { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.days { display: flex; flex-wrap: wrap; gap: 6px; }
.days .chip { min-height: 40px; padding: 0 12px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: var(--bg); padding: 14px 20px; border-radius: 999px; font-weight: 800; z-index: 60; transition: transform 0.3s var(--ease); }
.toast.show { transform: translate(-50%, 0); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.confetti { position: fixed; top: -12px; width: 10px; height: 14px; border-radius: 3px; z-index: 70; pointer-events: none; animation: fall var(--t, 2.4s) var(--ease) forwards; }
@keyframes fall { to { transform: translate(var(--x), 105vh) rotate(var(--r)); } }

/* Laptop-friendly 18px base; phones step down so text is not oversized. */
@media (max-width: 640px) {
  html { font-size: 16px; }
  body { font-size: 1rem; }
  .hero h1 { font-size: 2.35rem; }
  .lead { font-size: 1.1rem; }
}
