/* COPY OF student-app-src/src/marketing/marketing.css — resync manually when the marketing site CSS changes */
/* ScholaFly Marketing Site — brand-locked styles
   Scoped entirely under .scholafly-marketing so nothing can leak into the
   app's themed CSS (and the app's 50 themes can't bleed in here). */

.scholafly-marketing {
  /* Locked brand palette — never overridden by student themes */
  --sm-brand-blue: #4082F3;
  --sm-brand-blue-light: #70A6F8;
  --sm-brand-blue-dark: #2F68C9;
  --sm-brand-navy: #1A2A5E;
  --sm-brand-cyan: #40F3E0;
  --sm-brand-orange: #F39F40;

  --sm-white: #FFFFFF;
  --sm-n-100: #F1F5F9;
  --sm-n-150: #E8EEF6;
  --sm-n-200: #D1D5DB;
  --sm-n-400: #94A3B8;
  --sm-n-600: #475569;
  --sm-n-700: #333333;
  --sm-n-900: #0C0C0C;

  --sm-rag-red: #E5484D;
  --sm-rag-amber: #E5A035;
  --sm-rag-green: #30A46C;

  --sm-bg: #F6F9FF;
  --sm-card-bg: #FFFFFF;
  --sm-card-border: rgba(64, 130, 243, 0.15);

  --sm-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --sm-shadow-md: 0 4px 14px rgba(26, 42, 94, 0.08);
  --sm-shadow-lg: 0 12px 36px rgba(26, 42, 94, 0.14);
  --sm-shadow-glow: 0 0 28px rgba(64, 130, 243, 0.25);

  --sm-radius-sm: 6px;
  --sm-radius-md: 10px;
  --sm-radius-lg: 14px;
  --sm-radius-xl: 20px;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--sm-n-700);
  background: var(--sm-bg);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.scholafly-marketing *,
.scholafly-marketing *::before,
.scholafly-marketing *::after {
  box-sizing: border-box;
}

.scholafly-marketing a { color: var(--sm-brand-blue); text-decoration: none; }
.scholafly-marketing a:hover { color: var(--sm-brand-blue-dark); text-decoration: underline; }
.scholafly-marketing h1, .scholafly-marketing h2, .scholafly-marketing h3, .scholafly-marketing h4 {
  color: var(--sm-n-900);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.scholafly-marketing h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em; }
.scholafly-marketing h2 { font-size: clamp(24px, 3.2vw, 36px); }
.scholafly-marketing h3 { font-size: 20px; font-weight: 600; }
.scholafly-marketing p { margin: 0 0 12px; }

/* ── Layout containers ─────────────────────────────────────────── */
.sm-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .sm-container { padding: 0 16px; } }
.sm-narrow { max-width: 820px; margin: 0 auto; }

.sm-section { padding: 80px 0; }
.sm-section--tight { padding: 48px 0; }
@media (max-width: 768px) { .sm-section { padding: 56px 0; } .sm-section--tight { padding: 32px 0; } }

