/* ==========================================================================
   The Kids Are Coding — design system V3 "Alive"
   Shared by index.html, enrol.html, finder.html, payment.html

   V3 direction: premium + playful. Navy/yellow/green brand core with
   supporting accents (orange, blue, purple, pink) giving each section its
   own identity. Depth via glows, stickers, floating SVG decorations and
   purposeful GSAP motion. Trust stays: readable type, calm forms, WCAG
   contrast. Mobile-first throughout.
   ========================================================================== */

:root {
  /* Brand core */
  --navy: #1A1A2E;
  --navy-deep: #14141F;
  --navy-raised: #23233C;
  --navy-line: rgba(250, 249, 246, 0.14);
  --yellow: #FFD93D;
  --green: #6BCB77;
  --warm-white: #FAF9F6;
  --white: #FFFFFF;
  --ink: #24243A;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C4B;

  /* V3 supporting accents — one per section identity, used sparingly */
  --orange: #FF9F43;
  --blue: #4D96FF;
  --purple: #9B5DE5;
  --pink: #FF6FB5;
  --red: #FF6B6B;

  /* Tints for section washes and chips */
  --yellow-tint: #FFF6D6;
  --green-tint: #E5F7E8;
  --blue-tint: #E7F0FF;
  --purple-tint: #F1E9FC;
  --orange-tint: #FFEFDD;
  --pink-tint: #FFE9F4;

  --muted: rgba(26, 26, 46, 0.62);
  --muted-2: rgba(26, 26, 46, 0.45);
  --muted-on-navy: rgba(250, 249, 246, 0.74);
  --line: rgba(26, 26, 46, 0.10);
  --line-strong: rgba(26, 26, 46, 0.16);

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-fun: 'Baloo 2', 'Inter', sans-serif;       /* badges, counters, stickers */
  --font-hand: 'Caveat', cursive;                   /* handwritten notes */
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem);
  --text-2xl: clamp(1.65rem, 1.4rem + 1vw, 2.1rem);
  --text-3xl: clamp(2rem, 1.6rem + 1.7vw, 2.75rem);
  --text-4xl: clamp(2.4rem, 1.9rem + 2.4vw, 3.5rem);
  --text-5xl: clamp(2.6rem, 1.9rem + 3.4vw, 4.4rem);

  /* Space */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem; --s-7: 2.5rem; --s-8: 3rem;
  --s-10: 4rem; --s-12: 5rem; --s-14: 6rem; --s-16: 7.5rem;
  --section-pad: clamp(4rem, 3rem + 5vw, 7.5rem);

  --radius-xs: 6px; --radius-sm: 10px; --radius-md: 14px;
  --radius-lg: 20px; --radius-xl: 28px; --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(26,26,46,0.05), 0 4px 14px -6px rgba(26,26,46,0.10);
  --shadow-md: 0 2px 4px rgba(26,26,46,0.05), 0 18px 44px -18px rgba(26,26,46,0.22);
  --shadow-lift: 0 6px 16px -6px rgba(26,26,46,0.16), 0 24px 48px -20px rgba(26,26,46,0.24);
  --shadow-phone: 0 4px 10px rgba(26,26,46,0.08), 0 36px 72px -24px rgba(26,26,46,0.38);

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-pop: cubic-bezier(.34,1.56,.64,1);
  --header-h: 68px;
  --tap-min: 44px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; color: var(--navy); letter-spacing: -0.01em; }
h4 { font-family: var(--font-body); font-weight: 600; margin: 0; color: var(--navy); }
p { margin: 0; }
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2rem); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--navy); color: var(--warm-white);
  padding: 0.7rem 1.1rem; border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

::selection { background: var(--yellow); color: var(--navy); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--yellow); }

/* ==========================================================================
   Type utilities
   ========================================================================== */
.eyebrow {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 1.4rem; height: 2px;
  background: var(--yellow); border-radius: 2px; flex-shrink: 0;
}
.eyebrow--blue::before { background: var(--blue); }
.eyebrow--purple::before { background: var(--purple); }
.eyebrow--pink::before { background: var(--pink); }
.eyebrow--orange::before { background: var(--orange); }
.eyebrow--green::before { background: var(--green); }
.on-dark .eyebrow { color: var(--muted-on-navy); }

.section-title { font-size: var(--text-3xl); max-width: 22ch; margin-top: var(--s-4); }
.section-lede { max-width: 52ch; margin-top: var(--s-4); color: var(--muted); font-size: var(--text-lg); line-height: 1.6; }
.on-dark .section-lede { color: var(--muted-on-navy); }

.highlight {
  background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 94%, transparent 94%);
  padding-inline: 0.06em;
}

/* Hand-drawn scribble underline (SVG painted, animates via JS).
   Wraps normally on narrow screens; the underline only needs to fit
   under a single line, so cap it to one line and let it fall away
   gracefully if the phrase ever spans two. */
.scribble { position: relative; display: inline-block; }
.scribble svg {
  position: absolute; left: -2%; bottom: -0.28em;
  width: 104%; height: 0.42em; overflow: visible;
}
@media (max-width: 420px) {
  .scribble svg { display: none; }
}
.scribble svg path {
  fill: none; stroke: var(--yellow); stroke-width: 7;
  stroke-linecap: round; opacity: 0.9;
}

/* Sticker label — Baloo, tilted, shadowed */
.sticker {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-fun); font-weight: 700; font-size: 0.8rem;
  color: var(--navy); background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  box-shadow: 2.5px 2.5px 0 var(--navy);
  transform: rotate(-2deg);
}
.sticker--yellow { background: var(--yellow); }
.sticker--green { background: var(--green); }
.sticker--pink { background: var(--pink); color: #fff; }
.sticker--blue { background: var(--blue); color: #fff; }
.sticker--tilt-r { transform: rotate(2deg); }

/* Achievement chip */
.badge-chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-fun); font-weight: 700; font-size: 0.8rem;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.85rem;
  box-shadow: 2.5px 2.5px 0 rgba(26,26,46,0.16);
  white-space: nowrap;
  transition: transform 0.18s var(--ease-pop), box-shadow 0.18s var(--ease);
}
.badge-chip:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 3.5px 4.5px 0 rgba(26,26,46,0.2); }
.badge-chip .emoji { font-size: 0.95rem; }
/* give a row of badges a scattered, hand-placed rhythm */
.showcase-foot .badge-chip:nth-child(odd) { transform: rotate(-1.2deg); }
.showcase-foot .badge-chip:nth-child(even) { transform: rotate(1deg); }
.showcase-foot .badge-chip:hover { transform: translateY(-2px) rotate(0deg); }

/* ==========================================================================
   Floating decorations — positioned per-section, parallax via JS
   ========================================================================== */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco svg { display: block; overflow: visible; }
.deco--drift { animation: deco-drift 7s ease-in-out infinite alternate; }
.deco--drift-slow { animation: deco-drift 11s ease-in-out infinite alternate; }
.deco--spin { animation: deco-spin 26s linear infinite; }
@keyframes deco-drift { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-14px) rotate(4deg); } }
@keyframes deco-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .deco--drift, .deco--drift-slow, .deco--spin { animation: none; }
}
@media (max-width: 640px) {
  .deco--desktop { display: none; }
}

/* ==========================================================================
   Bitsy — the TKAC mascot. A small floating coding companion: rounded robot
   with a star antenna, digital face, booster flame and pixel trail.
   Reusable inline SVG (see index.html hero for the markup); size with
   .mascot--sm / .mascot--lg, float with .mascot--float.
   ========================================================================== */
.mascot { display: inline-block; pointer-events: none; line-height: 0; }
.mascot svg { display: block; overflow: visible; width: 92px; height: 118px; filter: drop-shadow(0 6px 14px rgba(255, 217, 61, 0.35)); }
.mascot--sm svg { width: 62px; height: 79px; }
.mascot--lg svg { width: 120px; height: 153px; }
.mascot--float { animation: mascot-bob 3.6s ease-in-out infinite alternate; }
@keyframes mascot-bob {
  from { transform: translateY(0) rotate(-2deg); }
  to { transform: translateY(-10px) rotate(2.5deg); }
}
.mascot .m-arm { transform-origin: 30px 54px; animation: mascot-wave 2.8s ease-in-out infinite; }
@keyframes mascot-wave {
  0%, 55%, 100% { transform: rotate(0deg); }
  65%, 85% { transform: rotate(-16deg); }
  75% { transform: rotate(6deg); }
}
.mascot .m-flame { transform-origin: 60px 100px; animation: mascot-flame 0.55s ease-in-out infinite alternate; }
@keyframes mascot-flame {
  from { transform: scaleY(0.8); opacity: 0.85; }
  to { transform: scaleY(1.12); opacity: 1; }
}
.mascot .m-eye { animation: mascot-blink 4.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes mascot-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.12); }
}
@media (prefers-reduced-motion: reduce) {
  .mascot--float, .mascot .m-arm, .mascot .m-flame, .mascot .m-eye { animation: none; }
}

/* Twinkling stars (dark sections) */
.star-tw { animation: star-twinkle 3.2s ease-in-out infinite; transform-origin: center; }
.star-tw--d1 { animation-delay: 0.9s; }
.star-tw--d2 { animation-delay: 1.7s; }
.star-tw--d3 { animation-delay: 2.4s; }
@keyframes star-twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .star-tw { animation: none; opacity: 0.7; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-weight: 600; font-size: var(--text-sm); line-height: 1.2;
  min-height: var(--tap-min);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  transition: transform 0.18s var(--ease-pop), box-shadow 0.18s var(--ease), background-color 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.15rem; height: 1.15rem; fill: currentColor; flex-shrink: 0; }

