/* =========================================================================
   BananaLearn — shared stylesheet
   Typography: Fraunces (h1–h2) + Nunito Sans (body, UI)
   Palette: ink / cream / yellow (see bananalearn-design-guidelines.md)
   Fonts loaded from each page <head> (no @import).
   ========================================================================= */

/* ── CSS Variables ───────────────────────────────────────────────────────── */
:root {
  /* Typography — match Google Fonts link in HTML */
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --font-ui: 'Nunito Sans', system-ui, sans-serif;
  --f-display: 'Fraunces', Georgia, serif;
  --f-ui: 'Nunito Sans', system-ui, sans-serif;

  /* Brand palette (7 tokens) */
  --ink: #1A1A1A;
  --body: #555555;
  --muted: #999999;
  --cream: #FAF7F2;
  --yellow: #F5C518;
  --yellow-soft: #FFFAEB;
  --white: #FFFFFF;

  /* Legacy aliases — map old green/gold names to brand tokens */
  --green-primary: var(--ink);
  --green-mid: var(--ink);
  --tan: rgba(0, 0, 0, 0.08);
  --gold: var(--yellow);
  --sticky-yellow: var(--yellow-soft);

  /* Font sizes — strict scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Semantic colours (mapped to palette) */
  --color-primary: var(--ink);
  --color-primary-dark: var(--ink);
  --color-primary-light: var(--yellow-soft);
  --color-accent: var(--yellow);
  --color-accent-light: var(--yellow-soft);
  --color-success: var(--ink);
  --color-text-primary: var(--ink);
  --color-text-secondary: var(--body);
  --color-text-muted: var(--muted);
  --color-bg-primary: var(--white);
  --color-bg-secondary: var(--cream);
  --color-bg-dark: var(--ink);
  --color-border: rgba(0, 0, 0, 0.08);

  /* Radius + shadows (brand) */
  --r-card: 20px;
  --r-pill: 100px;
  --s1: 0 1px 3px rgba(0,0,0,0.05), 0 6px 24px rgba(0,0,0,0.06);
  --s2: 0 4px 16px rgba(0,0,0,0.08), 0 20px 48px rgba(0,0,0,0.10);
  --s3: 0 8px 40px rgba(0,0,0,0.14);
  --s-nav: 0 1px 0 rgba(0,0,0,0.07);
  
  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Shadows */
  --shadow-sm: var(--s1);
  --shadow-md: var(--s2);
  --shadow-lg: var(--s2);
  --shadow-xl: var(--s3);
  
  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Existing token compatibility */
  --primary: var(--ink);
  --primary-dark: var(--ink);
  --primary-light: var(--yellow-soft);
  --emerald: var(--ink);
  --emerald-light: var(--yellow-soft);
  --orange: #B85C2E;
  --orange-light: #FFF4E8;
  --dark: var(--ink);
  --dark-card: #2a2a2a;
  --border: var(--color-border);
  --bg: var(--cream);
  --shadow-hero: 0 32px 72px rgba(0,0,0,0.32);
  --radius: 20px;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
/* ── Typographic hierarchy (base — cascade from elements) ───────────────── */
body {
  font-family: var(--f-ui);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  --path-accent: var(--ink);
  --path-accent-dark: var(--ink);
  --path-accent-soft: var(--yellow-soft);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h3, h4 {
  font-family: var(--f-ui);
  font-weight: 800;
  color: var(--ink);
}
h1 {
  font-size: clamp(40px, 4.5vw, 56px);
  line-height: 1.1;
}
h2 {
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
}
h3 {
  font-size: 17px;
  line-height: 1.3;
}
h4 {
  font-size: 16px;
  line-height: 1.4;
}

p, li, dd, dt, blockquote,
.section-sub, .hero-sub, .game-desc, .t-text, .info-lead, .pricing-note, .cta-proof,
.trust-item, .form-label, .form-hint, .curr-desc, .step-desc, .ts-sub,
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  font-family: var(--f-ui);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

small, figcaption,
.caption, .text-small, .fine-print {
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 400;
}

.section-label,
.eyebrow,
[class*="section-eyebrow"],
.cta-label {
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

label {
  font-family: var(--f-ui);
}

.kalam-only {
  font-family: var(--f-ui);
}
body[data-path="skills"] {
  --path-accent: var(--green-mid);
  --path-accent-dark: var(--green-primary);
  --path-accent-soft: var(--emerald-light);
}
body[data-path="testprep"] {
  --path-accent: var(--gold);
  --path-accent-dark: #8B6914;
  --path-accent-soft: var(--sticky-yellow);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.hero-student-img {
  max-width: 420px;
  max-height: 340px;
  width: auto;
  height: auto;
  object-fit: cover;
}

.teacher-section-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
}

button { font-family: var(--font-ui); font-weight: 600; }
section { scroll-margin-top: 76px; }

/* ── Section typography helpers (eyebrow + h2) ─────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1A1A1A;
  margin-bottom: 8px;
}
.section-label::before {
  content: "→";
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}
.section-title {
  font-family: var(--f-display);
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin-bottom: 28px;
  max-width: 560px;
}
h1.section-title {
  max-width: 640px;
  margin-bottom: 20px;
}
.section-sub {
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 40px;
}

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: #FAF7F2;
  border-bottom: 1.5px solid #e5d9b6;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav::before {
  content: "";
  position: absolute;
  left: 68px;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: rgba(185, 28, 28, 0.2);
  pointer-events: none;
  z-index: 1;
}
.nav-logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.nav-logo .logo-mark,
.nav-logo svg.logo-mark {
  display: block;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  max-width: none;
}
.nav-logo .logo-wordmark {
  font-family: var(--f-ui, 'Nunito Sans', system-ui, sans-serif);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.03em;
  color: var(--ink, #1A1A1A);
  white-space: nowrap;
}
@media (max-width: 768px) {
  .nav-logo {
    gap: 6px;
  }
  .nav-logo .logo-mark,
  .nav-logo svg.logo-mark {
    width: 26px;
    height: 26px;
  }
  .nav-logo .logo-wordmark {
    font-size: 18px;
  }
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.nav-links {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-family: var(--f-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(27, 67, 50, 0.72);
  transition: color 0.15s ease;
  white-space: nowrap;
}
.nav-link:hover {
  color: #1A1A1A;
}
.nav-cta {
  position: relative;
  z-index: 2;
  background: #F5C518;
  color: #1a1a1a;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.35);
}
.nav-cta:hover {
  background: #b8943f;
  color: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(201, 168, 76, 0.42);
}
.nav-hamburger {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  margin-left: 10px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(27, 67, 50, 0.65);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* =========================================================================
  STICKY JOURNEY RAIL
  ========================================================================= */
.journey-rail {
  position: sticky;
  top: 64px;
  z-index: 95;
  background: #FAF7F2;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1.5px solid #E5D9B6;
  box-shadow: none;
  padding: 12px 72px 14px;
}
.journey-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.jr-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
}
.jr-progress-text {
  font-size: 0.8rem;
  color: #1A1A1A;
  font-weight: 700;
}
.jr-track {
  position: relative;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #E5D9B6;
  overflow: hidden;
}
.jr-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--path-accent);
  transition: width 0.32s ease, background 0.2s ease;
}
.jr-steps {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.jr-step {
  border: 1.5px solid #E5D9B6;
  border-radius: 14px;
  background: #fff;
  color: #1A1A1A;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  min-height: 42px;
  padding: 12px 14px;
  cursor: pointer;
  box-shadow: 2px 3px 0 #E5D9B6;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.jr-step:hover {
  transform: translateY(-1px);
  border-color: #D4C89A;
  box-shadow: 3px 4px 0 #E5D9B6;
}
.jr-step.done {
  border-color: rgba(5,150,105,0.34);
  color: #1A1A1A;
  background: #ECFDF5;
}
.jr-step.active {
  border-color: var(--path-accent);
  color: var(--path-accent-dark);
  background: var(--path-accent-soft);
  box-shadow: 2px 3px 0 #E5D9B6;
}

/* =========================================================================
   HERO — dark Brilliant-inspired
   ========================================================================= */
/* Horizontal scroll containment (hero + ticker) */
.gold-ticker {
  overflow: hidden;
}

.hero {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  padding: 76px 72px 84px;
  min-height: calc(100vh - 128px);
  display: flex;
  align-items: center;
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45,106,79,.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,106,79,.065) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Glow blobs */
.hero-glow-1 {
  position: absolute;
  top: -60px; right: -60px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(45,106,79,.22) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -60px; left: -40px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(5,150,105,.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

/* Floating dots */
.hero-dots { position: absolute; inset: 0; pointer-events: none; }
.hdot {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  animation: floatDot 3.8s ease-in-out infinite;
}
@keyframes floatDot {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.45; }
  50%       { transform: translateY(-14px) scale(1.2); opacity: 0.9; }
}

/* Two-column layout */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Badge */
.hero-badge {
  font-family: var(--font-ui);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  margin-bottom: 22px;
}
.hero-badge strong { color: #F5C518; }
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3D8060;
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* H1 */
.hero-h1 {
  font-family: var(--f-display);
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 18px;
}
.hero-h1 em {
  font-style: normal;
  background: linear-gradient(130deg, #6BA88A, #E5D9B6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub-headline */
.hero-sub {
  color: rgba(255,255,255,.72);
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-student-image {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  margin: 0 0 22px;
}

/* Path selector */
.path-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}
.path-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
  color: inherit;
  width: 100%;
}
.path-card:hover {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
}
.path-card.active[data-path="school"] {
  border-color: var(--primary);
  background: rgba(45,106,79,.15);
  box-shadow: 0 0 0 1px rgba(45,106,79,.25);
}
.pc-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.school-icon  { background: rgba(45,106,79,.3); }
.skills-icon  { background: rgba(5,150,105,.3); }
.testprep-icon { background: rgba(234,88,12,.3); }
.pc-text { flex: 1; min-width: 0; }
.pc-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.pc-sub-text {
  font-size: 0.73rem;
  color: rgba(255,255,255,.45);
  margin-top: 2px;
}
.pc-arrow {
  font-size: 1.1rem;
  color: rgba(255,255,255,.3);
  flex-shrink: 0;
  line-height: 1;
}

/* Hero mini stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-stat { display: flex; flex-direction: column; gap: 1px; }
.hs-num {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}
.hs-label { font-size: 0.75rem; color: rgba(255,255,255,.72); }
.hs-sep {
  width: 1px;
  height: 26px;
  background: rgba(255,255,255,.14);
  flex-shrink: 0;
}

/* =========================================================================
   FORM CARD
   ========================================================================= */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 26px 22px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 16px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.06);
}
.form-path-badge {
  font-family: var(--font-ui);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.form-path-badge.path-school   { background: var(--primary-light); color: var(--primary); }

.form-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.form-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 18px;
}

/* Form groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 11px;
}
.form-group label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-group input,
.form-group select {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--ink);
  background: #FAFAFA;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: auto;
}
/* Keyboard / screen-reader focus: green ring. Mouse click keeps neutral border (no “mystery” green box). */
.form-group input:focus,
.form-group select:focus {
  border-color: var(--border);
  box-shadow: none;
  background: #fafafa;
}
.form-group input:focus-visible,
.form-group select:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(45, 106, 79, 0.18);
  background: var(--white);
}
.form-group input.invalid,
.form-group select.invalid {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.1) !important;
}
.form-group input.invalid:focus-visible,
.form-group select.invalid:focus-visible {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2) !important;
}

