/* ============================================================
   BRAND TOKENS
   ============================================================ */
:root {
  --primary: #0052CC;
  --primary-bright: #0066FF;
  --primary-deep: #003D99;
  --primary-darker: #002966;
  --secondary: #06D6A0;
  --secondary-soft: #B8F2DD;
  --secondary-deep: #047857;

  --ink: #0A0A0A;
  --ink-2: #1F2937;
  --ink-soft: #4B5563;
  --ink-muted: #6B7280;
  --ink-faint: #9CA3AF;

  --paper: #FAFAF9;
  --paper-2: #F4F4F2;
  --surface: #FFFFFF;
  --line: #E5E5E5;
  --line-soft: #F0F0EE;

  --gradient: linear-gradient(135deg, #0052CC 0%, #0066FF 50%, #06D6A0 100%);
  --gradient-brand: linear-gradient(135deg, #0052CC 0%, #003D99 100%);

  --shadow-sm: 0 1px 2px rgba(10,10,10,0.05);
  --shadow: 0 4px 12px -2px rgba(10,10,10,0.06), 0 2px 4px rgba(10,10,10,0.04);
  --shadow-lg: 0 20px 40px -12px rgba(10,10,10,0.12), 0 8px 16px -8px rgba(10,10,10,0.06);
  --shadow-xl: 0 30px 60px -15px rgba(0,82,204,0.18), 0 10px 20px rgba(10,10,10,0.08);

  --container: 1440px;
  --pad: clamp(16px, 2.5vw, 32px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
input, textarea, select { font-family: inherit; font-size: inherit; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
section { padding: clamp(72px, 9vw, 120px) 0; }

h1, h2, h3, h4 { font-family: var(--font); letter-spacing: -0.028em; line-height: 1.05; font-weight: 700; color: var(--primary); position: relative; padding-left: 18px; }
/* Gradient vertical bar — primary top, secondary bottom — on all h1/h2/h3 */
h1::before, h2::before, h3::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 2px;
}
/* h4 stays ink, no bar */
h4 { padding-left: 0; }
h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -0.035em; line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.03em; line-height: 1.08; color: var(--primary); }
h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.02em; line-height: 1.2; }
h4 { font-size: 18px; letter-spacing: -0.015em; color: var(--ink); }
p { color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.005em;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 12px -2px rgba(0,82,204,0.30); }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-1px); box-shadow: 0 8px 20px -4px rgba(0,82,204,0.40); }
.btn-secondary { background: var(--secondary); color: #053D2C; box-shadow: 0 4px 12px -2px rgba(6,214,160,0.30); }
.btn-secondary:hover { background: var(--secondary-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--secondary); color: #053D2C; }
.btn-text { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); font-size: 14px; transition: gap 0.25s var(--ease); }
.btn-text:hover { gap: 10px; }
.btn-text svg { transition: transform 0.25s var(--ease); }
.btn-text:hover svg { transform: translateX(2px); }

/* NAV — solid brand color */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: background 0.3s var(--ease);
}
.nav.scrolled { background: var(--primary-deep); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: #fff; }
.nav-brand img { width: 30px; height: 30px; filter: brightness(0) invert(1); border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.82); }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-login { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.82); }
.nav-login:hover { color: #fff; }
.nav-cta { padding: 9px 18px; font-size: 14px; background: #fff; color: var(--primary); border-radius: 999px; font-weight: 600; transition: all 0.2s var(--ease); }
.nav-cta:hover { background: var(--secondary); color: #053D2C; }
.nav-toggle { display: none; width: 36px; height: 36px; align-items: center; justify-content: center; color: #fff; }
@media (max-width: 900px) { .nav-links, .nav-login { display: none; } .nav-toggle { display: flex; } }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0;
  background: var(--primary); z-index: 99;
  padding: 28px var(--pad);
  transform: translateY(-100%);
  transition: transform 0.3s var(--ease);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.mobile-menu a { display: block; padding: 16px 0; font-size: 18px; font-weight: 500; color: rgba(255,255,255,0.92); border-bottom: 1px solid rgba(255,255,255,0.12); }
.mobile-menu-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.mobile-menu-cta .btn { width: 100%; justify-content: center; }

/* HERO */
.hero { position: relative; padding: clamp(56px, 8vw, 100px) 0 clamp(80px, 10vw, 140px); overflow: hidden; background: var(--paper); }
.hero-mesh {
  position: absolute; top: -240px; left: 50%; transform: translateX(-50%);
  width: 1400px; height: 1000px; pointer-events: none; z-index: 0; opacity: 0.50;
  background:
    radial-gradient(ellipse 600px 400px at 30% 40%, rgba(0,102,255,0.20), transparent 60%),
    radial-gradient(ellipse 500px 350px at 70% 60%, rgba(6,214,160,0.22), transparent 60%),
    radial-gradient(ellipse 400px 300px at 50% 30%, rgba(0,82,204,0.12), transparent 60%);
  filter: blur(20px);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 60px; } }

.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; font-family: var(--mono);
  font-size: 12px; font-weight: 500; color: var(--ink-soft);
  margin-bottom: 28px; animation: fadeUp 0.8s var(--ease) both;
}
.hero-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 0 4px rgba(6,214,160,0.18); }

.hero h1 { margin-bottom: 24px; animation: fadeUp 0.8s var(--ease) 0.1s both; }
.hero h1 .accent { color: var(--secondary); }
/* Global accent within headings — secondary green */
h1 .accent, h2 .accent, h3 .accent { color: var(--secondary); }
.hero-sub { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--ink-soft); max-width: 540px; margin-bottom: 36px; animation: fadeUp 0.8s var(--ease) 0.2s both; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; animation: fadeUp 0.8s var(--ease) 0.3s both; }
.hero-trust { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-muted); animation: fadeUp 0.8s var(--ease) 0.4s both; }
.hero-trust-avatars { display: flex; }
.hero-trust-avatars > span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--paper); margin-left: -8px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 10px; font-weight: 700; }
.hero-trust-avatars > span:first-child { margin-left: 0; background: linear-gradient(135deg,#0052CC,#0066FF); }
.hero-trust-avatars > span:nth-child(2) { background: linear-gradient(135deg,#0066FF,#06D6A0); }
.hero-trust-avatars > span:nth-child(3) { background: linear-gradient(135deg,#06D6A0,#047857); }
.hero-trust-avatars > span:nth-child(4) { background: linear-gradient(135deg,#003D99,#0052CC); }

.hero-visual { position: relative; animation: fadeUp 1s var(--ease) 0.3s both; }

.dash-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-xl); }
.dash-bar { display: flex; align-items: center; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); margin-bottom: 18px; }
.dash-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.dash-bar .url { margin-left: 10px; padding: 3px 10px; background: var(--paper-2); border-radius: 6px; font-family: var(--mono); font-size: 11px; color: var(--ink-muted); flex: 1; text-align: center; max-width: 240px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.dash-title { font-size: 16px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.dash-sub { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
.dash-tabs { display: flex; gap: 4px; }
.dash-tab { padding: 5px 11px; border-radius: 6px; font-size: 11px; font-weight: 600; color: var(--ink-muted); background: var(--paper-2); }
.dash-tab.active { background: var(--ink); color: #fff; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.dash-stat { padding: 12px; border-radius: var(--radius-sm); background: var(--paper-2); }
.dash-stat-label { font-size: 10px; color: var(--ink-muted); margin-bottom: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.dash-stat-value { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.dash-stat-delta { font-size: 10px; color: var(--secondary-deep); font-weight: 600; margin-top: 2px; }
.dash-charts { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; margin-bottom: 18px; }
.dash-chart { padding: 12px; border-radius: var(--radius-sm); background: var(--paper-2); }
.dash-chart-title { font-size: 11px; font-weight: 500; color: var(--ink-muted); margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.dash-chart-title em { font-style: normal; color: var(--primary); font-weight: 600; }
.dash-chart svg { width: 100%; }
.dash-list { display: flex; flex-direction: column; gap: 6px; }
.dash-row { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 11px; border-radius: var(--radius-sm); background: var(--paper-2); font-size: 12px; }
.dash-row-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 10px; font-weight: 700; }
.dash-row-name { font-weight: 600; color: var(--ink); font-size: 12px; }
.dash-row-meta { color: var(--ink-muted); font-size: 11px; }
.dash-row-status { padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 600; }
.dash-row-status.paid { background: rgba(6,214,160,0.15); color: var(--secondary-deep); }
.dash-row-status.pending { background: rgba(245,158,11,0.15); color: #B45309; }

.float-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: 13px; animation: floaty 6s ease-in-out infinite; z-index: 2; }
.float-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(6,214,160,0.14); color: var(--secondary-deep); flex-shrink: 0; }
.float-card-1 { top: -22px; left: -28px; animation-delay: -2s; }
.float-card-2 { bottom: 32px; right: -24px; animation-delay: -4s; }
.float-card-2 .float-icon { background: rgba(0,82,204,0.10); color: var(--primary); }
.float-label { font-weight: 600; color: var(--ink); display: block; }
.float-sub { color: var(--ink-muted); font-size: 11px; }
@media (max-width: 600px) { .float-card-1 { left: 8px; top: -14px; } .float-card-2 { right: 8px; bottom: 20px; } .dash-charts { grid-template-columns: 1fr; } }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* TRUST BAR */
.trust { padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-label { text-align: center; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 26px; }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 56px); }
.trust-logo { display: flex; align-items: center; gap: 10px; color: var(--ink-muted); font-size: 16px; font-weight: 700; letter-spacing: -0.015em; opacity: 0.7; transition: opacity 0.3s var(--ease); }
.trust-logo:hover { opacity: 1; }
.trust-mark { width: 24px; height: 24px; border-radius: 6px; background: var(--paper-2); display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--primary); font-weight: 700; }

/* SECTION HEAD */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-soft); line-height: 1.55; max-width: 580px; }

/* AUDIENCE */
.audience { background: var(--surface); border-top: 1px solid var(--line); }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); overflow: hidden; transition: all 0.3s var(--ease); }
.audience-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.audience-icon { width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.audience-card.schools .audience-icon { background: rgba(0,82,204,0.10); color: var(--primary); }
.audience-card.parents .audience-icon { background: rgba(6,214,160,0.14); color: var(--secondary-deep); }
.audience-card h3 { margin-bottom: 10px; }
.audience-card > p { font-size: 15px; line-height: 1.6; margin-bottom: 22px; max-width: 420px; }
.audience-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.audience-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--ink-2); }
.audience-list li svg { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; color: var(--secondary-deep); }
.audience-stripe { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--ink); opacity: 0.06; transition: all 0.3s var(--ease); }
.audience-card:hover .audience-stripe { background: var(--gradient); opacity: 1; }

/* MODULES TABS */
.modules { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* Modern pill-style segmented tabs */
.modules-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 48px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 5px;
}
.module-tab {
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  border-radius: var(--radius);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  font-family: var(--font);
  letter-spacing: -0.005em;
}
.module-tab:hover { color: var(--ink); background: rgba(255,255,255,0.65); }
.module-tab.active {
  background: var(--surface);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,82,204,0.10);
}
.module-panels { position: relative; min-height: 420px; }
.module-panel { display: none; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 72px); align-items: center; animation: fadeIn 0.4s var(--ease); }
.module-panel.active { display: grid; }
@media (max-width: 900px) { .module-panel { grid-template-columns: 1fr; } }
.module-copy .eyebrow { margin-bottom: 14px; }
.module-copy h3 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 16px; }
.module-copy > p { font-size: 16px; line-height: 1.6; margin-bottom: 26px; }
.module-features { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.module-features li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: flex-start; }
.module-features-icon { width: 30px; height: 30px; border-radius: 8px; background: rgba(0,82,204,0.08); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.module-features strong { display: block; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.module-features span { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.module-visual { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; min-height: 360px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.mv-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); margin-bottom: 16px; }
.mv-title { font-weight: 700; font-size: 14px; color: var(--ink); }
.mv-pill { padding: 3px 10px; background: rgba(6,214,160,0.14); color: var(--secondary-deep); border-radius: 999px; font-size: 11px; font-weight: 600; }
.mv-pill.blue { background: rgba(0,82,204,0.10); color: var(--primary); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* WHY */
.why { background: var(--paper-2); border-top: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { background: var(--surface); padding: 32px 26px; transition: background 0.2s var(--ease); }
.why-card:hover { background: var(--paper); }
.why-icon { width: 44px; height: 44px; border-radius: 11px; background: rgba(0,82,204,0.08); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.why-card:nth-child(2) .why-icon { background: rgba(6,214,160,0.14); color: var(--secondary-deep); }
.why-card:nth-child(4) .why-icon { background: rgba(6,214,160,0.14); color: var(--secondary-deep); }
.why-card h4 { margin-bottom: 8px; font-size: 17px; }
.why-card p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* TESTIMONIALS */
.testimonials { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .test-grid { grid-template-columns: 1fr; } }
.test-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); display: flex; flex-direction: column; transition: all 0.2s var(--ease); }
.test-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.test-quote { font-size: 16px; line-height: 1.55; color: var(--ink); letter-spacing: -0.005em; margin-bottom: 24px; flex: 1; font-weight: 500; }
.test-author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.test-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px; }
.test-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.test-role { font-size: 12px; color: var(--ink-muted); }

/* DEMO */
.demo { position: relative; background: var(--primary-darker); color: #fff; overflow: hidden; padding: clamp(72px, 9vw, 120px) 0; }
.demo::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 20% 100%, rgba(0,102,255,0.45), transparent 60%),
    radial-gradient(ellipse 600px 350px at 90% 0%, rgba(6,214,160,0.25), transparent 60%);
  pointer-events: none;
}
.demo-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }
.demo-copy .eyebrow { color: var(--secondary); margin-bottom: 16px; }
.demo-copy h2 { color: #fff; margin-bottom: 18px; } .demo-copy h2::before { background: var(--secondary); }
.demo-copy > p { font-size: clamp(16px, 1.5vw, 17px); color: rgba(255,255,255,0.78); line-height: 1.55; margin-bottom: 30px; max-width: 460px; }
.demo-bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.demo-bullets li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.88); }
.demo-bullets svg { color: var(--secondary); flex-shrink: 0; margin-top: 1px; }

