/* ============================================================
   PROGRESS REPORT — Landing V2 Styles
   Premium Homepage Redesign | July 2026
   Brand: Soft Sand #F8F5EF · Charcoal #1A1A1A · Sunrise Amber #FBBF24
   ============================================================ */

/* ---- V2 Root Tokens ---- */
:root {
  /* ================================================================
     PROGRESS REPORT LANDING PAGE — FINAL CONFIRMED COLOR SYSTEM
     Background: cool blue-grey canvas — clearly visible, not white
     Cards:      pure #FFFFFF — maximum contrast, float above bg
     ================================================================
     --lv2-page-bg   #E8EDF4  page canvas — unmistakably blue-grey
     --lv2-card      #FFFFFF  cards — pure white, floats above bg
     --lv2-panel     #DDE3EE  inset panels / recessed rows inside cards
     --lv2-section-alt #EEF2F8  alternating section backgrounds
  ================================================================ */
  --lv2-page-bg:      #E8EDF4;    /* CONFIRMED: cool blue-grey canvas */
  --lv2-card:         #FFFFFF;    /* CONFIRMED: pure white cards float above bg */
  --lv2-surface:      #E8EDF4;    /* same as page bg */
  --lv2-surface-up:   #FFFFFF;    /* card surface = pure white */
  --lv2-surface-dn:   #DDE3EE;    /* recessed panels inside cards */
  --lv2-section-alt:  #EEF2F8;    /* slightly lighter bg for alternating sections */
  --lv2-sand:         #E8EDF4;    /* alias: page bg */
  --lv2-sand-dark:    #DDE3EE;    /* alias: panel */

  --lv2-charcoal:     #1A1A1A;
  --lv2-charcoal-90:  rgba(26,26,26,0.90);
  --lv2-amber:        #FBBF24;
  --lv2-amber-deep:   #F59E0B;
  --lv2-amber-darker: #D97706;
  --lv2-amber-glow:   0 8px 32px rgba(251,191,36,0.32), 0 2px 8px rgba(251,191,36,0.16);
  --lv2-white:        #FFFFFF;
  --lv2-ink:          #0A1628;    /* exact 8p3p ink color */
  --lv2-ink-muted:    rgba(10,22,40,0.55);
  --lv2-ink-light:    rgba(10,22,40,0.35);
  --lv2-purple:       #7C3AED;
  --lv2-purple-tint:  rgba(124,58,237,0.10);
  --lv2-green:        #059669;
  --lv2-green-tint:   rgba(5,150,105,0.10);
  --lv2-blue:         #1D4ED8;
  --lv2-blue-tint:    rgba(29,78,216,0.10);
  --lv2-red:          #DC2626;
  --lv2-red-tint:     rgba(220,38,38,0.10);

  /* ---- 3D floating card shadow system ----
     White cards on #E8EDF4 background need stronger shadows to read clearly.
     Ink-tinted rgba(10,22,40,x) shadows give cool blue-grey depth. */
  --lv2-shadow-sm:    0 1px 3px  rgba(10,22,40,0.06),
                      0 3px 10px rgba(10,22,40,0.08);
  --lv2-shadow-md:    0 1px 4px  rgba(10,22,40,0.06),
                      0 6px 16px rgba(10,22,40,0.09),
                      0 16px 36px rgba(10,22,40,0.08);
  --lv2-shadow-lg:    0 2px 6px  rgba(10,22,40,0.06),
                      0 8px 24px rgba(10,22,40,0.10),
                      0 24px 56px rgba(10,22,40,0.10);
  --lv2-shadow-xl:    0 2px 8px  rgba(10,22,40,0.06),
                      0 10px 28px rgba(10,22,40,0.09),
                      0 32px 72px rgba(10,22,40,0.11),
                      0 52px 88px rgba(10,22,40,0.07);
  /* Hover: card lifts higher — stronger shadow + vertical shift */
  --lv2-shadow-hover: 0 6px 12px rgba(10,22,40,0.07),
                      0 16px 36px rgba(10,22,40,0.11),
                      0 36px 72px rgba(10,22,40,0.12);

  --lv2-radius-sm:    8px;
  --lv2-radius-md:    12px;
  --lv2-radius-lg:    18px;
  --lv2-radius-xl:    24px;
  --lv2-radius-full:  9999px;
  --lv2-font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --lv2-font-body:    'Inter', system-ui, sans-serif;
}

/* ============================================================
   BASE RESET (scoped to .landing-v2)
   ============================================================ */
.landing-v2 {
  font-family: var(--lv2-font-body);
  background: var(--lv2-page-bg); /* #E8EDF4 — cool blue-grey canvas */
  color: var(--lv2-ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   NAVIGATION — exact 8p3p floating pill, hamburger-only
   Source: 8p3p JC() function — logo + hamburger, no desktop links
   ============================================================ */
.lv2-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: transparent;
  display: flex;
  justify-content: center;
  padding: 16px 16px 0;          /* 16px gap from viewport top */
  pointer-events: none;
}

/* Pill container — exact 8p3p values */
.lv2-nav-pill {
  pointer-events: auto;
  width: 100%;
  max-width: 1280px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo left, hamburger right */
  background: rgba(243,244,248,0.82);
  backdrop-filter: blur(18px) saturate(1.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  border-radius: 26px;
  border: 1px solid rgba(10,22,40,0.07);
  box-shadow: 0 0 0 0.5px rgba(10,22,40,0.04),
              0 2px 8px rgba(10,22,40,0.06),
              0 8px 28px rgba(10,22,40,0.09),
              inset 0 1px 0 rgba(255,255,255,0.80);
  height: 52px;
  padding: 0 8px 0 20px;         /* right padding tight for hamburger */
  transition: height 0.25s, box-shadow 0.25s;
}

/* Logo: "My ProgressReport" bold + "by 8P3P" small */
.lv2-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--lv2-font-display);
  font-weight: 800;
  font-size: 1.0625rem;           /* ~17px — matches 8p3p text-[1.35rem] scaled */
  color: #0A1628;                 /* exact 8p3p foreground */
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

/* "by 8P3P" — exact 8p3p: fontSize 0.75rem, fontWeight 500, color rgba(10,22,40,0.42) */
.lv2-logo-byline {
  font-family: var(--lv2-font-body);
  font-size: 0.6875rem;           /* 11px — noticeably smaller */
  font-weight: 500;
  color: rgba(10,22,40,0.42);    /* exact 8p3p value */
  letter-spacing: 0.01em;
  line-height: 1;
  font-style: normal;
}

/* Hide desktop nav links — 8p3p has NO desktop links in pill */
.lv2-nav-links { display: none !important; }
.lv2-nav-cta   { display: none !important; }

/* Buttons */
.lv2-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  font-family: var(--lv2-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--lv2-ink);
  background: transparent;
  border: 1.5px solid rgba(10,22,40,0.18);
  border-radius: var(--lv2-radius-full);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
}

