/**
 * Grovio — shared web styles (v2.0 redesign)
 *
 * Mirrors the v2.0 iOS / iPad app design language:
 *   - Warm near-black palette (#161616 page, #1F1F1F surfaces)
 *   - Single brass-yellow accent (#FFB800) — replaces the prior cobalt
 *   - Display: Archivo Black; Body: Hanken Grotesk (Google Fonts)
 *   - Engraved badge letters (brass-on-warm-stone) — matches the app's
 *     BadgeMedallion textShadow recipe
 *   - Punched/recessed effects via inset box-shadow on slots & tracks
 *   - Raised cards with stronger drop shadows for depth
 *   - Dark-only — no light-mode override (matches the dark-only product
 *     decision shipped in the app's ThemeProvider)
 */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

/* ─── Tokens ──────────────────────────────────────────────────────── */

:root {
  /* Surfaces — warm near-black; same hue family as the app's
     theme/tokens.ts dark palette. */
  --bg:              #161616;
  --surface-1:       #1F1F1F;
  --surface-2:       #262626;
  --surface-3:       #2A2A2A;
  --border:          #2A2A2A;
  --border-strong:   #3A3A3A;

  /* Text */
  --text-primary:    #FFFFFF;
  --text-secondary:  #B5B5B5;
  --text-tertiary:   #6E6E6E;

  /* Accent — single brass yellow. CTAs, progress fills, brand period
     in the wordmark, ring-learn, and the engraved badge letter. */
  --accent:          #FFB800;
  --accent-hover:    #FFCB44;
  --accent-deep:     #C28A00;
  --accent-muted:    #3A2D08;
  --accent-surface:  #2A2008;
  --accent-border:   #5C4810;
  --on-accent:       #0A0A0A;

  /* Legacy alias kept for the certificate frame (formal artifact —
     looks correct in real "metallic gold," distinct from the UI brass). */
  --gold:            #FFB800;
  --gold-soft:       #C28A00;
  --gold-dim:        #8A6300;

  /* Brass-on-stone medal recipe — used by ladder rank badges +
     the phone-mockup rank chip. Mirrors the app's TIER_COLORS. */
  --medal-stone-top: #3A3A3A;
  --medal-stone-bot: #1A1A1A;
  --medal-stone-rim: #1A1A1A;
  --medal-letter:    #FFB800;

  /* Activity ring colours — Learn brass, Apply white, Streak deep brass */
  --ring-learn:  #FFB800;
  --ring-apply:  #FFFFFF;
  --ring-streak: #C28A00;

  /* Track-category colours — all unified to brass per v2.0 (the app
     retired per-track tints; discipline identity travels via icon +
     name). Variables retained for hover-rim color-mix elsewhere. */
  --track-leadership:          var(--accent);
  --track-accounting:          var(--accent);
  --track-ai:                  var(--accent);
  --track-banking:             var(--accent);
  --track-economics:           var(--accent);
  --track-financial-accounting:var(--accent);
  --track-investment:          var(--accent);
  --track-marketing:           var(--accent);
  --track-operations:          var(--accent);
  --track-organizations:       var(--accent);
  --track-risk:                var(--accent);
  --track-strategy:            var(--accent);

  /* Spacing — 4pt grid */
  --s-1:  4px;  --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 20px;  --s-6: 24px;  --s-8: 32px;  --s-10: 40px;
  --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;
  --s-32: 128px;

  /* Radius */
  --r-sm:   8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-2xl: 24px;
  --r-pill: 9999px;

  /* Typography — Archivo Black for display, Hanken Grotesk for body */
  --font-display: "Archivo Black", -apple-system, BlinkMacSystemFont,
                  "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-sans:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont,
                  "SF Pro Text", "Segoe UI", Inter, Roboto, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", Menlo, Consolas, "JetBrains Mono", monospace;

  /* Type scale */
  --fs-display-xl: clamp(40px, 6.5vw, 72px);
  --fs-display-lg: clamp(32px, 4.8vw, 52px);
  --fs-display-md: clamp(28px, 3.6vw, 40px);
  --fs-title-1: 22px;
  --fs-title-2: 19px;
  --fs-title-3: 17px;
  --fs-reading-body: 20px;
  --fs-body: 17px;
  --fs-callout: 16px;
  --fs-subhead: 15px;
  --fs-footnote: 13px;
  --fs-caption-1: 12px;
  --fs-caption-2: 11px;

  /* Motion */
  --ease-out-quart:  cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
  --dur-fast:   160ms;
  --dur-base:   240ms;
  --dur-slow:   360ms;
  --dur-reveal: 600ms;

  /* Punched-slot shadow recipe — same tokens used by the app's heatmap
     empty cells, day-tracker unchecked cells, XP bar tracks, profile
     segments. Apply via `box-shadow: var(--punch);` on any recessed
     surface. */
  --punch:
    inset 0 1.5px 3px rgba(0, 0, 0, 0.85),
    inset 0 -0.5px 1px rgba(255, 255, 255, 0.06);

  /* Raised-card drop shadow — matches `useRaised()` for dark mode */
  --raised:
    0 10px 24px rgba(0, 0, 0, 0.62);

  /* Engraved-letter recipe — brass letter cast into warm-dark stone.
     Apply on any glyph that should look stamped INTO a surface. */
  --engrave-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
}