.sm-section__head { text-align: center; margin-bottom: 40px; }
.sm-section__head h2 { margin-bottom: 8px; }
.sm-section__head p { color: var(--sm-n-600); max-width: 640px; margin: 0 auto; font-size: 17px; }
.sm-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sm-brand-blue);
  background: rgba(64, 130, 243, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ── Top announcement bar ─────────────────────────────────── */
.sm-announce {
  background: linear-gradient(90deg, #0E1A3B 0%, #1A2A5E 60%, #2F68C9 140%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sm-announce__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
}
.sm-announce__pill {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sm-brand-orange);
  color: #0C0C0C;
  font-weight: 800; font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(243, 159, 64, 0.4);
}
.sm-announce__text { color: #E2E8F4; }
.sm-announce__text strong { color: #fff; font-weight: 700; }
.sm-announce__cta {
  color: var(--sm-brand-cyan);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.sm-announce__cta:hover { color: #fff; text-decoration: underline; }
@media (max-width: 700px) {
  .sm-announce { font-size: 13px; padding: 8px 0; }
  .sm-announce__inner { gap: 8px; padding: 0 12px; text-align: center; }
  .sm-announce__text { flex: 1 1 100%; order: 2; }
  .sm-announce__cta { flex: 1 1 100%; order: 3; }
  .sm-announce__pill { order: 1; }
}

/* ── Free tag (sits next to hero CTAs) ────────────────────── */
.sm-free-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(243, 159, 64, 0.12);
  color: #a6651a;
  font-size: 13px; font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(243, 159, 64, 0.35);
  white-space: nowrap;
}
.sm-free-tag::before {
  content: '🪶';
  font-size: 15px;
}
.sm-mobile-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(64, 130, 243, 0.08);
  color: var(--sm-brand-blue);
  font-size: 13px; font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(64, 130, 243, 0.25);
  white-space: nowrap;
}

/* ── Nav ─────────────────────────────────────────────────────── */
.sm-nav {
  position: sticky; top: 0; z-index: 100;
  /* Soft brand-blue tint so the logo (which has a white halo around the owl +
     wordmark) blends into the bar instead of standing out as a white rectangle. */
  background: linear-gradient(180deg, rgba(229, 239, 255, 0.96), rgba(240, 246, 255, 0.92));
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--sm-card-border);
}
.sm-nav__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.sm-nav__brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  transition: transform 180ms ease;
}
.sm-nav__brand:hover { transform: translateY(-1px); text-decoration: none; }
.sm-nav__brand-mark {
  position: relative;
  height: 52px; width: 68px; display: block;
  filter: drop-shadow(0 3px 6px rgba(64, 130, 243, 0.25));
  cursor: pointer;
}
.sm-nav__brand-mark:focus-visible {
  outline: 2px solid var(--sm-brand-blue);
  outline-offset: 4px; border-radius: 4px;
}
.animated-owl__baseline,
.animated-owl__video {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%; height: 100%;
  display: block;
}
.animated-owl__video {
  object-fit: contain;
  pointer-events: none;
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.sm-nav__brand-word {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--sm-brand-navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.sm-nav__brand-word-accent { color: var(--sm-brand-blue); }
.sm-nav__spacer { flex: 1; }
.sm-nav__links { display: flex; gap: 24px; align-items: center; }
.sm-nav__links a { color: var(--sm-n-600); font-weight: 500; font-size: 15px; }
.sm-nav__links a:hover { color: var(--sm-brand-blue); text-decoration: none; }
.sm-nav__cta { display: flex; gap: 10px; }
.sm-nav__burger { display: none; background: none; border: 0; cursor: pointer; font-size: 26px; color: var(--sm-n-700); padding: 4px 8px; }

/* Drawer is hidden by default on every breakpoint — it only opens on mobile
   when the burger toggles .open. Without this default, desktop was rendering
   the drawer inline below the nav because <div> defaults to display:block. */
.sm-nav__drawer { display: none; }

@media (max-width: 980px) {
  .sm-nav__inner { height: 68px; }
  .sm-nav__brand-mark { height: 42px; width: 55px; }
  .sm-nav__brand-word { font-size: 21px; }
  .sm-nav__links, .sm-nav__cta { display: none; }
  .sm-nav__burger { display: block; }
  .sm-nav__drawer.open {
    display: block;
    position: absolute; top: 68px; left: 0; right: 0;
    border-bottom: 1px solid var(--sm-card-border);
    box-shadow: var(--sm-shadow-md);
    background: #fff;
  }
  .sm-nav__drawer.open .sm-nav__links,
  .sm-nav__drawer.open .sm-nav__cta {
    display: flex; flex-direction: column; gap: 14px; padding: 16px 24px 24px;
    background: #fff;
  }
}

/* ── Buttons ────────────────────────────────────────────────── */
.sm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--sm-radius-md);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 22px;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.scholafly-marketing a.sm-btn--primary,
.scholafly-marketing button.sm-btn--primary,
.sm-btn.sm-btn--primary {
  background: var(--sm-brand-blue);
  color: #ffffff;
  border-color: var(--sm-brand-blue);
  box-shadow: 0 6px 18px rgba(64, 130, 243, 0.3);
}
.scholafly-marketing a.sm-btn--primary:hover,
.scholafly-marketing button.sm-btn--primary:hover,
.sm-btn.sm-btn--primary:hover {
  background: var(--sm-brand-blue-dark);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(64, 130, 243, 0.38);
}
.sm-btn--secondary {
  background: #fff;
  color: var(--sm-brand-blue);
  border-color: var(--sm-brand-blue);
  box-shadow: 0 2px 8px rgba(26, 42, 94, 0.08);
}
.sm-btn--secondary:hover { background: rgba(64, 130, 243, 0.08); color: var(--sm-brand-blue-dark); text-decoration: none; box-shadow: 0 4px 14px rgba(26, 42, 94, 0.12); }
.sm-btn--ghost { background: transparent; color: var(--sm-n-600); }
.sm-btn--ghost:hover { background: var(--sm-n-100); color: var(--sm-n-900); text-decoration: none; }
.sm-btn--lg { font-size: 17px; padding: 15px 32px; border-radius: var(--sm-radius-md); }
.sm-btn--xl {
  font-size: 18px; font-weight: 700; padding: 18px 40px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(64, 130, 243, 0.35);
}
.sm-btn--xl:hover { box-shadow: 0 16px 40px rgba(64, 130, 243, 0.45); }
.sm-btn--block { display: flex; width: 100%; }

/* ── Hero ───────────────────────────────────────────────────── */
.sm-hero {
  position: relative;
  padding: 72px 0 80px;
  background: linear-gradient(135deg, #EEF5FF 0%, #E2ECFF 35%, #D8E5FF 100%);
  overflow: hidden;
}
.sm-hero::before {
  content: '';
  position: absolute;
  top: -220px; right: -180px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 130, 243, 0.22), transparent 65%);
  pointer-events: none;
  animation: sm-drift-a 18s ease-in-out infinite alternate;
}
.sm-hero::after {
  content: '';
  position: absolute;
  bottom: -180px; left: -160px;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 243, 224, 0.22), transparent 65%);
  pointer-events: none;
  animation: sm-drift-b 22s ease-in-out infinite alternate;
}
@keyframes sm-drift-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-30px, 40px) scale(1.08); }
}
@keyframes sm-drift-b {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -30px) scale(1.12); }
}

