/* BananaLearn homepage.css — auto-built from styles.css; do not edit by hand */
/* Regenerate: node scripts/build-homepage-css.mjs */
/* Classes on index.html: 182 | 2026-05-17 */

/* =========================================================================
   BananaLearn — Full Redesign Stylesheet v5
   Typography: Lora (h1–h4) + DM Sans (body, paragraphs, labels, captions);
   See base + 768px blocks for scale.
   Palette: forest greens + cream/tan/gold (no purple / blue-violet / navy)
   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 */
  --green-primary: #1B4332;
  --green-mid: #2D6A4F;
  --cream: #FFFEF5;
  --tan: #E5D9B6;
  --gold: #C9A84C;
  --sticky-yellow: #FFF9C4;
  --ink: #1A1A1A;
  --muted: #555555;

  /* 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(--green-mid);
  --color-primary-dark: var(--green-primary);
  --color-primary-light: #E8F0EC;
  --color-accent: var(--gold);
  --color-accent-light: var(--sticky-yellow);
  --color-success: var(--green-mid);
  --color-text-primary: var(--ink);
  --color-text-secondary: var(--muted);
  --color-text-muted: #6B6B6B;
  --color-bg-primary: #FFFFFF;
  --color-bg-secondary: var(--cream);
  --color-bg-dark: var(--green-primary);
  --color-border: #E5D9B6;
  
  /* 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 — flat offset cards (no blue-tinted drops) */
  --shadow-sm: 2px 3px 0 #E5D9B6;
  --shadow-md: 3px 4px 0 #E5D9B6;
  --shadow-lg: 3px 4px 0 #E5D9B6;
  --shadow-xl: 3px 5px 0 #E5D9B6;
  
  /* 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(--green-mid);
  --primary-dark: var(--green-primary);
  --primary-light: #E8F0EC;
  --emerald: var(--green-mid);
  --emerald-light: #E8F5F0;
  --orange: #B85C2E;
  --orange-light: #FFF4E8;
  --dark: var(--green-primary);
  --dark-card: #234A3E;
  /* --ink / --muted set above; semantic --color-text-* reference them */
  --border: var(--color-border);
  --bg: var(--cream);
  --white: var(--color-bg-primary);
  --shadow-hero: 0 32px 72px rgba(0,0,0,0.32);
  --radius: 20px;
}

html { scroll-behavior: smooth; }

/* ── Typographic hierarchy (base — cascade from elements) ───────────────── */
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  --path-accent: var(--primary);
  --path-accent-dark: var(--primary-dark);
  --path-accent-soft: var(--primary-light);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Lora', serif;
}

h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
}

h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 16px;
  font-weight: 600;
  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: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.section-label,
.eyebrow,
[class*="section-eyebrow"],
.cta-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

label {
  font-family: 'DM Sans', sans-serif;
}

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: #1b4332;
  margin-bottom: 8px;
}

.section-label::before {
  content: "→";
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}

.section-title {
  font-family: 'Lora', serif;
  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: #fffef5;
  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-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: 'DM Sans', sans-serif;
  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: #1b4332;
}

.nav-cta {
  position: relative;
  z-index: 2;
  background: #c9a84c;
  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;
}

.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;
}

/* 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: #C9A84C; }

/* H1 */
.hero-h1 {
  font-family: 'Lora', serif;
  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-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);
}

/* Hero mini stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-stat { display: flex; flex-direction: column; gap: 1px; }

/* =========================================================================
   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-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: #1b4332;
  color: #fffef5;
  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: #2d6a4f;
  color: #fffef5;
}

.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);
}

.stat-num em { font-style: normal; color: inherit; }

.trust-item strong {
  color: #fffef5;
  font-weight: 500;
}

.psc-big-icon img.emoji { width: 2.6rem !important; height: 2.6rem !important; }

.pf-icon img.emoji {
  width: 1rem !important;
  height: 1rem !important;
}

/* =========================================================================
   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: #1b4332;
  color: #fffef5;
  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-title {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.feature-desc {
  font-family: 'DM Sans', sans-serif;
  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, #c9a84c);
  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: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bento-accent, #c9a84c);
  margin-bottom: 10px;
}

.features-section .features-grid.bento-features-grid .bento-card--wide {
  grid-column: span 2;
}

/* =========================================================================
   TEACHER SELECTION PROCESS — redesigned
   ========================================================================= */
.teacher-select-section {
  background: #1B4332;
  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: #1b4332;
}

.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, #2D6A4F, #6BA88A, #2D6A4F);
  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: #FFFEF5;
  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;
}