.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 36px); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.45); }
.form-card h3 { font-size: 22px; margin-bottom: 4px; }
.form-card-sub { font-size: 13px; color: var(--ink-muted); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; margin-bottom: 12px; }
.form-field label { font-size: 12px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea { padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; color: var(--ink); background: #fff; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,82,204,0.12); }
.form-field textarea { resize: vertical; min-height: 72px; font-family: inherit; }
.form-submit { width: 100%; padding: 13px; background: var(--primary); color: #fff; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; margin-top: 6px; transition: background 0.2s var(--ease), transform 0.15s var(--ease); }
.form-submit:hover { background: var(--primary-deep); }
.form-submit:active { transform: scale(0.99); }
.form-submit:disabled { opacity: 0.5; cursor: wait; }
.form-foot { font-size: 12px; color: var(--ink-muted); margin-top: 12px; line-height: 1.5; }
.form-message { display: none; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 13px; margin-top: 14px; line-height: 1.5; }
.form-message.show { display: block; }
.form-message.error { background: rgba(220,38,38,0.08); border: 1px solid rgba(220,38,38,0.25); color: #991B1B; }
.form-card.submitted .form-fields { display: none; }
.form-card.submitted .form-success { display: flex; }
.form-success { display: none; flex-direction: column; align-items: center; text-align: center; padding: 22px 12px; }
.form-success-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(6,214,160,0.16); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--secondary-deep); animation: pop 0.5s var(--ease); }
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.1); } 100% { transform: scale(1); } }
.form-success h3 { font-size: 20px; margin-bottom: 6px; }
.form-success p { font-size: 14px; max-width: 320px; line-height: 1.55; }