/* Floating decorative feathers drifting across the hero */
.sm-hero__feather {
  position: absolute;
  font-size: 28px;
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
  animation: sm-float 10s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(64, 130, 243, 0.15));
}
.sm-hero__feather--1 { top: 12%;  left: 4%;  font-size: 34px; animation-delay: 0s;   animation-duration: 12s; }
.sm-hero__feather--2 { top: 22%;  right: 8%; font-size: 24px; animation-delay: 2s;   animation-duration: 9s;  }
.sm-hero__feather--3 { bottom: 18%; left: 12%; font-size: 28px; animation-delay: 4s;   animation-duration: 14s; }
.sm-hero__feather--4 { top: 58%;  right: 18%; font-size: 22px; animation-delay: 1.5s; animation-duration: 11s; }
.sm-hero__feather--5 { top: 42%;  left: 44%;  font-size: 18px; animation-delay: 3.5s; animation-duration: 13s; }
@keyframes sm-float {
  0%   { transform: translate(0, 0) rotate(-8deg); }
  50%  { transform: translate(20px, -24px) rotate(10deg); }
  100% { transform: translate(0, 0) rotate(-8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .sm-hero__feather, .sm-hero::before, .sm-hero::after { animation: none; }
}

.sm-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .sm-hero__inner { grid-template-columns: 1fr; } .sm-hero { padding: 56px 0 64px; } }

.sm-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(90deg, rgba(243, 159, 64, 0.18), rgba(64, 243, 224, 0.18));
  border: 1px solid rgba(243, 159, 64, 0.35);
  color: var(--sm-brand-navy);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.sm-hero__eyebrow::before { content: '✨'; font-size: 14px; }

.sm-hero h1 {
  font-size: clamp(38px, 5.8vw, 64px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--sm-brand-navy);
}
.sm-hero h1 .sm-accent {
  background: linear-gradient(120deg, var(--sm-brand-blue) 0%, #5AC8F5 50%, var(--sm-brand-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--sm-brand-blue); /* fallback */
  position: relative;
}
.sm-hero h1 .sm-accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--sm-brand-orange), var(--sm-brand-cyan));
  opacity: 0.55;
}
.sm-hero__sub {
  font-size: 19px;
  color: var(--sm-n-600);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.55;
}
.sm-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.sm-hero__stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 12px; }
.sm-hero__stat { }
.sm-hero__stat-n {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--sm-brand-navy) 0%, var(--sm-brand-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--sm-brand-navy);
}
.sm-hero__stat:nth-child(2) .sm-hero__stat-n {
  background: linear-gradient(135deg, #A15E00 0%, var(--sm-brand-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sm-hero__stat:nth-child(3) .sm-hero__stat-n {
  background: linear-gradient(135deg, #117865 0%, var(--sm-brand-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sm-hero__stat-l { font-size: 13px; color: var(--sm-n-600); margin-top: 6px; font-weight: 500; }

/* Pulse the primary CTA subtly so it draws the eye */
@keyframes sm-cta-pulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(64, 130, 243, 0.35), 0 0 0 0 rgba(64, 130, 243, 0.35); }
  50%      { box-shadow: 0 14px 40px rgba(64, 130, 243, 0.4),  0 0 0 10px rgba(64, 130, 243, 0); }
}
.sm-hero__ctas .sm-btn--xl { animation: sm-cta-pulse 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .sm-hero__ctas .sm-btn--xl { animation: none; }
}

.sm-hero__visual {
  position: relative;
  border-radius: var(--sm-radius-xl);
  min-height: 380px;
}
@media (max-width: 900px) { .sm-hero__visual { min-height: 320px; } }

/* ── Fake product mockups (on-brand UI mockups) ─────────────── */
.sm-mock {
  background: #fff;
  border: 1px solid var(--sm-card-border);
  border-radius: var(--sm-radius-lg);
  box-shadow: var(--sm-shadow-lg);
  padding: 18px;
  font-size: 13px;
}
.sm-mock__title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sm-n-400); margin-bottom: 10px; }
.sm-mock__question { font-weight: 600; color: var(--sm-n-900); font-size: 14px; margin-bottom: 10px; line-height: 1.4; }
.sm-mock__opts { display: flex; flex-direction: column; gap: 6px; }
.sm-mock__opt { border: 1px solid var(--sm-n-200); border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--sm-n-700); display: flex; align-items: center; gap: 8px; font-size: 13px; }
.sm-mock__opt--correct { background: #EEFBF4; border-color: rgba(48, 164, 108, 0.4); color: var(--sm-rag-green); font-weight: 600; }
.sm-mock__opt--wrong { background: #FEF0EF; border-color: rgba(229, 72, 77, 0.35); color: var(--sm-rag-red); text-decoration: line-through; }
.sm-mock__feedback {
  margin-top: 10px; padding: 10px 12px;
  background: #EEFBF4; border-left: 3px solid var(--sm-rag-green); border-radius: 6px;
  color: #1e7a4d; font-size: 12px;
}

.sm-mock-stack {
  position: relative;
  display: grid;
  gap: 14px;
}
.sm-mock-stack .sm-mock:nth-child(1) { transform: rotate(-1.2deg); }
.sm-mock-stack .sm-mock:nth-child(2) { transform: rotate(0.8deg); margin-left: 30px; }
.sm-mock-stack .sm-mock:nth-child(3) { transform: rotate(-0.4deg); margin-left: 10px; }
@media (max-width: 900px) { .sm-mock-stack .sm-mock:nth-child(n) { transform: none; margin-left: 0; } }

/* Progress mock */
.sm-mock__topic-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 12.5px; }
.sm-mock__topic-row span:first-child { flex: 1; color: var(--sm-n-700); }
.sm-mock__topic-bar { flex: 0 0 90px; height: 6px; background: var(--sm-n-150); border-radius: 999px; overflow: hidden; }
.sm-mock__topic-bar > div { height: 100%; border-radius: 999px; }
.sm-mock__topic-pct { flex: 0 0 38px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Gauntlet leaderboard mock */
.sm-mock__lb-row { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; font-size: 13px; }
.sm-mock__lb-row:nth-child(odd) { background: var(--sm-n-100); }
.sm-mock__lb-rank { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; background: var(--sm-n-200); color: var(--sm-n-700); }
.sm-mock__lb-rank--gold { background: #FFE58A; color: #6b4d00; }
.sm-mock__lb-rank--silv { background: #E0E7EF; color: #475569; }
.sm-mock__lb-rank--bron { background: #F2D3B7; color: #7a4a1a; }
.sm-mock__lb-name { flex: 1; font-weight: 500; color: var(--sm-n-900); }
.sm-mock__lb-score { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--sm-brand-blue); }

/* ── Cards and grids ──────────────────────────────────────── */
.sm-card {
  background: var(--sm-card-bg);
  border: 1px solid var(--sm-card-border);
  border-radius: var(--sm-radius-lg);
  padding: 24px;
  box-shadow: var(--sm-shadow-sm);
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 200ms ease, border-color 200ms ease;
  position: relative;
}
.sm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sm-shadow-lg);
  border-color: rgba(64, 130, 243, 0.35);
}
.sm-card--interactive:hover { transform: translateY(-6px); box-shadow: var(--sm-shadow-lg); }

.sm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sm-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sm-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .sm-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .sm-grid-3, .sm-grid-2 { grid-template-columns: 1fr; } .sm-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sm-grid-4 { grid-template-columns: 1fr; } }

.sm-feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(64, 130, 243, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--sm-brand-blue);
  margin-bottom: 14px;
}