.lv2-btn-ghost:hover {
  border-color: var(--lv2-ink);
  background: rgba(10,22,40,0.04);
}

.lv2-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  font-family: var(--lv2-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--lv2-charcoal);
  background: var(--lv2-amber);
  border: 1.5px solid var(--lv2-amber);
  border-radius: var(--lv2-radius-full);
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, transform 0.15s, box-shadow 0.18s;
  cursor: pointer;
  box-shadow: var(--lv2-amber-glow);
  white-space: nowrap;
}

.lv2-btn-primary:hover {
  background: var(--lv2-amber-deep);
  border-color: var(--lv2-amber-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(251,191,36,0.38), 0 4px 12px rgba(251,191,36,0.20);
}

.lv2-btn-lg {
  height: 52px;
  padding: 0 28px;
  font-size: 1rem;
}

.lv2-btn-ghost-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  font-family: var(--lv2-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: var(--lv2-radius-full);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.lv2-btn-ghost-ink:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.55);
}

/* Hamburger — always visible (8p3p has ONLY hamburger in nav, no desktop links) */
.lv2-hamburger {
  display: flex;                  /* always show — no desktop links at all */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(10,22,40,0.05);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

.lv2-hamburger:hover {
  background: rgba(10,22,40,0.09);
}

.lv2-bar {
  width: 20px;
  height: 2px;
  background: var(--lv2-ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  display: block;
}

.lv2-hamburger.open .lv2-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lv2-hamburger.open .lv2-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.lv2-hamburger.open .lv2-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.lv2-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.45);
  backdrop-filter: blur(4px);
  z-index: 198;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lv2-nav-overlay.open { opacity: 1; pointer-events: all; }

.lv2-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  background: var(--lv2-section-alt);  /* #EEF2F8 */
  border-left: 1px solid rgba(10,22,40,0.07);
  box-shadow: var(--lv2-shadow-xl);
  z-index: 199;
  padding: 80px 24px 32px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lv2-nav-drawer.open { transform: translateX(0); }

.lv2-drawer-logo {
  font-family: var(--lv2-font-display);
  font-weight: 800;
  font-size: 1.125rem;
  color: #0A1628;
  margin-bottom: 24px;
  padding: 0 16px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

/* "by 8P3P" in drawer */
.lv2-drawer-byline {
  font-family: var(--lv2-font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(10,22,40,0.42);
  letter-spacing: 0.01em;
  line-height: 1;
}

.lv2-drawer-link {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(10,22,40,0.65);
  padding: 12px 16px;
  border-radius: var(--lv2-radius-sm);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.lv2-drawer-link:hover {
  color: var(--lv2-ink);
  background: rgba(10,22,40,0.05);
}

.lv2-drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(10,22,40,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

/* Sign In — outlined secondary, exact 120×48 */
.lv2-drawer-btn-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 48px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 24px;
  box-sizing: border-box;
  white-space: nowrap;
  font-family: var(--lv2-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--lv2-ink);
  background: transparent;
  border: 1.5px solid rgba(10,22,40,0.30);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
  flex-shrink: 0;
}
.lv2-drawer-btn-signin:hover {
  background: rgba(10,22,40,0.06);
  border-color: rgba(10,22,40,0.50);
}

/* Start Free — filled amber primary, exact 180×48 */
.lv2-drawer-btn-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 48px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 24px;
  box-sizing: border-box;
  white-space: nowrap;
  font-family: var(--lv2-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--lv2-charcoal);
  background: var(--lv2-amber);
  border: 1.5px solid var(--lv2-amber);
  text-decoration: none;
  box-shadow: var(--lv2-amber-glow);
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
  cursor: pointer;
  flex-shrink: 0;
}
.lv2-drawer-btn-start:hover {
  background: var(--lv2-amber-deep);
  border-color: var(--lv2-amber-deep);
  box-shadow: 0 12px 40px rgba(251,191,36,0.38), 0 4px 12px rgba(251,191,36,0.20);
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.lv2-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.lv2-section {
  padding: 96px 0;
}

.lv2-section-header {
  margin-bottom: 56px;
}

.lv2-section-header.lv2-centered {
  text-align: center;
}

.lv2-section-header.lv2-centered .lv2-section-label {
  margin-left: auto;
  margin-right: auto;
}

.lv2-section-label {
  display: inline-block;
  font-family: var(--lv2-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F59E0B;               /* Golden Horizon — all section labels */
  margin-bottom: 14px;
}

.lv2-section-title {
  font-family: var(--lv2-font-display);
  font-weight: 800;
  font-size: clamp(2.125rem, 4.2vw, 3.375rem); /* slightly larger than before */
  line-height: 1.10;
  color: var(--lv2-ink);
  letter-spacing: -0.028em;
  max-width: 700px;
}

.lv2-section-header.lv2-centered .lv2-section-title {
  margin: 0 auto;
}

.lv2-section-title.lv2-light { color: #FFFFFF; }

/* Fade-in */
.lv2-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.lv2-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HERO — Full-bleed image, exact 8p3p tint, proportionate height

   8p3p source (product-fxyEJNVP.js) exact structure:
   <section class="pt-[64px] pb-[56px] px-[18px]
                   sm:pt-[72px] sm:pb-[64px] sm:px-[20px]
                   md:pt-[80px] md:pb-[72px] md:px-[28px]
                   lg:pt-[88px] lg:pb-[80px] lg:px-[32px]
                   xl:pt-[96px] xl:pb-[88px] xl:px-[40px]"
     (section itself has the padding — NOT an inner wrapper)
   <div grid min-h-[340px] md:min-h-[400px] lg:min-h-[440px]>  ← grid inside
   ============================================================ */

/* SECTION — padding-driven height, matching 8p3p exactly */
.lv2-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Mobile: pt-64px pb-56px */
  padding: 64px 18px 56px;
}

/* Not flex, not min-height — section height = padding + content */
.lv2-hero-fullbleed {
  /* inherits .lv2-hero padding — nothing extra needed */
}

/* Background image layer — fills entire section */
.lv2-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.lv2-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}

/* TWO-LAYER TINT — exact rgba(10,22,40,x) from 8p3p source.
   8p3p uses TWO separate absolute divs at z-index: 1.
   We replicate: .lv2-hero-tint = layer 1 (vertical)
                 .lv2-hero-tint::after = layer 2 (horizontal) */
.lv2-hero-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Layer 1: vertical scrim — darkens bottom where text lives */
  background: linear-gradient(
    to top,
    rgba(10,22,40,0.92) 0%,
    rgba(10,22,40,0.70) 45%,
    rgba(10,22,40,0.28) 75%,
    rgba(10,22,40,0.14) 100%
  );
}

/* Layer 2: horizontal scrim — darkens left side for text contrast */
.lv2-hero-tint::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,22,40,0.52) 0%,
    rgba(10,22,40,0.20) 40%,
    transparent 70%
  );
}