/* FOOTER — secondary (green) background, white text */
.footer {
  position: relative;
  background:
    radial-gradient(ellipse 900px 500px at 10% 0%, rgba(0,102,255,0.35), transparent 60%),
    radial-gradient(ellipse 700px 400px at 95% 100%, rgba(6,214,160,0.18), transparent 60%),
    var(--primary);
  color: rgba(255,255,255,0.90);
  padding: 72px 0 28px;
  border-top: none;
  overflow: hidden;
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand-block { display: flex; flex-direction: column; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: #fff; }
.footer-brand img { width: 32px; height: 32px; filter: brightness(0) invert(1); border-radius: 7px; }
.footer-brand-block p { font-size: 13px; color: rgba(255,255,255,0.78); line-height: 1.55; max-width: 280px; }
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.85); transition: color 0.15s var(--ease); }
.footer-col a:hover { color: #fff; text-underline-offset: 3px; text-decoration: underline; }
.footer h1::before, .footer h2::before, .footer h3::before { display: none; }
.footer h1, .footer h2, .footer h3 { padding-left: 0; }

.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.20); font-size: 13px; color: rgba(255,255,255,0.65); flex-wrap: wrap; gap: 12px; }



.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   PAGE HEADER — brand-colored intro section for /modules, /contact
   ============================================================ */