/* Phone row */
.phone-row {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #FAFAFA;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.phone-row:focus-within {
  border-color: var(--border);
  box-shadow: none;
  background: #fafafa;
}
.phone-row:focus-within:has(input:focus-visible),
.phone-row:focus-within:has(select:focus-visible) {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(45, 106, 79, 0.18);
  background: var(--white);
}
.phone-row.invalid {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.1) !important;
}
.country-code {
  border: none !important;
  border-right: 1.5px solid var(--border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 10px 8px;
  font-size: 0.82rem;
  font-family: inherit;
  color: var(--ink);
  width: 108px;
  flex-shrink: 0;
  cursor: pointer;
  outline: none;
}
.phone-row input {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 10px 12px;
  flex: 1;
  min-width: 0;
}
.phone-row input:focus {
  border: none !important;
  box-shadow: none !important;
}

.field-error {
  display: none;
  font-size: 0.7rem;
  color: #DC2626;
  padding-left: 2px;
  line-height: 1.4;
}

/* Submit button */
.form-submit {
  width: 100%;
  padding: 11px 20px;
  border-radius: 10px;
  border: none;
  background: #1A1A1A;
  color: #FAF7F2;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-ui);
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(45,106,79,.25);
  letter-spacing: 0.01em;
}
.form-submit:hover {
  transform: translateY(-1px);
  background: #1A1A1A;
  color: #FAF7F2;
}

.form-trust {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
}
.form-trust span { font-size: 0.72rem; color: var(--muted); }

.hero-image-strip {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-left: 4px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.hero-strip-img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.12);
}

.hero-strip-img--1 {
  transform: rotate(-2deg);
}
.hero-strip-img--2 {
  transform: rotate(1.5deg);
}
.hero-strip-img--3 {
  transform: rotate(-1deg);
}

/* =========================================================================
   STATS BANNER
   ========================================================================= */
.stats-banner {
  display: flex;
  flex-wrap: wrap;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  flex: 1 1 200px;
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-ui);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num em { font-style: normal; color: inherit; }
.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
  max-width: 160px;
  margin: 0 auto;
}

/* =========================================================================
   TRUST STRIP (full-width band)
   ========================================================================= */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 14px 40px 14px 88px;
  background: #1A1A1A;
  border-bottom: none;
}
.trust-strip-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 2;
}
.trust-item {
  font-family: "DM Sans", sans-serif, var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 254, 245, 0.55);
  white-space: nowrap;
}
.trust-item strong {
  color: #FAF7F2;
  font-weight: 500;
}
.trust-sep {
  font-size: 12px;
  line-height: 1;
  color: rgba(255, 254, 245, 0.55);
  opacity: 0.7;
  user-select: none;
  flex-shrink: 0;
}

/* =========================================================================
   THREE PATHS SHOWCASE
   ========================================================================= */
.paths-section {
  padding: 80px 72px;
  background: var(--bg);
}
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.psc-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.psc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.psc-header { padding: 28px 24px 22px; color: #fff; }
.school-header   { background: linear-gradient(135deg, #1A1A1A, #1A1A1A); }
.skills-header   { background: linear-gradient(135deg, #1A1A1A, #3D8060); }
.testprep-header { background: linear-gradient(135deg, #B8860B, #F5C518); }

.psc-big-icon { font-size: 2.6rem; display: block; margin-bottom: 14px; line-height: 1; }
.psc-big-icon img.emoji { width: 2.6rem !important; height: 2.6rem !important; }
.psc-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.psc-head-sub { font-size: 0.8rem; opacity: 0.82; }
.psc-body { padding: 22px 22px 24px; }
.psc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.psc-tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
}
.school-tag   { background: var(--primary-light); color: var(--primary); }
.skills-tag   { background: var(--emerald-light); color: var(--emerald); }
.testprep-tag { background: var(--orange-light);  color: var(--orange);  }

.psc-focus {
  margin-bottom: 18px;
  display: grid;
  gap: 8px;
}
.psc-focus-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.77rem;
  font-weight: 600;
  line-height: 1.35;
}
.pf-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}
.pf-icon img.emoji {
  width: 1rem !important;
  height: 1rem !important;
}
.school-focus .psc-focus-item {
  background: #F2F7F4;
  border-color: rgba(45,106,79,.22);
}
.skills-focus .psc-focus-item {
  background: #F2FBF7;
  border-color: rgba(5,150,105,.22);
}
.testprep-focus .psc-focus-item {
  background: #FFF7F2;
  border-color: rgba(234,88,12,.24);
}

.psc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  border: none;
  color: #fff;
  background: #1A1A1A;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(45,106,79,.25);
}
.psc-cta:hover {
  background: #1A1A1A;
  transform: translateY(-1px);
}

/* =========================================================================
   WHY BananaLearn — FEATURE CARDS
   ========================================================================= */
.features-section {
  padding: 80px 72px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 14px;
}
.feature-card {
  position: relative;
  padding: 20px;
  border-radius: 6px;
  background: #fff;
  border: 1.5px solid #e5d9b6;
  box-shadow: 2px 3px 0 #e5d9b6;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 3px 4px 0 #e5d9b6;
}
.feature-card-badge {
  position: absolute;
  top: -13px;
  left: 12px;
  background: #1A1A1A;
  color: #FAF7F2;
  font-family: var(--font-ui), sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  min-width: 34px;
  min-height: 34px;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  line-height: 1.2;
  box-sizing: border-box;
}
.feature-icon {
  display: none;
}
.feature-title {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.feature-desc {
  font-family: var(--f-ui);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #666;
}

/* Beat DESIGN REFRESH card rules for “why” cards */
.features-section .feature-card {
  border-radius: 6px;
  border: 1.5px solid #e5d9b6;
  box-shadow: 2px 3px 0 #e5d9b6;
}
.features-section .feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 3px 4px 0 #e5d9b6;
}

/* Bento layout + left accent (homepage #why) */
.features-section .features-grid.bento-features-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.features-section .feature-card.bento-card {
  border-left: 4px solid var(--bento-accent, #F5C518);
  border-top: none;
  border-right: 1px solid rgba(27, 67, 50, 0.08);
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
  padding: 32px 28px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}
.features-section .feature-card.bento-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, transparent 50%, rgba(201, 168, 76, 0.04) 50%);
  pointer-events: none;
}
.features-section .feature-card.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27, 67, 50, 0.12);
}
.features-section .bento-stat-label {
  font-family: var(--font-ui), sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, #F5C518 78%, #1A1A1A);
  margin-bottom: 10px;
  line-height: 1.3;
}
.features-section .features-grid.bento-features-grid .bento-card--wide {
  grid-column: span 2;
}

/* =========================================================================
   TEACHER SELECTION PROCESS — redesigned
   ========================================================================= */
.teacher-select-section {
  background: #1A1A1A;
  border-top: none;
  padding: 0;
  overflow: hidden;
}
.ts-inner {
  padding: 88px 72px 80px;
}
.ts-layout {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 28px;
  align-items: start;
}
.ts-content-col {
  min-width: 0;
}
.ts-media-col {
  min-width: 0;
}
.ts-photo {
  width: 100%;
  height: 440px;
  border-radius: var(--radius-2xl);
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow-xl);
  display: block;
}
.ts-header {
  max-width: 620px;
  margin-bottom: 56px;
}
.ts-label {
  color: #1A1A1A;
}
.ts-title {
  color: #fff;
}
.ts-sub {
  color: rgba(255,255,255,.82);
  margin-bottom: 0;
}
.ts-rhetorical-pause {
  min-height: 1.25rem;
  margin: 0.35rem 0 1.1rem;
}

/* Flow row */
.ts-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 14px;
  align-items: start;
}
.ts-connector {
  position: absolute;
  top: 28px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 2px;
  background: linear-gradient(90deg, #1A1A1A, #6BA88A, #1A1A1A);
  z-index: 0;
  border-radius: 2px;
}
.ts-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}
.ts-step-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
  height: 56px;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(45,106,79,.18);
  border: 2px solid rgba(63,130,98,.38);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ts-step:hover .ts-step-icon {
  background: rgba(45,106,79,.35);
  border-color: #6BA88A;
}
.ts-step-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ts-step-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: #FAF7F2;
  line-height: 1.35;
}
.ts-step-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,.82);
  line-height: 1.58;
}

/* Stat callout */
.ts-stat-callout {
  margin-top: 52px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(45,106,79,.22), rgba(63,130,98,.1));
  border: 1px solid rgba(63,130,98,.35);
  border-radius: 20px;
  padding: 20px 32px;
}
.ts-stat-num {
  font-family: var(--font-ui);
  font-size: 2.8rem;
  font-weight: 600;
  color: #6BA88A;
  white-space: nowrap;
  line-height: 1;
}
.ts-stat-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,.65);
  max-width: 280px;
  line-height: 1.55;
}

/* =========================================================================
   DIFFERENTIATOR
   ========================================================================= */