/* Overlay content container — centers and constrains to 1280px max */
.lv2-hero-overlay {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  /* No extra padding here — section .lv2-hero already has it */
}

/* Content grid cell — min-height matches 8p3p min-h-[340px] */
.lv2-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 640px;
  min-height: 340px;  /* 8p3p: min-h-[340px] mobile */
}

/* K–12 eyebrow — 36px, Golden Horizon #F59E0B */
.lv2-hero-eyebrow {
  font-family: var(--lv2-font-display);
  font-size: 2.25rem;              /* 36px — user-specified */
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #FBBF24;                  /* Sunrise Amber — matches hero button */
  margin-bottom: 24px;
  margin-top: 0;
  line-height: 1;
}

.lv2-hero-headline {
  font-family: var(--lv2-font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.10;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.lv2-hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.70;
  color: rgba(255,255,255,0.97);  /* exact 8p3p value */
  margin-bottom: 36px;
  max-width: 580px;
}

.lv2-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.lv2-hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.lv2-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.52);
}

.lv2-trust-sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.22);
  flex-shrink: 0;
}

/* Unused legacy selectors */
.lv2-hero-visual { display: none; }
.lv2-hero-img-wrap { display: none; }
.lv2-hero-img { display: none; }
.lv2-hero-inner { display: none; }

/* Floating card — removed from markup; keeping selector harmless */
.lv2-float-card { display: none; }

.lv2-float-rec {
  background: rgba(251,191,36,0.10);
  border: 1px solid rgba(251,191,36,0.25);
  border-radius: var(--lv2-radius-sm);
  padding: 10px 12px;
}

.lv2-float-rec-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--lv2-amber-darker);
  margin-bottom: 4px;
}

.lv2-float-rec-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--lv2-ink);
  font-weight: 500;
}

/* ============================================================
   SECTION 2 — MARQUEE
   ============================================================ */
.lv2-marquee-section {
  background: transparent;
  border-top: none;
  padding: 20px 0;
  overflow: hidden;
}

.lv2-marquee-track {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.lv2-marquee-inner {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: lv2-scroll 38s linear infinite;
}

.lv2-marquee-inner:hover {
  animation-play-state: paused;
}

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

.lv2-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(10,22,40,0.60);
  white-space: nowrap;
  border-right: 1px solid rgba(10,22,40,0.10);
  transition: color 0.15s;
}

.lv2-marquee-item:hover { color: rgba(10,22,40,0.90); }

.lv2-marquee-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.lv2-marquee-dot.amber  { background: var(--lv2-amber); }
.lv2-marquee-dot.purple { background: var(--lv2-purple); }
.lv2-marquee-dot.green  { background: var(--lv2-green); }
.lv2-marquee-dot.blue   { background: #60A5FA; }

/* ============================================================
   SECTION 3 — BENEFITS
   ============================================================ */
.lv2-benefits {
  background: var(--lv2-page-bg);  /* #E8EDF4 — white cards float above */
}

.lv2-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lv2-benefit-card {
  background: var(--lv2-card);  /* #FFFFFF — pure white floats above blue-grey bg */
  border: 1px solid rgba(10,22,40,0.07);
  border-radius: var(--lv2-radius-xl);
  padding: 40px 36px;
  box-shadow: var(--lv2-shadow-md);
  transition: box-shadow 0.25s, transform 0.25s;
}

.lv2-benefit-card:hover {
  box-shadow: var(--lv2-shadow-hover);
  transform: translateY(-6px);
}

.lv2-benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--lv2-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.lv2-benefit-icon.amber  { background: rgba(251,191,36,0.12); color: var(--lv2-amber-darker); }
.lv2-benefit-icon.purple { background: var(--lv2-purple-tint); color: var(--lv2-purple); }
.lv2-benefit-icon.green  { background: var(--lv2-green-tint); color: var(--lv2-green); }

.lv2-benefit-title {
  font-family: var(--lv2-font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--lv2-ink);
  line-height: 1.2;
  margin-bottom: 12px;
}

.lv2-benefit-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--lv2-ink-muted);
}

/* ============================================================
   SHOWCASE SECTIONS (Dashboard + Decision Panel)
   ============================================================ */
.lv2-showcase {
  overflow: hidden;
}

.lv2-showcase-light { background: var(--lv2-section-alt); } /* #EEF2F8 — slightly lighter */
.lv2-showcase-sand  { background: var(--lv2-page-bg); }      /* #E8EDF4 — blue-grey canvas */

.lv2-showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.lv2-showcase-reverse {
  direction: rtl;
}

.lv2-showcase-reverse > * {
  direction: ltr;
}

.lv2-showcase-copy .lv2-section-title {
  max-width: 480px;
}

/* Screen / window chrome card */
.lv2-screen-card {
  background: var(--lv2-card);  /* #FFFFFF — white card floats */
  border: 1px solid rgba(10,22,40,0.08);
  border-radius: var(--lv2-radius-xl);
  box-shadow: var(--lv2-shadow-xl);
  overflow: hidden;
}

.lv2-screen-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--lv2-surface-dn);  /* #DDE3EE — recessed inside white card */
  border-bottom: 1px solid rgba(10,22,40,0.07);
}