/* ── How it works ─────────────────────────────────────────── */
.sm-how { counter-reset: how; }
.sm-how .sm-card { position: relative; padding-top: 66px; overflow: hidden; }
.sm-how .sm-card::before {
  counter-increment: how;
  content: counter(how);
  position: absolute; top: 18px; left: 22px;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sm-brand-blue) 0%, var(--sm-brand-cyan) 120%);
  color: #fff;
  font-weight: 900; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(64, 130, 243, 0.4);
  z-index: 1;
}
.sm-how .sm-card::after {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 159, 64, 0.15), transparent 70%);
  pointer-events: none;
}
.sm-how .sm-card:nth-child(2)::after {
  background: radial-gradient(circle, rgba(64, 243, 224, 0.18), transparent 70%);
}
.sm-how .sm-card:nth-child(3)::after {
  background: radial-gradient(circle, rgba(48, 164, 108, 0.15), transparent 70%);
}

/* ── Gamification showcase ────────────────────────────────── */
.sm-gamify { position: relative; overflow: hidden; }
.sm-gamify::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 159, 64, 0.18), transparent 65%);
  pointer-events: none;
}
.sm-gamify::after {
  content: '';
  position: absolute; bottom: -140px; left: -140px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 243, 224, 0.16), transparent 65%);
  pointer-events: none;
}
.sm-gamify > .sm-container { position: relative; z-index: 1; }