.page-header {
  position: relative;
  background: var(--primary);
  color: #fff;
  padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 7vw, 88px);
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 80% 100%, rgba(6,214,160,0.30), transparent 60%),
    radial-gradient(ellipse 600px 350px at 15% 30%, rgba(0,102,255,0.45), transparent 60%);
  pointer-events: none;
}
.page-header .wrap { position: relative; }
.page-header .eyebrow { color: var(--secondary); margin-bottom: 18px; }
.page-header h1 {
  color: #fff;
  font-size: clamp(38px, 5.5vw, 60px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 18px;
  max-width: 760px;
}
.page-header h1::before { background: var(--secondary); }
.page-header p {
  font-size: clamp(17px, 1.6vw, 19px);
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
  max-width: 600px;
}

/* ============================================================
   CTA SECTION — centered band linking to /contact
   ============================================================ */
.cta-section {
  background: var(--paper-2);
  text-align: center;
  padding: clamp(64px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
}
.cta-section .eyebrow { margin-bottom: 14px; }
.cta-section h2 {
  margin-bottom: 14px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section p {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.55;
}
.cta-section .btn { font-size: 15px; padding: 14px 28px; }

/* ============================================================
   CONTACT INFO — 3-card row on /contact
   ============================================================ */
.contact-info { background: var(--surface); border-top: 1px solid var(--line); }
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 760px) { .contact-info-grid { grid-template-columns: 1fr; } }
.contact-item {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  transition: all 0.2s var(--ease);
}
.contact-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: rgba(0,82,204,0.10);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.contact-item:nth-child(2) .contact-item-icon { background: rgba(6,214,160,0.14); color: var(--secondary-deep); }
.contact-item h4 { margin-bottom: 6px; font-size: 16px; }
.contact-item p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 8px; }
.contact-item a { color: var(--primary); font-weight: 600; font-size: 14px; }
.contact-item a:hover { text-decoration: underline; }

/* ============================================================
   CONTACT PAGE — full-bleed form layout
   ============================================================ */
.contact-form-wrap {
  background: var(--paper);
  padding: clamp(64px, 8vw, 96px) 0;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 72px);
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 800px) { .contact-form-grid { grid-template-columns: 1fr; } }
.contact-form-side .eyebrow { margin-bottom: 14px; }
.contact-form-side h2 { font-size: clamp(28px, 3.2vw, 36px); margin-bottom: 16px; }
.contact-form-side p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); margin-bottom: 24px; max-width: 440px; }
.contact-form-side .demo-bullets { color: var(--ink); }
.contact-form-side .demo-bullets li { color: var(--ink-2); }
.contact-form-side .demo-bullets svg { color: var(--secondary-deep); }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.contact-form-card h3 { font-size: 22px; margin-bottom: 4px; }
.contact-form-card .form-card-sub { font-size: 13px; color: var(--ink-muted); margin-bottom: 22px; }

