/* ============================================================
   Sublime LMS — Marketing Site
   Cohort Pulsefield theme implementation
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg-body); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ----- generic eyebrow ----- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--color-violet-700);
  font-family: var(--font-sans);
  margin-bottom: 16px;
}
.eyebrow.violet  { color: var(--color-violet-700); }
.eyebrow.teal    { color: var(--color-teal-700); }
.eyebrow.emerald { color: var(--color-emerald-700); }
.eyebrow.blue    { color: var(--color-blue-700); }
.eyebrow.on-dark { color: #D8B4FE; }

.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 999px; background: currentColor;
  box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.18);
}

/* gradient text — used sparingly for headline emphasis */
.grad-text {
  background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 60%, #A78BFA 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.grad-text-teal {
  background: linear-gradient(135deg, #0F766E 0%, #14B8A6 60%, #6D28D9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-text-emerald {
  background: linear-gradient(135deg, #047857 0%, #10B981 60%, #6D28D9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-text-dark {
  background: linear-gradient(135deg, #A78BFA 0%, #67E8F9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600;
  border: 1px solid transparent; border-radius: var(--radius-md);
  height: 44px; padding: 0 18px; font-size: 14px;
  white-space: nowrap; user-select: none;
  transition: background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.btn i, .btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }

.btn-sm { height: 38px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 22px; font-size: 15px; }
.btn-lg i, .btn-lg svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--color-violet-600); color: #fff;
  box-shadow: var(--shadow-violet-soft);
}
.btn-primary:hover { background: var(--color-violet-500); box-shadow: var(--shadow-violet); }

.btn-secondary {
  background: #fff; color: var(--color-violet-700);
  border: 1px solid var(--color-violet-200);
}
.btn-secondary:hover { background: var(--color-violet-50); border-color: var(--color-violet-300); }

.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--color-cloud); }

.btn-on-dark { background: #fff; color: var(--color-graphite); box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.btn-on-dark:hover { background: #F3E8FF; color: var(--color-violet-700); }

.btn-ghost-dark { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.12); }

.btn-mini {
  display: inline-flex; align-items: center; gap: 4px;
  height: 28px; padding: 0 10px; font-size: 12px; font-weight: 600;
  border: 1px solid var(--border); border-radius: 8px;
  background: #fff; color: var(--fg-body);
  cursor: default; pointer-events: none;
}
.btn-mini-primary {
  background: var(--color-violet-600); color: #fff; border-color: transparent;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 251, 254, 0.78);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-row { display: flex; align-items: center; gap: 32px; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 800; font-size: 18px;
  letter-spacing: -0.02em; color: var(--color-graphite);
  font-style: normal;
}
.brand-word em {
  color: var(--color-violet-600); font-style: normal; font-weight: 800;
}
.brand-word.on-dark { color: #fff; }
.brand-word.on-dark em { color: #A78BFA; }

.primary-nav { display: flex; gap: 4px; margin-left: 4px; }
.primary-nav a {
  padding: 8px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--fg-body);
  transition: background var(--dur-base) ease, color var(--dur-base) ease;
}
.primary-nav a:hover { background: var(--color-cloud); color: var(--fg); }

.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.nav-burger {
  display: none; background: transparent; border: 1px solid var(--border);
  border-radius: 10px; width: 40px; height: 40px; padding: 0;
  color: var(--fg); align-items: center; justify-content: center;
}
.nav-burger i { width: 22px; height: 22px; }

.mobile-sheet {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 24px 20px; border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-sheet a {
  padding: 12px 6px; border-bottom: 1px solid var(--border-soft);
  font-size: 16px; font-weight: 500;
}
.mobile-sheet .btn { margin-top: 12px; align-self: stretch; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 56px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-field {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
}
.hero-pulsefield {
  position: absolute; inset: -80px;
  background: var(--gradient-pulsefield);
  opacity: .9;
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(17,24,39,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 70%, transparent);
}
.hero-paths {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hp.draw {
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: draw 3.6s var(--ease-out) .4s forwards;
}
.hp.draw.d2 { animation-delay: .9s; animation-duration: 4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  padding-top: 32px;
}

.hero-h1 {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  margin: 14px 0 22px;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: 18px; line-height: 1.6;
  color: var(--fg-body);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  font-size: 14px; color: var(--fg-body); font-weight: 500;
}
.hero-bullets li { display: inline-flex; align-items: center; gap: 8px; }
.hero-bullets i { width: 18px; height: 18px; }

/* ----- hero art ----- */
.hero-art {
  position: relative;
  min-height: 540px;
}

.hero-mockup {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  z-index: 2;
}
.mock-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #FCFAFF 0%, #FFFFFF 100%);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 999px; background: var(--color-slate-200); }
.mock-dots span:first-child { background: #FCA5A5; }
.mock-dots span:nth-child(2) { background: #FCD34D; }
.mock-dots span:nth-child(3) { background: #86EFAC; }
.mock-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 8px;
  background: var(--color-violet-50);
  color: var(--color-violet-700);
  font-size: 12px; font-weight: 600;
}
.mock-tab i { width: 14px; height: 14px; }
.mock-actions { margin-left: auto; display: flex; gap: 14px; color: var(--fg-muted); }
.mock-actions i { width: 16px; height: 16px; }

.mock-body { display: grid; grid-template-columns: 156px 1fr; min-height: 380px; }
.mock-side {
  border-right: 1px solid var(--border);
  padding: 18px 12px;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--color-mist);
}
.ms-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px;
  font-size: 13px; color: var(--fg-body); font-weight: 500;
}
.ms-row i { width: 16px; height: 16px; color: var(--fg-muted); }
.ms-row.active {
  background: #fff; color: var(--color-violet-700);
  box-shadow: var(--shadow-xs);
}
.ms-row.active i { color: var(--color-violet-600); }

.mock-main { padding: 22px 24px; }
.mm-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-violet-700); }
.mm-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--fg); margin-top: 4px; letter-spacing: -0.01em; }
.mm-sub { font-size: 13px; color: var(--fg-muted); margin-top: 2px; }

