/* =========================================================================
   EdTution — Full Redesign Stylesheet v5
   Typography: Lora (headings) + Kalam (body/nav/labels) + DM Sans (UI/stats/CTAs)
   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: 'Lora', serif;
  --font-body: 'Kalam', cursive;
  --font-ui: 'DM Sans', 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;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  --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;
  line-height: 1.5;
}
/* Body copy — Kalam site-wide (headings stay Lora above) */
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(--font-body);
}
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
}
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
}
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;
}

.testimonial-avatar {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center top !important;
}
button { font-family: var(--font-ui); font-weight: 600; }
section { scroll-margin-top: 76px; }

/* ── Section typography helpers (eyebrow + h2) ─────────────────────────── */
.section-label {
  font-family: "Kalam", cursive, var(--font-body);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #1b4332;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: normal;
}
.section-label::before {
  content: "→";
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}
.section-title {
  font-family: "Lora", serif, var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin-bottom: 28px;
  max-width: 560px;
}
h1.section-title {
  font-size: clamp(1.85rem, 2.2vw + 1rem, 2.5rem);
  line-height: 1.15;
  max-width: 640px;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.65;
  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;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.nav-logo svg {
  display: block;
  height: auto;
  max-width: 150px;
}
.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-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: #2d6a4f;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  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 2px 8px rgba(45, 106, 79, 0.28);
}
.nav-cta:hover {
  background: #1B4332;
  transform: translateY(-1px);
}
.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: #FFFEF5;
  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.68rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  font-weight: 800;
}
.jr-progress-text {
  font-size: 0.8rem;
  color: #1B4332;
  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: #1B4332;
  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: #1B4332;
  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
   ========================================================================= */
.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: #C9A84C; }
.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(--font-heading);
  font-size: clamp(2.1rem, 3vw + 0.8rem, 3.6rem);
  font-weight: 700;
  line-height: 1.07;
  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 {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  max-width: 480px;
  line-height: 1.65;
  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);
}
.path-card.active[data-path="skills"] {
  border-color: var(--emerald);
  background: rgba(5,150,105,.15);
  box-shadow: 0 0 0 1px rgba(5,150,105,.25);
}
.path-card.active[data-path="testprep"] {
  border-color: var(--orange);
  background: rgba(234,88,12,.15);
  box-shadow: 0 0 0 1px rgba(234,88,12,.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.7rem; color: rgba(255,255,255,.45); }
.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: var(--shadow-hero);
  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-path-badge.path-skills   { background: var(--emerald-light); color: var(--emerald); }
.form-path-badge.path-testprep { background: var(--orange-light);  color: var(--orange);  }

.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;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,106,79,.12);
  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;
}

/* 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(--primary);
  box-shadow: 0 0 0 3px rgba(45,106,79,.12);
  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: #2D6A4F;
  color: #fff;
  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: #1B4332;
}

.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: #1b4332;
  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: #fffef5;
  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, #1B4332, #2D6A4F); }
.skills-header   { background: linear-gradient(135deg, #1B4332, #3D8060); }
.testprep-header { background: linear-gradient(135deg, #B8860B, #C9A84C); }

.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: #2D6A4F;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(45,106,79,.25);
}
.psc-cta:hover {
  background: #1B4332;
  transform: translateY(-1px);
}

/* =========================================================================
   WHY EdTution — 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: -11px;
  left: 14px;
  background: #1b4332;
  color: #fffef5;
  font-family: "Kalam", cursive, var(--font-body);
  font-size: 12px;
  font-weight: 400;
  padding: 2px 10px;
  border-radius: 3px;
  line-height: 1.35;
}
.feature-icon {
  display: none;
}
.feature-title {
  font-family: "Lora", serif, var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.35;
}
.feature-desc {
  font-family: "Kalam", cursive, var(--font-body);
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

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

/* =========================================================================
   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,.68);
  margin-bottom: 0;
}

/* Flow row */
.ts-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  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-badge {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 999px !important;
  background: #2D6A4F;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 !important;
  box-sizing: border-box;
  margin-bottom: 12px;
  box-shadow: 0 0 0 4px rgba(45,106,79,.22);
}
.ts-step-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ts-step-name {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFEF5;
  line-height: 1.35;
}
.ts-step-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
}