/* =========================================================================
   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: #c9a84c;
}

.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, #2D6A4F, #3D8060, #C9A84C, #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: #1b4332 !important;
  text-align: center;
}

#parent-question .section-label {
  color: #c9a84c;
}

#parent-question .section-title {
  color: #fffef5;
  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: #fffef5;
  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: #fffef5;
  border: 1.5px solid #e5d9b6;
  border-radius: 12px;
  padding: 24px 20px;
  border-top: 3px solid #1b4332;
}

.archetype-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.archetype-title {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 15px;
  color: #1b4332;
  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-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);
}

.cc-icon img.emoji { width: 1.6rem !important; height: 1.6rem !important; }

.ti img.emoji {
  width: 1.55rem !important;
  height: 1.55rem !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   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: #fffef5;
  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: #fffef5;
  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: #1b4332;
  color: #fffef5;
  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: #2d6a4f;
  color: #fffef5;
}

.gpc-grade-label {
  display: inline-block;
  background: var(--primary);
  color: #fffef5;
  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;
}

@media (max-width: 1024px) {
.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;
}

.games-type-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(45,106,79,.25);
}

/* =========================================================================
   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: #C9A84C;
  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 strong { color: #C9A84C; }

.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: #c9a84c;
  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 #1b4332;
  background: transparent;
  color: #1b4332;
  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: #1b4332;
  background: rgba(27, 67, 50, 0.08);
  transform: translateY(-1px);
  color: #1b4332;
}

/* 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: #fffef5;
  border: 2px solid #fffef5;
  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: #fffef5;
  border-color: #fffef5;
  transform: translateY(-2px);
}

.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;
  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-wordmark-svg {
  display: block;
  width: 150px;
  height: auto;
  max-width: 100%;
}

.footer-logo-img {
  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 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-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;
}

/* =========================================================================
  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: #1B4332;
  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: #1B4332;
  border: 1px solid rgba(5,150,105,.22);
}

.day90-card-4 .day90-month-badge {
  background: rgba(27, 67, 50, 0.1);
  color: #1b4332;
  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: #1B4332; }

.day90-card-2 .day90-card-title { color: #4A3F2A; }

.day90-card-3 .day90-card-title { color: #064E3B; }

.day90-card-4 .day90-card-title { color: #1b4332; }

/* 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: #1B4332; }

.day90-card-2 .day90-bullets li { color: #6B5A2E; }

.day90-card-3 .day90-bullets li { color: #1B4332; }

.day90-card-4 .day90-bullets li { color: #1b4332; }

.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: #2D6A4F; }

.day90-card-2 .day90-bullets li::before { color: #C9A84C; }

.day90-card-3 .day90-bullets li::before { color: #2D6A4F; }

.day90-card-4 .day90-bullets li::before { color: #c9a84c; }

.day90-card-1 .day90-bar-label { color: #2D6A4F; }

.day90-card-2 .day90-bar-label { color: #6B5A2E; }

.day90-card-3 .day90-bar-label { color: #1B4332; }

.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-card-1 .day90-fill { background: linear-gradient(90deg, #2D6A4F, #6BA88A); }

.day90-card-2 .day90-fill { background: linear-gradient(90deg, #C9A84C, #E5D9B6); }

.day90-card-3 .day90-fill { background: linear-gradient(90deg, #2D6A4F, #5D9A78); }

/* =========================================================================
   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: #2d6a4f;
  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);
}

@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; }
}

/* =========================================================================
   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: #fffef5;
  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: #1b4332;
}

.hero {
  background:
    radial-gradient(circle at 34% 30%, rgba(45,106,79,.15) 0%, rgba(45,106,79,0) 46%),
    linear-gradient(135deg, #1B4332 0%, #1B4332 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: 'Lora', serif;
  letter-spacing: -0.03em;
}

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

.hero-h1 em {
  background: linear-gradient(130deg, #6BA88A, #C9A84C);
  -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;
}

.form-card {
  background: #FFFEF5;
  /* 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: #FFFEF5;
  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: #1b4332;
  color: #fffef5;
  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: #2d6a4f;
  color: #fffef5;
}

.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: #fffef5;
  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: #1b4332;
  background-image: none;
  padding: 14px 40px;
  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;
}

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 48px 48px;
  background: #fffef5;
  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: #2d6a4f;
  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;
}

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: 'DM Sans', sans-serif;
  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 48px;
}

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 48px 80px;
}

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 48px 44px;
}

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

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

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

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

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

body.page-home .final-cta {
  padding: 84px 48px;
  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: #c9a84c;
}

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;
}

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

body.page-home .hero-h1.hero-h1--reveal {
  clip-path: none;
  animation: none;
  opacity: 1;
}

/* 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;
}

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;
}

@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, #1b4332, #2d6a4f);
  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: #1b4332;
  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: #fffef5;
  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: #1b4332;
  color: #1a1a1a;
}

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

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: #2d6a4f;
  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: #c9a84c;
  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;
}

/* 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;
}

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: block;
    width: 100%;
    min-width: 0;
  }

  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: #1b4332;
  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;
  }
}

@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: #2d6a4f;
  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: 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;
  }
}

@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;
  }
}

/* Mobile full-width — last in file (overrides notebook-spine rules above) */
@media (max-width: 860px) {
  body.page-home .hero {
    padding: 32px 0 24px !important;
  }

  body.page-home .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box;
  }

  body.page-home .hero-content {
    display: block !important;
    width: 100% !important;
  }

  body.page-home .hero-lead,
  body.page-home .hero-lead-headline {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.page-home .hero-lead-headline {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.page-home .hero-h1,
  body.page-home .hero-sub,
  body.page-home #hero-sub {
    max-width: 100% !important;
  }

  body.page-home .hero-sub,
  body.page-home #hero-sub {
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
    line-clamp: unset !important;
  }

  body.page-home .footer-full {
    padding: 32px 24px !important;
  }

  body.page-home .footer-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.page-home .footer-tagline {
    max-width: 100% !important;
  }

  body.page-home .trust-bar,
  body.page-home .features-section,
  body.page-home .archetype-section,
  body.page-home .teacher-select-section,
  body.page-home .teacher-select-section .ts-inner,
  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 {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  body.page-home .hero {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

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

  body.page-home .hero-lead-headline .hero-h1 {
    order: 0;
  }
}