/* ============================================================
   MODULES PAGE — extra spacing for standalone modules layout
   ============================================================ */
.modules-page { background: var(--surface); padding: clamp(72px, 9vw, 120px) 0; }
.modules-page .modules-tabs { margin-bottom: 56px; }

/* ============================================================
   SVG CHART SIZING (replaces inline style="...")
   ============================================================ */
.module-visual svg.mv-svg { width: 100%; height: auto; display: block; }
.dash-chart svg.spark-svg { width: 100%; height: 90px; display: block; }
.dash-chart svg.donut-svg { width: 100%; height: 90px; display: block; }

/* Chart legend below visuals (replaces inline-styled flex rows) */
.mv-legend {
  margin-top: 12px;
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: var(--ink-muted);
  flex-wrap: wrap;
}
.mv-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.mv-legend-swatch { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.mv-legend-swatch.line { height: 3px; border-radius: 0; }
.mv-legend-swatch.primary { background: var(--primary); }
.mv-legend-swatch.secondary { background: var(--secondary); }
.mv-legend-swatch.tertiary { background: var(--primary-deep); }
.mv-legend-swatch.primary-faded { background: var(--primary); opacity: 0.45; }
.mv-legend strong { color: var(--ink); }

/* Tight section variant for contact-info (replaces inline padding) */
.contact-info .wrap { padding-top: clamp(56px, 7vw, 80px); padding-bottom: clamp(56px, 7vw, 80px); }
.contact-info section { padding: 0; }

/* Active nav link (per-page highlight) */
.nav-links a.active { color: #fff; font-weight: 600; }
.nav-links a.active::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--secondary);
  margin-top: 4px;
  border-radius: 2px;
}

/* ============================================================
   SMALL UTILITIES (replace remaining inline styles)
   ============================================================ */
/* Honeypot field — hidden off-canvas, accessible to bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* Side note under a form/list ("Just have a question instead? …") */
.side-note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--ink-muted);
}
.side-note a { color: var(--primary); font-weight: 600; }
.side-note a:hover { text-decoration: underline; }

/* ============================================================
   TESTIMONY PAGE
   ============================================================ */