.sm-gamify__strip { margin-top: 8px; }
.sm-gamify__card {
  background: #fff;
  border: 1px solid var(--sm-card-border);
  border-radius: var(--sm-radius-lg);
  padding: 22px;
  box-shadow: var(--sm-shadow-sm);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms ease, border-color 220ms ease;
  position: relative;
  overflow: hidden;
}
.sm-gamify__card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--sm-shadow-lg);
}
.sm-gamify__card--feathers:hover { border-color: rgba(243, 159, 64, 0.5); }
.sm-gamify__card--streaks:hover  { border-color: rgba(229, 160, 53, 0.5); }
.sm-gamify__card--badges:hover   { border-color: rgba(99, 102, 241, 0.5); }
.sm-gamify__card--themes:hover   { border-color: rgba(64, 243, 224, 0.5); }

.sm-gamify__icon {
  font-size: 30px;
  margin-bottom: 8px;
  display: inline-block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}
.sm-gamify__card h3 { font-size: 18px; margin-bottom: 4px; }
.sm-gamify__card > p {
  font-size: 13px;
  color: var(--sm-n-600);
  margin-bottom: 14px;
  line-height: 1.5;
}

/* The nested CSS mockup box inside each gamification card */
.sm-gm-box {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border: 1px solid var(--sm-card-border);
  border-radius: 10px;
  padding: 12px;
}