.mm-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 18px;
}
.mm-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 14px 16px;
  box-shadow: var(--shadow-xs);
}
.mm-card .lbl { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); }
.mm-card .lbl.violet { color: var(--color-violet-700); }
.mm-card .ttl { font-family: var(--font-display); font-size: 14px; font-weight: 650; color: var(--fg); margin-top: 4px; letter-spacing: -0.005em; }
.mm-card .sub { font-size: 11px; color: var(--fg-muted); margin-top: 4px; line-height: 1.5; }

.mm-ring { display: flex; align-items: center; gap: 14px; }
.ring-large { position: relative; width: 104px; height: 104px; flex-shrink: 0; }
.ring-fill {
  animation: ringFill 1.8s var(--ease-out) .6s forwards;
}
@keyframes ringFill { to { stroke-dashoffset: 75; } }
/* Ring value: optical center fix.
   Use flex column (deterministic vertical stack), and place number+% on
   the same baseline so the whole token reads as one centered unit. */
.ring-val {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--font-display); text-align: center;
  line-height: 1;
}
.ring-val b {
  display: inline-flex; align-items: baseline;
  font-size: 22px; font-weight: 700; color: var(--fg);
  letter-spacing: -0.02em; line-height: 1;
}
.ring-val b small { font-size: 12px; font-weight: 600; color: var(--fg-muted); margin-left: 1px; }
.ring-val span { font-size: 10px; color: var(--fg-muted); margin-top: 4px; letter-spacing: .04em; }

.mm-next .bar {
  background: var(--color-cloud); height: 6px; border-radius: 999px; margin-top: 10px; overflow: hidden;
}
.mm-next .bar span { display: block; height: 100%; background: var(--color-violet-600); border-radius: 999px; }
.row-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--fg-muted); }

.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
}
.chip i { width: 11px; height: 11px; }
.chip.violet { background: var(--color-violet-50); color: var(--color-violet-700); }
.chip.teal { background: var(--color-teal-50); color: var(--color-teal-700); }
.chip.emerald { background: var(--color-emerald-50); color: var(--color-emerald-700); }
.chip.amber { background: var(--color-amber-50); color: var(--color-amber-600); }
.chip.blue { background: var(--color-blue-50); color: var(--color-blue-700); }

.mm-path {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 14px 16px 12px;
  box-shadow: var(--shadow-xs);
}
.mm-path .lbl { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-violet-700); margin-bottom: 8px; }
.mini-path { width: 100%; height: 56px; }
.mini-path .pulse { animation: pulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.path-keys {
  display: flex; gap: 14px; margin-top: 4px; font-size: 10px; color: var(--fg-muted);
}
.path-keys span { display: inline-flex; align-items: center; gap: 5px; }
.path-keys .dot { width: 7px; height: 7px; border-radius: 999px; }
.path-keys .dot.done { background: #10B981; }
.path-keys .dot.now { background: #6D28D9; }
.path-keys .dot.next { background: #CBD5E1; }

/* ----- floating cards ----- */
.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.ai-card {
  top: -10px; right: calc(var(--ax) * -1);
  width: 270px; padding: 14px 16px 14px 22px;
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start;
  overflow: hidden;
  animation-delay: .2s;
}
.ai-bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gradient-ai-primary);
}
.ai-icon {
  position: relative;
  width: 36px; height: 36px; border-radius: 12px;
  background: var(--gradient-ai-primary);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow-violet-soft);
  flex-shrink: 0;
}
.ai-icon i { width: 18px; height: 18px; }
.pulse-dot {
  position: absolute; top: -3px; right: -3px;
  width: 10px; height: 10px; border-radius: 999px;
  background: #8B5CF6;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(139,92,246,.3);
  animation: breathe 2.4s ease-in-out infinite;
}
@keyframes breathe {
  0%,100% { opacity:.5; transform: scale(1);}
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes pulse {
  0%,100% { opacity:.55; }
  50% { opacity: 1; }
}
.ai-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-violet-700); }
.ai-label.on-dark { color: #C4B5FD; }
.ai-title { font-family: var(--font-display); font-size: 14px; font-weight: 650; color: var(--fg); margin-top: 2px; line-height: 1.3; }
.ai-title.on-dark { color: #fff; }
.ai-sub { font-size: 11px; color: var(--fg-muted); margin-top: 6px; }

.cohort-card {
  bottom: 24px; left: calc(var(--ax) * -1);
  padding: 14px 16px; width: 220px;
  animation-delay: 1s;
}
.cc-label { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--color-teal-700); margin-bottom: 10px; }
.dot-teal { width: 7px; height: 7px; border-radius: 999px; background: var(--color-teal-500); box-shadow: 0 0 0 3px rgba(20,184,166,.2); animation: breathe 2s ease-in-out infinite; }
.cc-avatars { display: flex; }
.cc-avatars span {
  width: 28px; height: 28px; border-radius: 999px;
  display: grid; place-items: center;
  color: #fff; font-size: 10px; font-weight: 700;
  border: 2px solid #fff; margin-left: -8px;
}
.cc-avatars span:first-child { margin-left: 0; }
.cc-avatars .more {
  background: var(--color-cloud); color: var(--fg-body);
  font-size: 10px; font-weight: 700;
}
.cc-foot { font-size: 11px; color: var(--fg-muted); margin-top: 10px; }

.metric-card {
  top: 38%; right: calc(var(--ax) * -1);
  padding: 12px 16px; width: 200px;
  display: flex; align-items: center; gap: 12px;
  animation-delay: 1.6s;
}
.mc-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--color-emerald-50); color: var(--color-emerald-700);
  display: grid; place-items: center; flex-shrink: 0;
}
.mc-icon i { width: 18px; height: 18px; }
.mc-val { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--fg); letter-spacing: -0.02em; line-height: 1; }
.mc-val small { font-size: 14px; color: var(--fg-muted); font-weight: 600; }
.mc-lbl { font-size: 11px; color: var(--fg-muted); margin-top: 3px; }