/* "Keycap" depth — solid buttons sit on a darker edge like a keyboard key,
   and physically press down on click. */
.btn-primary { background: var(--navy); color: var(--warm-white); box-shadow: 0 3px 0 #0B0B15; }
.btn-primary:hover { background: var(--navy-raised); box-shadow: 0 5px 0 #0B0B15, 0 14px 24px -12px rgba(26,26,46,0.45); }
.btn-primary:active { box-shadow: 0 1px 0 #0B0B15; }
.on-dark .btn-primary { background: var(--yellow); color: var(--navy); box-shadow: 0 3px 0 #D9AE18; }
.on-dark .btn-primary:hover { background: #ffe170; box-shadow: 0 5px 0 #D9AE18, 0 14px 26px -12px rgba(255,217,61,0.5); }
.on-dark .btn-primary:active { box-shadow: 0 1px 0 #D9AE18; }

.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 3px 0 var(--whatsapp-dark); }
.btn-whatsapp:hover { background: #1fb958; box-shadow: 0 5px 0 var(--whatsapp-dark), 0 14px 24px -12px rgba(37, 211, 102, 0.55); }
.btn-whatsapp:active { box-shadow: 0 1px 0 var(--whatsapp-dark); }

.btn-ghost { border: 1.5px solid var(--line-strong); color: var(--navy); background: var(--white); }
.btn-ghost:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.on-dark .btn-ghost { border-color: var(--navy-line); color: var(--warm-white); background: transparent; }
.on-dark .btn-ghost:hover { border-color: var(--warm-white); background: rgba(250,249,246,0.06); }

.btn-lg { font-size: var(--text-base); padding: 1rem 1.9rem; border-radius: var(--radius-lg); }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; font-size: var(--text-sm); color: var(--navy);
  min-height: var(--tap-min);
}
.link-arrow::after { content: "→"; transition: transform 0.18s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-scrolled { background: rgba(250, 249, 246, 0.96); border-bottom-color: var(--line); }

.header-inner { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 0.65rem; min-height: var(--tap-min); margin-right: auto; flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; transition: transform 0.3s var(--ease-pop); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--navy); letter-spacing: -0.01em; white-space: nowrap;
}

.site-nav ul { display: flex; list-style: none; gap: 0.35rem; }
.site-nav a {
  position: relative; display: inline-flex; align-items: center;
  min-height: var(--tap-min);
  padding: 0.35rem 0.85rem;
  font-size: var(--text-sm); font-weight: 500; color: var(--ink);
  border-radius: var(--radius-xs); white-space: nowrap;
  transition: color 0.15s var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 6px;
  height: 2px; background: var(--yellow); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.site-nav a:hover { color: var(--navy); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.nav-whatsapp {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: var(--tap-min); padding: 0.35rem 0.9rem;
  font-size: var(--text-sm); font-weight: 600; color: var(--whatsapp-dark);
  border-radius: var(--radius-xs); white-space: nowrap;
  transition: background-color 0.15s var(--ease);
}
.nav-whatsapp .icon { width: 1.2rem; height: 1.2rem; fill: var(--whatsapp); }
.nav-whatsapp:hover { background: rgba(37, 211, 102, 0.1); }
.btn-header { padding: 0.6rem 1.15rem; min-height: 40px; }
.btn-quiet-link {
  display: inline-flex; align-items: center; min-height: var(--tap-min);
  padding: 0.35rem 0.8rem; font-size: var(--text-sm); font-weight: 500;
  color: var(--muted); border-radius: var(--radius-xs); white-space: nowrap;
  transition: color 0.15s var(--ease);
}
.btn-quiet-link:hover { color: var(--navy); }

.nav-toggle {
  display: none; width: var(--tap-min); height: var(--tap-min);
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border-radius: var(--radius-xs);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; border-top: 1px solid var(--line);
  background: var(--warm-white);
  padding: var(--s-4) clamp(1.25rem, 4vw, 2rem) var(--s-6);
}
.mobile-nav ul { list-style: none; display: grid; }
.mobile-nav ul a {
  display: flex; align-items: center; min-height: 50px;
  font-size: var(--text-base); font-weight: 500; color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .mobile-nav-actions { display: grid; gap: 0.75rem; margin-top: var(--s-5); }

@media (max-width: 1060px) {
  .site-nav, .header-actions .nav-whatsapp, .header-actions .btn-quiet-link { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav:not([hidden]) { display: block; }
}
@media (max-width: 560px) {
  .header-actions .btn-header { display: none; }
  .brand-name { font-size: 0.98rem; }
}

/* ==========================================================================
   Hero — the phone story
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  padding-bottom: var(--section-pad);
  overflow: hidden;
}
/* soft moving gradient wash behind everything */
.hero::before {
  content: ""; position: absolute; inset: -20% -10%;
  background:
    radial-gradient(38% 42% at 78% 30%, rgba(255,217,61,0.22), transparent 70%),
    radial-gradient(30% 36% at 18% 78%, rgba(107,203,119,0.13), transparent 70%),
    radial-gradient(26% 30% at 8% 12%, rgba(77,150,255,0.10), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: var(--s-10); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--s-10); } }

.hero-copy { position: relative; z-index: 2; }
.hero-title { font-size: var(--text-5xl); line-height: 1.05; letter-spacing: -0.015em; margin-top: var(--s-5); max-width: 14ch; }
.hero-title em { font-style: italic; }
.hero-sub { margin-top: var(--s-5); font-size: var(--text-lg); line-height: 1.65; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: var(--s-6); }
.hero-finder-link { margin-top: var(--s-4); font-size: var(--text-sm); color: var(--muted); }
.hero-finder-link a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero-finder-link a:hover { color: var(--purple); }

.hero-facts { margin-top: var(--s-6); display: grid; gap: 0.6rem; list-style: none; font-size: var(--text-sm); color: var(--muted); }
.hero-facts li { display: flex; align-items: flex-start; gap: 0.6rem; }
.hero-facts .tick { width: 1.1rem; height: 1.1rem; flex-shrink: 0; margin-top: 0.2rem; color: var(--whatsapp-dark); }
.hero-facts .tick svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Phone — centrepiece */
.hero-visual { position: relative; display: flex; justify-content: center; z-index: 1; }
.phone-scene { position: relative; }
/* glow behind phone */
.phone-scene::before {
  content: ""; position: absolute; inset: -18% -22%;
  background: radial-gradient(48% 46% at 50% 42%, rgba(255,217,61,0.4), rgba(255,159,67,0.14) 55%, transparent 75%);
  filter: blur(6px);
  z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: min(340px, 86vw);
  background: var(--navy);
  border-radius: 40px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  will-change: transform;
}
.phone-screen { background: #EFE7DD; border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; }
.chat-header { display: flex; align-items: center; gap: 0.65rem; background: var(--navy); color: var(--warm-white); padding: 0.85rem 0.9rem 0.7rem; }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-title { font-size: 0.85rem; font-weight: 600; line-height: 1.2; }
.chat-status { font-size: 0.7rem; color: var(--muted-on-navy); }

.chat-body {
  padding: 0.9rem 0.75rem 1rem;
  display: grid; gap: 0.55rem;
  font-size: 0.8rem; line-height: 1.45;
  align-content: start;
  /* Reserve the FULL story height up front — the chat must never grow as
     messages arrive, or the whole page reflows and jumps under anyone
     reading further down. JS re-measures and locks this exactly on load,
     after fonts settle, and on resize; these values are the pre-JS
     approximations (phone width = min(340px, 86vw), so narrower phones
     wrap more text and need more room). */
  min-height: 620px;
  overflow: hidden;
}
@media (max-width: 340px) { .chat-body { min-height: 656px; } }
@media (min-width: 396px) { .chat-body { min-height: 600px; } }
.chat-day {
  justify-self: center; font-size: 0.65rem; font-weight: 600;
  color: rgba(26,26,46,0.5); background: rgba(255,255,255,0.75);
  padding: 0.2rem 0.7rem; border-radius: var(--radius-full); margin-bottom: 0.2rem;
}
.msg {
  max-width: 86%; padding: 0.5rem 0.65rem; border-radius: 10px;
  box-shadow: 0 1px 1px rgba(26,26,46,0.08); position: relative;
}
.msg-in { background: #fff; justify-self: start; border-top-left-radius: 3px; }
.msg-out { background: #D9FDD3; justify-self: end; border-top-right-radius: 3px; }
.msg-time { display: block; font-size: 0.6rem; color: rgba(26,26,46,0.42); text-align: right; margin-top: 0.15rem; }
.msg-doc { display: flex; align-items: center; gap: 0.55rem; background: rgba(26,26,46,0.05); border-radius: 8px; padding: 0.5rem 0.6rem; margin-bottom: 0.3rem; }
.msg-doc-icon {
  width: 30px; height: 30px; border-radius: 7px; background: var(--navy); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700; flex-shrink: 0;
}
.msg-doc-name { font-weight: 600; font-size: 0.72rem; line-height: 1.3; }
.msg-doc-meta { font-size: 0.62rem; color: rgba(26,26,46,0.5); }
.msg-photo {
  border-radius: 8px;
  background: linear-gradient(135deg, #2b2b45 0%, #1A1A2E 100%);
  color: #9EE7A8;
  font-family: var(--font-mono); font-size: 0.58rem; line-height: 1.7;
  padding: 0.6rem 0.65rem; margin-bottom: 0.3rem;
  white-space: pre; overflow: hidden;
}
/* achievement message */
.msg-achievement {
  display: flex; align-items: center; gap: 0.55rem;
  background: linear-gradient(120deg, var(--yellow-tint), #fff);
  border: 1.5px solid var(--yellow);
  border-radius: 10px; padding: 0.5rem 0.65rem;
  font-weight: 600; font-size: 0.72rem; color: var(--navy);
  box-shadow: 2px 2px 0 rgba(255, 217, 61, 0.45);
}
.msg-achievement .tro { font-size: 1.1rem; }

/* Chat story animation: messages hidden until .is-shown (JS). No-JS = all visible */
html.js .chat-story .story-item { display: none; }
html.js .chat-story .story-item.is-shown { display: block; animation: msg-pop 0.4s var(--ease-pop); }
html.js .chat-story .chat-day.story-item.is-shown { display: inline-block; justify-self: center; }
@keyframes msg-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .chat-story .story-item { display: block; animation: none; }
  html.js .chat-story .chat-day.story-item { display: inline-block; }
}
/* typing indicator */
.typing { display: inline-flex; align-items: center; gap: 4px; padding: 0.62rem 0.8rem; }
.typing i {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(26,26,46,0.4);
  animation: typing-b 1.1s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-b { 0%, 60%, 100% { transform: none; opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* floating chips + stickers around the phone */
.hero-chip {
  position: absolute; z-index: 2;
  background: var(--white); border: 2px solid var(--navy);
  box-shadow: 3.5px 3.5px 0 rgba(26,26,46,0.9); border-radius: var(--radius-md);
  padding: 0.6rem 0.9rem;
  font-size: 0.78rem; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: 0.5rem; white-space: nowrap;
}
.hero-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--whatsapp); flex-shrink: 0; }
.hero-chip--1 { top: 9%; left: max(-26px, calc(50% - 255px)); transform: rotate(-1.5deg); }
.hero-chip--2 { bottom: 12%; right: max(-26px, calc(50% - 255px)); transform: rotate(1.2deg); }
.hero-chip--2 .dot { background: var(--yellow); }
@media (max-width: 480px) { .hero-chip { display: none; } }

/* Scratch-style floating code blocks */
.code-block-sticker {
  font-family: var(--font-fun); font-weight: 700; font-size: 0.72rem;
  color: #fff; border-radius: 8px; padding: 0.35rem 0.7rem;
  box-shadow: 0 3px 0 rgba(0,0,0,0.18);
  display: inline-block;
}
.code-block-sticker--when { background: var(--orange); }
.code-block-sticker--move { background: var(--blue); }
.code-block-sticker--loop { background: var(--purple); }

/* ==========================================================================
   Trust metrics band — animated counters
   ========================================================================== */
.metrics { background: var(--navy); position: relative; overflow: hidden; padding-block: var(--s-8); }
.metrics .metrics-grid {
  position: relative; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6) var(--s-4);
}
@media (min-width: 800px) { .metrics .metrics-grid { grid-template-columns: repeat(4, 1fr); } }
.metric { text-align: center; }
.metric .num {
  font-family: var(--font-fun); font-weight: 700;
  font-size: clamp(1.9rem, 1.5rem + 2vw, 2.9rem);
  color: var(--yellow); line-height: 1;
}
.metric .num .suffix { font-size: 0.6em; }
.metric .lbl { margin-top: 0.4rem; font-size: var(--text-xs); color: var(--muted-on-navy); }

/* ==========================================================================
   Editorial statement
   ========================================================================== */
.statement {
  position: relative; padding-block: var(--section-pad);
  background:
    radial-gradient(42% 60% at 92% 20%, rgba(255,159,67,0.10), transparent 70%),
    radial-gradient(36% 55% at 6% 85%, rgba(77,150,255,0.08), transparent 70%),
    var(--white);
  border-top: 1px solid; border-image: linear-gradient(90deg, transparent, rgba(26,26,46,0.18) 18% 82%, transparent) 1; overflow: hidden;
}
.statement-text {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 500;
  line-height: 1.28; color: var(--navy); max-width: 26ch; letter-spacing: -0.01em;
}
.statement-sub { position: relative; z-index: 1; margin-top: var(--s-5); font-size: var(--text-lg); color: var(--muted); max-width: 42ch; }

/* ==========================================================================
   How it works — illustrated story steps
   ========================================================================== */
.how {
  position: relative; padding-block: var(--section-pad);
  background:
    radial-gradient(40% 55% at 100% 10%, rgba(255,217,61,0.14), transparent 70%),
    radial-gradient(34% 50% at 0% 95%, rgba(255,111,181,0.07), transparent 70%),
    var(--warm-white);
  overflow: hidden;
}
.how-grid { position: relative; display: grid; gap: var(--s-8); }
@media (min-width: 900px) {
  .how-grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--s-12); }
  .how-intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.how-intro p.how-note { margin-top: var(--s-5); color: var(--muted); max-width: 38ch; }
.how-intro .btn { margin-top: var(--s-6); }

.steps { list-style: none; display: grid; position: relative; }
/* hand-dotted connector between the week's moments */
.steps::before {
  content: ""; position: absolute; left: 26px; top: 40px; bottom: 40px;
  width: 3px; border-radius: 2px;
  background: repeating-linear-gradient(180deg,
    rgba(26,26,46,0.22) 0 3px, transparent 3px 11px);
}
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: var(--s-5); padding-block: var(--s-5); }
.step-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  box-shadow: var(--shadow-sm);
}
.step-icon svg { width: 30px; height: 30px; }
.step--mon .step-icon { background: var(--yellow-tint); }
.step--week .step-icon { background: var(--blue-tint); }
.step--fri .step-icon { background: var(--green-tint); }
.step--fb .step-icon { background: var(--pink-tint); }
.step h3 { font-size: var(--text-xl); }
.step .step-day {
  display: inline-block; font-family: var(--font-fun); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--radius-xs); padding: 0.2rem 0.6rem; margin-bottom: 0.5rem;
}
.step--mon .step-day { background: var(--yellow); color: var(--navy); }
.step--week .step-day { background: var(--blue); color: #fff; }
.step--fri .step-day { background: var(--green); color: var(--navy); }
.step--fb .step-day { background: var(--pink); color: #fff; }
.step p { margin-top: 0.5rem; color: var(--muted); max-width: 52ch; }

/* ==========================================================================
   Coding Journey — space section
   ========================================================================== */
.journey {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--navy-deep) 0%, #1B1B33 55%, var(--navy) 100%);
  color: var(--warm-white);
  padding-block: var(--section-pad);
}
.journey h2, .journey h3 { color: var(--warm-white); }
.journey .section-lede { color: var(--muted-on-navy); }
.journey .eyebrow { color: var(--muted-on-navy); }

.journey-track { position: relative; margin-top: var(--s-10); }
/* the drawn path (desktop decorative svg) */
.journey-path-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.journey-path-svg path {
  fill: none; stroke: rgba(255,217,61,0.5); stroke-width: 2.5;
  stroke-dasharray: 8 10; stroke-linecap: round;
}

.journey-steps { position: relative; display: grid; gap: var(--s-5); list-style: none; }
@media (min-width: 860px) {
  .journey-steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-6) var(--s-5); }
  .journey-steps li:nth-child(n+5) { grid-column: span 1; }
}
.journey-node {
  position: relative;
  background: rgba(250,249,246,0.05);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  backdrop-filter: blur(2px);
  transition: transform 0.25s var(--ease-pop), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.journey-node:hover { transform: translateY(-4px); border-color: rgba(255,217,61,0.5); background: rgba(250,249,246,0.08); }
.journey-node .j-emoji {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--s-3);
}
.journey-node h3 { font-family: var(--font-fun); font-weight: 700; font-size: 1.02rem; letter-spacing: 0; }
.journey-node p { margin-top: 0.35rem; font-size: var(--text-xs); color: var(--muted-on-navy); line-height: 1.55; }
.journey-node .j-badge {
  margin-top: var(--s-3);
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-fun); font-weight: 700; font-size: 0.7rem;
  color: var(--yellow);
  background: rgba(255,217,61,0.09);
  border: 1px solid rgba(255,217,61,0.32);
  border-radius: var(--radius-full); padding: 0.22rem 0.65rem;
  box-shadow: inset 0 1px 0 rgba(255,217,61,0.15);
}
.j-emoji--1 { background: rgba(255,217,61,0.16); }
.j-emoji--2 { background: rgba(255,159,67,0.16); }
.j-emoji--3 { background: rgba(255,111,181,0.16); }
.j-emoji--4 { background: rgba(77,150,255,0.16); }
.j-emoji--5 { background: rgba(107,203,119,0.16); }
.j-emoji--6 { background: rgba(155,93,229,0.18); }
.j-emoji--7 { background: rgba(255,217,61,0.2); }
.journey-node--final {
  background: linear-gradient(135deg, rgba(255,217,61,0.14), rgba(155,93,229,0.12));
  border-color: rgba(255,217,61,0.45);
}
.journey-foot { margin-top: var(--s-8); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }

/* ==========================================================================
   Programmes — full artwork cards
   ========================================================================== */
.programmes {
  position: relative; padding-block: var(--section-pad);
  background:
    radial-gradient(38% 50% at 4% 8%, rgba(255,159,67,0.09), transparent 70%),
    radial-gradient(40% 55% at 98% 90%, rgba(77,150,255,0.08), transparent 70%),
    var(--white);
  border-top: 1px solid; border-image: linear-gradient(90deg, transparent, rgba(26,26,46,0.18) 18% 82%, transparent) 1; overflow: hidden;
}
.programmes-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-8); }

.prog-grid { display: grid; gap: var(--s-6); }
@media (min-width: 920px) { .prog-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

.prog-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--warm-white);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(26,26,46,0.03), 0 10px 24px -16px rgba(26,26,46,0.14);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease-pop), border-color 0.2s var(--ease);
}
.prog-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.prog-card--little:hover { border-color: var(--orange); }
.prog-card--theory:hover { border-color: var(--blue); }
.prog-card--full:hover { border-color: var(--yellow); }

.prog-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.prog-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 0.5s var(--ease);
}
.prog-card:hover .prog-media img { transform: scale(1.04); }
.prog-media .prog-flag {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 1;
}

.prog-body { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.prog-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  font-size: 0.72rem; font-weight: 600; padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full); background: rgba(26,26,46,0.055); color: var(--ink);
}
.chip--device { background: var(--green-tint); color: var(--whatsapp-dark); }
.prog-body h3 { font-size: var(--text-xl); margin-top: var(--s-4); }
.prog-desc { margin-top: var(--s-3); color: var(--muted); font-size: var(--text-sm); }
.prog-path {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem;
  margin-top: var(--s-4);
  font-family: var(--font-fun); font-size: 0.72rem; font-weight: 700; color: var(--navy);
}
.prog-path .path-step { background: var(--yellow-tint); padding: 0.3rem 0.6rem; border-radius: var(--radius-xs); }
.prog-path .path-sep { color: var(--muted-2); }
.prog-price { margin-top: auto; padding-top: var(--s-5); display: flex; align-items: baseline; gap: 0.3rem; }
.prog-price .amount { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; color: var(--navy); letter-spacing: -0.02em; }
.prog-price .period { color: var(--muted); font-size: var(--text-sm); }
.prog-cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: var(--s-4); width: 100%; }
.prog-cta-row .btn { flex: 1; min-width: 130px; }