/* 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%, #FFFEF5 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.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  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.6rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.diff-icon.neg { background: #FEE2E2; color: #DC2626; }
.diff-icon.pos { background: #DCFCE7; color: #2D6A4F; }

/* =========================================================================
   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,.65); }

.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: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,.65);
  line-height: 1.55;
}

/* =========================================================================
   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.7rem;
  color: var(--muted);
  margin-top: 1px;
}
.cc-diff {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cc-diff.easy   { background: #DCFCE7; color: #1B4332; }
.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.69rem;
  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.62rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  display: block;
  word-break: break-word;
}

/* ── 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.67rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.assess-badge { background: #EEF5F1; color: #1B4332; }
.learn-badge  { background: #ECFDF5; color: #1B4332; }
.puzzle-badge { background: #FFF7ED; color: #9A3412; }
.game-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.game-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}
.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.game-tags span {
  font-size: 0.67rem;
  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: #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 {
  width: 38px; height: 38px;
  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);
  flex-shrink: 0;
}
.t-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
  display: block;
  flex-shrink: 0;
}
.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;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.08;
}
.pricing-note {
  font-size: 0.9rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  line-height: 1.55;
}
.pricing-note strong { color: #C9A84C; }
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.final-cta .cta-btn-primary {
  padding: 11px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: #fff;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-ui);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base), filter var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.final-cta .cta-btn-primary:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
  filter: brightness(1.02);
}
.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: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
}
.cta-btn-secondary:hover,
.cta-whatsapp-btn:hover {
  border-color: #fff;
  background: #fff;
  transform: translateY(-1px);
  color: var(--color-primary);
}

.cta-trust-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.cta-trust-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  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: 0 10px;
}
.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;
  margin-bottom: 14px;
  text-decoration: none;
  color: inherit;
}
.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.84rem;
  color: rgba(255, 255, 255, 0.45);
  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.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.footer-col a {
  font-family: "DM Sans", sans-serif, var(--font-ui);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  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: 12px;
  color: rgba(255, 255, 255, 0.3);
  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: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.2);
}

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

/* 3-column grid */
.day90-grid {
  display: grid;
  grid-template-columns: repeat(3, 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);
}

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

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

/* Bullet list */
.day90-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  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-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; }