/* ----- trust strip ----- */
.trust-strip {
  margin: 80px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.trust-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-muted);
}
.trust-logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 44px;
  max-width: 880px;
}
.trust-logos span {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  color: var(--color-slate-400);
  letter-spacing: -0.01em;
  transition: color var(--dur-base) ease;
}
.trust-logos span:hover { color: var(--color-slate-700); }
.trust-logos img {
  height: 32px; width: auto; object-fit: contain;
}

@media (max-width: 760px) {
  .trust-strip { margin-top: 56px; gap: 18px; padding-top: 28px; }
  .trust-logos { gap: 10px 28px; }
  .trust-logos span { font-size: 14px; }
  .trust-logos img { height: 26px; }
}

/* ============================================================
   SECTIONS / GENERIC
   ============================================================ */
.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section-head {
  max-width: 800px;
  margin-bottom: 56px;
}
.section-head.narrow { max-width: 740px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.lede {
  font-size: 18px; line-height: 1.6;
  color: var(--fg-body);
  max-width: 640px;
}
.section-head.narrow .lede { margin-left: auto; margin-right: auto; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem { background: var(--color-ivory); }
.problem-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.prob-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 28px 24px;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.prob-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.prob-num {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--color-slate-400);
  letter-spacing: .04em;
}
.prob-ico {
  width: 36px; height: 36px; color: var(--color-slate-500);
  margin-top: 18px; margin-bottom: 16px;
}
.prob-card h3 {
  font-family: var(--font-display); font-size: 17px; font-weight: 650;
  color: var(--fg); line-height: 1.3; letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.prob-card p { font-size: 14px; line-height: 1.55; color: var(--fg-body); }

/* ============================================================
   PLATFORM (pillars)
   ============================================================ */
.pillar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.pillar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.pillar-violet::before { background: var(--gradient-ai-primary); }
.pillar-teal::before { background: linear-gradient(90deg, #14B8A6, #0D9488); }
.pillar-emerald::before { background: linear-gradient(90deg, #10B981, #047857); }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.pillar-ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.pillar-ico i { width: 24px; height: 24px; }
.pillar-violet .pillar-ico { background: var(--color-violet-100); color: var(--color-violet-700); }
.pillar-teal .pillar-ico { background: var(--color-teal-100); color: var(--color-teal-700); }
.pillar-emerald .pillar-ico { background: var(--color-emerald-100); color: var(--color-emerald-700); }

.pillar-tag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  color: var(--fg-muted); letter-spacing: .04em;
  margin-bottom: 6px;
}
.pillar h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--fg); letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.pillar > p { font-size: 15px; line-height: 1.6; color: var(--fg-body); margin-bottom: 20px; }
.pillar-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.pillar-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg); }
.pillar-list i { width: 16px; height: 16px; color: var(--color-violet-600); }
.pillar-teal .pillar-list i { color: var(--color-teal-600); }
.pillar-emerald .pillar-list i { color: var(--color-emerald-600); }

.pillar-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--color-violet-700);
}
.pillar-teal .pillar-link { color: var(--color-teal-700); }
.pillar-emerald .pillar-link { color: var(--color-emerald-700); }
.pillar-link i { width: 16px; height: 16px; transition: transform var(--dur-base) ease; }
.pillar-link:hover i { transform: translateX(3px); }

/* ============================================================
   AI MENTOR + COHORT (split sections)
   ============================================================ */
.split { background: var(--color-ivory); }
.split-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.split-grid.reverse { grid-template-columns: 1.1fr 1fr; }
.split-grid.reverse .split-art { order: -1; }

.split-copy h2 { margin: 14px 0 20px; }
.split-copy .lede { margin-bottom: 32px; }

.capability-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.cap { display: flex; gap: 12px; align-items: start; }
.cap i {
  width: 32px; height: 32px; padding: 7px;
  background: var(--color-violet-50);
  color: var(--color-violet-700);
  border-radius: 10px;
  flex-shrink: 0;
}
.cap b { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 650; color: var(--fg); margin-bottom: 2px; }
.cap span { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }

/* ----- AI stream ----- */
.ai-stream {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  position: relative;
}
.stream-head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 18px;
}
.stream-avatar {
  position: relative;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--gradient-ai-primary);
  display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow-violet-soft);
}
.stream-avatar i { width: 22px; height: 22px; }
.stream-title { font-family: var(--font-display); font-size: 16px; font-weight: 650; color: var(--fg); }
.stream-sub { font-size: 12px; color: var(--fg-muted); margin-top: 2px; }
.chip-live {
  margin-left: auto; padding: 4px 10px; border-radius: 999px;
  background: var(--color-violet-50); color: var(--color-violet-700);
  font-size: 11px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.dot-live { width: 6px; height: 6px; border-radius: 999px; background: var(--color-violet-500); animation: breathe 1.8s ease-in-out infinite; }

.signal-card {
  display: grid; grid-template-columns: 36px 1fr; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.signal-card:last-of-type { border-bottom: none; }
.sc-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--color-amber-50); color: var(--color-amber-600);
  flex-shrink: 0;
}
.sc-icon i { width: 18px; height: 18px; }
.sc-icon.insight { background: var(--color-blue-50); color: var(--color-blue-700); }
.sc-icon.recovery { background: var(--color-emerald-50); color: var(--color-emerald-700); }