/* ─── Reset + base ────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  font-size:   var(--fs-body);
  line-height: 1.5;
  color:       var(--text-primary);
  background:  var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}

img, svg { display: block; max-width: 100%; height: auto; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out-quart);
}
a:hover { color: var(--accent-hover); }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible,
.appstore-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-md);
}

/* ─── Layout primitives ───────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--s-5);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--s-8); }
}

.container--narrow { max-width: 720px; }

.section { padding-block: var(--s-16); }
@media (min-width: 768px) {
  .section { padding-block: var(--s-24); }
}

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }

.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }

.section--surface {
  background: var(--surface-1);
  border-block: 1px solid var(--border);
}

.skip-link {
  position: absolute;
  top: var(--s-3);
  left: var(--s-4);
  background: var(--accent);
  color: var(--on-accent);
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-sm);
  font-weight: 700;
  z-index: 100;
  transform: translateY(calc(-100% - var(--s-6)));
  transition: transform var(--dur-fast) var(--ease-out-quart);
}
.skip-link:focus {
  transform: translateY(0);
  color: var(--on-accent);
}

/* ─── Typography helpers ──────────────────────────────────────────── */

.display-xl,
.display-lg,
.display-md { text-wrap: balance; }
.display-xl {
  font-family: var(--font-display);
  font-size:   var(--fs-display-xl);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}
.display-lg {
  font-family: var(--font-display);
  font-size:   var(--fs-display-lg);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--text-primary);
}
.display-md {
  font-family: var(--font-display);
  font-size:   var(--fs-display-md);
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--text-primary);
}
.title-1 {
  font-family: var(--font-display);
  font-size: var(--fs-title-1);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--text-primary);
}
.title-2 {
  font-family: var(--font-sans);
  font-size: var(--fs-title-2);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}
.title-3 {
  font-family: var(--font-sans);
  font-size: var(--fs-title-3);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}