/* Stats bar — KPI cards matching app dashboard pattern */
.stats-bar {
  background: var(--primary);
  padding: clamp(48px, 6vw, 72px) 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 5% 50%, rgba(0,102,255,0.35), transparent 55%),
    radial-gradient(ellipse 500px 300px at 95% 50%, rgba(6,214,160,0.18), transparent 55%);
  pointer-events: none;
}
.stats-bar .wrap { position: relative; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* KPI card — white card on blue background, app dashboard style */
.stat-block {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.stat-block::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}
.stat-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-icon.primary { background: rgba(0,82,204,0.10); color: var(--primary); }
.stat-icon.secondary { background: rgba(6,214,160,0.15); color: var(--primary); }
.stat-number {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.stat-number span { color: var(--primary); }
.stat-number span.sec { color: var(--secondary); }
.stat-label {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 500;
  line-height: 1.4;
  margin-top: -6px;
}

/* Featured testimonial — clean light bg, modern card */
.testimonial-featured {
  background: var(--paper-2);
  padding: clamp(72px, 9vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}
.tfeat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 860px) { .tfeat-grid { grid-template-columns: 1fr; } }

.tfeat-inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3vw, 44px);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Brand gradient top bar — primary left, secondary right */
.tfeat-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}
.tfeat-quote-mark { display: none; }
.tfeat-opening-quote {
  width: 44px; height: 44px;
  background: rgba(0,82,204,0.08);
  border: 1px solid rgba(0,82,204,0.15);
  border-radius: 10px;
  margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tfeat-opening-quote svg { stroke: var(--primary); }
.tfeat-stars { display: flex; gap: 4px; margin-bottom: 18px; }
.tfeat-stars svg { color: #F59E0B; }
.tfeat-quote {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  margin-bottom: 28px;
  border-left: 3px solid var(--secondary);
  padding-left: 20px;
  flex: 1;
}
.tfeat-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.tfeat-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 16px;
  flex-shrink: 0;
}
.tfeat-name { font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.tfeat-role { font-size: 13px; color: var(--ink-muted); }
.tfeat-school-badge {
  margin-left: auto;
  padding: 6px 16px;
  background: rgba(0,82,204,0.08);
  border: 1px solid rgba(0,82,204,0.15);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* Rating stars reusable */
.stars { display: inline-flex; gap: 3px; margin-bottom: 12px; }
.star-dim { opacity: 0.3; }
.stars svg { width: 16px; height: 16px; color: #F59E0B; }

/* Testimonial card grid */
.testimonials-page { background: var(--paper); }
.test-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .test-grid-full { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .test-grid-full { grid-template-columns: 1fr; } }

.tcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.tcard:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.tcard::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.tcard:hover::after { opacity: 1; }
.tcard-quote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  flex: 1;
  margin-bottom: 22px;
  font-style: italic;
}
.tcard-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.tcard-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.tcard-name { font-weight: 600; font-size: 13px; color: var(--ink); }
.tcard-role { font-size: 12px; color: var(--ink-muted); }
.tcard-tag {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(0,82,204,0.08);
  color: var(--primary);
  white-space: nowrap;
}
.tcard-tag.green { background: rgba(6,214,160,0.14); color: var(--secondary-deep); }

/* Case study cards */
.case-studies { background: var(--surface); border-top: 1px solid var(--line); }
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 860px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.case-header {
  background: var(--gradient);
  padding: 28px 32px;
  color: #fff;
}
.case-school { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; margin-bottom: 6px; }
.case-title { font-size: clamp(18px, 2vw, 22px); font-weight: 800; letter-spacing: -0.02em; }
.case-body { padding: 28px 32px; }
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.case-metric { text-align: center; }
.case-metric-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}
.case-metric-num.green { color: var(--secondary-deep); }
.case-metric-label { font-size: 11px; color: var(--ink-muted); font-weight: 500; }
.case-divider { border: none; border-top: 1px solid var(--line); margin: 0 0 22px; }
.case-challenge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.case-before, .case-after {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
}
.case-before { background: rgba(220,38,38,0.06); border: 1px solid rgba(220,38,38,0.15); }
.case-after { background: rgba(6,214,160,0.10); border: 1px solid rgba(6,214,160,0.25); }
.case-before strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #991B1B; margin-bottom: 6px; }
.case-after strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--secondary-deep); margin-bottom: 6px; }
.case-before p, .case-after p { color: var(--ink-2); margin: 0; }

/* School logos trust wall */
.logos-wall {
  background: var(--paper-2);
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logos-wall-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 32px;
}
.logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
}
.logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
}
.logo-pill:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.logo-pill-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 13px;
  flex-shrink: 0;
}
.logo-pill-name { font-weight: 700; font-size: 14px; color: var(--ink); }
.logo-pill-loc { font-size: 11px; color: var(--ink-muted); }