.lv2-screen-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.lv2-screen-dot.red    { background: #FF5F57; }
.lv2-screen-dot.yellow { background: #FFBD2E; }
.lv2-screen-dot.green  { background: #28CA41; }

.lv2-screen-url {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(10,22,40,0.45);
  font-family: var(--lv2-font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lv2-screen-body {
  padding: 20px;
}

/* Dashboard mockup */
.lv2-db-header {
  margin-bottom: 16px;
}

.lv2-db-greeting {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--lv2-ink);
  line-height: 1.4;
}

.lv2-db-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lv2-db-student {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--lv2-surface-dn);  /* #DDE3EE — inset row inside white card */
  border: 1px solid rgba(10,22,40,0.07);
  border-radius: var(--lv2-radius-md);
  padding: 12px 14px;
}

.lv2-db-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--lv2-font-display);
  font-size: 0.875rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.lv2-db-avatar.amber { background: linear-gradient(135deg, #D97706 0%, #FBBF24 100%); }
.lv2-db-avatar.blue  { background: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%); }

.lv2-db-info { flex: 1; min-width: 0; }

.lv2-db-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--lv2-ink);
  line-height: 1.2;
}

.lv2-db-skill {
  font-size: 0.8125rem;
  color: var(--lv2-ink-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lv2-db-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--lv2-radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.lv2-db-badge.red   { background: rgba(220,38,38,0.10); color: #DC2626; }
.lv2-db-badge.amber { background: rgba(217,119,6,0.10);  color: #D97706; }

/* Decision panel mockup */
.lv2-dp-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lv2-dp-section {
  background: var(--lv2-surface-dn);  /* #DDE3EE — recessed inside white card */
  border: 1px solid rgba(10,22,40,0.07);
  border-radius: var(--lv2-radius-md);
  padding: 14px 16px;
}

.lv2-dp-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 6px;
}

.lv2-dp-label.red   { color: #DC2626; }
.lv2-dp-label.amber { color: #D97706; }
.lv2-dp-label.green { color: #059669; }

.lv2-dp-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(10,22,40,0.72);
}

.lv2-dp-actions {
  display: flex;
  gap: 8px;
}

.lv2-dp-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--lv2-radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
}

.lv2-dp-btn:hover { opacity: 0.80; }

.lv2-dp-btn.approve {
  background: rgba(5,150,105,0.12);
  color: #059669;
}

.lv2-dp-btn.modify {
  background: rgba(251,191,36,0.14);
  color: #D97706;
}

.lv2-dp-btn.defer {
  background: rgba(26,26,26,0.06);
  color: var(--lv2-ink-muted);
}

/* ============================================================
   SECTION 6 — SPED  (carousel layout)
   ============================================================ */
.lv2-sped {
  background: var(--lv2-page-bg);
}

.lv2-sped .lv2-section-title { color: var(--lv2-ink); }

/* Centred header above the carousel */
.lv2-sped-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

/* ── Carousel outer wrapper ─────────────────────────── */
.lv2-sped-carousel {
  position: relative;
  overflow: hidden;           /* clips the off-screen slides */
  border-radius: var(--lv2-radius-xl);
}

/* ── Track: all slides side-by-side, slides via translateX ─ */
.lv2-sped-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── Each slide: two-column layout — image left, card right ─ */
.lv2-sped-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  min-width: 100%;            /* ensures exactly 1 slide fills the viewport */
  padding: 8px 4px 8px;       /* breathing room so card shadows aren't clipped */
  box-sizing: border-box;
}

/* LEFT column — floating image card */
.lv2-sped-slide-img {
  width: 100%;
  align-self: stretch;   /* stretch to match right column height */
  display: flex;
  flex-direction: column;
}

/* Outer floating card — white, 5-layer 3-D shadow */
.lv2-sped-card {
  background: #FFFFFF;
  border-radius: var(--lv2-radius-xl);
  padding: 14px;
  flex: 1;               /* fill full height of left column */
  display: flex;
  flex-direction: column;
  box-shadow:
    0 2px 8px   rgba(10,22,40,0.07),
    0 10px 28px rgba(10,22,40,0.10),
    0 32px 72px rgba(10,22,40,0.13),
    0 52px 88px rgba(10,22,40,0.08),
    0 0 0 1px   rgba(10,22,40,0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.lv2-sped-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 12px   rgba(10,22,40,0.09),
    0 16px 40px  rgba(10,22,40,0.13),
    0 48px 96px  rgba(10,22,40,0.16),
    0 72px 108px rgba(10,22,40,0.10),
    0 0 0 1px    rgba(10,22,40,0.05);
}

/* Image container inside the floating card */
.lv2-sped-img-wrap {
  border-radius: calc(var(--lv2-radius-xl) - 4px);
  overflow: hidden;
  flex: 1;               /* fill remaining card height */
}

/* Video embed — fills the card height wall-to-wall, no fixed aspect-ratio */
.lv2-sped-video-wrap {
  position: relative;
  flex: 1;
  min-height: 320px;     /* floor so it never collapses */
}
.lv2-sped-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: calc(var(--lv2-radius-xl) - 4px);
}

.lv2-sped-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* UI screenshot slides — show full panel without cropping */
.lv2-sped-img.lv2-sped-img-screenshot {
  aspect-ratio: unset;
  object-fit: contain;
  background: #F4F6FA;
}

/* RIGHT column — content card */
.lv2-sped-slide-content {
  width: 100%;
}

.lv2-sped-content-card {
  background: #FFFFFF;
  border-radius: var(--lv2-radius-xl);
  padding: 40px 36px;
  box-shadow:
    0 2px 8px   rgba(10,22,40,0.06),
    0 8px 24px  rgba(10,22,40,0.09),
    0 24px 56px rgba(10,22,40,0.11),
    0 0 0 1px   rgba(10,22,40,0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Slide counter badge  e.g. "01 / 04" */
.lv2-sped-slide-num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #FBBF24;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.lv2-sped-slide-title {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  color: var(--lv2-ink);
  line-height: 1.25;
  margin: 0 0 16px;
}

.lv2-sped-slide-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--lv2-muted);
  margin: 0;
  flex: 1;
}

/* ── Controls row: prev · dots · next ───────────────── */
.lv2-sped-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

/* Arrow buttons */
.lv2-sped-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid rgba(10,22,40,0.10);
  color: var(--lv2-ink);
  cursor: pointer;
  box-shadow:
    0 2px 8px  rgba(10,22,40,0.08),
    0 6px 20px rgba(10,22,40,0.10);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.lv2-sped-arrow:hover {
  background: #FBBF24;
  color: #1a1a2e;
  border-color: #FBBF24;
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px  rgba(251,191,36,0.30),
    0 8px 28px  rgba(251,191,36,0.18);
}
.lv2-sped-arrow:active {
  transform: translateY(0);
}

/* Dot indicators */
.lv2-sped-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lv2-sped-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(10,22,40,0.18);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
  flex-shrink: 0;
}
.lv2-sped-dot.active {
  background: #FBBF24;
  width: 28px;
  border-radius: 5px;
  transform: none;
}
.lv2-sped-dot:hover:not(.active) {
  background: rgba(251,191,36,0.55);
  transform: scale(1.2);
}

/* ============================================================
   SECTION 7 — LEARNER RECORD DIAGRAM  (SVG spider layout)
   ============================================================ */
.lv2-record {
  background: var(--lv2-page-bg);
}

.lv2-record-diagram {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0 24px;
  overflow: visible;
}

/* The SVG fills its container up to a comfortable max-width */
.lv2-record-svg {
  width: 100%;
  max-width: 680px;
  height: auto;
  overflow: visible;
}

/* Connector lines */
.lv2-conn-line {
  stroke: #FBBF24;
  stroke-width: 2.5;
  stroke-opacity: 0.75;
  stroke-dasharray: 6 4;
}

/* Photo circle drop-shadows */
.lv2-node-ring {
  filter: drop-shadow(0 4px 12px rgba(10,22,40,0.13))
          drop-shadow(0 1px 4px  rgba(10,22,40,0.09));
}

/* Amber glow on the center student ring */
.lv2-ring-student {
  filter: drop-shadow(0 0 14px rgba(251,191,36,0.35))
          drop-shadow(0 4px 16px rgba(10,22,40,0.14));
}

/* SVG text labels */
.lv2-node-svg-label {
  font-family: var(--lv2-font-display);
  font-size: 13px;
  font-weight: 700;
  fill: var(--lv2-ink);
  text-anchor: middle;
  dominant-baseline: auto;
}

.lv2-label-center {
  font-size: 14px;
  font-weight: 800;
  fill: #D4880F;
}

/* Legacy classes kept so no other CSS breaks */
.lv2-record-connectors { display: none; }
.lv2-record-nodes      { display: none; }
.lv2-record-center     { display: none; }

/* ============================================================
   SECTION 8 — WHO WE SUPPORT
   ============================================================ */
.lv2-who {
  background: var(--lv2-section-alt);  /* #EEF2F8 — alternating section */
}

.lv2-who-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.lv2-who-card {
  background: var(--lv2-card);  /* #FFFFFF — white card floats above section bg */
  border: 1px solid rgba(10,22,40,0.07);
  border-radius: var(--lv2-radius-xl);
  overflow: hidden;
  box-shadow: var(--lv2-shadow-md);
  transition: box-shadow 0.25s, transform 0.25s;
}

.lv2-who-card:hover {
  box-shadow: var(--lv2-shadow-hover);
  transform: translateY(-6px);
}

.lv2-who-photo-wrap {
  width: 100%;
  height: auto;           /* expands to natural image height — no forced crop */
  overflow: hidden;
}

.lv2-who-photo {
  display: block;
  width: 100%;
  height: auto;           /* preserve natural aspect ratio */
  max-width: 100%;
  object-fit: contain;    /* never crop, never stretch */
  object-position: center center;
  transform: none;
}

.lv2-who-card:hover .lv2-who-photo {
  transform: none;        /* no zoom on hover */
}

/* Placeholder for icon-based cards */
.lv2-who-photo-wrap.lv2-who-photo-bg {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lv2-who-photo-bg.homeschool {
  background: linear-gradient(140deg, #FEF3C7 0%, #FDE68A 100%);
}

.lv2-who-photo-bg.sped-bg {
  background: linear-gradient(140deg, #EDE9FE 0%, #DDD6FE 100%);
}

.lv2-who-icon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
}

.lv2-who-role {
  font-family: var(--lv2-font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--lv2-ink);
  padding: 16px 16px 6px;
}

.lv2-who-desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--lv2-ink-muted);
  padding: 0 16px 20px;
}

/* ============================================================
   SECTION 9 — TRUST
   ============================================================ */
.lv2-trust {
  background: var(--lv2-page-bg);  /* #E8EDF4 — white trust cards float above */
}

.lv2-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lv2-trust-card {
  background: var(--lv2-card);  /* #FFFFFF — white card floats above blue-grey bg */
  border: 1px solid rgba(10,22,40,0.07);
  border-radius: var(--lv2-radius-xl);
  padding: 36px 32px;
  box-shadow: var(--lv2-shadow-md);
  transition: box-shadow 0.25s, transform 0.25s;
}

.lv2-trust-card:hover {
  box-shadow: var(--lv2-shadow-hover);
  transform: translateY(-6px);
}

.lv2-trust-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--lv2-radius-md);
  background: rgba(251,191,36,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lv2-amber-darker);
  margin-bottom: 20px;
}