.reading { font-size: var(--fs-reading-body); line-height: 1.55; color: var(--text-secondary); }
.body    { font-size: var(--fs-body); line-height: 1.5; }
.callout { font-size: var(--fs-callout); line-height: 1.5; color: var(--text-secondary); }
.subhead { font-size: var(--fs-subhead); font-weight: 500; line-height: 1.4; }
.footnote{ font-size: var(--fs-footnote); line-height: 1.4; color: var(--text-tertiary); }
.caption {
  font-family: var(--font-sans);
  font-size: var(--fs-caption-1);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.muted { color: var(--text-secondary); }
.tertiary { color: var(--text-tertiary); }

/* ─── Buttons ─────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 700;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out-strong),
              background var(--dur-fast) var(--ease-out-quart),
              border-color var(--dur-fast) var(--ease-out-quart),
              color var(--dur-fast) var(--ease-out-quart);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); }

.btn--secondary {
  background: var(--surface-1);
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn--secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  padding-inline: var(--s-3);
}
.btn--ghost:hover { color: var(--accent); }

.btn--lg {
  padding: var(--s-4) var(--s-6);
  min-height: 52px;
  font-size: var(--fs-title-3);
}

/* Apple App Store badge wrapper — keeps the official badge artwork
   unmodified (Apple brand compliance) while adding hover + focus
   affordances. */
.appstore-link {
  display: inline-block;
  line-height: 0;
  padding: 4px;
  border-radius: 10px;
  transition: transform var(--dur-fast) var(--ease-out-quart),
              opacity   var(--dur-fast) var(--ease-out-quart);
}
.appstore-link img { display: block; }
.appstore-link:hover { opacity: 0.88; transform: translateY(-1px); }
.appstore-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ─── Cards ───────────────────────────────────────────────────────── */

.card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--raised);
}
.card--bare {
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: none;
}

/* ─── Header / nav ────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--s-4);
}

/* ─── Wordmark — "Grovio." with a brass period ─────────────────────
   Mirrors the splash + iPad-sidebar logotype: the trailing period is
   the brand mark; render it in the accent color so it pops against the
   white wordmark text. */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: var(--fs-title-2);
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-decoration: none;
}
.wordmark:hover { color: var(--text-primary); }
/* `.wordmark-mark` rule removed v2.0 — the small icon next to the
   wordmark was retired; the brass period IS the brand mark now. */
.wordmark-text {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  color: inherit;
}
.wordmark-period {
  color: var(--accent);
}

/* ─── Hero ────────────────────────────────────────────────────────── */

.hero {
  padding-block: clamp(var(--s-16), 10vw, var(--s-32)) var(--s-16);
  position: relative;
  overflow: hidden;
}
/* Soft brass ambient glow behind the hero — radial wash, no gradients
   on text or borders. */
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto auto;
  width: 60vw;
  max-width: 720px;
  aspect-ratio: 1;
  background: radial-gradient(
    circle at center,
    color-mix(in oklab, var(--accent) 14%, transparent) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}
/* Subtle dot field — adds texture so the dark canvas doesn't read flat. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1.5px
  );
  background-size: 22px 22px;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 25%,
    #000 55%,
    transparent 95%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 25%,
    #000 55%,
    transparent 95%
  );
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-16);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: var(--s-20); }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: var(--fs-display-xl);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--text-primary);
}
.hero-subhead {
  margin-top: var(--s-6);
  max-width: 52ch;
  font-size: var(--fs-reading-body);
  line-height: 1.5;
  color: var(--text-secondary);
}
.hero-ctas {
  margin-top: var(--s-10);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}
.hero-stats {
  margin-top: var(--s-10);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  max-width: 480px;
  padding-top: var(--s-6);
  border-top: 1px solid var(--border);
  margin-inline-start: 0;
  padding-inline-start: 0;
}
.hero-stats > div {
  display: flex;
  flex-direction: column-reverse;
}
.hero-stats dd { margin-inline-start: 0; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.015em;
}
.hero-stat-label {
  margin-top: var(--s-2);
  font-size: var(--fs-caption-2);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ─── Phone mockup (CSS-rendered Boardroom preview) ───────────────── */

.mockup-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone {
  width: min(280px, 72vw);
  aspect-ratio: 9 / 19.5;
  background: #000;
  border: 1px solid #2A2D35;
  border-radius: 46px;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.32),
    0 40px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 0 2px #000;
  padding: 10px;
  position: relative;
  overflow: hidden;
}
.phone::before {
  /* Dynamic island */
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 26px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}