.programme-note { margin-top: var(--s-6); color: var(--muted); font-size: var(--text-sm); max-width: 68ch; }
/* taped-note treatment — reads as a note pinned by a teacher, not a blockquote */
.price-anchor {
  position: relative;
  margin-top: var(--s-7);
  border: 2px solid var(--navy);
  background: var(--yellow-tint);
  border-radius: var(--radius-md);
  padding: var(--s-5) var(--s-6);
  max-width: 62ch;
  box-shadow: 5px 5px 0 rgba(255, 217, 61, 0.55);
}
.price-anchor::before {
  content: "";
  position: absolute; top: -12px; left: 50%;
  width: 74px; height: 22px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(255, 217, 61, 0.75);
  border-radius: 2px;
}
.price-anchor p { color: var(--ink); font-size: var(--text-sm); line-height: 1.7; }
.price-anchor strong { color: var(--navy); }

.finder-banner {
  margin-top: var(--s-8);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4);
  background: var(--purple-tint);
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--s-5) var(--s-6);
  box-shadow: 5px 5px 0 rgba(155, 93, 229, 0.28);
}
.finder-banner .fb-copy { display: flex; align-items: center; gap: var(--s-4); }
.finder-banner .fb-emoji { font-size: 1.8rem; }
.finder-banner h3 { font-family: var(--font-fun); font-weight: 700; font-size: var(--text-lg); letter-spacing: 0; }
.finder-banner p { font-size: var(--text-sm); color: var(--muted); margin-top: 0.15rem; }
.finder-banner .btn { background: var(--purple); color: #fff; }
.finder-banner .btn:hover { background: #8446d8; box-shadow: 0 10px 22px -8px rgba(155,93,229,0.5); }

/* ==========================================================================
   Curriculum
   ========================================================================== */
.curriculum {
  padding-block: var(--section-pad);
  background:
    radial-gradient(44% 60% at 100% 0%, rgba(77,150,255,0.10), transparent 70%),
    radial-gradient(30% 45% at 0% 100%, rgba(107,203,119,0.09), transparent 70%),
    var(--warm-white);
  border-top: 1px solid; border-image: linear-gradient(90deg, transparent, rgba(26,26,46,0.18) 18% 82%, transparent) 1;
}
.seg-control {
  display: flex; gap: 0.4rem; margin-top: var(--s-7);
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.seg-control::-webkit-scrollbar { display: none; }
.seg-tab {
  flex-shrink: 0; min-height: var(--tap-min);
  padding: 0.55rem 1.1rem;
  font-size: var(--text-sm); font-weight: 600; color: var(--muted);
  background: var(--white); border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-full);
  transition: all 0.18s var(--ease);
}
.seg-tab:hover { color: var(--navy); border-color: var(--navy); transform: translateY(-1px); }
.seg-tab[aria-selected="true"] {
  background: var(--navy); color: var(--warm-white); border-color: var(--navy);
  box-shadow: 0 2.5px 0 #0B0B15;
}
.curriculum-panel { margin-top: var(--s-6); }
.syllabus-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-bottom: var(--s-5); }
.syllabus-head h3 { font-size: var(--text-xl); }
.syllabus-note { color: var(--muted); font-size: var(--text-sm); max-width: 64ch; margin-bottom: var(--s-5); }
.week-grid { list-style: none; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 800px) {
  .week-grid { grid-template-columns: 1fr 1fr; column-gap: var(--s-10); }
  .week-grid li:nth-child(2) { border-top: 1px solid var(--line); margin-top: -1px; }
}
.week-row { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: baseline; padding: 0.8rem 0.25rem; border-bottom: 1px solid var(--line); }
.week-num { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; color: var(--muted-2); }
.week-title { font-weight: 600; color: var(--navy); font-size: var(--text-sm); }
.week-desc { display: block; color: var(--muted); font-size: var(--text-xs); margin-top: 0.1rem; }

/* ==========================================================================
   Showcase — real project cards
   ========================================================================== */
.showcase { position: relative; padding-block: var(--section-pad); background: var(--white); overflow: hidden; }
.showcase-grid { display: grid; gap: var(--s-6); margin-top: var(--s-8); }
@media (min-width: 700px) { .showcase-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .showcase-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--warm-white);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(26,26,46,0.03), 0 10px 24px -16px rgba(26,26,46,0.14);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease-pop);
}
.project-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px) rotate(-0.4deg); }
/* alternate the hover tilt so a row of cards doesn't lean in unison */
.project-card:nth-child(even):hover { transform: translateY(-4px) rotate(0.4deg); }
.project-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-family: var(--font-fun); font-weight: 700; font-size: 1.05rem; letter-spacing: 0; }
.project-body p { margin-top: 0.4rem; font-size: var(--text-xs); color: var(--muted); line-height: 1.6; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: var(--s-4); }
.tech-badge {
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700;
  padding: 0.22rem 0.55rem; border-radius: var(--radius-xs);
}
.tech-badge--scratch { background: var(--orange-tint); color: #B05E0D; }
.tech-badge--python { background: var(--blue-tint); color: #1D5FCC; }
.tech-badge--web { background: var(--pink-tint); color: #C13A83; }
.tech-badge--js { background: var(--yellow-tint); color: #8a6d00; }
.project-foot { margin-top: auto; padding-top: var(--s-4); display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.level-chip { font-size: 0.68rem; font-weight: 700; color: var(--muted); }
.difficulty { display: inline-flex; gap: 3px; }
.difficulty i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.difficulty i.on { background: var(--green); }

/* CSS-built project thumbnails */
.thumb-scratch {
  background: linear-gradient(160deg, #FFF3E0, #FFE0B2);
  display: grid; grid-template-columns: 84px 1fr; height: 100%;
}
.thumb-scratch .blocks { padding: 0.6rem 0.5rem; display: grid; gap: 0.35rem; align-content: start; }
.thumb-scratch .blocks span { display: block; height: 16px; border-radius: 5px; box-shadow: 0 2px 0 rgba(0,0,0,0.15); }
.thumb-scratch .stage { position: relative; margin: 0.6rem; background: #fff; border-radius: 8px; overflow: hidden; }
.thumb-maze { position: absolute; inset: 0; background:
  repeating-linear-gradient(0deg, transparent 0 22px, #E3EDF7 22px 26px),
  repeating-linear-gradient(90deg, transparent 0 22px, #E3EDF7 22px 26px), #F7FAFD; }
.thumb-sprite { position: absolute; font-size: 1.3rem; }
.thumb-goal { position: absolute; right: 8%; bottom: 8%; font-size: 1.2rem; }

.thumb-terminal { background: #191A2E; height: 100%; padding: 0.8rem; display: flex; flex-direction: column; }
.thumb-terminal .t-bar { display: flex; gap: 5px; margin-bottom: 0.6rem; }
.thumb-terminal .t-bar i { width: 9px; height: 9px; border-radius: 50%; }
.thumb-terminal pre {
  margin: 0; font-family: var(--font-mono); font-size: 0.62rem; line-height: 1.75;
  color: #C8E4FF; white-space: pre; overflow: hidden;
}
.thumb-terminal .tok-k { color: #FF9F43; }
.thumb-terminal .tok-s { color: #9EE7A8; }
.thumb-terminal .tok-c { color: #6b6b8f; }

.thumb-browser { background: linear-gradient(160deg, #FDEFF7, #EFE3FC); height: 100%; padding: 0.8rem; }
.thumb-browser .b-window { background: #fff; border-radius: 8px; height: 100%; overflow: hidden; box-shadow: 0 6px 18px -8px rgba(26,26,46,0.25); }
.thumb-browser .b-bar { display: flex; align-items: center; gap: 5px; padding: 0.4rem 0.5rem; background: #F1F1F6; }
.thumb-browser .b-bar i { width: 8px; height: 8px; border-radius: 50%; }
.thumb-browser .b-url { flex: 1; height: 10px; background: #fff; border-radius: 5px; margin-left: 4px; }
.thumb-browser .b-hero { padding: 0.55rem 0.6rem 0.3rem; }
.thumb-browser .b-hero b { display: block; font-family: var(--font-fun); font-size: 0.72rem; color: var(--navy); }
.thumb-browser .b-hero span { display: block; height: 5px; border-radius: 3px; background: #E8E8F0; margin-top: 4px; width: 80%; }
.thumb-browser .b-cards { display: flex; gap: 5px; padding: 0.3rem 0.6rem; }
.thumb-browser .b-cards i { flex: 1; height: 26px; border-radius: 5px; }

.thumb-quiz { background: linear-gradient(160deg, #E7F0FF, #D8E7FF); height: 100%; display: flex; align-items: center; justify-content: center; padding: 0.8rem; }
.thumb-quiz .q-card { background: #fff; border-radius: 10px; padding: 0.7rem 0.8rem; width: 88%; box-shadow: 0 8px 20px -10px rgba(26,26,46,0.3); }
.thumb-quiz .q-q { font-family: var(--font-fun); font-weight: 700; font-size: 0.68rem; color: var(--navy); }
.thumb-quiz .q-opt { margin-top: 0.35rem; height: 15px; border-radius: 5px; background: #F0F3FA; position: relative; }
.thumb-quiz .q-opt.correct { background: var(--green-tint); border: 1px solid var(--green); }
.thumb-quiz .q-opt.correct::after { content: "✓"; position: absolute; right: 5px; top: 0; font-size: 0.6rem; color: var(--whatsapp-dark); }

.thumb-weather { background: linear-gradient(160deg, #4D96FF, #6FB1FF); height: 100%; display: flex; align-items: center; justify-content: center; }
.thumb-weather .w-card { text-align: center; color: #fff; }
.thumb-weather .w-icon { font-size: 1.9rem; }
.thumb-weather .w-temp { font-family: var(--font-fun); font-weight: 700; font-size: 1.3rem; }
.thumb-weather .w-city { font-size: 0.62rem; opacity: 0.9; }
.thumb-weather .w-row { display: flex; gap: 6px; margin-top: 0.45rem; }
.thumb-weather .w-row i { background: rgba(255,255,255,0.18); border-radius: 6px; padding: 0.25rem 0.4rem; font-size: 0.55rem; font-style: normal; }

.showcase-foot { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

/* ==========================================================================
   Testimonials — WhatsApp-style voices
   ========================================================================== */
.testimonials { position: relative; padding-block: var(--section-pad); background: linear-gradient(180deg, var(--warm-white), var(--green-tint) 140%); border-top: 1px solid; border-image: linear-gradient(90deg, transparent, rgba(26,26,46,0.18) 18% 82%, transparent) 1; overflow: hidden; }
.testi-grid { display: grid; gap: var(--s-5); margin-top: var(--s-8); }
@media (min-width: 720px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }

.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-4);
  box-shadow: 0 1px 0 rgba(26,26,46,0.03), 0 10px 24px -16px rgba(26,26,46,0.14);
  transition: transform 0.25s var(--ease-pop), box-shadow 0.25s var(--ease);
}
.testi-card:hover { transform: translateY(-3px) rotate(-0.3deg); box-shadow: var(--shadow-md); }
.testi-card:nth-child(even):hover { transform: translateY(-3px) rotate(0.3deg); }
.testi-head { display: flex; align-items: center; gap: 0.7rem; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-fun); font-weight: 700; font-size: 0.85rem; color: #fff;
}
.testi-name { font-weight: 600; font-size: var(--text-sm); color: var(--navy); }
.testi-role { font-size: var(--text-xs); color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--yellow); font-size: 0.8rem; letter-spacing: 1px; }
.testi-bubble {
  position: relative;
  background: #D9FDD3;
  border-radius: 12px; border-top-left-radius: 4px;
  padding: 0.8rem 0.95rem;
  font-size: var(--text-sm); line-height: 1.6; color: var(--ink);
}
.testi-bubble .msg-time { font-size: 0.62rem; }
.testi-card--student .testi-bubble { background: var(--blue-tint); }

/* ==========================================================================
   Founder — warm desk scene + video
   ========================================================================== */
.founder { position: relative; padding-block: var(--section-pad); overflow: hidden; }
.founder.on-dark {
  background:
    radial-gradient(50% 40% at 85% 10%, rgba(255,159,67,0.13), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(155,93,229,0.12), transparent 70%),
    var(--navy);
}
.founder-grid { position: relative; display: grid; gap: var(--s-8); align-items: center; }
@media (min-width: 880px) { .founder-grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--s-12); } }

.founder-photo { position: relative; max-width: 420px; margin-inline: auto; }
.founder-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
/* washi tape */
.founder-photo::before, .founder-photo::after {
  content: ""; position: absolute; width: 92px; height: 26px;
  background: rgba(255,217,61,0.85); border-radius: 3px;
  z-index: 1;
}
.founder-photo::before { top: -12px; left: 14%; transform: rotate(-6deg); }
.founder-photo::after { top: -12px; right: 14%; transform: rotate(5deg); }

.sticky-note {
  position: absolute; z-index: 2;
  font-family: var(--font-hand); font-weight: 600; font-size: 1.05rem; line-height: 1.25;
  color: var(--navy);
  padding: 0.7rem 0.9rem;
  border-radius: 4px;
  box-shadow: 0 8px 18px -8px rgba(0,0,0,0.4);
  max-width: 150px;
}
.sticky-note--1 { background: var(--yellow); bottom: -18px; left: -14px; transform: rotate(-5deg); }
.sticky-note--2 { background: #B4F0BE; top: 38%; right: -20px; transform: rotate(4deg); }
@media (max-width: 560px) {
  .sticky-note--2 { right: -6px; }
}

.founder-quote {
  font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 500; font-style: italic;
  line-height: 1.3; color: var(--warm-white);
  margin-top: var(--s-5); max-width: 24ch;
}
.founder-copy > p:not(.founder-quote) { margin-top: var(--s-5); color: var(--muted-on-navy); max-width: 56ch; }
.founder-name { margin-top: var(--s-6); display: grid; gap: 0.15rem; }
.founder-name .name { font-family: var(--font-hand); font-size: 1.7rem; font-weight: 600; color: var(--yellow); }
.founder-name .role { font-size: var(--text-sm); color: var(--muted-on-navy); }
.verify-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; margin-top: var(--s-5); font-size: var(--text-sm); }
.verify-strip a {
  color: var(--yellow); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
  min-height: var(--tap-min); display: inline-flex; align-items: center;
}
.verify-strip a:hover { color: #ffe170; }

/* brand video block */
.founder-video { margin-top: var(--s-10); position: relative; }
.founder-video video {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}
.founder-video .video-caption {
  margin-top: var(--s-4);
  display: flex; align-items: center; gap: 0.6rem;
  font-size: var(--text-sm); color: var(--muted-on-navy);
}

/* ==========================================================================
   Schools — photo-backed dark section
   ========================================================================== */
.schools {
  position: relative; padding-block: var(--section-pad); overflow: hidden;
  background: var(--navy);
}
.schools::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--schools-bg, none);
  background-size: cover; background-position: center;
  opacity: 0.16;
}
.schools::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,20,31,0.85), rgba(20,20,31,0.4));
}
.schools .wrap { position: relative; z-index: 1; }
.schools .schools-grid { display: grid; gap: var(--s-8); }
@media (min-width: 900px) { .schools .schools-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-12); align-items: start; } }
.schools-copy > p { margin-top: var(--s-5); color: var(--muted-on-navy); max-width: 54ch; }
.schools-copy .btn { margin-top: var(--s-6); }
.schools-proof { margin-top: var(--s-5); font-size: var(--text-xs); color: var(--muted-on-navy); }
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--navy-line); border: 1px solid var(--navy-line);
  border-radius: var(--radius-md); overflow: hidden;
}
@media (max-width: 520px) { .stat-row { grid-template-columns: 1fr; } }
.stat-cell { background: rgba(34,34,60,0.9); padding: var(--s-5) var(--s-4); display: grid; gap: 0.25rem; }
.stat-cell strong { font-family: var(--font-fun); font-size: var(--text-2xl); font-weight: 700; color: var(--yellow); line-height: 1; }
.stat-cell span { font-size: var(--text-xs); color: var(--muted-on-navy); line-height: 1.45; }
.centre-steps { list-style: none; margin-top: var(--s-5); display: grid; }
.centre-steps li {
  display: flex; gap: 0.8rem; align-items: baseline;
  padding-block: 0.85rem; border-bottom: 1px solid var(--navy-line);
  font-size: var(--text-sm); color: var(--muted-on-navy);
}
.centre-steps li:last-child { border-bottom: 0; }
.centre-steps .mono { color: var(--yellow); font-size: 0.75rem; font-weight: 700; }
.centre-steps-title { font-weight: 600; color: var(--warm-white); font-size: var(--text-sm); border-bottom: 1px solid var(--navy-line); }
.schools h2, .schools h3 { color: var(--warm-white); }
.schools .eyebrow { color: var(--muted-on-navy); }

/* ==========================================================================
   Future courses — the Lab
   ========================================================================== */
.future { position: relative; padding-block: var(--section-pad); background: linear-gradient(180deg, var(--white), var(--purple-tint) 160%); border-top: 1px solid; border-image: linear-gradient(90deg, transparent, rgba(26,26,46,0.18) 18% 82%, transparent) 1; overflow: hidden; }
.future-grid { display: grid; gap: var(--s-5); margin-top: var(--s-8); }
@media (min-width: 680px) { .future-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .future-grid { grid-template-columns: repeat(4, 1fr); } }

.future-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  padding: var(--s-5);
  min-height: 190px;
  display: flex; flex-direction: column;
  transition: transform 0.25s var(--ease-pop), box-shadow 0.25s var(--ease);
}
.future-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.future-card .fc-emoji { font-size: 1.9rem; }
.future-card h3 { color: #fff; font-family: var(--font-fun); font-weight: 700; font-size: 1.1rem; margin-top: var(--s-3); letter-spacing: 0; }
.future-card p { margin-top: 0.35rem; font-size: var(--text-xs); line-height: 1.55; color: rgba(255,255,255,0.85); }
.future-card .fc-soon {
  margin-top: auto; padding-top: var(--s-4);
  font-family: var(--font-fun); font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.75);
}
.future-card--roblox { background: linear-gradient(150deg, #E2453E, #A32F86); }
.future-card--minecraft { background: linear-gradient(150deg, #3E8948, #205A27); }
.future-card--ai { background: linear-gradient(150deg, #9B5DE5, #5F27CD); }
.future-card--apps { background: linear-gradient(150deg, #4D96FF, #2456C9); }

.waitlist-box {
  margin-top: var(--s-8);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.waitlist-box h3 { font-size: var(--text-lg); }
.waitlist-box > p { margin-top: 0.4rem; color: var(--muted); font-size: var(--text-sm); }
.waitlist-form { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
@media (min-width: 860px) {
  .waitlist-form { grid-template-columns: 1.2fr 1.4fr 0.7fr 1.2fr auto; align-items: end; }
}
.waitlist-form .field label { font-size: var(--text-xs); }
.waitlist-form .btn { min-height: 50px; }
.waitlist-done {
  margin-top: var(--s-4); font-weight: 600; font-size: var(--text-sm); color: var(--whatsapp-dark);
  display: none;
}
.waitlist-done.is-visible { display: block; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing {
  padding-block: var(--section-pad);
  background:
    radial-gradient(42% 55% at 0% 12%, rgba(255,217,61,0.13), transparent 70%),
    radial-gradient(36% 50% at 100% 88%, rgba(107,203,119,0.10), transparent 70%),
    var(--warm-white);
}
.pricing-grid { display: grid; gap: var(--s-5); margin-top: var(--s-8); }
@media (min-width: 860px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.price-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  display: flex; flex-direction: column; align-items: flex-start;
  position: relative; overflow: hidden;
  box-shadow: 0 1px 0 rgba(26,26,46,0.03), 0 10px 24px -16px rgba(26,26,46,0.14);
  transition: transform 0.25s var(--ease-pop), box-shadow 0.25s var(--ease);
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.price-card--theory::before { background: var(--blue); }
.price-card--full::before { background: var(--yellow); }
.price-card--little::before { background: var(--orange); }
.price-card--featured { border-color: var(--navy); box-shadow: var(--shadow-md); }
.price-card .flag {
  position: absolute; top: 0.9rem; right: 0.9rem;
  font-family: var(--font-fun); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--navy); color: var(--yellow);
  padding: 0.3rem 0.7rem; border-radius: var(--radius-xs);
}
.price-card h3 { font-size: var(--text-lg); }
.price-card .price-meta { margin-top: 0.4rem; font-size: var(--text-xs); color: var(--muted); }
.price-card .amount-row { display: flex; align-items: baseline; gap: 0.3rem; margin-top: var(--s-4); }
.price-card .amount { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--navy); letter-spacing: -0.02em; line-height: 1; }
.price-card .period { color: var(--muted); font-size: var(--text-sm); }
.price-includes { list-style: none; margin-top: var(--s-5); display: grid; gap: 0.5rem; font-size: var(--text-sm); color: var(--muted); }
.price-includes li { display: flex; gap: 0.55rem; align-items: flex-start; }
.price-includes .tick { color: var(--whatsapp-dark); flex-shrink: 0; width: 1rem; height: 1rem; margin-top: 0.2rem; }
.price-includes .tick svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.price-card .btn { margin-top: var(--s-6); width: 100%; }
.pricing-note { margin-top: var(--s-6); font-size: var(--text-sm); color: var(--muted); max-width: 62ch; }
.pricing-note a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; color: var(--navy); }

/* ==========================================================================
   FAQ — smart help centre
   ========================================================================== */
.faq {
  padding-block: var(--section-pad);
  background:
    radial-gradient(40% 55% at 100% 6%, rgba(155,93,229,0.08), transparent 70%),
    radial-gradient(32% 45% at 0% 95%, rgba(255,217,61,0.10), transparent 70%),
    var(--white);
  border-top: 1px solid; border-image: linear-gradient(90deg, transparent, rgba(26,26,46,0.18) 18% 82%, transparent) 1;
}
.faq-grid { display: grid; gap: var(--s-8); }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--s-12); }
  .faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.faq-intro .faq-help { margin-top: var(--s-5); color: var(--muted); max-width: 34ch; }
.faq-intro .btn { margin-top: var(--s-5); }

.faq-search { position: relative; margin-bottom: var(--s-5); }
.faq-search input {
  width: 100%; font: inherit; font-size: 1rem;
  color: var(--ink); background: var(--warm-white);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-full);
  padding: 0.85rem 1.1rem 0.85rem 2.9rem;
  min-height: 52px;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.faq-search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,26,46,0.1); }
.faq-search .search-ico {
  position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%);
  width: 1.2rem; height: 1.2rem; color: var(--muted);
}
.faq-search .search-ico svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

.faq-cats { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: var(--s-5); }
.faq-cat {
  font-size: 0.78rem; font-weight: 600; color: var(--muted);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-full);
  padding: 0.4rem 0.9rem; min-height: 36px;
  transition: all 0.15s var(--ease);
}
.faq-cat:hover { color: var(--navy); border-color: var(--navy); }
.faq-cat[aria-pressed="true"] { background: var(--navy); color: var(--warm-white); border-color: var(--navy); }

.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item.is-filtered { display: none; }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  text-align: left; padding: 1.15rem 0.25rem;
  font-weight: 600; font-size: var(--text-base); color: var(--navy);
  min-height: var(--tap-min);
  transition: color 0.15s var(--ease);
}
.accordion-trigger .q-text { flex: 1; }
.accordion-trigger:hover .acc-icon { border-color: var(--navy); transform: scale(1.1); }
.accordion-trigger .pop-tag {
  font-family: var(--font-fun); font-size: 0.62rem; font-weight: 700;
  color: var(--purple); background: var(--purple-tint);
  border-radius: var(--radius-full); padding: 0.15rem 0.55rem;
  flex-shrink: 0;
}
.accordion-trigger .acc-icon {
  flex-shrink: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.25s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.accordion-trigger .acc-icon::before, .accordion-trigger .acc-icon::after {
  content: ""; position: absolute; background: currentColor; border-radius: 1px;
}
.accordion-trigger .acc-icon::before { width: 10px; height: 1.6px; }
.accordion-trigger .acc-icon::after { width: 1.6px; height: 10px; transition: transform 0.25s var(--ease); }
.accordion-item.is-open .acc-icon { transform: rotate(180deg); background: var(--navy); border-color: var(--navy); color: var(--warm-white); }
.accordion-item.is-open .acc-icon::after { transform: rotate(90deg); }
.accordion-panel { overflow: hidden; max-height: 0; transition: max-height 0.3s var(--ease); }
.accordion-item.is-open .accordion-panel { max-height: 420px; }
.accordion-panel p { padding: 0 0.25rem 1.25rem; color: var(--muted); font-size: var(--text-sm); line-height: 1.7; max-width: 62ch; }
.accordion-panel a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq-empty { display: none; padding: var(--s-6) 0.25rem; color: var(--muted); font-size: var(--text-sm); }
.faq-empty.is-visible { display: block; }
.faq-empty a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Final CTA — launch scene
   ========================================================================== */
.final-cta {
  position: relative; padding-block: var(--section-pad); text-align: center; overflow: hidden;
  background: var(--navy);
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--cta-bg, none);
  background-size: cover; background-position: center;
  opacity: 0.14;
}
.final-cta::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 100%, rgba(255,217,61,0.12), transparent 70%);
}
.final-cta .wrap { position: relative; z-index: 1; }
.final-cta .why-now {
  font-family: var(--font-display); font-style: italic; font-size: var(--text-lg);
  color: var(--yellow); max-width: 44ch; margin-inline: auto;
}
.final-cta h2 { font-size: var(--text-4xl); margin-top: var(--s-4); margin-inline: auto; max-width: 18ch; color: var(--warm-white); }
.final-cta .final-body { margin-top: var(--s-4); color: var(--muted-on-navy); max-width: 44ch; margin-inline: auto; }
.final-cta .final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; margin-top: var(--s-7); }
.final-cta .on-dark-note { margin-top: var(--s-5); font-size: var(--text-xs); color: var(--muted-on-navy); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: var(--muted-on-navy); padding-top: var(--s-12); font-size: var(--text-sm); }
.footer-grid { display: grid; gap: var(--s-8); padding-bottom: var(--s-10); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { width: 44px; height: 44px; border-radius: 10px; }
.footer-tagline { margin-top: var(--s-4); font-family: var(--font-display); font-size: var(--text-base); color: var(--warm-white); max-width: 24ch; }
.footer-col h3 {
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-white);
  margin-bottom: var(--s-4);
}
.footer-col ul { list-style: none; display: grid; }
.footer-col a { display: inline-flex; align-items: center; min-height: var(--tap-min); color: var(--muted-on-navy); transition: color 0.15s var(--ease); }
.footer-col a:hover { color: var(--warm-white); }
.trust-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.trust-badge {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
  border: 1px solid var(--navy-line); border-radius: var(--radius-xs);
  padding: 0.35rem 0.7rem; color: var(--muted-on-navy);
}
.footer-location { margin-top: var(--s-4); font-size: var(--text-xs); }
.footer-bottom {
  border-top: 1px solid var(--navy-line); padding-block: var(--s-5);
  display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; align-items: center;
  font-size: var(--text-xs);
}
.footer-social { display: flex; gap: 0.4rem; }
.footer-social a {
  width: var(--tap-min); height: var(--tap-min);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-xs); color: var(--muted-on-navy);
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease), transform 0.2s var(--ease-pop);
}
.footer-social a:hover { color: var(--warm-white); background: rgba(250,249,246,0.07); transform: translateY(-2px); }
.footer-social svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }

/* ==========================================================================
   WhatsApp FAB
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(37, 211, 102, 0.55);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.whatsapp-fab.is-visible { opacity: 1; visibility: visible; transform: none; }
.whatsapp-fab:hover { background: #1fb958; transform: scale(1.06); }
.whatsapp-fab .icon { width: 1.7rem; height: 1.7rem; fill: currentColor; }

/* ==========================================================================
   Forms (shared: enrol, finder, waitlist)
   ========================================================================== */
.page-hero { position: relative; padding-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); padding-bottom: var(--s-8); overflow: hidden; }
/* colourful wash behind sub-page heroes (enrol, finder, payment) */
body.subpage {
  background:
    radial-gradient(46% 30% at 88% 0%, rgba(255,217,61,0.16), transparent 70%),
    radial-gradient(38% 26% at 4% 4%, rgba(155,93,229,0.09), transparent 70%),
    var(--warm-white);
  background-repeat: no-repeat;
}
.page-hero h1 { font-size: var(--text-4xl); max-width: 18ch; }
.page-hero .page-lede { margin-top: var(--s-4); color: var(--muted); font-size: var(--text-lg); max-width: 46ch; }

.field { display: grid; gap: 0.45rem; }
.field label, .field .label { font-size: var(--text-sm); font-weight: 600; color: var(--navy); }
.field .optional { color: var(--muted-2); font-weight: 500; }
.field .hint { font-size: var(--text-xs); color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; /* ≥16px prevents iOS zoom */
  color: var(--ink); background: var(--warm-white);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem; min-height: 50px; width: 100%;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,26,46,0.12);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231A1A2E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.form-row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

.radio-cards { display: grid; gap: 0.6rem; }
@media (min-width: 640px) { .radio-cards--2 { grid-template-columns: 1fr 1fr; } }
.radio-card { position: relative; }
.radio-card input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.radio-card .radio-face {
  display: flex; flex-direction: column; gap: 0.15rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; min-height: 50px; justify-content: center;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease), box-shadow 0.15s var(--ease), transform 0.15s var(--ease-pop);
}
.radio-card:hover .radio-face { transform: translateY(-1px); }
.radio-card .radio-face .r-title { font-weight: 600; font-size: var(--text-sm); color: var(--navy); }
.radio-card .radio-face .r-sub { font-size: var(--text-xs); color: var(--muted); }
.radio-card input:checked + .radio-face {
  border-color: var(--navy); background: var(--yellow-tint);
  box-shadow: inset 0 0 0 1px var(--navy);
}
.radio-card input:focus-visible + .radio-face { outline: 2px solid var(--navy); outline-offset: 2px; }

.form-error {
  display: none;
  background: #FDECEA; border: 1px solid #F5C6C0; color: #8A2A20;
  border-radius: var(--radius-sm); padding: var(--s-4); font-size: var(--text-sm);
}
.form-error.is-visible { display: block; }
.form-footnote { font-size: var(--text-xs); color: var(--muted); }

/* ==========================================================================
   Enrolment wizard
   ========================================================================== */
.enrol-layout { display: grid; gap: var(--s-8); padding-bottom: var(--section-pad); }
@media (min-width: 940px) {
  .enrol-layout { grid-template-columns: 0.75fr 1.25fr; gap: var(--s-12); align-items: start; }
  .enrol-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.next-steps { list-style: none; counter-reset: nstep; display: grid; border-top: 1px solid var(--line); }
.next-steps li {
  counter-increment: nstep;
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-4);
  padding-block: var(--s-4); border-bottom: 1px solid var(--line);
  font-size: var(--text-sm); color: var(--muted);
}
.next-steps li::before {
  content: counter(nstep, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  color: var(--muted-2); padding-top: 0.2rem;
}
.next-steps strong { display: block; color: var(--navy); font-size: var(--text-sm); }
.enrol-reassure {
  margin-top: var(--s-6); padding: var(--s-5);
  background: var(--yellow-tint); border: 1px solid rgba(255,217,61,0.6);
  border-radius: var(--radius-md); font-size: var(--text-sm); color: var(--muted);
}
.enrol-reassure strong { color: var(--navy); }

.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}

/* progress */
.wizard-progress { margin-bottom: var(--s-6); }
.wizard-progress .wp-labels {
  display: flex; justify-content: space-between;
  font-family: var(--font-fun); font-weight: 700; font-size: 0.72rem; color: var(--muted);
  margin-bottom: 0.5rem;
}
.wizard-progress .wp-labels .current { color: var(--navy); }
.wizard-progress .wp-bar { height: 8px; background: rgba(26,26,46,0.08); border-radius: var(--radius-full); overflow: hidden; }
.wizard-progress .wp-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--yellow), var(--green));
  border-radius: var(--radius-full);
  transition: width 0.45s var(--ease);
}

.wizard-step { display: none; }
.wizard-step.is-active { display: block; animation: step-in 0.4s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wizard-step.is-active { animation: none; } }
.wizard-step h2 { font-size: var(--text-xl); margin-bottom: 0.4rem; }
.wizard-step .step-sub { color: var(--muted); font-size: var(--text-sm); margin-bottom: var(--s-5); }
.wizard-step .form-grid { display: grid; gap: var(--s-5); }

.wizard-nav { display: flex; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-6); }
.wizard-nav .btn-back { color: var(--muted); }
.wizard-nav .btn-back:hover { color: var(--navy); }

/* laptop rule notice */
.laptop-notice {
  display: none;
  background: var(--blue-tint);
  border: 2px solid var(--navy);
  border-radius: var(--radius-md); padding: var(--s-5);
  font-size: var(--text-sm); color: var(--ink);
  box-shadow: 4px 4px 0 rgba(77, 150, 255, 0.25);
}
.laptop-notice.is-visible { display: block; }
.laptop-notice strong { color: var(--navy); }
.laptop-notice .ln-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--s-4); }

/* agreement checkbox */
.consent-box { display: block; margin-top: var(--s-5); cursor: pointer; }
.consent-box input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent-face {
  display: flex; align-items: flex-start; gap: 0.85rem;
  border: 2px solid var(--line-strong); border-radius: var(--radius-md);
  padding: var(--s-4) var(--s-5);
  background: var(--warm-white);
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.consent-box:hover .consent-face { border-color: var(--navy); }
.consent-tick {
  flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px;
  border: 2px solid var(--line-strong); border-radius: 7px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.18s var(--ease-pop), border-color 0.18s var(--ease);
}
.consent-tick svg {
  width: 15px; height: 15px; stroke: var(--white); fill: none;
  stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transform: scale(0.5);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease-pop);
}
.consent-box input:checked + .consent-face {
  border-color: var(--navy); background: var(--yellow-tint);
  box-shadow: 3px 3px 0 rgba(255, 217, 61, 0.55);
}
.consent-box input:checked + .consent-face .consent-tick { background: var(--whatsapp-dark); border-color: var(--whatsapp-dark); }
.consent-box input:checked + .consent-face .consent-tick svg { opacity: 1; transform: none; }
.consent-box input:focus-visible + .consent-face { outline: 2px solid var(--navy); outline-offset: 2px; }
.consent-text { font-size: var(--text-sm); font-weight: 600; color: var(--navy); line-height: 1.55; }
.consent-text a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.consent-sub { display: block; margin-top: 0.3rem; font-size: var(--text-xs); font-weight: 400; color: var(--muted); }
.consent-error {
  display: none;
  margin-top: 0.6rem; padding-left: 0.25rem;
  font-size: var(--text-sm); font-weight: 600; color: #8A2A20;
}
.consent-error.is-visible { display: block; }
.consent-box.is-invalid .consent-face { border-color: #C0392B; background: #FDECEA; }

/* review step */
.review-list { list-style: none; display: grid; border-top: 1px solid var(--line); }
.review-list li {
  display: flex; justify-content: space-between; gap: var(--s-4);
  padding-block: 0.7rem; border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
}
.review-list .rl-label { color: var(--muted); }
.review-list .rl-value { font-weight: 600; color: var(--navy); text-align: right; }

/* success */
.form-success { text-align: center; padding: var(--s-6) 0; position: relative; }
.form-success .success-mark {
  width: 72px; height: 72px; margin-inline: auto; border-radius: 50%;
  background: var(--green-tint); color: var(--whatsapp-dark);
  display: flex; align-items: center; justify-content: center;
}
.form-success .success-mark svg { width: 34px; height: 34px; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.form-success h2 { margin-top: var(--s-5); font-size: var(--text-2xl); }
.form-success p { margin-top: var(--s-4); color: var(--muted); max-width: 42ch; margin-inline: auto; }
.form-success .btn { margin-top: var(--s-6); }
.success-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: var(--s-5);
  font-family: var(--font-fun); font-weight: 700; font-size: 0.85rem; color: var(--navy);
  background: var(--yellow); border: 2px solid var(--navy);
  border-radius: var(--radius-full); padding: 0.45rem 1.1rem;
  box-shadow: 3px 3px 0 var(--navy);
  transform: rotate(-1deg);
}

/* confetti canvas */
.confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 300; }

/* ==========================================================================
   Programme Finder (finder.html)
   ========================================================================== */
.finder-shell { max-width: 640px; margin-inline: auto; padding-bottom: var(--section-pad); }
.finder-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.finder-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--yellow), var(--orange), var(--pink), var(--purple), var(--blue), var(--green));
}
.finder-progress { display: flex; gap: 0.4rem; justify-content: center; margin-bottom: var(--s-6); }
.finder-progress i {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(26,26,46,0.12);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease-pop);
}
.finder-progress i.done { background: var(--green); }
.finder-progress i.now { background: var(--navy); transform: scale(1.25); }