.lv2-trust-title {
  font-family: var(--lv2-font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--lv2-ink);
  margin-bottom: 10px;
}

.lv2-trust-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--lv2-ink-muted);
}

/* ============================================================
   SECTION 10 — AI ACCURACY
   ============================================================ */
.lv2-accuracy {
  background: var(--lv2-section-alt); /* #EEF2F8 — alternates with page bg */
}

/* Intro paragraph under the section title */
.lv2-accuracy-intro {
  font-family: var(--lv2-font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--lv2-ink-muted);
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.lv2-accuracy-intro strong {
  color: var(--lv2-ink);
  font-weight: 700;
}

/* ── Stat bar ── */
.lv2-accuracy-statbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--lv2-card);
  border: 1px solid rgba(10,22,40,0.07);
  border-radius: var(--lv2-radius-xl);
  box-shadow: var(--lv2-shadow-lg);
  padding: 36px 48px;
  margin: 56px 0 64px;
}

.lv2-accuracy-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.lv2-accuracy-stat-num {
  font-family: var(--lv2-font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lv2-amber-darker); /* #D97706 — deep amber, reads on white */
}

.lv2-accuracy-stat-label {
  font-family: var(--lv2-font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lv2-ink-muted);
}

.lv2-accuracy-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(10,22,40,0.10);
  flex-shrink: 0;
  margin: 0 8px;
}