/* Phone canvas — warm-near-black so the mockup reads as the v2.0 app. */
.phone-inner {
  background: var(--bg);
  color: var(--text-primary);
  border-radius: 36px;
  height: 100%;
  width: 100%;
  padding: 44px 10px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow: hidden;
  position: relative;
}

.phone-status {
  position: absolute;
  top: 18px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  z-index: 2;
}
.phone-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-primary);
}
.phone-status-icons svg { height: 10px; width: auto; }

.phone-greet {
  padding-inline: 6px;
  padding-top: 4px;
  padding-bottom: 2px;
}
.phone-greet-1,
.phone-greet-2 {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}
.phone-greet-1 { color: var(--text-tertiary); font-size: 11px; font-family: var(--font-sans); font-weight: 500; letter-spacing: 0.04em; }

.phone-card {
  background: var(--surface-1);
  border-radius: 12px;
  padding: 10px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.phone-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.phone-rankcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px 9px;
}
.phone-rank-hex {
  width: 46px;
  height: 46px;
  overflow: visible;
}
.phone-rank-letters {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0;
  fill: var(--accent);
  /* Engraved letter — subtle dark drop simulates the brass inlay
     sitting in a stamped depression. */
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.55));
}
.phone-rank-name {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-top: 2px;
}
.phone-rank-prog {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding-inline: 2px;
  margin-top: 2px;
}
.phone-rank-progbar {
  flex: 1;
  height: 4px;
  background: var(--bg);
  border-radius: 999px;
  overflow: hidden;
  /* Punched recessed track — yellow XP fill flows through a depression. */
  box-shadow: var(--punch);
}
.phone-rank-progbar > span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  min-width: 2px;
}
.phone-rank-pct {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 8px;
  color: var(--text-tertiary);
}
.phone-rank-next {
  font-family: var(--font-sans);
  font-size: 8.5px;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
  margin-top: 1px;
}

.phone-ringscard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 8px 9px;
}
.phone-rings-svg {
  width: 70px;
  height: 70px;
  display: block;
}
.phone-rings-legend {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 8px;
  color: var(--text-tertiary);
  line-height: 1;
}
.phone-rings-legend li {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.phone-legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.ring-progress {
  transition: stroke-dashoffset 1100ms var(--ease-out-strong);
}
.phone-ringscard[data-in-view="false"] .ring-progress  { stroke-dashoffset: 264; }
.phone-ringscard[data-in-view="true"]  .ring-progress--learn  { stroke-dashoffset: 42;  transition-delay: 120ms; }
.phone-ringscard[data-in-view="true"]  .ring-progress--apply  { stroke-dashoffset: 38;  transition-delay: 260ms; }
.phone-ringscard[data-in-view="true"]  .ring-progress--streak { stroke-dashoffset: 0;   transition-delay: 400ms; }

.phone-session {
  background: var(--surface-1);
  border-radius: 12px;
  padding: 10px 11px 11px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}
.phone-session-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.phone-session-kicker { color: var(--accent); }
.phone-session-streak {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
}
.phone-session-streak svg { width: 7px; height: 9px; }
.phone-session-title {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.phone-primary-btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 9px 12px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 0;
  border-radius: 999px;
  text-align: center;
  cursor: default;
  pointer-events: none;
}
.phone-primary-btn--compact {
  padding: 8px 12px;
  font-size: 10.5px;
  margin-top: 7px;
}

.phone-chips {
  display: flex;
  gap: 5px;
  overflow: hidden;
  padding-inline: 1px;
}
.phone-chip {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  background: var(--surface-1);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.phone-chip:first-child {
  background: var(--surface-2);
  color: var(--text-secondary);
}
.phone-chip svg {
  width: 8px;
  height: 8px;
  color: var(--accent);
}

.phone-tryit {
  background: var(--surface-1);
  border-radius: 12px;
  padding: 9px 11px 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}
.phone-tryit-kicker {
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.phone-tryit-title {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 1.28;
  letter-spacing: -0.005em;
  color: var(--text-primary);
}
.phone-tryit-from {
  margin-top: 5px;
  font-family: var(--font-sans);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.phone-tryit-rule {
  height: 1px;
  background: var(--border);
  margin: 7px -3px 0;
}

.phone-tabbar {
  margin-top: auto;
  margin-inline: -10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 6px 0 8px;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
}
.phone-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-tertiary);
  font-family: var(--font-sans);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.phone-tab svg {
  width: 14px;
  height: 14px;
}
.phone-tab--active {
  color: var(--accent);
  font-weight: 700;
}

/* ─── Features trio ───────────────────────────────────────────────── */

.features {
  background: var(--surface-1);
  border-block: 1px solid var(--border);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-top: var(--s-10);
}
@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
}
.feature-card {
  padding: var(--s-8);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--raised);
  transition: border-color var(--dur-fast) var(--ease-out-quart),
              transform var(--dur-fast) var(--ease-out-strong);
}
@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
  }
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--accent-surface);
  color: var(--accent);
  border-radius: var(--r-md);
  border: 1px solid var(--accent-border);
  margin-bottom: var(--s-5);
}
.feature-icon svg { width: 24px; height: 24px; }