/* Testimony CTA — conversion-heavy */
.testimony-cta {
  background: var(--paper-2);
  padding: clamp(80px, 10vw, 120px) 0;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--line);
}
.testimony-cta .wrap { position: relative; }
.testimony-cta h2 {
  color: var(--primary);
  padding-left: 0;
  max-width: 760px;
  margin: 0 auto 16px;
}
.testimony-cta h2::before { display: none; }
.testimony-cta h2 .accent { color: var(--secondary-deep); }
.testimony-cta p {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.5vw, 18px);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* Testimony CTA eyebrow */
.testimony-cta .eyebrow { display: block; margin-bottom: 18px; }
/* Testimony CTA ghost btn — dark border on light bg */
.testimony-cta .btn-ghost { color: var(--primary); border-color: var(--primary); }
.testimony-cta .btn-ghost:hover { background: var(--primary); color: #fff; }

/* ============================================================
   LOGO TICKER — infinite right-to-left scroll
   ============================================================ */
.logos-wall { overflow: hidden; position: relative; }

.logos-ticker-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Fade edges — blends pills into the section background */
.logos-ticker-wrap::before,
.logos-ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.logos-ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--paper-2) 20%, transparent);
}
.logos-ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--paper-2) 20%, transparent);
}

/* Track — two identical sets side-by-side for seamless loop */
.logos-ticker {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}

/* Pause on hover — lets users read a school name */
.logos-ticker:hover { animation-play-state: paused; }

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

.logo-pill { flex-shrink: 0; }

/* ============================================================
   SELF-ONBOARD MODAL
   ============================================================ */

/* Backdrop */
/* ── Onboard plan selection cards ──────────────────── */
.sop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (max-width: 540px) { .sop-grid { grid-template-columns: 1fr; } }