.sc-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-amber-600); }
.sc-eyebrow.insight { color: var(--color-blue-700); }
.sc-eyebrow.recovery { color: var(--color-emerald-700); }

.sc-title { font-family: var(--font-display); font-size: 15px; font-weight: 650; color: var(--fg); margin-top: 3px; letter-spacing: -0.005em; line-height: 1.35; }
.sc-sub { font-size: 13px; color: var(--fg-muted); margin-top: 4px; line-height: 1.5; }
.sc-actions { display: flex; gap: 8px; margin-top: 10px; }

.stream-foot {
  display: flex; align-items: center; gap: 8px;
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  font-size: 12px; color: var(--fg-muted);
}
.stream-foot i { width: 14px; height: 14px; color: var(--color-violet-600); }

/* ============================================================
   COHORT SECTION
   ============================================================ */
.cohort-section { background: var(--bg); position: relative; }
.cohort-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.cf {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 16px 18px;
}
.cf i { width: 22px; height: 22px; margin-bottom: 10px; display: block; }
.cf b { display: block; font-family: var(--font-display); font-weight: 650; font-size: 14px; color: var(--fg); margin-bottom: 4px; }
.cf span { font-size: 12px; color: var(--fg-muted); line-height: 1.5; }

.cohort-map {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  position: relative;
}
.cm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cm-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-teal-700); }
.cm-title { font-family: var(--font-display); font-size: 15px; font-weight: 650; color: var(--fg); margin-top: 2px; }
.cm-head .chip-live { margin-left: auto; background: var(--color-teal-50); color: var(--color-teal-700); }
.cm-head .dot-live { background: var(--color-teal-500); }

.cm-svg { width: 100%; height: auto; display: block; }
.cm-nodes .pulse { animation: pulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.cm-nodes .pulse-violet { animation: glow 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes glow {
  0%,100% { filter: drop-shadow(0 0 4px rgba(139,92,246,.5)); }
  50% { filter: drop-shadow(0 0 12px rgba(139,92,246,.8)); }
}

.cm-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-soft); }
.cm-key { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--fg-muted); }
.cm-key i { width: 8px; height: 8px; border-radius: 999px; display: inline-block; }

.cohort-feed {
  bottom: -28px; right: -16px;
  width: 270px; padding: 14px 16px;
}
.cohort-feed .cf-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--color-teal-700);
  margin-bottom: 10px;
}
.cohort-feed .cf-head i { width: 14px; height: 14px; }
.cohort-feed ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.cohort-feed li {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--fg-body);
  line-height: 1.4;
}
.cohort-feed li b { font-weight: 600; color: var(--fg); }
.cohort-feed li i { font-style: normal; color: var(--fg-muted); margin-left: auto; font-size: 11px; }
.av {
  width: 24px; height: 24px; border-radius: 999px;
  display: inline-grid; place-items: center;
  color: #fff; font-size: 9px; font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   RETENTION
   ============================================================ */
.retention { background: var(--color-ivory); }

.river-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.river-svg {
  width: 100%; height: 120px; display: block;
  margin-bottom: 8px;
}
.river-path {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
}
.river-svg.in .river-path { animation: draw 2s var(--ease-out) forwards; }

.river-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 18px;
}
.rstep {
  position: relative;
  padding: 18px 18px 20px;
  border-radius: var(--radius-xl);
  background: var(--color-mist);
  border: 1px solid var(--border);
}
.rs-ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: #fff; border: 1px solid var(--border);
  display: grid; place-items: center;
  margin-bottom: 12px;
  box-shadow: var(--shadow-xs);
}
.rs-ico i { width: 18px; height: 18px; }
.r-risk .rs-ico { background: var(--color-amber-50); border-color: var(--color-amber-100); color: var(--color-amber-600); }
.r-ai .rs-ico { background: var(--color-violet-50); border-color: var(--color-violet-200); color: var(--color-violet-700); }
.r-mentor .rs-ico { background: var(--color-blue-50); border-color: var(--color-blue-100); color: var(--color-blue-700); }
.r-done .rs-ico { background: var(--color-emerald-50); border-color: var(--color-emerald-100); color: var(--color-emerald-700); }

.rs-lbl { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 4px; }
.r-risk .rs-lbl { color: var(--color-amber-600); }
.r-ai .rs-lbl { color: var(--color-violet-700); }
.r-mentor .rs-lbl { color: var(--color-blue-700); }
.r-done .rs-lbl { color: var(--color-emerald-700); }

.rs-title { font-family: var(--font-display); font-size: 15px; font-weight: 650; color: var(--fg); margin-bottom: 8px; }
.rs-sub { font-size: 12px; color: var(--fg-body); line-height: 1.55; margin-bottom: 12px; }
.rs-meta .chip { font-size: 10px; padding: 3px 8px; }

/* metrics row */
.retain-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.rm {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: left;
}
.rm-val {
  font-family: var(--font-display); font-size: 44px; font-weight: 800;
  color: var(--fg); letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rm-val small { font-size: 24px; font-weight: 700; }
.rm-lbl { font-family: var(--font-display); font-weight: 650; color: var(--fg); margin-top: 10px; font-size: 15px; }
.rm-sub { font-size: 12px; color: var(--fg-muted); margin-top: 4px; }

/* ============================================================
   COMPARE
   ============================================================ */
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 980px; margin: 0 auto;
}
.cmp {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 28px 32px;
}
.cmp-old {
  background: var(--color-mist);
  color: var(--fg-muted);
}
.cmp-old .cmp-head { color: var(--fg-muted); }
.cmp-new {
  border: 1px solid var(--color-violet-200);
  box-shadow: var(--shadow-violet-soft);
  position: relative;
}
.cmp-new::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-ai-primary);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}
.cmp-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--fg); margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}
.cmp-head.violet { color: var(--color-violet-700); }
.cmp-head i { width: 22px; height: 22px; }