/* ─── Section headers ─────────────────────────────────────────────── */

.section-head {
  max-width: 720px;
  margin-bottom: var(--s-10);
}
.section-head .caption + h2 { margin-top: var(--s-3); }
.section-head h2 + p { margin-top: var(--s-4); }

/* ─── How it works ────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-8); }
}
.step-num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--s-4);
  text-shadow: var(--engrave-shadow);
}

/* ─── Tracks grid ─────────────────────────────────────────────────── */

.tracks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--s-3);
}
.track-tile {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-height: 128px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transition: border-color var(--dur-fast) var(--ease-out-quart),
              transform var(--dur-fast) var(--ease-out-strong);
}
@media (hover: hover) and (pointer: fine) {
  .track-tile:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
  }
}
.track-tile-dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--track-color, var(--accent));
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--track-color, var(--accent)) 22%, transparent);
}
.track-tile-name {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.track-tile-lessons {
  margin-top: auto;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-footnote);
  color: var(--text-tertiary);
}
.track-tile[data-coming] .track-tile-name { color: var(--text-secondary); }
.track-tile[data-coming] .track-tile-lessons {
  color: var(--text-tertiary);
  font-style: italic;
}
.track-tile[data-coming] { opacity: 0.65; }

/* ─── Career ladder ───────────────────────────────────────────────── */

.ladder {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-10) var(--s-6);
  overflow: hidden;
  box-shadow: var(--raised);
}
.ladder-track {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  overflow-x: auto;
  padding-block: var(--s-4);
  padding-inline: var(--s-2);
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--s-4);
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--s-5),
    #000 calc(100% - var(--s-5)),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--s-5),
    #000 calc(100% - var(--s-5)),
    transparent 100%
  );
}
.rank {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  min-width: 100px;
  scroll-snap-align: center;
  transition: transform var(--dur-fast) var(--ease-out-strong);
}
@media (hover: hover) and (pointer: fine) {
  .rank:hover { transform: translateY(-2px); }
}
.rank-badge {
  width: 72px;
  height: 72px;
  overflow: visible;
  /* The badge is a small physical object — give it a subtle ground
     shadow so it floats off the card surface. */
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45));
}
.rank-mono {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0;
  fill: var(--accent);
  /* Engraved letter — the brass monogram is stamped INTO the dark
     stone medal. drop-shadow gives the depth cue. */
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.6));
}
.rank-label {
  font-family: var(--font-sans);
  font-size: var(--fs-caption-1);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-align: center;
}
.rank-chevron {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--text-tertiary);
  opacity: 0.55;
}

/* ─── Final CTA ───────────────────────────────────────────────────── */