/* Games cards (Gauntlet / Parliament) — bigger, more energetic */
.sm-gamify__game { padding: 26px; }
.sm-gamify__game-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.sm-gamify__game-icon {
  font-size: 36px;
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(64, 130, 243, 0.12), rgba(64, 243, 224, 0.12));
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(64, 130, 243, 0.15);
}
.sm-gamify__game-tag {
  display: inline-block;
  background: rgba(64, 130, 243, 0.1);
  color: var(--sm-brand-blue);
  font-size: 11px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* ── Comparison table ─────────────────────────────────────── */
.sm-compare {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid var(--sm-card-border);
  border-radius: var(--sm-radius-lg); overflow: hidden;
  box-shadow: var(--sm-shadow-md);
}
.sm-compare th, .sm-compare td { text-align: center; padding: 16px 14px; font-size: 15px; border-bottom: 1px solid var(--sm-n-150); }
.sm-compare th { background: var(--sm-n-100); font-weight: 600; color: var(--sm-n-700); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.sm-compare th:first-child, .sm-compare td:first-child { text-align: left; padding-left: 22px; font-weight: 500; color: var(--sm-n-700); }
.sm-compare th:last-child { background: rgba(64, 130, 243, 0.08); color: var(--sm-brand-blue); }
.sm-compare td:last-child { background: rgba(64, 130, 243, 0.04); font-weight: 600; color: var(--sm-brand-blue); }
.sm-compare tr:last-child td { border-bottom: 0; }
.sm-compare .sm-tick { color: var(--sm-rag-green); font-weight: 700; font-size: 18px; }
.sm-compare .sm-cross { color: var(--sm-n-400); font-size: 18px; }
.sm-compare .sm-warn { color: var(--sm-rag-amber); font-weight: 600; }
@media (max-width: 768px) {
  .sm-compare th, .sm-compare td { padding: 12px 8px; font-size: 13px; }
  .sm-compare th:first-child, .sm-compare td:first-child { padding-left: 12px; }
}

/* ── Coverage grid ────────────────────────────────────────── */
.sm-cov-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.sm-cov-tabs { display: inline-flex; background: #fff; border: 1px solid var(--sm-card-border); border-radius: 999px; padding: 4px; gap: 2px; }
.sm-cov-tab { background: none; border: 0; font-family: inherit; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--sm-n-600); cursor: pointer; }
.sm-cov-tab--on { background: var(--sm-brand-blue); color: #fff; box-shadow: 0 4px 12px rgba(64, 130, 243, 0.3); }
.sm-cov-meta { color: var(--sm-n-600); font-size: 14px; }
.sm-cov-meta strong { color: var(--sm-brand-navy); font-weight: 700; }

.sm-cov-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--sm-card-border); border-radius: var(--sm-radius-lg); box-shadow: var(--sm-shadow-md); }
.sm-cov {
  width: 100%; border-collapse: separate; border-spacing: 0;
  table-layout: fixed; /* forces every column to the same width */
  min-width: 780px;
}
.sm-cov col.sm-cov-col-subject { width: 160px; }
.sm-cov col.sm-cov-col-board { width: auto; }
.sm-cov th, .sm-cov td { padding: 10px 10px; border-bottom: 1px solid var(--sm-n-150); vertical-align: middle; }
.sm-cov thead th {
  background: var(--sm-n-100);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--sm-n-600);
  position: sticky; top: 0;
  text-align: center;
}
.sm-cov thead th:first-child { text-align: left; padding-left: 20px; }
.sm-cov tbody th { text-align: left; padding-left: 20px; font-weight: 600; color: var(--sm-n-900); background: #fff; font-size: 14px; }
.sm-cov td { text-align: left; }
.sm-cov tr:last-child th, .sm-cov tr:last-child td { border-bottom: 0; }

/* Container inside each td — always the same height whether the cell is a
   single exam, two stacked tiers, or a request button. */
.sm-cell, .sm-cell-request-wrap {
  display: flex; flex-direction: column; gap: 8px;
  min-height: 112px;
  justify-content: stretch;
}
.sm-cell > * { flex: 1 1 0; }

/* Two-column exam tile: code + count on the left, type pills on the right */
.sm-cell-exam {
  background: rgba(64, 130, 243, 0.05);
  border: 1px solid rgba(64, 130, 243, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 96px;
}
.sm-cell-exam__left {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.sm-cell-code {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--sm-brand-blue);
  font-variant-numeric: tabular-nums;
}
.sm-cell-count {
  font-size: 22px; font-weight: 800;
  color: var(--sm-brand-navy);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
}
.sm-cell-count-label {
  font-size: 11px; font-weight: 500;
  color: var(--sm-n-600);
  margin-top: 1px;
}
.sm-cell-exam__right {
  display: flex; flex-direction: column; gap: 4px;
  align-items: stretch;
}
.sm-cell-tick {
  font-size: 9.5px; font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(48, 164, 108, 0.12);
  color: #1e7a4d;
  border: 1px solid rgba(48, 164, 108, 0.25);
  text-transform: uppercase; letter-spacing: 0.03em;
  text-align: center;
  white-space: nowrap;
}
.sm-cell-tick--off {
  background: var(--sm-n-100);
  color: var(--sm-n-400);
  border-color: var(--sm-n-200);
}
.sm-cell-request {
  background: #fff;
  border: 1px dashed var(--sm-n-200);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  color: var(--sm-n-600);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  min-height: 96px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  transition: all 150ms ease;
}
.sm-cell-request:hover { border-color: var(--sm-brand-blue); color: var(--sm-brand-blue); background: rgba(64, 130, 243, 0.04); }
.sm-cell-request strong { color: var(--sm-brand-blue); font-weight: 700; font-size: 13px; }

/* ── Compact cell styles ─────────────────────────────────── */
.sm-cov--compact .sm-cell, .sm-cov--compact .sm-cell-request-wrap {
  min-height: auto;
}
.sm-cell-compact {
  display: flex; flex-direction: column; gap: 3px;
}
.sm-cell-line {
  display: flex; align-items: center; gap: 6px; font-size: 12px;
}
.sm-cell-code-sm {
  font-size: 10px; font-weight: 700; color: var(--sm-brand-blue);
  text-transform: uppercase; letter-spacing: 0.03em;
  min-width: 40px;
}
.sm-cell-num {
  font-size: 14px; font-weight: 800; color: var(--sm-brand-navy);
  font-variant-numeric: tabular-nums;
}
.sm-cell-dots {
  display: inline-flex; gap: 3px; align-items: center; margin-left: 2px;
}
.sm-cell-empty {
  color: var(--sm-n-300); font-size: 14px;
}

/* ── Modal ────────────────────────────────────────────────── */
.sm-modal-back {
  position: fixed; inset: 0; background: rgba(26, 42, 94, 0.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  z-index: 500;
}
.sm-modal {
  background: #fff; border-radius: var(--sm-radius-lg);
  padding: 28px; max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--sm-shadow-lg);
}
.sm-modal h3 { margin-bottom: 6px; }
.sm-modal p { color: var(--sm-n-600); font-size: 14px; margin-bottom: 18px; }
.sm-form { display: flex; flex-direction: column; gap: 12px; }
.sm-field { display: flex; flex-direction: column; gap: 5px; }
.sm-field label { font-size: 12px; font-weight: 600; color: var(--sm-n-600); }
.sm-field input, .sm-field select, .sm-field textarea {
  border: 1px solid var(--sm-n-200); background: var(--sm-n-100);
  border-radius: var(--sm-radius-md); padding: 11px 14px;
  font-family: inherit; font-size: 14px; color: var(--sm-n-900);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.sm-field input:focus, .sm-field select:focus, .sm-field textarea:focus {
  outline: none; border-color: var(--sm-brand-blue);
  box-shadow: 0 0 0 3px rgba(64, 130, 243, 0.18);
  background: #fff;
}
.sm-field textarea { min-height: 80px; resize: vertical; }
.sm-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sm-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sm-modal__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }

/* ── Early-bird CTA strip ─────────────────────────────────── */
.sm-earlybird {
  background: linear-gradient(135deg, var(--sm-brand-navy) 0%, #2d3f7a 60%, var(--sm-brand-blue) 120%);
  color: #fff;
  border-radius: var(--sm-radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sm-shadow-lg);
}
.sm-earlybird::after {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 243, 224, 0.2), transparent 70%);
}
.sm-earlybird > * { position: relative; z-index: 1; }
.sm-earlybird h2 { color: #fff; font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 12px; }
.sm-earlybird p { color: rgba(255, 255, 255, 0.85); font-size: 17px; max-width: 620px; margin: 0 auto 28px; }
.scholafly-marketing .sm-earlybird a.sm-btn--primary,
.scholafly-marketing .sm-earlybird button.sm-btn--primary {
  background: #ffffff;
  color: var(--sm-brand-blue);
  border-color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.scholafly-marketing .sm-earlybird a.sm-btn--primary:hover,
.scholafly-marketing .sm-earlybird button.sm-btn--primary:hover {
  background: #ffffff;
  color: var(--sm-brand-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.sm-earlybird .sm-bullets { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; margin-top: 28px; color: rgba(255, 255, 255, 0.92); font-size: 14px; }
.sm-earlybird .sm-bullets span { display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 700px) { .sm-earlybird { padding: 40px 24px; } }

/* ── FAQ ────────────────────────────────────────────────── */
.sm-faq { max-width: 760px; margin: 0 auto; }
.sm-faq details {
  background: #fff; border: 1px solid var(--sm-card-border); border-radius: var(--sm-radius-md);
  padding: 16px 20px; margin-bottom: 10px;
  transition: box-shadow 150ms ease;
}
.sm-faq details[open] { box-shadow: var(--sm-shadow-md); }
.sm-faq summary { cursor: pointer; font-weight: 600; color: var(--sm-n-900); font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.sm-faq summary::-webkit-details-marker { display: none; }
.sm-faq summary::after { content: '+'; color: var(--sm-brand-blue); font-size: 22px; font-weight: 400; }
.sm-faq details[open] summary::after { content: '−'; }
.sm-faq p { margin-top: 10px; color: var(--sm-n-600); font-size: 14px; line-height: 1.6; }

/* ── Philosophy / content blocks ────────────────────────── */
.sm-quote-card {
  background: #fff; border-left: 4px solid var(--sm-brand-blue);
  border-radius: var(--sm-radius-md); padding: 20px 24px;
  box-shadow: var(--sm-shadow-sm);
  font-size: 16px; color: var(--sm-n-700);
}

/* ── Footer ─────────────────────────────────────────────── */
.sm-footer {
  background: var(--sm-brand-navy);
  color: #A3B4D6;
  padding: 64px 0 32px;
  font-size: 14px;
  line-height: 1.6;
}
.sm-footer a { color: #C4D1EC; }
.sm-footer a:hover { color: #fff; text-decoration: none; }
.sm-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 820px) { .sm-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .sm-footer__cols { grid-template-columns: 1fr; } }
.sm-footer h4 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.sm-footer__brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.sm-footer__brand img { height: 56px; width: auto; display: block; }
.sm-footer ul { list-style: none; padding: 0; margin: 0; }
.sm-footer li { margin-bottom: 8px; }
.sm-footer__legal { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: #7888AD; font-size: 13px; }

/* ── Page headers ──────────────────────────────────────── */
.sm-page-header {
  padding: 72px 0 48px;
  background: linear-gradient(135deg, #F0F6FF 0%, #E6EFFF 100%);
  border-bottom: 1px solid var(--sm-card-border);
}
.sm-page-header h1 { color: var(--sm-brand-navy); margin-bottom: 12px; }
.sm-page-header p { color: var(--sm-n-600); font-size: 17px; max-width: 640px; }

/* ── Legal page typography ─────────────────────────────── */
.sm-legal h2 { color: var(--sm-brand-navy); font-size: 22px; margin: 36px 0 12px; }
.sm-legal h3 { color: var(--sm-n-900); font-size: 17px; margin: 24px 0 8px; }
.sm-legal p, .sm-legal li { color: var(--sm-n-600); font-size: 15px; line-height: 1.7; }
.sm-legal ul { padding-left: 20px; margin-bottom: 12px; }
.sm-legal hr { border: 0; border-top: 1px solid var(--sm-n-150); margin: 32px 0; }

/* ── Utility ───────────────────────────────────────────── */
.sm-text-center { text-align: center; }
.sm-mt-4 { margin-top: 16px; }
.sm-mt-6 { margin-top: 24px; }
.sm-mt-8 { margin-top: 32px; }
.sm-success {
  padding: 14px 18px; border-radius: 10px;
  background: #EEFBF4; color: #1e7a4d;
  border: 1px solid rgba(48, 164, 108, 0.25);
  font-size: 14px;
}
.sm-error {
  padding: 14px 18px; border-radius: 10px;
  background: #FEF0EF; color: var(--sm-rag-red);
  border: 1px solid rgba(229, 72, 77, 0.25);
  font-size: 14px;
}