.finder-step { display: none; }
.finder-step.is-active { display: block; animation: step-in 0.4s var(--ease); }
.finder-q {
  font-family: var(--font-fun); font-weight: 700; font-size: var(--text-xl);
  color: var(--navy); text-align: center; letter-spacing: 0;
}
.finder-sub { text-align: center; color: var(--muted); font-size: var(--text-sm); margin-top: 0.4rem; }
.finder-opts { display: grid; gap: 0.7rem; margin-top: var(--s-6); }
.finder-opts--grid2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .finder-opts--grid2 { grid-template-columns: 1fr; } }
.finder-opt {
  display: flex; align-items: center; gap: 0.8rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem; min-height: 56px;
  font-weight: 600; font-size: var(--text-sm); color: var(--navy);
  background: var(--warm-white);
  transition: all 0.18s var(--ease-pop);
  text-align: left;
}
.finder-opt:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.finder-opt .fo-emoji { font-size: 1.3rem; flex-shrink: 0; }
.finder-back {
  margin-top: var(--s-5); display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: var(--text-sm); font-weight: 600; color: var(--muted);
  min-height: var(--tap-min);
}
.finder-back:hover { color: var(--navy); }

/* result */
.finder-result { text-align: center; }
.finder-result .fr-sticker { margin-bottom: var(--s-4); }
.finder-result h2 { font-size: var(--text-2xl); }
.finder-result .fr-prog {
  margin-top: var(--s-5);
  border: 2px solid var(--navy); border-radius: var(--radius-lg);
  padding: var(--s-6);
  background: var(--yellow-tint);
  text-align: left;
}
.finder-result .fr-prog h3 { font-size: var(--text-xl); }
.finder-result .fr-prog .fr-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--navy); margin-top: 0.3rem; }
.finder-result .fr-why { margin-top: var(--s-4); font-size: var(--text-sm); color: var(--ink); line-height: 1.7; }
.finder-result .fr-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: var(--s-6); justify-content: center; }
.finder-result .fr-alt { margin-top: var(--s-5); font-size: var(--text-xs); color: var(--muted); }
.finder-result .fr-alt a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Legal pages (terms.html)
   ========================================================================== */