/* ── Engine card grid ── */
.lv2-accuracy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lv2-accuracy-card {
  background: var(--lv2-card);
  border: 1px solid rgba(10,22,40,0.07);
  border-radius: var(--lv2-radius-xl);
  padding: 32px 28px;
  box-shadow: var(--lv2-shadow-md);
  transition: box-shadow 0.25s, transform 0.25s;
}

.lv2-accuracy-card:hover {
  box-shadow: var(--lv2-shadow-hover);
  transform: translateY(-5px);
}

/* Wide card spans full 3 columns */
.lv2-accuracy-card-wide {
  grid-column: 1 / -1;
}

.lv2-accuracy-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.lv2-accuracy-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--lv2-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lv2-accuracy-icon.amber {
  background: rgba(251,191,36,0.12);
  color: var(--lv2-amber-darker);
}

.lv2-accuracy-icon.purple {
  background: var(--lv2-purple-tint);
  color: var(--lv2-purple);
}

.lv2-accuracy-icon.green {
  background: var(--lv2-green-tint);
  color: var(--lv2-green);
}

.lv2-accuracy-card-category {
  font-family: var(--lv2-font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--lv2-ink);
  margin-bottom: 4px;
}

.lv2-accuracy-badge {
  display: inline-block;
  font-family: var(--lv2-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lv2-green);
  background: var(--lv2-green-tint);
  border-radius: var(--lv2-radius-full);
  padding: 3px 10px;
}

.lv2-accuracy-card-desc {
  font-family: var(--lv2-font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--lv2-ink-muted);
}

/* ── Phase callout inside the wide card ── */
.lv2-accuracy-phase-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.lv2-accuracy-phase-divider {
  width: 1px;
  background: rgba(10,22,40,0.10);
  align-self: stretch;
  margin: 0 48px;
}

.lv2-accuracy-phase-label {
  font-family: var(--lv2-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--lv2-amber-darker);
  margin-bottom: 10px;
}

.lv2-accuracy-phase-score {
  font-family: var(--lv2-font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lv2-ink);
  margin-bottom: 12px;
}

.lv2-accuracy-phase-desc {
  font-family: var(--lv2-font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--lv2-ink-muted);
  margin: 0;
}

/* ── Disclaimer ── */
.lv2-accuracy-disclaimer {
  font-family: var(--lv2-font-body);
  font-size: 0.8125rem;
  color: var(--lv2-ink-light);
  text-align: center;
  margin-top: 40px;
  font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .lv2-accuracy-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lv2-accuracy-card-wide {
    grid-column: 1 / -1;
  }
  .lv2-accuracy-statbar {
    padding: 28px 24px;
    gap: 0;
  }
  .lv2-accuracy-phase-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lv2-accuracy-phase-divider {
    display: none;
  }
}

@media (max-width: 600px) {
  .lv2-accuracy-grid {
    grid-template-columns: 1fr;
  }
  .lv2-accuracy-statbar {
    flex-wrap: wrap;
    gap: 24px;
    padding: 28px 20px;
  }
  .lv2-accuracy-stat {
    flex: 0 0 calc(50% - 12px);
  }
  .lv2-accuracy-stat-divider {
    display: none;
  }
}

/* ============================================================
   SECTION 11 — FINAL CTA
   ============================================================ */
.lv2-final-cta {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 96px 32px;
}

.lv2-cta-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lv2-cta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.lv2-cta-scrim {
  position: absolute;
  inset: 0;
  /* Layer 1: vertical — matches hero tint exactly */
  background: linear-gradient(
    to top,
    rgba(10,22,40,0.88) 0%,
    rgba(10,22,40,0.62) 45%,
    rgba(10,22,40,0.22) 75%,
    rgba(10,22,40,0.10) 100%
  );
}

/* Layer 2: horizontal scrim — matches hero ::after tint */
.lv2-cta-scrim::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,22,40,0.30) 0%,
    rgba(10,22,40,0.10) 50%,
    transparent 100%
  );
}

.lv2-cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 720px;
}

.lv2-cta-headline {
  font-family: var(--lv2-font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.10;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 40px;
}

.lv2-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 60px;
  padding: 0 40px;
  font-family: var(--lv2-font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--lv2-charcoal);
  background: var(--lv2-amber);
  border: 2px solid var(--lv2-amber);
  border-radius: var(--lv2-radius-full);
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, transform 0.15s, box-shadow 0.18s;
  box-shadow: 0 8px 40px rgba(251,191,36,0.45), 0 2px 8px rgba(251,191,36,0.20);
}

.lv2-btn-cta:hover {
  background: var(--lv2-amber-deep);
  border-color: var(--lv2-amber-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 56px rgba(251,191,36,0.50), 0 4px 16px rgba(251,191,36,0.28);
}

.lv2-cta-sub {
  margin-top: 18px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.50);
}

/* ============================================================
   FOOTER
   ============================================================ */
.lv2-footer {
  background: #0A1628;
  padding: 48px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.lv2-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.lv2-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Footer logo — same size/weight/structure as nav pill logo */
.lv2-footer-logo {
  font-family: var(--lv2-font-display);
  font-weight: 800;
  font-size: 1.0625rem;            /* exact match to .lv2-logo nav size */
  color: #FFFFFF;
  display: flex;
  align-items: baseline;
  gap: 6px;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* "Progress" word in footer logo — Sunrise Amber, same as Start Free button */
.lv2-footer-logo-progress {
  color: #FBBF24;
}

.lv2-footer-logo-byline {
  font-family: var(--lv2-font-body);
  font-size: 0.6875rem;            /* 11px — exact match to .lv2-logo-byline */
  font-weight: 500;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.01em;
  line-height: 1;
  font-style: normal;
}

.lv2-footer-tagline {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.38);
}

.lv2-footer-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.lv2-footer-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.48);
  padding: 6px 14px;
  border-radius: var(--lv2-radius-sm);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.lv2-footer-links a:hover {
  color: rgba(255,255,255,0.90);
  background: rgba(255,255,255,0.06);
}

.lv2-footer-built {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}