.cmp ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.cmp li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-body); }
.cmp li i { width: 18px; height: 18px; flex-shrink: 0; }
.cmp-old li i { color: var(--color-slate-400); }
.cmp-new li i { color: var(--color-violet-600); }
.cmp-new li { color: var(--fg); }

/* ============================================================
   ROLES
   ============================================================ */
.role-tabs {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 40px;
  gap: 4px;
}
.rt {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  color: var(--fg-body); background: transparent; border: none;
  transition: all var(--dur-base) var(--ease-out);
}
.rt i { width: 16px; height: 16px; }
.rt:hover { color: var(--fg); }
.rt.active {
  background: var(--color-violet-600); color: #fff;
  box-shadow: var(--shadow-violet-soft);
}

.role-panel { display: none; }
.role-panel.active { display: block; }

.role-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 56px; align-items: center;
}
.role-copy h3 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.02em; margin-bottom: 16px; }
.role-copy > p { font-size: 17px; line-height: 1.6; color: var(--fg-body); margin-bottom: 24px; }
.role-feat { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role-feat li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg); font-weight: 500; }
.role-feat i { width: 18px; height: 18px; }

/* student phone mockup */
.role-art { display: flex; justify-content: center; }
.phone-frame {
  width: 320px; max-width: 100%;
  background: #0F172A;
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; border-radius: 999px;
  background: #000;
  z-index: 2;
}
.phone-body {
  background: var(--bg);
  border-radius: 36px;
  padding: 56px 22px 18px;
  min-height: 580px;
}
.ph-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-violet-700); }
.ph-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--fg); margin-top: 4px; letter-spacing: -0.02em; }
.ph-sub { font-size: 13px; color: var(--fg-muted); margin-top: 4px; }

.ph-ring {
  position: relative; width: 140px; height: 140px;
  margin: 20px auto 14px;
}
.ph-ring-val {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--font-display); text-align: center;
  line-height: 1;
}
.ph-ring-val b {
  display: inline-flex; align-items: baseline;
  font-size: 30px; font-weight: 800; color: var(--fg);
  letter-spacing: -0.02em; line-height: 1;
}
.ph-ring-val b small { font-size: 14px; color: var(--fg-muted); font-weight: 700; margin-left: 1px; }
.ph-ring-val span { font-size: 11px; color: var(--fg-muted); margin-top: 6px; letter-spacing: .04em; }

.ph-card {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 12px;
  margin-top: 12px;
  box-shadow: var(--shadow-xs);
}
.ph-card.teal { border-color: var(--color-teal-100); background: var(--color-teal-50); }
.ph-ai-ico {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--color-violet-100); color: var(--color-violet-700);
  display: grid; place-items: center; flex-shrink: 0;
}
.ph-ai-ico.teal { background: #fff; color: var(--color-teal-700); }
.ph-ai-ico i { width: 16px; height: 16px; }
.ph-card b { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 650; color: var(--fg); }
.ph-card span { display: block; font-size: 12px; color: var(--fg-muted); margin-top: 2px; line-height: 1.4; }

.ph-bottom-nav {
  display: flex; justify-content: space-around;
  margin: 28px -6px -4px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  color: var(--fg-faint);
}
.ph-bottom-nav i { width: 22px; height: 22px; }
.ph-bottom-nav i.active { color: var(--color-violet-600); }

/* instructor dashboard mock */
.dash-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  width: 100%;
  max-width: 560px;
}
.df-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.df-head b { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--fg); }
.df-rings {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px;
  margin-bottom: 20px;
}
.df-ring {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  background: var(--color-mist);
  border-radius: 14px;
}
.df-ring b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--fg); letter-spacing: -0.01em; }
.df-ring span { display: block; font-size: 11px; color: var(--fg-muted); margin-top: 1px; }

.df-queue { background: var(--color-mist); border-radius: 14px; padding: 16px; }
.df-q-head { font-family: var(--font-display); font-weight: 650; font-size: 13px; color: var(--fg); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.df-q-head i { width: 16px; height: 16px; }
.dq-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 8px;
}
.dq-row:last-child { margin-bottom: 0; }
.dq-info { flex: 1; min-width: 0; }
.dq-info b { display: block; font-size: 13px; font-weight: 600; color: var(--fg); }
.dq-info span { display: block; font-size: 11px; color: var(--fg-muted); }

/* admin dashboard mock */
.dash-frame.admin { max-width: 560px; }
.adm-metrics {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px;
  margin-bottom: 20px;
}
.amx {
  padding: 14px;
  background: var(--color-mist);
  border-radius: 14px;
}
.amx b {
  display: block; font-family: var(--font-display);
  font-size: 26px; font-weight: 800; color: var(--fg);
  letter-spacing: -0.02em; line-height: 1;
}
.amx b small { font-size: 16px; color: var(--fg-muted); }
.amx span { display: block; font-size: 11px; color: var(--fg-muted); margin-top: 6px; }
.amx .trend {
  display: inline-block; font-size: 11px; font-weight: 600; font-style: normal;
  color: var(--color-emerald-700); margin-top: 4px;
}

.adm-chart {
  background: var(--color-mist);
  border-radius: 14px;
  padding: 14px;
}
.ac-head { font-family: var(--font-display); font-size: 12px; font-weight: 650; color: var(--fg); margin-bottom: 8px; }
.ac-svg { width: 100%; height: 120px; display: block; }

/* ============================================================
   ONBOARDING
   ============================================================ */