.diff-section {
  padding: 80px 72px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.diff-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  margin-top: 28px;
}
.diff-col { padding-bottom: 16px; }
.diff-col-them { background: #FAFAFA; }
.diff-col-us {
  background: linear-gradient(160deg, #EEF5F1 0%, #FAF7F2 100%);
  border-left: 1px solid var(--border);
}
.diff-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.diff-col-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}
.diff-col-us .diff-col-label { color: var(--primary); }
.diff-badge {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--primary);
  color: #fff;
}
.diff-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 22px;
  font-size: 0.86rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(226,232,240,.7);
  line-height: 1.5;
}
.diff-row:last-child { border-bottom: none; }
.diff-col-us .diff-row { color: var(--ink); }
.diff-row-hl-neg { background: rgba(254,226,226,.5); }
.diff-row-hl-pos { background: rgba(220,252,231,.5); }
.diff-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.diff-icon.neg { background: #FEE2E2; color: #DC2626; }
.diff-icon.pos { background: #DCFCE7; color: #1A1A1A; }

/* =========================================================================
   HOW IT WORKS — dark timeline section
   ========================================================================= */
.steps-section {
  position: relative;
  padding: 80px 72px;
  background: var(--dark);
  overflow: hidden;
}
.steps-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; }
.steps-label {
  color: rgba(255, 254, 245, 0.75);
}
.steps-section .section-label::before {
  color: #F5C518;
}
.steps-title { color: #fff; }
.steps-sub   { color: rgba(255,255,255,.82); }

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  margin-top: 52px;
  gap: 20px;
}
/* Connecting gradient line */
.steps-timeline::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 13%;
  right: 13%;
  height: 2px;
  background: linear-gradient(90deg, #1A1A1A, #3D8060, #F5C518, #E5D9B6);
  z-index: 0;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 3px solid var(--dark);
  box-shadow: 0 0 0 3px rgba(255,255,255,.1);
}
.step-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 14px;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
}

/* Parent question — nostalgia bridge (homepage) */
#parent-question {
  background: #1A1A1A !important;
  text-align: center;
}
#parent-question .section-label {
  color: var(--ink, #1A1A1A);
}
#parent-question .section-title {
  color: #FAF7F2;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
#parent-question .section-sub {
  color: rgba(255, 254, 245, 0.72);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.75;
}

/* Who we help — parent archetypes */
.archetype-section {
  background: #FAF7F2;
  padding: 80px 88px;
  text-align: center;
}
.archetype-section .section-title {
  max-width: 600px;
  margin: 0 auto 48px;
}
.archetype-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.archetype-card {
  background: #FAF7F2;
  border: 1.5px solid #e5d9b6;
  border-radius: 12px;
  padding: 24px 20px;
  border-top: 3px solid #1A1A1A;
}
.archetype-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.archetype-title {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 15px;
  color: #1A1A1A;
  margin-bottom: 10px;
  line-height: 1.4;
  font-style: italic;
}
.archetype-body {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  color: #555;
  line-height: 1.65;
}
@media (max-width: 768px) {
  .archetype-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }
  .archetype-section {
    padding: 60px 24px;
  }
}

/* =========================================================================
   GAMIFIED CURRICULUM
   ========================================================================= */
.curriculum-section {
  padding: 80px 72px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.curr-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0 22px;
}
.curr-tab {
  padding: 8px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-ui);
  cursor: pointer;
  transition: all 0.18s ease;
}
.curr-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(45,106,79,.3);
}
.curr-tab:hover:not(.active) {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(45,106,79,.3);
}
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.curriculum-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.curriculum-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.cc-icon { font-size: 1.6rem; flex-shrink: 0; line-height: 1; }
.cc-icon img.emoji { width: 1.6rem !important; height: 1.6rem !important; }
.cc-meta { flex: 1; min-width: 0; }
.cc-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc-stats {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1px;
}
.cc-diff {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cc-diff.easy   { background: #DCFCE7; color: #1A1A1A; }
.cc-diff.medium { background: #FEF9C3; color: #854D0E; }
.cc-diff.hard   { background: #FEE2E2; color: #991B1B; }
.cc-bar-track {
  height: 8px;
  border-radius: 999px;
  background: var(--bg);
  overflow: hidden;
  margin-bottom: 4px;
  border: 1px solid var(--border);
}
.cc-bar-fill {
  height: 100%;
  border-radius: 999px;
  width: 0%;
  transition: width 1s cubic-bezier(0.4,0,0.2,1);
}
.cc-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}
/* ── Topic cards (Duolingo-style illustrated icon tiles) ─────────────────── */
.cc-topics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 7px;
}
.topic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 10px 6px 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: default;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45,106,79,.2);
}
.ti {
  font-size: 1.55rem;
  line-height: 1;
  display: block;
}
.ti img.emoji {
  width: 1.55rem !important;
  height: 1.55rem !important;
}
.tn {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  display: block;
  word-break: break-word;
}

/* ══════════════════════════════════════════════════════════════════════════
   GRADE PICKER — curriculum section redesign
   ══════════════════════════════════════════════════════════════════════════ */
.grade-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 28px;
}
.grade-pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-ui), sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.grade-pill.active {
  background: var(--primary);
  color: #FAF7F2;
  border-color: var(--primary);
  box-shadow: 0 3px 10px rgba(27,67,50,.28);
}
.grade-pill:hover:not(.active) {
  background: #F0F7F4;
  color: var(--primary);
  border-color: rgba(45,106,79,.3);
}
/* Preview card */
.grade-preview-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  box-shadow: 3px 4px 0 #E5D9B6;
  padding: 36px 36px 36px 40px;
  margin-top: 4px;
  opacity: 1;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gpc-subjects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gpc-subject-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  background: #FAF7F2;
  border: 1.5px solid #e5d9b6;
  border-radius: 8px;
  box-shadow: 2px 3px 0 #e5d9b6;
  min-height: 0;
}
.gpc-subject-icon {
  font-size: 1.75rem;
  line-height: 1;
}
.gpc-subject-name {
  font-family: var(--font-heading), serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.gpc-subject-topic {
  font-family: var(--font-body), sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
  flex: 1;
}
.gpc-subject-cta {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  background: #1A1A1A;
  color: #FAF7F2;
  font-family: var(--font-ui), sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.gpc-subject-cta:hover {
  background: #1A1A1A;
  color: #FAF7F2;
}
.gpc-grade-label {
  display: inline-block;
  background: var(--primary);
  color: #FAF7F2;
  font-family: var(--font-ui), sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  width: fit-content;
}
.gpc-title {
  font-family: var(--font-heading), serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}
.gpc-desc {
  font-family: var(--font-body), sans-serif;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 480px;
}
.gpc-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gpc-chip {
  display: inline-block;
  background: #F0F7F4;
  color: var(--primary);
  border: 1px solid rgba(45,106,79,.2);
  border-radius: 6px;
  font-family: var(--font-ui), sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
}
.gpc-cta {
  display: inline-block;
  background: var(--primary);
  color: #FAF7F2;
  font-family: var(--font-ui), sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 4px;
  text-decoration: none;
  width: fit-content;
  margin-top: 6px;
  transition: background 0.18s ease;
}
.gpc-cta:hover { background: var(--primary-mid); }
.gpc-cta-secondary {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-ui), sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #555555;
  text-decoration: underline dashed;
  text-underline-offset: 4px;
}
.gpc-cta-secondary:hover { color: var(--primary); }
.gpc-cta-secondary[hidden] { display: none !important; }
/* Right panel — mock browser/screen */
.gpc-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.gpc-screen {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  box-shadow: 4px 6px 0 #E5D9B6;
  overflow: hidden;
  background: var(--bg);
}
.gpc-screen-top {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  background: var(--primary);
}
.gpc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,254,245,0.45);
  display: inline-block;
}
.gpc-screen-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 20px 28px;
  text-align: center;
}
.gpc-preview-icon {
  font-size: 2.8rem;
  line-height: 1;
}
.gpc-preview-grade {
  font-family: var(--font-heading), serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}
.gpc-preview-label {
  font-family: var(--font-ui), sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gpc-chips-mini {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}
.gpc-chips-mini span {
  background: var(--primary);
  color: #FAF7F2;
  font-family: var(--font-ui), sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}
/* Responsive */
@media (max-width: 1100px) {
  .gpc-subjects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .grade-preview-card {
    padding: 28px 24px;
  }
}
@media (max-width: 600px) {
  .grade-pill { padding: 7px 13px; font-size: 0.78rem; }
  .grade-preview-card { padding: 24px 20px; }
  .gpc-subjects-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Global Twemoji img sizing ────────────────────────────────────────────── */
img.emoji {
  height: 1em;
  width: 1em;
  vertical-align: -0.15em;
  display: inline-block;
}

/* =========================================================================
   MATH GAMES
   ========================================================================= */
.games-section {
  padding: 80px 72px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.games-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.game-filter label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.game-filter select {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 10px 12px;
  outline: none;
}
.game-filter select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,106,79,.12);
}
.games-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 10px;
}
.games-type-tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}
.games-type-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(45,106,79,.25);
}
.games-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.games-result-text {
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 700;
}
.games-source-note {
  font-size: 0.74rem;
  color: var(--muted);
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.game-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 16px 14px 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.game-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45,106,79,.25);
}
.game-badge {
  font-family: var(--font-ui);
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.assess-badge { background: #EEF5F1; color: #1A1A1A; }
.learn-badge  { background: #ECFDF5; color: #1A1A1A; }
.puzzle-badge { background: #FFF7ED; color: #9A3412; }
.game-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.game-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.game-tags span {
  font-size: 0.72rem;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(45,106,79,.18);
  border-radius: 999px;
  padding: 3px 8px;
}
.game-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  transition: all .18s ease;
}
.game-link:hover {
  background: var(--primary);
  color: #fff;
}
.games-empty {
  margin-top: 14px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--muted);
  background: var(--bg);
  font-size: 0.8rem;
}

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.testimonials-section {
  padding: 80px 72px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonials-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-left: 4px solid;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.t-stars {
  color: #F5C518;
  font-size: 0.88rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.t-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.t-avatar,
.t-avatar-img,
.testimonial-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  max-width: 48px;
  max-height: 48px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.t-avatar {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-ui);
}
.t-avatar-img,
.testimonial-avatar {
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: 2px solid var(--color-border);
  display: block;
}
.t-name { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.t-meta { font-size: 0.72rem; color: var(--muted); margin-top: 1px; }

/* =========================================================================
   FINAL CTA — dark, matching hero
   ========================================================================= */
.final-cta {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 84px 72px;
  text-align: center;
  overflow: hidden;
}
.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  pointer-events: none;
}
.final-cta::before { top: -430px; right: -220px; }
.final-cta::after  { top: -330px; right: -80px; }
.final-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
}
.cta-label { color: rgba(255,255,255,.4); }
.cta-title {
  color: #fff;
  margin-bottom: 10px;
}
.pricing-note {
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
}
.pricing-note strong { color: #F5C518; }
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: center;
  align-items: center;
  margin: 0 auto 8px;
  max-width: 520px;
}
@media (min-width: 861px) {
  .final-cta .cta-buttons {
    flex-wrap: nowrap;
    align-items: stretch;
  }
  .final-cta .cta-buttons .cta-btn-primary,
  .final-cta .cta-buttons .cta-whatsapp-btn {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
}
.final-cta .cta-btn-primary {
  padding: 12px 28px;
  min-height: 48px;
  border-radius: 4px;
  border: none;
  background: #F5C518;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-ui);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  line-height: 1.25;
}
.final-cta .cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  background: #b8943f;
  color: #1a1a1a;
}
.cta-proof {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255,255,255,.96);
  margin: -4px auto 20px;
  line-height: 1.55;
  max-width: 560px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 8px 12px;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
}
.cta-btn-secondary,
.cta-whatsapp-btn {
  padding: 13px 26px;
  border-radius: 4px;
  border: 2px solid #1A1A1A;
  background: transparent;
  color: #1A1A1A;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-ui);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
}
.cta-btn-secondary:hover,
.cta-whatsapp-btn:hover {
  border-color: #1A1A1A;
  background: rgba(27, 67, 50, 0.08);
  transform: translateY(-1px);
  color: #1A1A1A;
}

/* Final CTA sits on dark green — WhatsApp is cream outline (paired with gold primary) */
.final-cta .cta-whatsapp-btn {
  padding: 10px 26px;
  min-height: 48px;
  border-radius: 4px;
  background: transparent;
  color: #FAF7F2;
  border: 2px solid #FAF7F2;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.25;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.final-cta .cta-whatsapp-btn:hover {
  background: rgba(255, 254, 245, 0.12);
  color: #FAF7F2;
  border-color: #FAF7F2;
  transform: translateY(-2px);
}

.cta-trust-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 0;
}
.cta-trust-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.7);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 8px;
}
.cta-trust-item svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wa-icon {
  width: 17px;
  height: 17px;
  display: inline-block;
  flex-shrink: 0;
}