.cta-band {
  text-align: center;
  padding-block: var(--s-20);
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: auto 0 -50% 0;
  margin-inline: auto;
  width: min(720px, 90vw);
  aspect-ratio: 2 / 1;
  background: radial-gradient(
    ellipse at center top,
    color-mix(in oklab, var(--accent) 16%, transparent) 0%,
    transparent 55%
  );
  pointer-events: none;
  z-index: 0;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band .caption { display: inline-block; margin-bottom: var(--s-3); }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: var(--fs-display-md);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--text-primary);
  max-width: 22ch;
  margin-inline: auto;
}
.cta-band p {
  margin-top: var(--s-4);
  font-size: var(--fs-reading-body);
  color: var(--text-secondary);
  max-width: 40ch;
  margin-inline: auto;
}
.cta-band .hero-ctas {
  justify-content: center;
  margin-top: var(--s-8);
}

/* ─── Footer ──────────────────────────────────────────────────────── */

.footer { padding-block: var(--s-10); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  align-items: center;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr auto auto;
    gap: var(--s-8);
  }
}
.footer-links {
  display: flex;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: var(--fs-subhead);
  font-weight: 500;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  color: var(--text-tertiary);
  font-size: var(--fs-footnote);
}

/* ─── Motion — scroll-reveal entrance ─────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity var(--dur-reveal) var(--ease-out-strong),
    transform var(--dur-reveal) var(--ease-out-strong);
  will-change: opacity, transform;
}
[data-reveal][data-in-view="true"] {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--dur-reveal) var(--ease-out-strong),
    transform var(--dur-reveal) var(--ease-out-strong);
  will-change: opacity, transform;
}
[data-reveal-stagger][data-in-view="true"] > * {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger][data-in-view="true"] > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger][data-in-view="true"] > *:nth-child(2) { transition-delay: 50ms; }
[data-reveal-stagger][data-in-view="true"] > *:nth-child(3) { transition-delay: 100ms; }
[data-reveal-stagger][data-in-view="true"] > *:nth-child(4) { transition-delay: 150ms; }
[data-reveal-stagger][data-in-view="true"] > *:nth-child(5) { transition-delay: 200ms; }
[data-reveal-stagger][data-in-view="true"] > *:nth-child(6) { transition-delay: 250ms; }
[data-reveal-stagger][data-in-view="true"] > *:nth-child(7) { transition-delay: 280ms; }
[data-reveal-stagger][data-in-view="true"] > *:nth-child(8) { transition-delay: 310ms; }
[data-reveal-stagger][data-in-view="true"] > *:nth-child(9) { transition-delay: 340ms; }
[data-reveal-stagger][data-in-view="true"] > *:nth-child(10){ transition-delay: 370ms; }
[data-reveal-stagger][data-in-view="true"] > *:nth-child(11){ transition-delay: 400ms; }
[data-reveal-stagger][data-in-view="true"] > *:nth-child(12){ transition-delay: 430ms; }

/* ─── Privacy-page specifics ──────────────────────────────────────── */

.legal { padding-block: var(--s-16) var(--s-24); }
.legal-meta {
  margin-top: var(--s-2);
  font-size: var(--fs-subhead);
  color: var(--text-tertiary);
  margin-bottom: var(--s-10);
}
.legal h1 {
  font-family: var(--font-display);
  font-size: var(--fs-display-md);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--text-primary);
}
.legal h2 {
  font-family: var(--font-display);
  font-size: var(--fs-title-1);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  margin-top: var(--s-10);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border);
}
.legal h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.legal h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-title-3);
  font-weight: 700;
  color: var(--text-primary);
  margin-top: var(--s-6);
  margin-bottom: var(--s-2);
}
.legal p,
.legal ul,
.legal ol {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: var(--s-4);
}
.legal ul,
.legal ol { padding-inline-start: var(--s-5); }
.legal li { margin-bottom: var(--s-1); }
.legal li::marker { color: var(--text-tertiary); }
.legal strong { color: var(--text-primary); font-weight: 700; }
.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.legal a:hover { color: var(--accent-hover); text-decoration: none; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-4) 0 var(--s-8);
  font-size: var(--fs-subhead);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.legal th,