.onboarding { background: var(--bg); position: relative; }
.onb-flow {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  margin-bottom: 48px;
}
.onb-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.onb-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.onb-card.violet { background: var(--color-violet-50); border-color: var(--color-violet-200); }
.onb-card.emerald { background: var(--color-emerald-50); border-color: var(--color-emerald-100); }
.onb-num { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--color-slate-400); letter-spacing: .04em; }
.onb-card.violet .onb-num { color: var(--color-violet-600); }
.onb-card.emerald .onb-num { color: var(--color-emerald-700); }
.onb-ico {
  width: 26px; height: 26px;
  margin-top: 16px; margin-bottom: 14px;
  color: var(--color-slate-500);
}
.onb-card.violet .onb-ico { color: var(--color-violet-700); }
.onb-card.emerald .onb-ico { color: var(--color-emerald-700); }
.onb-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 650; color: var(--fg); margin-bottom: 6px; letter-spacing: -0.005em; }
.onb-card p { font-size: 12px; line-height: 1.5; color: var(--fg-body); }

/* launch readiness card */
.launch-card {
  background: linear-gradient(135deg, #FFFBFE 0%, #FAF5FF 100%);
  border: 1px solid var(--color-violet-200);
  border-radius: var(--radius-2xl);
  padding: 36px 40px;
  display: grid; grid-template-columns: 160px 1fr;
  gap: 36px; align-items: center;
  box-shadow: var(--shadow-md);
}
.launch-ring { position: relative; width: 140px; height: 140px; }
.launch-ring-val {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; font-family: var(--font-display);
  line-height: 1;
}
.launch-ring-val b {
  display: inline-flex; align-items: baseline;
  font-size: 32px; font-weight: 800; color: var(--fg);
  letter-spacing: -0.03em; line-height: 1;
}
.launch-ring-val b small { font-size: 18px; color: var(--fg-muted); font-weight: 700; margin-left: 1px; }
.launch-ring-val span { font-size: 11px; color: var(--fg-muted); margin-top: 6px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }

.launch-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-emerald-700); }
.launch-eyebrow i { width: 16px; height: 16px; }
.launch-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--fg); letter-spacing: -0.02em; margin: 6px 0 16px; }
.launch-checks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.launch-checks li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fg); }
.launch-checks i { width: 16px; height: 16px; }

/* ============================================================
   FEATURE GRID
   ============================================================ */