.lv2-footer-built-link {
  color: #FBBF24;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}

.lv2-footer-built-link:hover {
  color: #F59E0B;
  text-decoration: underline;
}

.lv2-footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.28);
  margin-left: auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 640px) {
  /* sm: pt-[72px] pb-[64px] px-[20px] */
  .lv2-hero {
    padding: 72px 20px 64px;
  }
}

@media (min-width: 768px) {
  /* md: pt-[80px] pb-[72px] px-[28px] */
  .lv2-hero {
    padding: 80px 28px 72px;
  }
  .lv2-hero-content {
    min-height: 400px;  /* 8p3p: md:min-h-[400px] */
  }
}

@media (min-width: 1024px) {
  /* lg: pt-[88px] pb-[80px] px-[32px] */
  .lv2-hero {
    padding: 88px 32px 80px;
  }
  .lv2-hero-content {
    min-height: 440px;  /* 8p3p: lg:min-h-[440px] */
  }
}

@media (min-width: 1280px) {
  /* xl: pt-[96px] pb-[88px] px-[40px] */
  .lv2-hero {
    padding: 96px 40px 88px;
  }
}

@media (max-width: 1100px) {
  .lv2-who-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  /* Hamburger always visible — nav is hamburger-only at all sizes */
  /* .lv2-nav-links and .lv2-nav-cta are already display:none !important above */

  /* Nav pill shrinks on mobile */
  .lv2-nav {
    padding: 14px 16px 0;
  }

  .lv2-nav-pill {
    height: 50px;
    padding: 0 8px 0 18px;
  }

  .lv2-hero-headline {
    font-size: clamp(2rem, 6vw, 2.75rem);
  }

  .lv2-benefits-grid,
  .lv2-trust-grid {
    grid-template-columns: 1fr;
  }

  /* carousel: stack image above card on tablet */
  .lv2-sped-slide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lv2-showcase-layout,
  .lv2-showcase-layout.lv2-showcase-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .lv2-who-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lv2-record-nodes {
    grid-template-columns: repeat(2, 1fr);
  }

  .lv2-section { padding: 72px 0; }
  .lv2-container { padding: 0 20px; }
}

@media (max-width: 600px) {
  .lv2-nav {
    padding: 12px 12px 0;
  }

  .lv2-hero-headline {
    font-size: 1.875rem;
  }

  /* hero actions — left-aligned column, sizing handled by shared rule below */
  .lv2-hero-actions {
    flex-direction: column;
    align-items: flex-start;
    width: auto;
  }

  .lv2-who-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lv2-record-nodes {
    grid-template-columns: repeat(2, 1fr);
  }

  .lv2-benefits-grid {
    grid-template-columns: 1fr;
  }

  /* carousel mobile: tighter padding, smaller content card */
  .lv2-sped-content-card {
    padding: 28px 24px;
  }

  .lv2-cta-headline {
    font-size: 1.75rem;
  }

  .lv2-section { padding: 56px 0; }
}

/* ============================================================
   MOBILE CAROUSEL SYSTEM — .lv2-mcarousel
   Desktop: controls hidden, grids render normally.
   Mobile (≤600px): 1 card visible, swipe + arrows + dots.
   ============================================================ */

.lv2-mcarousel-controls { display: none; }

/* ============================================================
   MOBILE — complete overhaul ≤600px
   ============================================================ */