.legal td {
  text-align: start;
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
  color: var(--text-secondary);
}
.legal tbody tr:last-child td { border-bottom: none; }
.legal tbody tr:nth-child(even) { background: var(--surface-2); }
.legal th {
  font-weight: 700;
  color: var(--text-primary);
  font-size: var(--fs-caption-1);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.legal .back-link {
  display: inline-block;
  margin-top: var(--s-12);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border);
  width: 100%;
  color: var(--text-tertiary);
  font-size: var(--fs-subhead);
  text-decoration: none;
}
.legal .back-link:hover { color: var(--accent); }

/* ─── Scroll progress bar ─────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  z-index: 60;
  pointer-events: none;
}
.scroll-progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent-deep) 100%
  );
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: 0 50%;
  transition: transform 60ms linear;
}

/* ─── Section head — optional centered variant ───────────────────── */
.section-head--center {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.section-head--center .reading { margin-inline: auto; }

.caption--gold { color: var(--accent); }

/* ─── Certificates section ────────────────────────────────────────── */
/* The certificates theme is deliberately distinct — formal artifact
   feel (dark frame + brass border) — even though the rest of the
   page already lives in warm dark. The brass border + serif framing
   keeps the certificate reading like a document, not a UI tile. */

.section--certificates {
  position: relative;
  background: var(--bg);
  border-block: 1px solid var(--border);
  overflow: hidden;
}
.section--certificates::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 60%;
  background: radial-gradient(
    ellipse at 50% 0%,
    color-mix(in oklab, var(--accent) 12%, transparent) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}
.section--certificates .container {
  position: relative;
  z-index: 1;
}

.cert-stage {
  margin-top: var(--s-16);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: center;
  justify-items: center;
  padding-block: var(--s-6);
}
@media (min-width: 900px) {
  .cert-stage {
    grid-template-columns: 1fr 1.35fr 1fr;
    gap: 0;
  }
}

.cert {
  --cert-bg:           #14110A;
  --cert-bg-raised:    #1A150C;
  --cert-border-outer: #2A2218;
  --cert-text-primary: #F2E7C7;
  --cert-text-body:    #E9DDB8;
  --cert-text-mute:    #8A7E5F;

  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 3;
  background: var(--cert-bg);
  border: 1px solid var(--cert-border-outer);
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.30),
    0 30px 60px -20px rgba(0, 0, 0, 0.55),
    0 60px 120px -30px rgba(0, 0, 0, 0.45);
  transition: transform var(--dur-slow) var(--ease-out-expo),
              box-shadow var(--dur-slow) var(--ease-out-expo),
              filter    var(--dur-slow) var(--ease-out-expo);
}
.cert::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 35%,
    rgba(0, 0, 0, 0.40) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.cert-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid var(--accent);
  border-radius: calc(var(--r-lg) - 4px);
  padding: clamp(14px, 3.4%, 22px) clamp(14px, 4.2%, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  z-index: 1;
}
.cert-brand {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.42em;
  color: var(--accent);
  text-transform: uppercase;
  margin-inline-start: 0.42em;
}

.cert-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 100%;
}
.cert-kicker {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cert-text-mute);
  font-weight: 700;
  margin-inline-start: 0.26em;
}
.cert-title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.8vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--cert-text-primary);
}
.cert-label {
  margin-top: 18px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cert-text-mute);
  font-weight: 700;
  margin-inline-start: 0.26em;
}
.cert-name {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(16px, 2.2vw, 20px);
  letter-spacing: -0.005em;
  color: var(--cert-text-body);
}
.cert-date {
  margin-top: 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--cert-text-mute);
}

.cert-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.10em;
  gap: var(--s-3);
}
.cert-lessons { color: var(--cert-text-mute); }
.cert-domain {
  color: var(--accent);
  letter-spacing: 0.18em;
  font-weight: 700;
}