.legal-meta { margin-top: var(--s-4); font-size: var(--text-xs); color: var(--muted); }
.legal-layout { display: grid; gap: var(--s-8); padding-bottom: var(--section-pad); }
@media (min-width: 940px) {
  .legal-layout { grid-template-columns: 0.34fr 0.66fr; gap: var(--s-10); align-items: start; }
  .legal-toc { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.legal-toc h2 {
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2);
  margin-bottom: var(--s-4);
}
.legal-toc ol { list-style: none; counter-reset: toc; display: grid; gap: 0.1rem; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: flex; gap: 0.6rem; align-items: baseline;
  padding: 0.4rem 0.6rem; border-radius: var(--radius-xs);
  font-size: var(--text-sm); color: var(--muted);
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.legal-toc a::before {
  content: counter(toc);
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700;
  color: var(--muted-2); min-width: 1.1rem;
}
.legal-toc a:hover { color: var(--navy); background: rgba(26,26,46,0.05); }
/* two columns on small screens so 18 links don't bury the terms themselves */
@media (max-width: 939px) {
  .legal-toc ol { grid-template-columns: 1fr 1fr; column-gap: 0.5rem; }
  .legal-toc a { font-size: var(--text-xs); padding: 0.35rem 0.4rem; }
}
@media (max-width: 339px) {
  .legal-toc ol { grid-template-columns: 1fr; }
}

.legal-body { max-width: 70ch; }
.legal-body section { padding-top: var(--s-7); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.legal-body section + section { border-top: 1px solid var(--line); }
.legal-body h2 { font-size: var(--text-xl); margin-bottom: var(--s-4); }
.legal-body p { color: var(--ink); line-height: 1.75; margin-bottom: var(--s-4); }
.legal-body ul { display: grid; gap: 0.6rem; margin-bottom: var(--s-4); padding-left: 0; list-style: none; }
.legal-body ul li {
  position: relative; padding-left: 1.4rem;
  color: var(--ink); line-height: 1.7; font-size: var(--text-sm);
}
.legal-body ul li::before {
  content: ""; position: absolute; left: 0.25rem; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--yellow);
}
.legal-body a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { color: var(--navy); }

.legal-summary {
  background: var(--yellow-tint);
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  box-shadow: 5px 5px 0 rgba(255, 217, 61, 0.55);
}
.legal-summary h2 {
  font-family: var(--font-fun); font-weight: 700; letter-spacing: 0;
  font-size: var(--text-lg); margin-bottom: var(--s-4);
}
.legal-summary ul { margin-bottom: 0; }
.legal-summary ul li::before { background: var(--navy); }
.legal-summary-note { margin-top: var(--s-4); margin-bottom: 0; font-size: var(--text-xs); color: var(--muted); }

.legal-callout {
  background: var(--blue-tint);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--s-4) var(--s-5);
  font-size: var(--text-sm);
}
.legal-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--s-6); }