@media (max-width: 600px) {

  /* ── Global section spacing ── */
  .lv2-section { padding: 40px 0; }
  .lv2-container { padding: 0 16px; }
  .lv2-section-header { margin-bottom: 20px; }

  /* ── Section typography — exact px values, !important beats inline styles ── */

  /* Amber section labels: WHY IT MATTERS, DASHBOARD, DECISION PANEL, etc. */
  .lv2-section-label {
    font-size: 14px !important;
    line-height: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
  }

  /* Main section headings */
  .lv2-section-title {
    font-size: 28px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
  }
  /* Showcase sections have their own .lv2-section-title override — unify */
  .lv2-showcase-copy .lv2-section-title {
    font-size: 28px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
  }

  /* Card headings */
  .lv2-benefit-title,
  .lv2-sped-slide-title,
  .lv2-who-role,
  .lv2-trust-title {
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }

  /* Body copy inside cards */
  .lv2-benefit-desc,
  .lv2-sped-slide-desc,
  .lv2-who-desc,
  .lv2-trust-desc {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  /* ── Hero ──
     Restoration of original layout (Screenshot A) with 3 specific refinements:
     1. K-12 eyebrow ~25% smaller (2.25rem → 1.6875rem)
     2. Content block ~40px lower (padding-top 64px → 104px)
     3. Buttons ~12% shorter (52px → 46px)
     Everything else: original composition preserved exactly.
  */
  .lv2-hero { padding: 104px 18px 56px !important; }

  /* Refinement 1: K-12 ~25% smaller, same style/color/position */
  .lv2-hero-eyebrow {
    font-size: 1.6875rem !important;
    margin-bottom: 24px !important;
  }

  /* Headline: restore original 1.875rem from earlier ≤600px block */
  .lv2-hero-headline {
    font-size: 1.875rem !important;
    line-height: 1.15 !important;
  }

  /* Actions: restore original full-width stacked layout */
  /* hero actions — left-aligned, sizing handled by shared rule below */
  .lv2-hero-actions {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: auto !important;
  }

  /* ── Marquee ── */
  .lv2-marquee-item { font-size: 0.75rem; padding: 5px 14px; }

  /* ── Benefits / Why It Matters ── */
  .lv2-benefit-card { padding: 20px 18px; }
  .lv2-benefit-icon { width: 40px; height: 40px; margin-bottom: 14px; }
  .lv2-benefit-icon svg { width: 20px; height: 20px; }
  .lv2-benefit-title { margin-bottom: 6px; }
  /* font-size/line-height set by shared section typography above */

  /* ── Dashboard showcase ── */
  .lv2-showcase-layout,
  .lv2-showcase-layout.lv2-showcase-reverse {
    grid-template-columns: 1fr;
    gap: 20px;
    direction: ltr;
  }
  /* .lv2-showcase-copy .lv2-section-title — governed by shared section typography above */
  .lv2-showcase-copy { padding: 20px 18px; }
  .lv2-showcase-mockup { padding: 10px; }

  /* ── Decision Panel: copy (label + headline) above mockup on mobile ── */
  #decision-panel .lv2-showcase-layout { display: flex; flex-direction: column; }
  #decision-panel .lv2-showcase-copy   { order: 1; }
  #decision-panel .lv2-showcase-visual { order: 2; }

  /* ── SPED carousel ── */
  .lv2-sped-header { margin-bottom: 20px; }
  .lv2-sped-slide {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 4px 2px 12px;
  }
  .lv2-sped-img-wrap { aspect-ratio: 16/9; border-radius: 10px; min-height: unset; }
  .lv2-sped-img.lv2-sped-img-screenshot { aspect-ratio: 16/9; }
  .lv2-sped-video-wrap { min-height: unset; aspect-ratio: 16/9; }
  .lv2-sped-slide-img { align-self: auto; }
  .lv2-sped-content-card { padding: 18px 16px; }
  .lv2-sped-slide-num { font-size: 0.6875rem; margin-bottom: 8px; }
  .lv2-sped-slide-title { margin-bottom: 8px; }
  /* font-size/line-height set by shared section typography above */
  .lv2-sped-controls { margin-top: 12px; gap: 10px; }
  .lv2-sped-arrow { width: 34px; height: 34px; }
  .lv2-sped-arrow svg { width: 14px; height: 14px; }

  /* ── Learner Record ── */
  .lv2-record-svg { max-width: 100%; }
  .lv2-node-svg-label { font-size: 9px; }
  .lv2-label-center { font-size: 10px; }

  /* ── Who We Support ── */
  /* Role label goes ABOVE photo — achieved via flex column-reverse on card interior */
  .lv2-who-card {
    display: flex;
    flex-direction: column;
  }
  .lv2-who-photo-wrap {
    order: 2;               /* photo second = below label */
    width: 100% !important;
    height: auto !important;    /* no forced crop on mobile either */
    aspect-ratio: unset !important;
  }
  .lv2-who-role {
    order: 1;               /* label first = above photo */
    padding: 14px 14px 8px;
    /* font-size governed by shared section typography (20px card heading) */
  }
  .lv2-who-desc {
    order: 3;               /* desc below photo */
    padding: 8px 14px 16px;
    /* font-size governed by shared section typography (16px body copy) */
  }

  /* ── Trust / Built on Trust ── */
  .lv2-trust-card { padding: 20px 18px; }
  .lv2-trust-icon { width: 40px; height: 40px; margin-bottom: 14px; }
  .lv2-trust-icon svg { width: 22px; height: 22px; }
  .lv2-trust-title { margin-bottom: 6px; }
  /* font-size/line-height set by shared section typography above */

  /* ── CTA ── */
  .lv2-final-cta { padding: 56px 18px; min-height: 320px; }
  .lv2-cta-headline { font-size: 1.25rem; line-height: 1.3; }
  /* lv2-btn-cta sizing — overridden by shared rule at bottom of this block */
  .lv2-btn-cta { padding: 0 24px; font-size: 17px; }
  .lv2-cta-sub { font-size: 0.75rem; margin-top: 10px; }

  /* ── Footer — mobile compact layout ── */
  .lv2-footer { padding: 32px 20px 24px; }
  .lv2-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .lv2-footer-logo { font-size: 1rem; }
  /* Brand block: logo + tagline — bottom border separator, controlled spacing */
  .lv2-footer-brand {
    gap: 4px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
  }
  /* Meta row: Privacy, Built by, Copyright — tight uniform spacing */
  .lv2-footer-links {
    margin-bottom: 4px;
  }
  .lv2-footer-links a {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 0.8125rem;
  }
  .lv2-footer-built {
    margin-left: 0;
    margin-bottom: 4px;
    white-space: normal;
    font-size: 0.8125rem;
  }
  .lv2-footer-copy {
    margin-left: 0;
    font-size: 0.75rem;
  }

  /* ── Mobile carousel: outer wrapper ── */
  .lv2-mcarousel {
    position: relative;
    overflow: hidden;
  }

  /* ── Track: flex strip, 1 card wide ── */
  .lv2-mcarousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: stretch;
  }

  /* ── Each card = exactly 1 viewport width ── */
  .lv2-mcarousel-track > * {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
  }

  /* ── Controls row ── */
  .lv2-mcarousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
  }

  /* ── Arrow buttons — compact ── */
  .lv2-mcarousel-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(10,22,40,0.18);
    background: #FFFFFF;
    color: var(--lv2-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
  }
  .lv2-mcarousel-arrow svg { width: 16px; height: 16px; }
  .lv2-mcarousel-arrow:hover,
  .lv2-mcarousel-arrow:active { background: #FBBF24; border-color: #FBBF24; }

  /* ── Dots — small and tight ── */
  .lv2-mcarousel-dots {
    display: flex;
    gap: 5px;
    align-items: center;
  }
  .lv2-mcarousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(10,22,40,0.20);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, width 0.2s;
  }
  .lv2-mcarousel-dot.active {
    background: #FBBF24;
    width: 20px;
    border-radius: 3px;
  }

  /* ================================================================
     SHARED MOBILE CTA — Hero Start Free, Dashboard Try It Free,
     Final CTA Start Free. Exact computed dimensions as specified.
     Placed last so it wins over all earlier button overrides.
     ================================================================ */
  .lv2-btn-primary.lv2-btn-lg,
  .lv2-btn-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 220px !important;
    max-width: calc(100vw - 48px) !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 24px !important;
    border-radius: 24px !important;
    font-size: 17px !important;
    line-height: 20px !important;
    box-sizing: border-box !important;
    gap: 10px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* See How It Works ghost button — same left alignment */
  .lv2-hero-actions .lv2-btn-ghost-ink.lv2-btn-lg {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .lv2-btn-primary.lv2-btn-lg svg,
  .lv2-btn-cta svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
  }
}

/* ---- Language toggle (injected by i18n.js into .lv2-hero-actions) ---- */
/* The hero toggle uses .lv2-btn-ghost-ink.lv2-btn-lg directly so it
   inherits ALL the same sizing, hover, and responsive rules as the other
   hero CTA buttons without needing any extra CSS here.
   Only override needed: remove the ::before globe from app.css base rule
   since i18n.js renders it as a real child <span> instead. */
button.lv2-btn-ghost-ink.mpr-lang-toggle::before {
  content: none;
}