/* =========================================================================
   FOOTER — Multi-column
   ========================================================================= */
.footer-full {
  position: relative;
  background: #111;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 40px 32px 88px;
  overflow: hidden;
}
.footer-full::before {
  display: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 0;
}
.footer-brand-col { min-width: 0; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
  color: inherit;
}
.footer-logo .logo-mark,
.footer-logo svg.logo-mark {
  display: block;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  max-width: none;
}
.footer-logo .logo-wordmark {
  font-family: var(--f-ui, 'Nunito Sans', system-ui, sans-serif);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.03em;
  color: var(--white, #FFFFFF);
  white-space: nowrap;
}
.footer-wordmark-svg {
  display: block;
  width: 150px;
  height: auto;
  max-width: 100%;
}
.footer-logo-img {
  display: none;
}
.footer-brand-name {
  display: none;
}
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.22);
}
.footer-social svg {
  width: 18px;
  height: 18px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.footer-col a {
  font-family: "DM Sans", sans-serif, var(--font-ui);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s ease, transform 0.15s ease;
  line-height: 1.4;
  display: inline-flex;
  width: fit-content;
}
.footer-col a:hover {
  color: rgba(255, 255, 255, 0.75);
  transform: translateX(2px);
}
.footer-address,
.footer-hours {
  font-family: "DM Sans", sans-serif, var(--font-ui);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0 0;
  margin-top: 24px;
  text-align: center;
}
.footer-copy {
  font-family: "DM Sans", sans-serif, var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
}

/* =========================================================================
   FEATURE CARD — PRIMARY USP VARIANT (inherits why-card style)
   ========================================================================= */
.feature-card-primary {
  border: 1.5px solid #e5d9b6;
  background: #fff;
  box-shadow: 2px 3px 0 #e5d9b6;
}
.feature-card-primary:hover {
  border-color: #e5d9b6;
}
.feature-icon-primary {
  display: none;
}

/* =========================================================================
   CURRICULUM CARD — STATS ROW (replaces coverage bar)
   ========================================================================= */
.cc-stats-row {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.cc-stat-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(45,106,79,.12);
}

/* =========================================================================
  90-DAY PROGRESS SECTION — redesigned
  ========================================================================= */
.trajectory-section {
  padding: 88px 72px 80px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.trajectory-section .trajectory-lede {
  white-space: pre-line;
}

/* Four stage cards — 2×2 on wide screens */
.day90-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

/* Cards */
.day90-card {
  border-radius: 22px;
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.day90-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
/* Card colour themes */
.day90-card-1 {
  background: #EEF5F1;
  border: 1px solid rgba(45,106,79,.18);
}
.day90-card-2 {
  background: #F5F0E8;
  border: 1px solid rgba(124,58,237,.18);
}
.day90-card-3 {
  background: #ECFDF5;
  border: 1px solid rgba(5,150,105,.18);
}
.day90-card-4 {
  background: #eef5f1;
  border: 1px solid rgba(27, 67, 50, 0.18);
}

/* Giant background number */
.day90-card-num {
  position: absolute;
  top: -8px;
  right: 16px;
  font-family: var(--font-ui);
  font-size: 7rem;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.day90-card-1 .day90-card-num { color: rgba(45,106,79,.08); }
.day90-card-2 .day90-card-num { color: rgba(124,58,237,.08); }
.day90-card-3 .day90-card-num { color: rgba(5,150,105,.08); }
.day90-card-4 .day90-card-num { color: rgba(27, 67, 50, 0.08); }

/* Month badge */
.day90-month-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  width: fit-content;
}
.day90-month-icon {
  font-size: 1rem;
}
.day90-card-1 .day90-month-badge {
  background: rgba(45,106,79,.12);
  color: #1A1A1A;
  border: 1px solid rgba(45,106,79,.22);
}
.day90-card-2 .day90-month-badge {
  background: rgba(124,58,237,.11);
  color: #6B5A2E;
  border: 1px solid rgba(124,58,237,.22);
}
.day90-card-3 .day90-month-badge {
  background: rgba(5,150,105,.1);
  color: #1A1A1A;
  border: 1px solid rgba(5,150,105,.22);
}
.day90-card-4 .day90-month-badge {
  background: rgba(27, 67, 50, 0.1);
  color: #1A1A1A;
  border: 1px solid rgba(27, 67, 50, 0.22);
}
.day90-month-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Card title */
.day90-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.day90-card-1 .day90-card-title { color: #1A1A1A; }
.day90-card-2 .day90-card-title { color: #4A3F2A; }
.day90-card-3 .day90-card-title { color: #064E3B; }
.day90-card-4 .day90-card-title { color: #1A1A1A; }

/* Bullet list */
.day90-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
  flex: 1;
}
.day90-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.day90-card-1 .day90-bullets li { color: #1A1A1A; }
.day90-card-2 .day90-bullets li { color: #6B5A2E; }
.day90-card-3 .day90-bullets li { color: #1A1A1A; }
.day90-card-4 .day90-bullets li { color: #1A1A1A; }
.day90-bullets li::before {
  content: '✓';
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.day90-card-1 .day90-bullets li::before { color: #1A1A1A; }
.day90-card-2 .day90-bullets li::before { color: #F5C518; }
.day90-card-3 .day90-bullets li::before { color: #1A1A1A; }
.day90-card-4 .day90-bullets li::before { color: #F5C518; }

/* Progress bar */
.day90-bar-wrap {
  margin-top: auto;
}
.day90-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.day90-card-1 .day90-bar-label { color: #1A1A1A; }
.day90-card-2 .day90-bar-label { color: #6B5A2E; }
.day90-card-3 .day90-bar-label { color: #1A1A1A; }
.day90-track {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
}
.day90-card-1 .day90-track { background: rgba(45,106,79,.15); }
.day90-card-2 .day90-track { background: rgba(124,58,237,.15); }
.day90-card-3 .day90-track { background: rgba(5,150,105,.15); }
.day90-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  width: 0;
  transition: width 1.1s cubic-bezier(0.4,0,0.2,1);
}
.day90-card-1 .day90-fill { background: linear-gradient(90deg, #1A1A1A, #6BA88A); }
.day90-card-2 .day90-fill { background: linear-gradient(90deg, #F5C518, #E5D9B6); }
.day90-card-3 .day90-fill { background: linear-gradient(90deg, #1A1A1A, #5D9A78); }

/* Disclaimer */
.day90-disclaimer {
  margin-top: 20px;
  font-size: 0.73rem;
  color: var(--muted);
}

/* =========================================================================
   DIFFERENTIATOR — 4-card VS layout (replaces old two-column table)
   ========================================================================= */
.diff-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.diff-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.diff-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 10px 22px 0;
}
.diff-card-body {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  align-items: stretch;
  min-height: 64px;
}
.diff-them,
.diff-us {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 16px;
  font-size: 0.875rem;
  line-height: 1.45;
}
.diff-them {
  background: #FAFAFA;
  color: var(--muted);
  border-right: 1px solid var(--border);
}
.diff-us {
  background: linear-gradient(135deg, #EEF5F1, #FAF7F2);
  color: var(--ink);
  border-left: 1px solid var(--border);
}
.diff-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 6px 0;
}
.diff-card-body-single {
  grid-template-columns: 1fr;
}
.diff-how {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 16px;
  font-size: 0.875rem;
  line-height: 1.45;
  background: linear-gradient(135deg, #EEF5F1, #FAF7F2);
  color: var(--ink);
}

/* =========================================================================
   WHATSAPP FLOAT
   ========================================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  min-height: 56px;
  min-width: 56px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #1A1A1A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.5);
  z-index: 200;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}
.wa-float-icon {
  width: 34px;
  height: 34px;
  display: block;
  flex-shrink: 0;
}
.wa-float-label {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-left: 6px;
}
@media (max-width: 768px) {
  .wa-float-label {
    display: none;
  }
}
/* Hidden by default; homepage shows when scrolled via .sticky-demo-btn--active (see body.page-home rules). */
.sticky-demo-btn {
  display: none;
  bottom: 84px;
  right: 16px;
}

/* =========================================================================
   ANIMATIONS
   ========================================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================================
   RESPONSIVE — 1100px (tablet landscape)
   ========================================================================= */
@media (max-width: 1100px) {
  .nav { padding: 0 40px; }
  .journey-rail { padding-left: 36px; padding-right: 36px; }
  .hero { padding: 64px 40px 72px; }
  .trust-bar {
    padding: 14px 40px 14px 88px;
  }
  .trust-strip-inner {
    gap: 24px;
  }
  .features-section,
  .teacher-select-section,
  .trajectory-section,
  .steps-section,
  .curriculum-section,
  .games-section,
  .testimonials-section,
  .final-cta { padding-left: 40px; padding-right: 40px; }
  .footer-grid { padding-left: 40px; padding-right: 40px; gap: 28px; }
  .footer-bottom { padding-left: 40px; padding-right: 40px; }

  .paths-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .features-section .features-grid.bento-features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .features-section .features-grid.bento-features-grid .bento-card--wide {
    grid-column: span 2;
  }
  .ts-layout { grid-template-columns: 55% 45%; }
  .ts-flow { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; }
  .ts-connector { display: none; }
  .day90-grid { grid-template-columns: 1fr 1fr; }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================================
   RESPONSIVE — 860px (tablet portrait)
   ========================================================================= */
@media (max-width: 860px) {
  .nav { padding: 0 20px; gap: 12px; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #FAF7F2;
    padding: 20px 24px 24px;
    border-bottom: 1.5px solid #e5d9b6;
    box-shadow: 0 12px 28px rgba(27, 67, 50, 0.08);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }

  .hero {
    padding: 48px 20px 56px;
    min-height: auto;
    align-items: flex-start;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-sub { max-width: 100%; }
  .hero-student-image { max-width: 100%; margin-bottom: 16px; }

  .trust-bar {
    padding: 14px 20px 14px 88px;
  }
  .trust-strip-inner {
    gap: 12px 20px;
    justify-content: flex-start;
  }
  .trust-item {
    white-space: normal;
    text-align: left;
  }

  .features-section,
  .trajectory-section,
  .steps-section,
  .curriculum-section,
  .games-section,
  .testimonials-section,
  .final-cta { padding-left: 20px; padding-right: 20px; }
  .ts-inner { padding-left: 20px; padding-right: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 32px 20px; gap: 24px; }
  .footer-bottom { padding: 14px 20px; }

  .paths-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .features-section .features-grid.bento-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-section .features-grid.bento-features-grid .bento-card--wide {
    grid-column: span 2;
  }
  .ts-layout { grid-template-columns: 1fr; }
  .ts-media-col { order: -1; }
  .ts-flow { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .day90-grid { grid-template-columns: 1fr; }
  .games-controls { grid-template-columns: 1fr; gap: 10px; }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .games-meta-row { flex-direction: column; align-items: flex-start; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-timeline { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-timeline::before { display: none; }
  .diff-card-body { grid-template-columns: 1fr 40px 1fr; }
  .diff-them, .diff-us { font-size: 0.82rem; padding: 12px 14px 14px; }
  .diff-how { font-size: 0.82rem; padding: 12px 14px 14px; }
  .ts-stat-callout { flex-direction: column; gap: 8px; padding: 16px 20px; }
  .ts-stat-num { font-size: 2.2rem; }
}

/* =========================================================================
   RESPONSIVE — 600px (mobile)
   ========================================================================= */
@media (max-width: 600px) {
  .path-card { padding: 11px 13px; gap: 10px; }
  .pc-name { font-size: 0.82rem; }
  .pc-sub-text { display: none; }
  .pc-arrow { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .features-section .features-grid.bento-features-grid {
    grid-template-columns: 1fr;
  }
  .features-section .features-grid.bento-features-grid .bento-card--wide {
    grid-column: span 1;
  }
  .ts-layout { grid-template-columns: 1fr; }
  .ts-media-col { order: -1; }
  .ts-flow { grid-template-columns: 1fr; gap: 36px 0; }
  .ts-step { flex-direction: row; text-align: left; gap: 16px; align-items: flex-start; }
  .ts-step-icon { flex-shrink: 0; }
  .day90-grid { grid-template-columns: 1fr; }
  .day90-card-num { font-size: 5rem; }
  .games-grid { grid-template-columns: 1fr; }
  .steps-timeline { grid-template-columns: 1fr; gap: 28px; }
  .diff-card-body { grid-template-columns: 1fr; }
  .diff-vs { padding: 6px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 0.7rem; }
  .diff-them { border-right: none; border-bottom: 1px solid var(--border); }
  .diff-us { border-left: none; }
  .stat-item { flex: 1 1 50%; }
  .stat-item:nth-child(1) { border-right: 1px solid var(--border); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); }

  .trust-item { flex: 1 1 100%; text-align: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-btn-primary,
  .cta-btn-secondary,
  .cta-whatsapp-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .cta-trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px; }
  .footer-tagline { max-width: 100%; }
  .section-sub { margin-bottom: 28px; }
  .whatsapp-float {
    bottom: 64px;
    right: 20px;
    min-width: 46px;
    min-height: 46px;
    padding: 10px 12px 10px 10px;
  }
  .wa-float-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 768px) {
  .hero-student-image {
    display: block;
    max-width: 100%;
    max-height: 240px;
    border-radius: 16px;
    object-position: center top;
  }
  .ts-layout { grid-template-columns: 1fr; }
  .ts-media-col { order: -1; }
}

/* =========================================================================
   RESPONSIVE — 400px (very small)
   ========================================================================= */
@media (max-width: 400px) {
  .hero-stats { gap: 10px; }
  .hs-num { font-size: 1rem; }
  .hero-badge { font-size: 0.7rem; padding: 5px 10px; }
  .cta-trust-row { grid-template-columns: 1fr; }
}

/* =========================================================================
   DESIGN REFRESH — v6 (Duolingo x Brilliant language)
   ========================================================================= */
:root {
  --radius: 18px;
  --radius-lg: 22px;
  --shadow-sm: 2px 3px 0 #E5D9B6;
  --shadow-md: 3px 4px 0 #E5D9B6;
  --shadow-lg: 3px 4px 0 #E5D9B6;
}

body {
  letter-spacing: -0.005em;
}

.section-title {
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--muted);
}

.nav {
  backdrop-filter: none;
  background: #FAF7F2;
  border-bottom: 1.5px solid #e5d9b6;
}

.nav-link {
  font-family: var(--font-body);
  color: rgba(27, 67, 50, 0.72);
  font-weight: 500;
}

.nav-link:hover {
  color: #1A1A1A;
}

.hero {
  background:
    radial-gradient(circle at 34% 30%, rgba(45,106,79,.15) 0%, rgba(45,106,79,0) 46%),
    linear-gradient(135deg, #1A1A1A 0%, #1A1A1A 100%);
}

.hero-badge {
  font-family: var(--font-ui);
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variant-caps: all-small-caps;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 24px rgba(0,0,0,.15);
}

.hero-h1 {
  font-family: var(--f-display);
  letter-spacing: -0.03em;
}

.hero-sub {
  color: rgba(255, 254, 245, 0.88);
}

.hero-h1 em {
  background: linear-gradient(130deg, #6BA88A, #F5C518);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .path-card,
.psc-card,
.feature-card,
.curriculum-card,
.topic-card,
.testimonial-card,
.diff-card,
.day90-card,
.game-card {
  border-radius: var(--radius);
  border: 1.5px solid #E5D9B6;
  box-shadow: 2px 3px 0 #E5D9B6;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.hero .path-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero .path-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
}

.path-card:hover,
.psc-card:hover,
.feature-card:hover,
.curriculum-card:hover,
.topic-card:hover,
.testimonial-card:hover,
.diff-card:hover,
.day90-card:hover,
.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 3px 4px 0 #E5D9B6;
}

.trust-bar {
  background: #1A1A1A;
  border: none;
}

.journey-rail {
  background: #FAF7F2;
  backdrop-filter: none;
  border-bottom: 1.5px solid #E5D9B6;
}

.jr-step {
  border-radius: 12px;
  font-weight: 700;
}

.form-card {
  background: #FAF7F2;
  /* Neutral shadow — green-tinted shadow was reading as a green “border” around the card */
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 16px 40px rgba(0, 0, 0, 0.08);
}

.hero .form-card {
  background: #FAF7F2;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 16px 40px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-2xl);
  border: 1.5px solid #E5D9B6;
  border-top: 3px solid var(--color-primary);
}

.form-submit,
.psc-cta,
.cta-btn-primary {
  background: #1A1A1A;
  color: #FAF7F2;
  border: none;
  box-shadow: 2px 3px 0 #e5d9b6;
}

.form-submit:hover,
.psc-cta:hover,
.cta-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 3px 4px 0 #e5d9b6;
  background: #1A1A1A;
  color: #FAF7F2;
}

.cta-btn-secondary,
.cta-whatsapp-btn {
  border-radius: 4px;
  border-width: 2px;
  backdrop-filter: none;
}

.cta-proof {
  border-radius: 12px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .path-card,
  .psc-card,
  .feature-card,
  .curriculum-card,
  .topic-card,
  .testimonial-card,
  .diff-card,
  .day90-card { transform: none !important; }
}

/* =========================================================================
   HOMEPAGE — notebook paper (index.html only, body.page-home)
   ========================================================================= */
body.page-home .hero,
body.page-home .teacher-select-section,
body.page-home .curriculum-section,
body.page-home .testimonials-section {
  background-color: #FAF7F2;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 27px,
    #e5d9b6 28px
  );
}

body.page-home .features-section,
body.page-home .trajectory-section,
body.page-home .steps-section,
body.page-home .games-section {
  background-color: #F5EDD8;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 27px,
    #E5D9B6 28px
  );
}

body.page-home .hero,
body.page-home .trust-bar,
body.page-home .gold-ticker,
body.page-home .features-section,
body.page-home .teacher-select-section,
body.page-home .trajectory-section,
body.page-home .steps-section,
body.page-home .curriculum-section,
body.page-home .games-section,
body.page-home .testimonials-section,
body.page-home .final-cta,
body.page-home .footer-full {
  position: relative;
}

/* Dashed dividers between homepage sections */
body.page-home .trust-bar,
body.page-home .gold-ticker,
body.page-home .features-section,
body.page-home .teacher-select-section,
body.page-home .trajectory-section,
body.page-home .steps-section,
body.page-home .curriculum-section,
body.page-home .games-section,
body.page-home .testimonials-section,
body.page-home .final-cta {
  border-top: 2px dashed #D4C89A;
}

body.page-home .trust-bar {
  background: #1A1A1A;
  background-image: none;
  padding: 14px 40px 14px 88px;
  border-bottom: none;
}

body.page-home .trust-bar::before {
  display: none;
}

body.page-home .footer-full {
  background: #111;
  background-image: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 40px 32px 88px;
}

body.page-home .footer-full::before {
  display: none;
}

body.page-home .hero::before,
body.page-home .features-section::before,
body.page-home .teacher-select-section::before,
body.page-home .trajectory-section::before,
body.page-home .steps-section::before,
body.page-home .curriculum-section::before,
body.page-home .games-section::before,
body.page-home .testimonials-section::before,
body.page-home .final-cta::before {
  content: "";
  position: absolute;
  left: 68px;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: rgba(185, 28, 28, 0.25);
  pointer-events: none;
  z-index: 1;
}

body.page-home .hero {
  padding: 52px 72px 48px 88px;
  background: #FAF7F2;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 27px,
    #e5d9b6 28px
  );
  overflow: hidden;
  min-height: 0;
  align-items: flex-start;
}

/* Headline accent (matches classic landing: green “1-on-1”) */
body.page-home .hero-h1 .hero-h1-accent {
  color: #1A1A1A;
  font-style: normal;
  font-weight: 700;
}

body.page-home .hero-lead .hero-value-strip {
  margin-bottom: 14px;
}

/* Image below headline, sub & pills */
body.page-home .hero-lead .hero-student-image {
  margin: 18px 0 0;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 2px 4px 0 #e5d9b6;
}

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

body.page-home .hero-grid,
body.page-home .hero-glow-1,
body.page-home .hero-glow-2,
body.page-home .hero-dots {
  display: none;
}

body.page-home .hero-punch-strip {
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  pointer-events: none;
  z-index: 3;
}

body.page-home .hero-punch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ede4c8;
  border: 1.5px solid #d4c89a;
  flex-shrink: 0;
}

body.page-home .hero-inner {
  z-index: 2;
  align-items: start;
}

body.page-home .hero-badge {
  background: rgba(27, 67, 50, 0.06);
  border-color: rgba(27, 67, 50, 0.18);
  color: var(--ink);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.page-home .hero-badge strong {
  color: var(--color-primary);
}

body.page-home .hero-sub {
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 16px;
}

body.page-home .nav-link {
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 0.9375rem;
}

body.page-home .section-label {
  color: var(--green-primary);
}

/* Hero primary + secondary CTAs (brand: free first session + see how it works) */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-bottom: 20px;
}
.hero-cta-primary.cta-primary-btn {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background: var(--green-primary);
  color: var(--cream);
  transition: background 0.2s ease;
}
.hero-cta-primary.cta-primary-btn:hover {
  background: var(--green-mid);
}
.hero-cta-secondary {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: #555555;
  text-decoration: underline dashed;
  text-underline-offset: 4px;
  background: none;
  border: none;
  padding: 4px 0;
  cursor: pointer;
}
a.hero-cta-secondary:hover,
button.hero-cta-secondary:hover {
  color: var(--green-primary);
}

body.page-home .hero-h1 {
  color: var(--ink);
  max-width: 560px;
}

body.page-home .hero .path-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(27, 67, 50, 0.12);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.page-home .hero .path-card:hover {
  border-color: rgba(27, 67, 50, 0.22);
  background: #fff;
}

body.page-home .hero .pc-name {
  color: var(--ink);
}

body.page-home .hero .pc-sub-text {
  color: var(--muted);
}

body.page-home .hero .pc-arrow {
  color: rgba(27, 67, 50, 0.35);
}

body.page-home .hs-num {
  color: var(--ink);
}

body.page-home .hs-label {
  color: var(--muted);
}

body.page-home .hs-sep {
  background: rgba(27, 67, 50, 0.14);
}

body.page-home .features-section {
  padding: 80px 72px 80px 88px;
}
body.page-home .features-section .section-sub,
body.page-home .features-section .feature-desc {
  font-family: var(--font-body);
  font-weight: 400;
}

body.page-home .teacher-select-section .ts-inner {
  padding: 88px 72px 80px 88px;
}

body.page-home .ts-title {
  color: var(--ink);
}

body.page-home .ts-sub {
  color: var(--muted);
}

body.page-home .ts-label {
  color: var(--color-primary);
}

body.page-home .ts-step-name {
  color: var(--ink);
}

body.page-home .ts-step-desc {
  color: var(--muted);
  max-width: none;
  width: 100%;
}

/* Wider teacher-flow column + step text on homepage */
body.page-home .ts-layout {
  grid-template-columns: minmax(0, 58%) minmax(260px, 42%);
  gap: 24px;
}

body.page-home .ts-flow {
  gap: 24px 12px;
}

body.page-home .ts-step {
  padding: 0 4px;
}

body.page-home .ts-step-body {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 860px) {
  body.page-home .ts-layout {
    grid-template-columns: 1fr;
  }
  body.page-home .ts-flow {
    gap: 28px 16px;
  }
}

@media (max-width: 600px) {
  body.page-home .ts-flow {
    gap: 40px 0;
  }
}

body.page-home .ts-step-icon {
  background: rgba(45, 106, 79, 0.12);
  border-color: rgba(45, 106, 79, 0.28);
}

body.page-home .ts-step:hover .ts-step-icon {
  background: rgba(45, 106, 79, 0.18);
  border-color: rgba(45, 106, 79, 0.45);
}

body.page-home .ts-stat-callout {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(45, 106, 79, 0.2);
}

body.page-home .ts-stat-text {
  color: var(--muted);
}

body.page-home .ts-connector {
  background: linear-gradient(
    90deg,
    rgba(45, 106, 79, 0.35),
    rgba(45, 106, 79, 0.55),
    rgba(45, 106, 79, 0.35)
  );
}

body.page-home .steps-title {
  color: var(--ink);
}

body.page-home .steps-sub {
  color: var(--muted);
}

body.page-home .steps-label {
  color: var(--muted);
}

body.page-home .step-title {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

body.page-home .step-desc {
  color: var(--muted);
  font-size: 14px;
}

body.page-home .step-circle {
  border-color: #f5edd8;
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.08);
}

body.page-home .trajectory-section {
  padding: 80px 72px 44px 88px;
}

body.page-home .day90-disclaimer {
  margin-top: 12px;
}

body.page-home .steps-section {
  padding: 52px 72px 72px 88px;
}

body.page-home .curriculum-section {
  padding: 80px 72px 80px 88px;
}

body.page-home .games-section {
  padding: 80px 72px 80px 88px;
}

body.page-home .testimonials-section {
  padding: 80px 72px 80px 88px;
}

body.page-home .final-cta {
  padding: 84px 72px 84px 88px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  overflow: hidden;
}

body.page-home .final-cta .section-label,
body.page-home .final-cta .cta-label {
  color: rgba(255, 255, 255, 0.4);
}

body.page-home .final-cta .cta-title {
  color: #fff;
}

body.page-home .final-cta .pricing-note {
  color: rgba(255, 255, 255, 0.8);
}

body.page-home .final-cta .pricing-note strong {
  color: #F5C518;
}

body.page-home .final-cta .cta-proof {
  color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

body.page-home .footer-tagline {
  color: rgba(255, 255, 255, 0.45);
}

body.page-home .footer-col-title {
  color: rgba(255, 255, 255, 0.5);
}

body.page-home .footer-col a {
  color: rgba(255, 255, 255, 0.3);
}

body.page-home .footer-col a:hover {
  color: rgba(255, 255, 255, 0.85);
}

body.page-home .footer-address,
body.page-home .footer-hours {
  color: rgba(255, 255, 255, 0.3);
}

body.page-home .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
  padding: 20px 0 0;
  margin-top: 24px;
}

body.page-home .footer-copy {
  color: rgba(255, 255, 255, 0.2);
}

body.page-home .footer-grid {
  padding: 0;
}

body.page-home .footer-social a {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
}

body.page-home .footer-social a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 1100px) {
  body.page-home .hero {
    padding: 40px 40px 28px;
  }
  body.page-home .trust-bar {
    padding: 14px 40px;
  }
  body.page-home .features-section,
  body.page-home .trajectory-section,
  body.page-home .steps-section,
  body.page-home .curriculum-section,
  body.page-home .games-section,
  body.page-home .testimonials-section,
  body.page-home .final-cta {
    padding-left: 40px;
    padding-right: 40px;
  }
  body.page-home .teacher-select-section .ts-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
  body.page-home .footer-full {
    padding-left: 40px;
    padding-right: 40px;
  }
  body.page-home .footer-grid {
    padding: 0;
  }
  body.page-home .footer-bottom {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 860px) {
  body.page-home .hero {
    padding: 32px 0 24px;
  }
  body.page-home .trust-bar {
    padding: 14px 24px;
  }
  body.page-home .features-section,
  body.page-home .trajectory-section,
  body.page-home .steps-section,
  body.page-home .curriculum-section,
  body.page-home .games-section,
  body.page-home .testimonials-section,
  body.page-home .final-cta {
    padding-left: 24px;
    padding-right: 24px;
  }
  body.page-home .teacher-select-section .ts-inner {
    padding-left: 24px;
    padding-right: 24px;
  }
  body.page-home .footer-full {
    padding: 32px 24px;
  }
  body.page-home .footer-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }
  body.page-home .footer-tagline {
    max-width: 100%;
  }
  body.page-home .footer-bottom {
    padding-left: 0;
    padding-right: 0;
  }
}

/* =========================================================================
   HOMEPAGE — demo wizard + motion (notebook / green brand)
   ========================================================================= */
body.page-home .hero-parallax-layer {
  position: absolute;
  inset: -6%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(27, 67, 50, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 70%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
  will-change: transform;
}

body.page-home .hero-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  top: 22%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 168, 76, 0.15) 35%,
    rgba(201, 168, 76, 0.45) 50%,
    rgba(201, 168, 76, 0.15) 65%,
    transparent 100%
  );
  opacity: 0.55;
  animation: homeHeroScan 6.5s ease-in-out infinite;
}

@keyframes homeHeroScan {
  0%,
  100% {
    top: 18%;
    opacity: 0.25;
  }
  50% {
    top: 72%;
    opacity: 0.55;
  }
}

body.page-home .hero-inner {
  position: relative;
  z-index: 2;
}

body.page-home .hero-h1.hero-h1--reveal {
  clip-path: inset(0 100% 0 0);
  animation: homeClipReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

@keyframes homeClipReveal {
  to {
    clip-path: inset(0 0% 0 0);
  }
}

/* Trust strip — marquee */
body.page-home .trust-bar.trust-marquee {
  display: block;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}

body.page-home .trust-marquee-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  min-width: max-content;
  will-change: transform;
  animation: homeTrustMarquee 34s linear infinite;
}

body.page-home .trust-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes homeTrustMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

body.page-home .trust-marquee-group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
  padding-right: 48px;
  gap: 0;
}

body.page-home .trust-marquee-group .trust-sep {
  margin: 0 20px;
}

/* Gold ticker strip (homepage — between hero and Why) */
body.page-home .gold-ticker {
  background: var(--gold);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  transform: rotate(-0.6deg) scaleX(1.04);
  margin: 0 -4px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}
body.page-home .gold-ticker-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  min-width: max-content;
  animation: homeGoldTicker 24s linear infinite;
  will-change: transform;
}
body.page-home .gold-ticker-group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
}
body.page-home .gold-ticker-item,
body.page-home .gt-item {
  font-family: var(--font-ui), "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--green-primary);
  padding: 0 28px;
  text-transform: uppercase;
  flex-shrink: 0;
  white-space: nowrap;
}
body.page-home .gold-ticker-dot,
body.page-home .gt-sep {
  color: var(--green-primary);
  opacity: 0.5;
  font-size: 0.5rem;
  flex-shrink: 0;
}
@keyframes homeGoldTicker {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
@media (hover: hover) and (pointer: fine) {
  body.page-home .gold-ticker:hover .gold-ticker-track {
    animation-play-state: paused;
  }
}

/* Demo form — two-step wizard */
body.page-home .demo-form-progress {
  margin-bottom: 18px;
}

body.page-home .demo-form-progress-track {
  height: 5px;
  background: rgba(27, 67, 50, 0.12);
  border-radius: 3px;
  overflow: hidden;
}

body.page-home .demo-form-progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1A1A1A, #1A1A1A);
  border-radius: 3px;
  transition: width 0.45s ease;
}

body.page-home .demo-form-step-hint {
  margin: 8px 0 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted);
}

body.page-home .demo-form-panels {
  position: relative;
  min-height: 260px;
}

body.page-home .demo-form-panel {
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
}

body.page-home .demo-form-panel:not(.demo-form-panel--active) {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  pointer-events: none;
  transform: translateY(10px);
}

body.page-home .demo-form-panel--active {
  opacity: 1;
  visibility: visible;
  position: relative;
  pointer-events: auto;
  transform: none;
}

body.page-home .demo-form-path-label {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1A1A1A;
  margin: 0 0 10px;
}

body.page-home .demo-path-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

body.page-home .demo-path-pill {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
  background: #FAF7F2;
  border: 1.5px solid #e5d9b6;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

body.page-home .demo-path-pill:hover {
  border-color: #1A1A1A;
  color: #1a1a1a;
}

body.page-home .demo-path-pill.active {
  background: #1A1A1A;
  border-color: #1A1A1A;
  color: #FAF7F2;
}

body.page-home .demo-form-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

body.page-home .demo-form-step-actions .form-submit {
  flex: 1;
  min-width: 140px;
}

.demo-form-back {
  background: none;
  border: none;
  color: #1A1A1A;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
  opacity: 0.75;
}
.demo-form-back::before {
  content: "← ";
}
.demo-form-back:hover {
  opacity: 1;
}

.form-submit-reassurance {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  color: #888888;
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}
body.page-home .demo-form-step-actions .form-submit-reassurance {
  flex: 1 1 100%;
  width: 100%;
  margin-top: 8px;
  order: 10;
}

body.page-home .demo-form-continue {
  width: 100%;
  margin-top: 4px;
}

/* Sticky CTA — same gold treatment as .nav-cta */
body.page-home .sticky-demo-btn {
  position: fixed;
  bottom: 84px;
  right: 16px;
  left: auto;
  z-index: 9999;
  box-sizing: border-box;
  margin: 0;
  width: auto;
  max-width: min(320px, calc(100vw - 40px));
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  background: #F5C518;
  color: #1a1a1a;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

body.page-home .sticky-demo-btn.sticky-demo-btn--active {
  display: inline-flex;
}

body.page-home .sticky-demo-btn:hover {
  background: #b8943f;
  color: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(201, 168, 76, 0.42);
}

@media (max-width: 768px) {
  body.page-home:has(.sticky-demo-btn--active) {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  body.page-home .sticky-demo-btn {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
    padding: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    font-size: 16px;
  }

  body.page-home .sticky-demo-btn.sticky-demo-btn--active {
    display: flex;
  }

  .whatsapp-float {
    bottom: 72px;
  }
}

/* Primary CTA scan-line (homepage) — not on sticky float, final CTA gold, or nav-matched sticky */
body.page-home .form-submit.cta-primary-btn,
body.page-home .cta-btn-primary.cta-primary-btn:not(#final-cta-primary):not(#sticky-demo-btn) {
  position: relative;
  overflow: hidden;
}

body.page-home .form-submit.cta-primary-btn::after,
body.page-home .cta-btn-primary.cta-primary-btn:not(#final-cta-primary):not(#sticky-demo-btn)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

body.page-home .form-submit.cta-primary-btn:hover::after,
body.page-home .cta-btn-primary.cta-primary-btn:not(#final-cta-primary):not(#sticky-demo-btn):hover::after {
  animation: homeCtaScan 0.65s ease-out forwards;
  opacity: 0.55;
}

@keyframes homeCtaScan {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

/* Testimonials — horizontal marquee */
body.page-home .testimonials-section {
  overflow: hidden;
}

body.page-home .testi-marquee {
  overflow: hidden;
  margin-top: 28px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

body.page-home .testi-marquee-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: homeTestiMarquee 52s linear infinite;
}

body.page-home .testi-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes homeTestiMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

body.page-home .testi-marquee-row {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

body.page-home .testi-marquee-row .testimonial-card {
  flex: 0 0 min(340px, 85vw);
  max-width: 340px;
}

/* Hero mobile: form before path selector */
@media (max-width: 767px) {
  body.page-home .hero-inner {
    display: flex;
    flex-direction: column;
  }

  body.page-home .hero-content {
    display: contents;
  }

  body.page-home .hero-lead {
    order: 1;
  }

  body.page-home .form-card {
    order: 2;
    width: 100%;
  }

  body.page-home .path-selector {
    order: 3;
  }

  body.page-home .trust-marquee-track {
    animation-duration: 28s;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .hero-h1.hero-h1--reveal {
    clip-path: inset(0 0 0 0) !important;
    animation: none !important;
  }

  body.page-home .hero-scanline,
  body.page-home .trust-marquee-track,
  body.page-home .testi-marquee-track {
    animation: none !important;
  }

  body.page-home .hero-parallax-layer {
    transform: none !important;
  }

  body.page-home .form-submit.cta-primary-btn::after,
  body.page-home .cta-btn-primary.cta-primary-btn:not(#final-cta-primary):not(#sticky-demo-btn)::after {
    display: none;
  }
}

/* =========================================================================
   UX UPGRADE — v13 readability, mobile frame, marquee reliability
   ========================================================================= */
:root {
  --site-gutter-desktop: 72px;
  --site-gutter-tablet: 40px;
  --site-gutter-mobile: 20px;
}

.section-sub,
.feature-desc,
.step-desc,
.ts-step-desc,
.t-text,
.blog-excerpt,
.info-lead {
  font-size: 0.96rem;
  line-height: 1.68;
}

.form-group label,
.contact-form label {
  font-size: 0.76rem;
  letter-spacing: 0.07em;
}

.form-group input,
.form-group select,
.contact-form input,
.contact-form textarea {
  font-size: 0.92rem;
}

/* Keep month-2 card within brand palette (remove violet tint). */
.day90-card-2 {
  background: #fff8e7;
  border-color: rgba(201, 168, 76, 0.24);
}
.day90-card-2 .day90-card-num { color: rgba(201, 168, 76, 0.12); }
.day90-card-2 .day90-month-badge {
  background: rgba(201, 168, 76, 0.14);
  border-color: rgba(201, 168, 76, 0.28);
  color: #6b5a2e;
}
.day90-card-2 .day90-track { background: rgba(201, 168, 76, 0.16); }

/* Hero value strip for stronger above-the-fold communication. */
.hero-value-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}
.hero-value-pill {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1A1A1A;
  border: 1.5px solid rgba(27, 67, 50, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  padding: 6px 10px;
  white-space: nowrap;
}

/* Trust marquee reliability — row must never wrap (global .trust-item rules use flex-basis 100% on small screens) */
body.page-home .trust-marquee-group {
  white-space: nowrap;
}
body.page-home .trust-marquee-group .trust-item {
  white-space: nowrap;
  flex: 0 0 auto;
  flex-basis: auto;
  max-width: none;
}
@media (hover: hover) and (pointer: fine) {
  body.page-home .trust-marquee-track:hover {
    animation-play-state: paused;
  }
}

/* Mobile frame fix for notebook layout */
@media (max-width: 860px) {
  body.page-home .hero,
  body.page-home .trust-bar,
  body.page-home .features-section,
  body.page-home .trajectory-section,
  body.page-home .steps-section,
  body.page-home .curriculum-section,
  body.page-home .games-section,
  body.page-home .testimonials-section,
  body.page-home .final-cta {
    padding-left: var(--site-gutter-mobile);
    padding-right: var(--site-gutter-mobile);
  }

  body.page-home .teacher-select-section .ts-inner,
  body.page-home .footer-full {
    padding-left: var(--site-gutter-mobile);
    padding-right: var(--site-gutter-mobile);
  }

  body.page-home .hero::before,
  body.page-home .features-section::before,
  body.page-home .teacher-select-section::before,
  body.page-home .trajectory-section::before,
  body.page-home .steps-section::before,
  body.page-home .curriculum-section::before,
  body.page-home .games-section::before,
  body.page-home .testimonials-section::before,
  body.page-home .final-cta::before {
    left: 12px;
  }

  body.page-home .hero-punch-strip {
    left: 4px;
    width: 10px;
  }

  body.page-home .hero-punch {
    width: 10px;
    height: 10px;
  }

  body.page-home .trust-marquee-track {
    animation-duration: 28s;
  }

  body.page-home .gold-ticker-track {
    animation-duration: 22s;
  }

  body.page-home .trust-marquee .trust-item {
    white-space: nowrap;
    text-align: left;
  }

  /* Full-bleed ticker — re-assert after .trust-bar padding above (same specificity, wins by order) */
  body.page-home .trust-bar.trust-marquee {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .hero-value-strip {
    gap: 8px;
    margin-bottom: 16px;
  }
  .hero-value-pill {
    font-size: 10px;
    padding: 5px 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .trust-marquee-track {
    animation: none !important;
    transform: none !important;
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    row-gap: 8px;
  }
  body.page-home .trust-marquee-group {
    flex-wrap: wrap;
    padding-right: 0;
  }
  body.page-home .gold-ticker-track {
    animation: none !important;
    transform: none !important;
  }
}

/* =========================================================================
   HOMEPAGE — final mobile cleanup overrides
   ========================================================================= */
.hero-descriptor {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1A1A1A;
  margin-bottom: 12px;
}

.whatsapp-float {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  border-radius: 50%;
  display: flex;
}
.wa-float-icon {
  width: 28px;
  height: 28px;
}
.wa-float-label {
  display: none;
}

@media (max-width: 860px) {
  body.page-home .hero {
    padding-top: 32px;
    padding-bottom: 44px;
  }
  body.page-home .hero-inner {
    gap: 24px;
  }
  body.page-home .hero-descriptor {
    font-size: 10px;
    letter-spacing: 1.4px;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  body.page-home .hero-h1 {
    margin-bottom: 12px;
  }
  body.page-home .hero-sub,
  body.page-home #hero-sub {
    display: block;
    overflow: visible;
    max-width: 100%;
    margin-bottom: 12px;
  }
  body.page-home .hero-price-anchor {
    margin-top: 8px !important;
    margin-bottom: 10px;
    font-size: 12px !important;
    line-height: 1.5;
  }
  body.page-home .hero-value-strip {
    gap: 8px;
    margin-bottom: 14px;
  }
  body.page-home .hero-value-pill {
    font-size: 10px;
    padding: 5px 9px;
  }
  body.page-home .hero-student-image {
    max-height: 190px;
    margin-bottom: 12px;
    object-position: center top;
  }
  body.page-home .form-card {
    border-radius: 12px;
    padding: 22px 18px 18px;
  }
  body.page-home .form-trust-quote {
    margin-bottom: 10px !important;
    padding: 9px 12px !important;
  }
  body.page-home .demo-form-step-actions {
    gap: 8px 12px;
  }
  body.page-home .sticky-demo-btn {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
    padding: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    font-size: 16px;
  }
  body.page-home .whatsapp-float {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    right: 16px;
  }
}

@media (max-width: 520px) {
  body.page-home .nav {
    padding-left: 16px;
    padding-right: 14px;
  }
  body.page-home .nav-cta {
    display: none;
  }
  body.page-home .hero,
  body.page-home .features-section,
  body.page-home .teacher-select-section,
  body.page-home .trajectory-section,
  body.page-home .steps-section,
  body.page-home .curriculum-section,
  body.page-home .games-section,
  body.page-home .testimonials-section,
  body.page-home .final-cta,
  body.page-home .archetype-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  body.page-home .archetype-grid,
  body.page-home .features-grid,
  body.page-home .features-section .features-grid.bento-features-grid,
  body.page-home .day90-grid,
  body.page-home .games-grid {
    grid-template-columns: 1fr;
  }
  body.page-home .features-section .features-grid.bento-features-grid .bento-card--wide {
    grid-column: span 1;
  }
  body.page-home .archetype-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  body.page-home .archetype-section .section-title {
    margin-bottom: 28px;
  }
  body.page-home .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
  }
  body.page-home .cta-buttons .cta-btn-primary,
  body.page-home .cta-buttons .cta-whatsapp-btn {
    width: 100%;
    max-width: none;
  }
  body.page-home .hero::before,
  body.page-home .features-section::before,
  body.page-home .teacher-select-section::before,
  body.page-home .trajectory-section::before,
  body.page-home .steps-section::before,
  body.page-home .curriculum-section::before,
  body.page-home .games-section::before,
  body.page-home .testimonials-section::before,
  body.page-home .final-cta::before {
    left: 10px;
  }
}

/* =========================================================================
   CAMPAIGN LANDING — landing.html only (lightweight: no page-home marquee/IO)
   ========================================================================= */
body.page-landing {
  background: var(--cream);
}
body.page-landing .landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px 0 88px;
  background: #FAF7F2;
  border-bottom: 2px solid #e5d9b6;
}
body.page-landing .landing-nav::before {
  content: "";
  position: absolute;
  left: 68px;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: rgba(185, 28, 28, 0.2);
  pointer-events: none;
}
body.page-landing .landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
body.page-landing .landing-nav-actions .nav-link {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: rgba(27, 67, 50, 0.72);
}
body.page-landing .landing-nav-actions .nav-link:hover {
  color: var(--green-primary);
}
body.page-landing .landing-nav-cta {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background: var(--green-primary);
  color: var(--cream);
  white-space: nowrap;
}
body.page-landing .landing-nav-cta:hover {
  background: var(--green-mid);
}

body.page-landing .landing-hero {
  position: relative;
  padding: 40px 24px 48px 88px;
  background: #FAF7F2;
  background-image: repeating-linear-gradient(transparent, transparent 27px, #e5d9b6 28px);
  overflow: hidden;
}
body.page-landing .landing-hero::before {
  content: "";
  position: absolute;
  left: 68px;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: rgba(185, 28, 28, 0.25);
  pointer-events: none;
}
body.page-landing .landing-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px 40px;
  align-items: start;
  position: relative;
  z-index: 1;
}
body.page-landing .landing-hero .hero-h1 {
  color: var(--ink);
  margin-bottom: 14px;
  max-width: 560px;
}
body.page-landing .landing-hero .hero-sub {
  font-family: "DM Sans", sans-serif;
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 520px;
}
body.page-landing .landing-hero .hero-cta-row {
  margin-bottom: 16px;
}
body.page-landing .landing-hero .hero-cta-secondary {
  color: #666;
}
body.page-landing .landing-hero .hero-value-strip {
  margin-bottom: 0;
}
body.page-landing .landing-hero .form-card {
  margin: 0;
  box-shadow: var(--shadow-md);
}

body.page-landing .landing-trust-static {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px 28px 88px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: flex-start;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 254, 245, 0.88);
  background: var(--green-primary);
  border-top: 2px solid #e5d9b6;
}
body.page-landing .landing-trust-static span {
  color: rgba(255, 254, 245, 0.55);
}
body.page-landing .landing-trust-static strong {
  color: #FAF7F2;
  font-weight: 600;
}

@media (max-width: 900px) {
  body.page-landing .landing-nav {
    padding-left: 20px;
    padding-right: 16px;
  }
  body.page-landing .landing-nav::before {
    left: 14px;
  }
  body.page-landing .landing-hero {
    padding-left: 20px;
    padding-right: 16px;
    padding-top: 20px;
  }
  body.page-landing .landing-hero::before {
    left: 10px;
  }
  body.page-landing .landing-hero-inner {
    grid-template-columns: 1fr;
  }
  body.page-landing .hero-cta-row {
    display: none;
  }
  body.page-landing .hero-value-strip {
    display: none;
  }
  body.page-landing .landing-what-happens {
    display: none;
  }
  body.page-landing .landing-trust-static {
    padding-left: 20px;
    padding-right: 16px;
  }
}
@media (max-width: 520px) {
  body.page-landing .landing-nav-actions {
    gap: 8px;
  }
}

/* ── Landing: form micro-copy ─────────────────────────────────────── */
body.page-landing .form-timing {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--green-mid);
  margin: -6px 0 12px;
  letter-spacing: 0.02em;
}
body.page-landing .form-no-spam {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
  letter-spacing: 0.01em;
}
body.page-landing .form-optional-hint {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
  letter-spacing: 0.01em;
}
body.page-landing .landing-optional-group {
  opacity: 0.85;
}

/* ── Landing: "What happens in your first session" ───────────────── */
body.page-landing .landing-what-happens {
  margin-top: 24px;
}
body.page-landing .landing-what-happens .section-label {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--green-primary);
  margin-bottom: 10px;
}
body.page-landing .lwh-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.page-landing .lwh-list li {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
body.page-landing .lwh-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green-primary);
  font-size: 0.85rem;
}
body.page-landing .lwh-list li strong {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  color: var(--ink);
}

/* ── Landing: testimonial (sticky-note card) ─────────────────────── */
body.page-landing .landing-proof {
  padding: 32px 72px 20px 88px;
  background: #FAF7F2;
  background-image: repeating-linear-gradient(transparent, transparent 27px, #e5d9b6 28px);
  position: relative;
}
body.page-landing .landing-proof::before {
  content: "";
  position: absolute;
  left: 68px;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: rgba(185, 28, 28, 0.2);
  pointer-events: none;
}
body.page-landing .landing-quote {
  display: block;
  background: #fff9c4;
  border: 1.5px solid #e5d9b6;
  border-radius: 6px;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px 24px;
  max-width: 640px;
  transform: rotate(-0.8deg);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
  quotes: none;
  margin: 0;
}
body.page-landing .landing-quote cite {
  display: block;
  margin-top: 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  font-style: normal;
  letter-spacing: 0.01em;
}

/* ── Landing: minimal footer ─────────────────────────────────────── */
body.page-landing .landing-footer-min {
  background: #111;
  padding: 20px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.3);
}
body.page-landing .landing-footer-min a {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}
body.page-landing .landing-footer-min a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ── Responsive overrides for new landing elements ───────────────── */
@media (max-width: 900px) {
  body.page-landing .landing-proof {
    padding-left: 20px;
    padding-right: 16px;
  }
  body.page-landing .landing-proof::before {
    left: 10px;
  }
  body.page-landing .landing-footer-min {
    padding: 16px 20px;
    justify-content: center;
    text-align: center;
    gap: 6px 12px;
  }
}

/* =========================================================================
   TYPOGRAPHY — mobile scale (max-width: 768px)
   ========================================================================= */
@media (max-width: 768px) {
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 17px;
  }
  h4 {
    font-size: 15px;
  }
  body,
  p,
  li,
  dd,
  dt,
  blockquote,
  .section-sub,
  .hero-sub,
  .game-desc,
  .t-text,
  .info-lead,
  .pricing-note,
  .cta-proof,
  .trust-item,
  .form-label,
  .form-hint,
  .curr-desc,
  .step-desc,
  .ts-sub,
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 15px;
  }
  .feature-title {
    font-size: 15px;
  }
}