/* ==========================================================================
   Payment page
   ========================================================================== */
.payment-layout { display: grid; gap: var(--s-6); padding-bottom: var(--section-pad); }
@media (min-width: 880px) { .payment-layout { grid-template-columns: 1.2fr 0.8fr; align-items: start; } }
.bank-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-sm);
}
.bank-card h2 { font-size: var(--text-xl); }
.bank-card .bank-lede { margin-top: var(--s-3); color: var(--muted); font-size: var(--text-sm); }
.bank-rows { margin-top: var(--s-6); display: grid; border-top: 1px solid var(--line); margin-bottom: 0; }
.bank-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding-block: 0.9rem; border-bottom: 1px solid var(--line);
}
.bank-row dt { font-size: var(--text-xs); color: var(--muted); margin: 0; }
.bank-row dd { margin: 0; display: flex; align-items: center; gap: var(--s-3); }
.bank-row .value { font-family: var(--font-mono); font-weight: 700; font-size: var(--text-sm); color: var(--navy); }
.copy-btn {
  font-size: 0.72rem; font-weight: 600; color: var(--muted);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-xs);
  padding: 0.35rem 0.7rem; min-height: 34px;
  transition: all 0.15s var(--ease);
}
.copy-btn:hover { color: var(--navy); border-color: var(--navy); }
.copy-btn.is-copied { color: var(--whatsapp-dark); border-color: var(--whatsapp-dark); background: var(--green-tint); }
.payment-help {
  background: var(--warm-white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
}
.payment-help + .payment-help { margin-top: var(--s-5); }
.payment-help h2 { font-size: var(--text-lg); }
.payment-help p { margin-top: var(--s-3); color: var(--muted); font-size: var(--text-sm); }
.payment-help .btn { margin-top: var(--s-5); }
.soon-badge {
  display: inline-block; font-family: var(--font-fun); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple);
  background: var(--purple-tint);
  border-radius: var(--radius-xs); padding: 0.25rem 0.6rem; margin-bottom: var(--s-3);
}

/* ==========================================================================
   Reveals — hidden only while JS runs; reduced-motion always shows
   ========================================================================== */
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js .reveal-group > * { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal-group > * { opacity: 1 !important; transform: none !important; }
}