/* 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: #2D6A4F; }
.day90-card-2 .day90-bar-label { color: #6B5A2E; }
.day90-card-3 .day90-bar-label { color: #1B4332; }
.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, #2D6A4F, #6BA88A); }
.day90-card-2 .day90-fill { background: linear-gradient(90deg, #C9A84C, #E5D9B6); }
.day90-card-3 .day90-fill { background: linear-gradient(90deg, #2D6A4F, #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.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  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, #FFFEF5);
  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.66rem;
  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, #FFFEF5);
  color: var(--ink);
}

/* =========================================================================
   WHATSAPP FLOAT
   ========================================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2D6A4F;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37,211,102,.5);
  z-index: 200;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,.6);
}
.wa-float-icon {
  width: 34px;
  height: 34px;
  display: block;
  flex-shrink: 0;
}
.sticky-demo-btn {
  display: none;
}

/* =========================================================================
   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; }
  .ts-layout { grid-template-columns: 55% 45%; }
  .ts-flow { grid-template-columns: repeat(3, 1fr); gap: 20px 0; }
  .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: #fffef5;
    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-h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
  .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; }
  .ts-layout { grid-template-columns: 1fr; }
  .ts-media-col { order: -1; }
  .ts-flow { grid-template-columns: repeat(2, 1fr); }
  .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) {
  .hero-h1 { font-size: 1.85rem; }
  .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; }
  .ts-layout { grid-template-columns: 1fr; }
  .ts-media-col { order: -1; }
  .ts-flow { grid-template-columns: 1fr; }
  .ts-step { flex-direction: row; text-align: left; gap: 16px; align-items: flex-start; }
  .ts-step-icon { flex-shrink: 0; }
  .ts-step-badge {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    font-size: 0.8rem;
    margin-bottom: 0;
    margin-top: 14px;
    box-shadow: 0 0 0 3px rgba(45,106,79,.2);
  }
  .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 { 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; }
  body {
    padding-bottom: 84px;
  }
  .sticky-demo-btn {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 320px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: #2D6A4F;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 10px rgba(45,106,79,.3);
    z-index: 210;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .whatsapp-float {
    bottom: 64px;
    width: 46px;
    height: 46px;
  }
  .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;
  line-height: 1.3;
  font-weight: 700;
  font-size: 26px;
}
h1.section-title {
  font-size: clamp(1.85rem, 2.2vw + 1rem, 2.5rem);
  line-height: 1.15;
  font-weight: 700;
}

.section-sub {
  font-size: 1rem;
  line-height: 1.68;
  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: var(--font-heading);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.04;
  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;
}

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

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

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

.form-card {
  background: #FFFEF5;
  box-shadow: 2px 3px 0 #E5D9B6;
}

.hero .form-card {
  background: #FFFEF5;
  box-shadow: 2px 3px 0 #E5D9B6;
  border-radius: var(--radius-2xl);
  border: 1.5px solid #E5D9B6;
  border-top: 3px solid var(--color-primary);
}

.form-submit,
.nav-cta,
.psc-cta,
.cta-btn-primary {
  background: #2D6A4F;
  border: 1.5px solid #1B4332;
  box-shadow: 2px 3px 0 #E5D9B6;
}

.form-submit:hover,
.nav-cta:hover,
.psc-cta:hover,
.cta-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 3px 4px 0 #E5D9B6;
}

.cta-btn-secondary,
.cta-whatsapp-btn {
  border-radius: 12px;
  border-width: 1.5px;
  backdrop-filter: blur(4px);
}

/* Keep WhatsApp CTA as solid brand-green in final CTA. */
.cta-whatsapp-btn {
  background: #2D6A4F;
  border-color: #2D6A4F;
  color: #fff;
}
.cta-whatsapp-btn:hover {
  background: #1B4332;
  border-color: #1B4332;
  color: #fff;
}

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

@media (max-width: 860px) {
  .section-sub { font-size: .95rem; }
  .hero-h1 { font-size: clamp(2.2rem, 7.2vw, 3rem); }
  .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,
body.page-home .final-cta {
  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 .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 .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 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 .final-cta::after {
  display: none;
}

body.page-home .hero {
  padding: 76px 72px 84px 88px;
  background: #fffef5;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 27px,
    #e5d9b6 28px
  );
  overflow: hidden;
}

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

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-h1 {
  color: var(--ink);
}

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

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

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

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

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

body.page-home .steps-section {
  padding: 80px 72px 80px 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: #fffef5;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 27px,
    #e5d9b6 28px
  );
  overflow: visible;
}

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

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

body.page-home .final-cta .pricing-note {
  color: var(--muted);
}

body.page-home .final-cta .pricing-note strong {
  color: var(--color-primary);
}

body.page-home .final-cta .cta-proof {
  color: var(--ink);
  background: rgba(27, 67, 50, 0.06);
  border-color: rgba(27, 67, 50, 0.14);
  text-shadow: none;
}

body.page-home .final-cta .cta-btn-secondary {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.85);
}

body.page-home .final-cta .cta-btn-secondary:hover {
  background: #fff;
  color: var(--color-primary-dark);
}

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: 64px 40px 72px 88px;
  }
  body.page-home .trust-bar {
    padding: 14px 40px 14px 88px;
  }
  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: 88px;
    padding-right: 40px;
  }
  body.page-home .teacher-select-section .ts-inner {
    padding-left: 88px;
    padding-right: 40px;
  }
  body.page-home .footer-full {
    padding-left: 88px;
    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: 48px 20px 56px 88px;
  }
  body.page-home .trust-bar {
    padding: 14px 20px 14px 88px;
  }
  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: 88px;
    padding-right: 20px;
  }
  body.page-home .teacher-select-section .ts-inner {
    padding-left: 88px;
    padding-right: 20px;
  }
  body.page-home .footer-full {
    padding: 32px 20px 32px 88px;
  }
  body.page-home .footer-grid {
    padding: 0;
  }
  body.page-home .footer-bottom {
    padding-left: 0;
    padding-right: 0;
  }
}