.cert--featured {
  z-index: 3;
  transform: translateY(0) rotate(0);
}
.cert--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    color-mix(in oklab, var(--accent) 12%, transparent) 50%,
    transparent 65%
  );
  transform: translateX(-110%);
  animation: cert-shine 9s ease-in-out infinite 2s;
  pointer-events: none;
  z-index: 2;
}
@keyframes cert-shine {
  0%, 12%  { transform: translateX(-110%); }
  45%, 55% { transform: translateX(110%); }
  100%     { transform: translateX(110%); }
}

.cert--peek {
  z-index: 1;
  opacity: 0.78;
  filter: saturate(0.85) brightness(0.88);
  transform: translateY(34px) scale(0.88) rotate(-5deg);
}
.cert--peek.cert--right {
  transform: translateY(34px) scale(0.88) rotate(5deg);
}
@media (min-width: 900px) {
  .cert--peek {
    transform: translate(28px, 30px) scale(0.9) rotate(-6deg);
  }
  .cert--peek.cert--right {
    transform: translate(-28px, 30px) scale(0.9) rotate(6deg);
  }
}
@media (max-width: 899px) {
  .cert--peek {
    position: absolute;
    inset-inline: 0;
    margin-inline: auto;
    max-width: 88%;
    z-index: 0;
    opacity: 0.4;
    transform: translateY(14px) scale(0.88) rotate(-3deg);
  }
  .cert--peek.cert--right {
    transform: translateY(14px) scale(0.88) rotate(3deg);
  }
  .cert-stage {
    position: relative;
    min-height: 360px;
    padding-block: var(--s-8);
  }
  .cert--featured { position: relative; z-index: 3; }
}

@media (hover: hover) and (pointer: fine) {
  .cert--featured:hover {
    transform: translateY(-6px);
    box-shadow:
      0 6px 14px rgba(0, 0, 0, 0.35),
      0 40px 70px -18px rgba(0, 0, 0, 0.60),
      0 80px 140px -30px color-mix(in oklab, var(--accent) 22%, transparent);
  }
  .cert--peek:hover {
    opacity: 0.95;
    filter: none;
  }
}

.cert-share {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.40),
    0 14px 28px -10px rgba(0, 0, 0, 0.55);
  z-index: 4;
}
.cert-share-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--text-secondary);
  background: transparent;
  transition: background var(--dur-fast) var(--ease-out-quart),
              color var(--dur-fast) var(--ease-out-quart),
              transform var(--dur-fast) var(--ease-out-strong);
}
.cert-share-btn svg { width: 17px; height: 17px; }
@media (hover: hover) and (pointer: fine) {
  .cert-share-btn:hover {
    background: color-mix(in oklab, var(--accent) 18%, transparent);
    color: var(--accent);
    transform: translateY(-1px);
  }
}
.cert-share-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cert-share-btn:active { transform: scale(0.94); }
.cert-share-sep {
  width: 1px;
  height: 18px;
  background: var(--border-strong);
}
.cert-share-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  padding-inline-end: 6px;
}

.cert-bullets {
  margin: var(--s-16) auto 0;
  max-width: 720px;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  padding: 0;
}
@media (min-width: 760px) {
  .cert-bullets {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
  }
}
.cert-bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--fs-subhead);
  color: var(--text-secondary);
  line-height: 1.45;
}
.cert-bullet-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
}

/* ─── Reduced motion ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  html { scroll-behavior: auto; }
  .btn:active,
  .feature-card:hover,
  .track-tile:hover,
  .rank:hover,
  .cert--featured:hover,
  .cert-share-btn:hover,
  .cert-share-btn:active { transform: none; }
  .cert--featured::before { animation: none; display: none; }
  .scroll-progress > span { transition: none; }
  [data-reveal],
  [data-reveal-stagger] > * {
    opacity: 1;
    transform: none;
  }
}