.sop-card {
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .18s, box-shadow .18s, transform .18s;
    position: relative;
    background: #fff;
}
.sop-card:hover { border-color: #93C5FD; box-shadow: 0 4px 16px rgba(0,82,204,.1); transform: translateY(-1px); }
.sop-card.selected { border-color: #0052CC; box-shadow: 0 0 0 3px rgba(0,82,204,.15); }
.sop-card.selected .sop-check { display: flex; }

/* Coloured top band */
.sop-band { height: 6px; }

/* Card body */
.sop-inner { padding: 13px 14px 12px; }
.sop-name { font-size: .95rem; font-weight: 800; color: #111827; margin-bottom: 2px; display: flex; align-items: center; gap: 7px; }
.sop-tagline { font-size: .72rem; color: #6B7280; margin-bottom: 10px; line-height: 1.4; }

/* Price */
.sop-price { display: flex; align-items: baseline; gap: 3px; margin-bottom: 8px; }
.sop-amount { font-size: 1.35rem; font-weight: 900; color: #111827; }
.sop-unit { font-size: .72rem; color: #9CA3AF; }
.sop-annual { font-size: .65rem; font-weight: 700; padding: 1px 7px; border-radius: 20px; background: #DCFCE7; color: #166534; margin-left: 5px; }

/* Highlights */
.sop-highlights { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 4px; }
.sop-highlights li { font-size: .73rem; color: #374151; display: flex; align-items: flex-start; gap: 6px; line-height: 1.4; }
.sop-highlights li::before { content: '✓'; color: #10B981; font-weight: 700; font-size: .75rem; flex-shrink: 0; margin-top: 1px; }
.sop-highlights li.locked::before { content: '🔒'; font-size: .65rem; }
.sop-highlights li.locked { color: #9CA3AF; }

/* Badges */
.sop-popular { display: inline-flex; align-items: center; gap: 4px; font-size: .6rem; font-weight: 800; padding: 2px 8px; border-radius: 20px; background: #FEF3C7; color: #92400E; letter-spacing: .03em; text-transform: uppercase; }
.sop-trial   { display: inline-flex; align-items: center; gap: 4px; font-size: .6rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; background: #DCFCE7; color: #166534; }
.sop-mod-count { font-size: .68rem; color: #9CA3AF; margin-top: 6px; border-top: 1px solid #F3F4F6; padding-top: 6px; }

/* Check icon (shown when selected) */
.sop-check {
    display: none;
    position: absolute;
    top: 10px; right: 10px;
    width: 22px; height: 22px;
    background: #0052CC;
    border-radius: 50%;
    align-items: center; justify-content: center;
    color: #fff;
    font-size: .7rem;
}

/* Spin animation for loading */
@keyframes spin { to { transform: rotate(360deg); } }

.so-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: soFadeIn 0.2s ease;
}
.so-backdrop.open { display: flex; }
@keyframes soFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Modal box */
.so-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 32px 80px -12px rgba(10,10,10,0.28), 0 0 0 1px rgba(10,10,10,0.06);
  overflow: hidden;
  animation: soSlideUp 0.3s cubic-bezier(0.22,1,0.36,1);
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes soSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
.so-header {
  background: #fff;
  padding: 24px 28px 20px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.so-header-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}
.so-header-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.so-header-sub {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 4px;
}
.so-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  cursor: pointer;
  color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}
.so-close:hover { background: var(--line); color: var(--ink); }

/* Progress steps */
.so-steps {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 28px 0;
  margin-bottom: 4px;
}
.so-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.so-step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #E5E5E5;
  color: #9CA3AF;
  font-size: 12px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s;
}
.so-step.active .so-step-dot  { background: #0052CC; color: #fff; }
.so-step.done   .so-step-dot  { background: #06D6A0; color: #053D2C; }
.so-step-label {
  font-size: 11px;
  font-weight: 700;
  color: #9CA3AF;
  transition: color 0.25s;
  white-space: nowrap;
}
.so-step.active .so-step-label { color: #0052CC; }
.so-step.done   .so-step-label { color: #047857; }
.so-step-line {
  flex: 1;
  height: 2px;
  background: #E5E5E5;
  margin: 0 6px;
  border-radius: 2px;
  transition: background 0.3s;
}
.so-step-line.done { background: #06D6A0; }

/* Body */
.so-body { padding: 20px 28px 28px; }

/* Panel visibility */
.so-panel { display: none; }
.so-panel.active { display: block; animation: soFadeIn 0.2s ease; }

/* Field */
.so-field { margin-bottom: 16px; }
.so-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.so-field label .so-req { color: #0052CC; margin-left: 2px; }
.so-input, .so-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #E5E5E5;
  border-radius: 10px;
  font-size: 14px;
  color: #0A0A0A;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}
.so-input:focus, .so-select:focus {
  border-color: #0052CC;
  box-shadow: 0 0 0 3px rgba(0,82,204,0.10);
}
.so-input.error { border-color: #EF4444; }
.so-input::placeholder { color: #9CA3AF; }
.so-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.so-select-wrap { position: relative; }
.so-select-wrap::after {
  content: '';
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #6B7280;
  pointer-events: none;
}

/* Password toggle */
.so-pw-wrap { position: relative; }
.so-pw-wrap .so-input { padding-right: 44px; }
.so-pw-toggle {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer; color: #6B7280;
  font-size: 14px; padding: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.15s;
}
.so-pw-toggle:hover { color: #0052CC; }

/* School type toggle */
.so-type-group { display: flex; gap: 8px; flex-wrap: wrap; }
.so-type-btn {
  flex: 1; min-width: 80px;
  padding: 8px 10px;
  border: 1.5px solid #E5E5E5;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: #6B7280;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.so-type-btn:hover { border-color: #0052CC; color: #0052CC; }
.so-type-btn.selected { border-color: #0052CC; background: #EEF4FF; color: #0052CC; }

/* Hint text */
.so-hint {
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 5px;
  line-height: 1.4;
}

/* Footer */
.so-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px 20px;
  border-top: 1px solid #F0F0EE;
  gap: 12px;
}
.so-back {
  background: none;
  border: 1.5px solid #E5E5E5;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  color: #6B7280;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: all 0.15s;
}
.so-back:hover { border-color: #374151; color: #374151; }
.so-next, .so-submit {
  background: #0052CC;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 4px 12px -2px rgba(0,82,204,0.30);
  flex-shrink: 0;
}
.so-next:hover, .so-submit:hover { background: #003D99; transform: translateY(-1px); }
.so-next:disabled, .so-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* Message bar */
.so-message {
  font-size: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
  display: none;
  font-weight: 600;
}
.so-message.show { display: block; }
.so-message.error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.so-message.success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }

/* Success screen */
.so-success {
  text-align: center;
  padding: 8px 0 16px;
}
.so-success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06D6A0, #0052CC);
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: #fff;
  animation: soPop 0.5s cubic-bezier(0.22,1,0.36,1);
}
@keyframes soPop {
  0%   { transform: scale(0.5); opacity: 0; }
  70%  { transform: scale(1.1); }
  100% { transform: scale(1);   opacity: 1; }
}
.so-success-title {
  font-size: 20px;
  font-weight: 800;
  color: #0A0A0A;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.so-success-sub {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto 24px;
}
.so-success-steps {
  text-align: left;
  background: #FAFAF9;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.so-success-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #374151;
  padding: 6px 0;
}
.so-success-step:not(:last-child) { border-bottom: 1px solid #F0F0EE; }
.so-success-step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #0052CC;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Responsive */
@media (max-width: 540px) {
  .so-modal { border-radius: 16px; }
  .so-header { padding: 22px 20px 18px; }
  .so-body { padding: 16px 20px 20px; }
  .so-footer { padding: 14px 20px 16px; }
  .so-steps { padding: 16px 20px 0; }
  .so-grid2 { grid-template-columns: 1fr; gap: 0; }
  .so-step-label { display: none; }
}