.features-grid { background: var(--color-ivory); }
.feat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.feat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.feat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feat-ic {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.feat-ic i { width: 20px; height: 20px; }
.feat-ic.violet { background: var(--color-violet-100); color: var(--color-violet-700); }
.feat-ic.teal { background: var(--color-teal-100); color: var(--color-teal-700); }
.feat-ic.emerald { background: var(--color-emerald-100); color: var(--color-emerald-700); }
.feat-ic.blue { background: var(--color-blue-100); color: var(--color-blue-700); }
.feat-ic.amber { background: var(--color-amber-100); color: var(--color-amber-600); }

.feat h4 { font-family: var(--font-display); font-size: 14px; font-weight: 650; color: var(--fg); margin-bottom: 6px; letter-spacing: -0.005em; }
.feat p { font-size: 12px; line-height: 1.5; color: var(--fg-muted); }

/* ============================================================
   LEARNING EXPERIENCE (V1 core loop)
   ============================================================ */
.learning-exp { background: var(--bg); }
.lx-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.lx-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 24px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.lx-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.lx-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.lx-violet::before  { background: var(--gradient-ai-primary); }
.lx-teal::before    { background: linear-gradient(90deg, #14B8A6, #0D9488); }
.lx-blue::before    { background: linear-gradient(90deg, #3B82F6, #1D4ED8); }
.lx-emerald::before { background: linear-gradient(90deg, #10B981, #047857); }

.lx-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.lx-ico {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
}
.lx-ico i { width: 20px; height: 20px; }
.lx-violet  .lx-ico { background: var(--color-violet-100); color: var(--color-violet-700); }
.lx-teal    .lx-ico { background: var(--color-teal-100); color: var(--color-teal-700); }
.lx-blue    .lx-ico { background: var(--color-blue-100); color: var(--color-blue-700); }
.lx-emerald .lx-ico { background: var(--color-emerald-100); color: var(--color-emerald-700); }

.lx-tag {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  color: var(--fg-muted); letter-spacing: .04em;
}

.lx-card h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: var(--fg); letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.lx-card > p {
  font-size: 14px; line-height: 1.5;
  color: var(--fg-muted);
  margin: 0 0 18px;
  flex: 1;
}

.lx-preview {
  background: var(--color-mist);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
}

/* Quiz preview */
.lx-q { display: flex; align-items: center; gap: 10px; }
.lx-q-num {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  color: var(--fg-muted); width: 22px;
  flex-shrink: 0;
}
.lx-q-bar {
  flex: 1; height: 6px; border-radius: 999px;
  background: rgba(15,23,42,.07);
  overflow: hidden;
}
.lx-q-bar span { display: block; height: 100%; background: var(--color-violet-600); border-radius: 999px; }
.lx-q-tag {
  font-size: 10px; font-weight: 600;
  padding: 2px 7px; border-radius: 999px;
  flex-shrink: 0;
}
.lx-q-tag.emerald { background: var(--color-emerald-50); color: var(--color-emerald-700); }
.lx-q-tag.amber   { background: var(--color-amber-50); color: var(--color-amber-600); }

/* Video preview */
.lx-video { padding: 0; overflow: hidden; }
.lx-video-thumb {
  position: relative;
  height: 84px;
  background: linear-gradient(135deg, #134E4A 0%, #0F766E 100%);
  display: grid; place-items: center;
}
.lx-play {
  width: 32px; height: 32px;
  background: #fff;
  border-radius: 999px;
  padding: 8px;
  color: var(--color-teal-700);
}
.lx-video-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: rgba(255,255,255,.18);
}
.lx-video-bar span { display: block; height: 100%; background: #5EEAD4; }
.lx-chapter {
  display: flex; gap: 8px; align-items: center;
  padding: 8px 12px;
  font-size: 12px;
  border-top: 1px solid var(--border-soft);
  background: #fff;
}
.lx-chapter:first-of-type { border-top: none; }
.lx-chapter i { width: 14px; height: 14px; color: var(--color-teal-600); flex-shrink: 0; }
.lx-chapter.active i { color: var(--color-teal-700); }
.lx-chapter b { display: block; font-family: var(--font-display); font-size: 12px; font-weight: 650; color: var(--fg); }
.lx-chapter span { display: block; font-size: 10px; color: var(--fg-muted); }

/* Assignment preview */
.lx-asg-ttl { font-family: var(--font-display); font-size: 13px; font-weight: 650; color: var(--fg); margin-bottom: 8px; letter-spacing: -0.005em; }
.lx-asg-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.lx-asg-meta .chip { font-size: 10px; padding: 3px 7px; }
.lx-asg-bar { height: 6px; border-radius: 999px; background: rgba(15,23,42,.07); overflow: hidden; }
.lx-asg-bar span { display: block; height: 100%; background: var(--color-blue-600); border-radius: 999px; }

/* Certificate preview */
.lx-cert { background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%); }
.lx-cert-paper {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px;
  position: relative;
  border: 1px solid #FDE68A;
  text-align: center;
}
.lx-cert-eyebrow { font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--color-amber-600); }
.lx-cert-name { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--fg); margin: 4px 0; letter-spacing: -0.01em; }
.lx-cert-course { font-size: 10px; color: var(--fg-muted); }
.lx-cert-seal {
  position: absolute; top: 8px; right: 8px;
  width: 24px; height: 24px; border-radius: 999px;
  background: var(--color-amber-100); color: var(--color-amber-600);
  display: grid; place-items: center;
}
.lx-cert-seal i { width: 14px; height: 14px; }

@media (max-width: 1100px) {
  .lx-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .lx-grid { grid-template-columns: 1fr; }
}
.proof-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-bottom: 56px;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 32px;
  position: relative;
  display: flex; flex-direction: column;
  height: 100%;
}
.quote-mark { width: 28px; height: 28px; color: var(--color-violet-300); margin-bottom: 12px; flex-shrink: 0; }
.quote-text {
  font-family: var(--font-display);
  font-size: 18px; line-height: 1.5;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  font-weight: 500;
  flex: 1;
}
.quote-meta {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
}
.quote-meta .av-img {
  width: 40px; height: 40px; border-radius: 999px;
  object-fit: cover; flex-shrink: 0;
  background: var(--color-mist);
  border: 1px solid var(--border);
}
.quote-meta .av {
  width: 40px; height: 40px; font-size: 13px;
  background: linear-gradient(135deg, #6D28D9, #14B8A6);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
}
.quote-meta b { display: block; font-size: 14px; font-weight: 650; color: var(--fg); letter-spacing: -0.005em; }
.quote-meta span { display: block; font-size: 12px; color: var(--fg-muted); margin-top: 2px; }

.proof-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 36px 0;
}
.ps { text-align: center; border-right: 1px solid var(--border-soft); padding: 0 16px; }
.ps:last-child { border-right: none; }
.ps b {
  display: block; font-family: var(--font-display); font-size: 44px; font-weight: 800;
  color: var(--fg); letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ps b small { font-size: 24px; font-weight: 700; }
.ps span { display: block; font-size: 13px; color: var(--fg-muted); margin-top: 10px; }

/* ============================================================
   FINAL CTA / DARK
   ============================================================ */
.final-cta.dark {
  background: var(--gradient-dark-intel);
  color: var(--fg-on-dark);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-field {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.35), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(20, 184, 166, 0.20), transparent 35%);
}
.cta-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.final-cta h2 { color: #fff; font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.03em; margin: 14px 0 22px; line-height: 1.04; }
.cta-lede { font-size: 18px; line-height: 1.6; color: var(--fg-on-dark-muted); max-width: 520px; margin-bottom: 28px; }
.cta-bullets {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  font-size: 14px; color: var(--fg-on-dark-muted);
}
.cta-bullets li { display: flex; align-items: center; gap: 6px; }
.cta-bullets i { width: 16px; height: 16px; color: #6EE7B7; }

.cta-art {
  position: relative;
  min-height: 320px;
  display: flex; justify-content: center; align-items: center;
}
.cta-pathway { width: 100%; max-width: 480px; height: auto; }
.cta-pathway .pulse-violet { animation: glow 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }

/* ===== CTA aurora bloom (replaces line/dot pathway) ===== */
.cta-art .cta-bloom ~ .cta-pathway, .cta-art > svg.cta-pathway { display: none; }
.cta-bloom { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1 / 1; margin: 0 auto; isolation: isolate; }
.cb-orb { position: absolute; border-radius: 50%; filter: blur(38px); opacity: .75; mix-blend-mode: screen; will-change: transform; }
.cb-orb.o1 { width: 58%; height: 58%; top: 8%; left: 6%; background: radial-gradient(circle, #A78BFA, transparent 70%); animation: cb-orb1 15s ease-in-out infinite; }
.cb-orb.o2 { width: 54%; height: 54%; bottom: 6%; right: 4%; background: radial-gradient(circle, #2DD4BF, transparent 70%); animation: cb-orb2 18s ease-in-out infinite; }
.cb-orb.o3 { width: 48%; height: 48%; top: 30%; left: 32%; background: radial-gradient(circle, #60A5FA, transparent 70%); animation: cb-orb3 13s ease-in-out infinite; }
@keyframes cb-orb1 { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(46px,34px) scale(1.1); } 66% { transform: translate(-26px,46px) scale(.95); } }
@keyframes cb-orb2 { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(-40px,-30px) scale(1.08); } 66% { transform: translate(30px,-44px) scale(.92); } }
@keyframes cb-orb3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px,-28px) scale(1.12); } }
.cb-ring { position: absolute; inset: 13%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg, rgba(255,255,255,.28) 60deg, transparent 140deg, transparent 360deg); -webkit-mask: radial-gradient(transparent 61%, #000 63%); mask: radial-gradient(transparent 61%, #000 63%); animation: cb-spin 11s linear infinite; opacity: .8; }
.cb-ring.r2 { inset: 22%; animation-duration: 8s; animation-direction: reverse; opacity: .55; }
@keyframes cb-spin { to { transform: rotate(360deg); } }
.cb-disc { position: absolute; inset: 27%; border-radius: 50%; background: rgba(255,255,255,.05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 2px 0 rgba(255,255,255,.22), inset 0 -10px 30px rgba(124,58,237,.3), 0 30px 70px -24px rgba(0,0,0,.5); display: grid; place-items: center; }
.cb-core { width: 46%; height: 46%; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #fff, #C4B5FD 42%, #7C3AED 78%); box-shadow: 0 0 44px rgba(167,139,250,.65), inset 0 -6px 16px rgba(76,29,149,.5); animation: cb-breathe 3.4s ease-in-out infinite; }
.cb-core::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 64% 70%, rgba(45,212,191,.55), transparent 55%); mix-blend-mode: screen; }
@keyframes cb-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.cb-spark { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; color: #fff; }
.cb-spark svg { width: 26px; height: 26px; filter: drop-shadow(0 2px 6px rgba(76,29,149,.5)); }
.final-cta:hover .cb-core { transform: scale(1.12); transition: transform .5s var(--ease-out); }
.final-cta:hover .cb-orb { animation-duration: 9s; }
@media (max-width: 760px){ .cta-bloom { max-width: 300px; } }
@media (prefers-reduced-motion: reduce){ .cb-orb, .cb-ring, .cb-core { animation: none !important; } }

.cta-float {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-xl);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cta-float.ai { top: 30%; left: 10%; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-midnight);
  color: var(--fg-on-dark);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.foot-brand p { color: var(--fg-on-dark-muted); font-size: 14px; line-height: 1.6; margin: 18px 0 22px; max-width: 320px; }
.foot-cta { display: flex; gap: 8px; flex-wrap: wrap; }

.foot-col h5 {
  font-family: var(--font-sans); font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
  margin-bottom: 18px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 14px; color: var(--fg-on-dark-muted); transition: color var(--dur-base) ease; }
.foot-col a:hover { color: #fff; }

.foot-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--fg-on-dark-muted);
}
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--fg-on-dark-muted); }
.foot-links a:hover { color: #fff; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hp.draw { stroke-dashoffset: 0; }
  .ring-fill { stroke-dashoffset: 75 !important; animation: none; }
  .river-path { stroke-dashoffset: 0; animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-art { min-height: 480px; max-width: 600px; margin: 0 auto; }
  .ai-card { right: -8px; }
  .cohort-card { left: 0; }
  .metric-card { right: -8px; }
  .split-grid, .split-grid.reverse, .role-grid, .cta-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .split-grid.reverse .split-art { order: 0; }
  .problem-grid, .pillar-grid, .feat-grid, .retain-metrics, .proof-grid, .proof-stats, .river-steps, .onb-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .launch-card { grid-template-columns: 1fr; text-align: center; }
  .launch-ring { margin: 0 auto; }
  .launch-checks { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 20px; text-align: left; }
  .launch-checks li { justify-content: flex-start; }
  .compare-grid { grid-template-columns: 1fr; }
  .cohort-feats { grid-template-columns: 1fr 1fr; }
  .capability-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .primary-nav, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .mobile-sheet:not([hidden]) { display: flex; }

  .hero { padding: 32px 0 56px; }
  .hero-h1 { font-size: clamp(36px, 9vw, 52px); }
  .hero-sub { font-size: 16px; }
  .hero-art { min-height: 600px; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mm-cards { grid-template-columns: 1fr; }
  .ai-card { right: 0; width: 240px; }
  .cohort-card { left: 0; width: 200px; }
  .metric-card { right: 0; width: 180px; }

  .trust-strip { gap: 18px; }
  .trust-logos { gap: 22px; }
  .trust-logos span { font-size: 14px; }

  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(28px, 7vw, 40px); }
  .lede { font-size: 16px; }

  .problem-grid, .pillar-grid, .feat-grid, .retain-metrics, .proof-grid, .river-steps, .onb-flow, .cohort-feats, .capability-list, .role-feat {
    grid-template-columns: 1fr;
  }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .onb-flow { grid-template-columns: 1fr 1fr; }
  .proof-stats { grid-template-columns: 1fr 1fr; gap: 24px 0; padding: 28px 0; }
  .ps { border-right: none; }
  .ps:nth-child(odd) { border-right: 1px solid var(--border-soft); }

  /* Full-width segmented control so all three role tabs fit without
     horizontal scrolling/clipping. Equal tabs that shrink to share the row. */
  .role-tabs { display: flex; width: 100%; }
  .rt { flex: 1 1 0; min-width: 0; justify-content: center; padding: 10px 6px; gap: 6px; font-size: 13px; white-space: nowrap; }
  .rt i { width: 15px; height: 15px; flex-shrink: 0; }

  .river-card { padding: 22px 18px; }
  .compare-grid { grid-template-columns: 1fr; gap: 16px; }
  .cmp { padding: 22px; }

  .final-cta h2 { font-size: clamp(34px, 8vw, 48px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; gap: 12px; }
}

@media (max-width: 420px) {
  .ai-card { width: 220px; }
  .cohort-card { width: 180px; }
  .metric-card { width: 160px; }
  .ps:nth-child(odd) { border-right: none; }
}


/* card top-accent removed — cleaner cards via border/shadow/hover */
.pillar::before, .cmp-new::before, .lx-card::before, .feat::before { display:none !important; }
