/* =========================================================
   PROSPECTS UNIVERSE - Design System
   Apple-inspired: system type with size-specific tracking,
   translucent materials, restrained color, motion that is
   immediate, continuous and interruptible.
   ========================================================= */

:root {
  color-scheme: light;

  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* Neutrals */
  --gray-100: #f5f5f7;
  --gray-200: #e8e8ed;
  --gray-300: #d2d2d7;
  --gray-500: #86868b;
  --gray-600: #6e6e73;
  --gray-900: #1d1d1f;

  /* Brand bronze */
  --bronze-200: #e9d3bd;
  --bronze-300: #d7baa0;
  --bronze-400: #c49670;
  --bronze-500: #996c48;
  --bronze-600: #86603f;
  --bronze-700: #6f4c30;

  /* Semantic - light */
  --bg: #ffffff;
  --bg-alt: var(--gray-100);
  --surface: #ffffff;
  --surface-2: var(--gray-100);
  --fill: rgba(0, 0, 0, 0.04);
  --fill-2: rgba(0, 0, 0, 0.07);
  --fill-3: rgba(0, 0, 0, 0.11);
  --text: var(--gray-900);
  --text-2: var(--gray-600);
  --text-3: var(--gray-500);
  --hairline: var(--gray-300);
  --hairline-soft: rgba(0, 0, 0, 0.08);
  --accent: var(--bronze-500);
  --accent-hover: var(--bronze-700);
  --accent-soft: rgba(153, 108, 72, 0.1);
  --accent-line: rgba(153, 108, 72, 0.32);
  --btn-bg: var(--bronze-500);
  --btn-bg-hover: var(--bronze-600);
  --btn-ink: #ffffff;
  --field-bg: #ffffff;

  --good: #248a3d;
  --good-soft: rgba(36, 138, 61, 0.1);
  --bad: #d70015;
  --bad-soft: rgba(215, 0, 21, 0.08);
  --warn: #b25000;
  --warn-soft: rgba(178, 80, 0, 0.1);
  --info: #0066cc;
  --info-soft: rgba(0, 102, 204, 0.1);
  --purple: #8944ab;
  --purple-soft: rgba(137, 68, 171, 0.1);

  --grad-bronze: linear-gradient(100deg, #f4d7b3 0%, #d9a679 42%, #a8744a 100%);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 28px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.22);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --radius-pill: 980px;

  /* Motion - curves that approximate critically damped springs */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --press: 90ms;

  --nav-h: 48px;
  --wrap: 1120px;
  --wrap-narrow: 980px;
  --wrap-text: 720px;
  --gutter: 22px;
  --section-y: clamp(88px, 11vw, 156px);
}

@media (min-width: 735px) {
  :root { --gutter: 40px; }
}

.theme-dark {
  color-scheme: dark;
  --bg: #000000;
  --bg-alt: #000000;
  --surface: #2c2c2e;
  --surface-2: #1d1d1f;
  --fill: rgba(255, 255, 255, 0.06);
  --fill-2: rgba(255, 255, 255, 0.1);
  --fill-3: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #86868b;
  --hairline: #424245;
  --hairline-soft: rgba(255, 255, 255, 0.1);
  --accent: #d4a57b;
  --accent-hover: #ecc29b;
  --accent-soft: rgba(212, 165, 123, 0.14);
  --accent-line: rgba(212, 165, 123, 0.38);
  --field-bg: rgba(255, 255, 255, 0.05);
  --good: #30d158;
  --good-soft: rgba(48, 209, 88, 0.14);
  --bad: #ff453a;
  --bad-soft: rgba(255, 69, 58, 0.14);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  background-color: var(--bg);
  color: var(--text);
}

/* Legacy aliases (used by a few inline styles) - re-resolved in every theme scope */
:root,
.theme-dark {
  --gold: var(--accent);
  --white: var(--text);
  --silver: var(--text-2);
  --muted: var(--text-3);
  --gray: var(--text-2);
  --navy-deep: var(--bg);
  --navy-mid: var(--surface-2);
  --navy-card: var(--surface);
  --navy-border: var(--hairline);
}


/* =========================================================
   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: calc(var(--nav-h) + 20px);
  background: var(--bg);
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.47;
  letter-spacing: -0.011em;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

html.menu-open,
html.modal-open {
  overflow: hidden;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img { height: auto; }

a {
  color: var(--accent);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

ul[class],
ol[class] { list-style: none; }

[hidden] { display: none !important; }

::selection {
  background: var(--bronze-200);
  color: #000;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 3000;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: #000;
  color: #fff;
  font-size: 0.875rem;
  transform: translateY(-150%);
  transition: transform 0.3s var(--ease-out);
}

.skip-link:focus { transform: none; text-decoration: none; }


/* =========================================================
   TYPOGRAPHY
   Tracking tightens as size grows; leading tightens too.
   ========================================================= */

.eyebrow {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-size: clamp(1.0625rem, 1.35vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.008em;
}

.headline {
  font-family: var(--font-display);
  color: var(--text);
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  font-weight: 600;
  line-height: 1.0625;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.headline em {
  font-style: normal;
  color: var(--text-3);
}

.headline-xl {
  font-size: clamp(3rem, 8vw, 5.75rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
}

.headline-sm {
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.lede {
  color: var(--text-2);
  font-size: clamp(1.1875rem, 1.75vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.lede strong { color: var(--text); font-weight: 600; }

.body-lg {
  color: var(--text-2);
  font-size: 1.1875rem;
  line-height: 1.5;
  letter-spacing: -0.013em;
}

.gradient-text {
  background: var(--grad-bronze);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.wrap-narrow { width: min(var(--wrap-narrow), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.wrap-text { width: min(var(--wrap-text), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

.section {
  position: relative;
  padding-block: var(--section-y);
  background: var(--bg);
  color: var(--text);
}

.section.alt { background: var(--bg-alt); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }

.section-head {
  max-width: 860px;
  margin: 0 auto clamp(44px, 6vw, 76px);
  text-align: center;
}

.section-head .lede,
.section-head .body-lg { margin-top: 1.25rem; }

.section-head-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: end;
  gap: 24px 72px;
  max-width: none;
  text-align: left;
}

.section-head-split .body-lg { margin: 0 0 0.4rem; }

.center { text-align: center; }
.actions-center { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 28px; margin-top: clamp(40px, 5vw, 56px); }

.tiles { display: grid; gap: 20px; }
.tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 3.2vw, 44px);
  border-radius: var(--radius-xl);
  background: var(--surface-2);
  color: var(--text);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.alt .tile { background: var(--surface); }

.tile h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.022em;
}

.tile p { color: var(--text-2); margin-bottom: 1.5rem; }
.tile > .link-more { margin-top: auto; }

a.tile:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-md); }
a.tile:active { transform: scale(0.985); transition-duration: var(--press); }

.tile-num {
  display: block;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  background: var(--grad-bronze);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.glass {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.55);
}


/* =========================================================
   BUTTONS & LINKS
   Feedback lands on press, not on release.
   ========================================================= */

.btn,
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.4s var(--ease-out);
}

.btn:hover,
.btn-gold:hover { background: var(--btn-bg-hover); color: var(--btn-ink); text-decoration: none; }

.btn:active,
.btn-gold:active { transform: scale(0.97); transition-duration: var(--press); }

.btn-lg { min-height: 52px; padding: 0 30px; }
.btn-sm { min-height: 32px; padding: 0 14px; font-size: 0.875rem; }
.btn-block { display: flex; width: 100%; white-space: normal; text-wrap: balance; padding-block: 12px; }

.btn-secondary {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--accent-line);
}

.btn-secondary:hover { background: var(--accent-soft); color: var(--accent); }

.btn-light { background: #f5f5f7; color: #1d1d1f; }
.btn-light:hover { background: #ffffff; color: #1d1d1f; }

.btn[disabled],
.btn.is-loading { opacity: 0.6; pointer-events: none; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  color: var(--accent);
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.link-more::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  margin-top: 0.05em;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.4s var(--ease-out);
}

.link-more:hover::after { transform: translateX(3px) rotate(45deg); }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}


/* =========================================================
   GLOBAL NAV - dark translucent material, content scrolls under
   ========================================================= */

.gnav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  color: #e8e8ed;
  transition: box-shadow 0.4s var(--ease-out);
}

/* The material lives on a pseudo-layer so the fixed mobile menu isn't trapped by backdrop-filter */
.gnav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(22, 22, 23, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: background-color 0.4s var(--ease-out);
}

.gnav.is-scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07); }

.gnav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.gnav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: #f5f5f7;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  white-space: nowrap;
}

.gnav-brand:hover { text-decoration: none; color: #fff; }
.gnav-brand img { width: auto; height: 22px; }

.gnav-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.gnav-menu a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.gnav-menu a:hover,
.gnav-menu a.is-active,
.gnav-menu a[aria-current="page"] { color: #ffffff; text-decoration: none; }

.gnav-menu-cta { display: none; }

.gnav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.25s ease, transform 0.4s var(--ease-out);
}

.gnav-cta:hover { background: var(--btn-bg-hover); color: #fff; text-decoration: none; }
.gnav-cta:active { transform: scale(0.96); transition-duration: var(--press); }

.gnav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -12px;
  border: 0;
  background: none;
}

.gnav-toggle span {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 1.5px;
  border-radius: 1px;
  background: #f5f5f7;
  transition: transform 0.45s var(--ease-out);
}

.gnav-toggle span:nth-child(1) { top: 18px; }
.gnav-toggle span:nth-child(2) { top: 24.5px; }
.gnav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.gnav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 1099px) {
  .gnav-toggle { display: block; }

  .gnav-links {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    overflow-y: auto;
    background: rgba(22, 22, 23, 0.97);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.35s var(--ease-out), visibility 0s linear 0.35s;
  }

  .gnav.is-open .gnav-links {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.35s var(--ease-out), visibility 0s;
  }

  .gnav.is-open::before { background: rgba(22, 22, 23, 0.97); }

  .gnav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
    margin: 0 auto;
    padding: 20px 0 48px;
  }

  .gnav-menu li {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease-out), transform 0.5s var(--ease-out);
  }

  .gnav.is-open .gnav-menu li {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i, 0) * 28ms);
  }

  .gnav-menu a {
    display: block;
    padding: 8px 0;
    color: #e8e8ed;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.022em;
  }

  .gnav-menu-cta { display: block; margin-top: 28px; }

  .gnav-menu .gnav-menu-cta .btn {
    display: flex;
    padding: 0 30px;
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: -0.01em;
  }
}

@media (max-width: 479px) {
  .gnav-cta { display: none; }
}


/* =========================================================
   FOOTER
   ========================================================= */

.gfooter {
  padding: 48px 0 28px;
  border-top: 1px solid var(--hairline-soft);
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.8125rem;
  line-height: 1.45;
  letter-spacing: -0.004em;
}

.gfooter a { color: var(--gray-600); }
.gfooter a:hover { color: var(--gray-900); }

.gfooter-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-300);
}

.gfooter-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-900) !important;
  font-size: 0.9375rem;
  font-weight: 600;
}

.gfooter-logo:hover { text-decoration: none; }
.gfooter-logo img { height: 22px; width: auto; }
.gfooter-tagline { max-width: 460px; color: var(--gray-600); }

.gfooter-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-300);
}

.gfooter-col h4 {
  margin-bottom: 10px;
  color: var(--gray-900);
  font-size: 0.8125rem;
  font-weight: 600;
}

.gfooter-col ul { list-style: none; }
.gfooter-col li + li { margin-top: 8px; }

.gfooter-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  color: var(--gray-500);
}

.gfooter-social { display: flex; flex-wrap: wrap; gap: 8px 20px; }

@media (max-width: 734px) {
  .gfooter-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* =========================================================
   REVEAL - content settles into place as it enters
   ========================================================= */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js .is-entering {
  animation: enter 0.7s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}

@keyframes enter {
  from { opacity: 0; transform: translate3d(0, 16px, 0) scale(0.985); }
}

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
}

@keyframes marquee {
  to { transform: translate3d(-50%, 0, 0); }
}


/* =========================================================
   HOME - HERO
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 13vw, 176px) 0 clamp(56px, 8vw, 96px);
  background: #000;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: -38%;
  left: 50%;
  width: min(1200px, 160vw);
  aspect-ratio: 3 / 2;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(196, 150, 112, 0.34), rgba(153, 108, 72, 0.12) 48%, transparent 72%);
  pointer-events: none;
}

.hero-inner { position: relative; }

.hero-inner > * { animation: rise 1.1s var(--ease-out) both; }
.hero-inner > :nth-child(2) { animation-delay: 80ms; }
.hero-inner > :nth-child(3) { animation-delay: 160ms; }
.hero-inner > :nth-child(4) { animation-delay: 240ms; }
.hero-inner > :nth-child(5) { animation-delay: 360ms; }

.hero-title {
  font-family: var(--font-display);
  color: #f5f5f7;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.hero-title span { display: block; padding-bottom: 0.04em; }

.hero-sub {
  max-width: 700px;
  margin: 28px auto 0;
  color: #a1a1a6;
  font-size: clamp(1.1875rem, 1.8vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.016em;
  text-wrap: pretty;
}

.hero-sub strong { color: #f5f5f7; font-weight: 600; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 32px;
  margin-top: 40px;
}

.hero-ctas .link-more { color: var(--bronze-300); font-size: 1.1875rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 980px;
  margin: clamp(64px, 9vw, 112px) auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat { padding: 28px 12px 0; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255, 255, 255, 0.12); }

.stat-num {
  display: block;
  white-space: nowrap;
  color: #f5f5f7;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 10px;
  color: #86868b;
  font-size: 0.875rem;
  letter-spacing: -0.005em;
}

@media (max-width: 734px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stat:nth-child(3) { border-left: 0; }
  .hero-stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 28px; }
  .hero-stat { padding-inline: 8px; }
}


/* =========================================================
   HOME - TICKER
   ========================================================= */

.ticker {
  overflow: hidden;
  padding: 16px 0;
  background: var(--gray-100);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  color: var(--text-2);
  font-size: 0.9375rem;
  white-space: nowrap;
}

.ticker-item strong { color: var(--text); font-weight: 600; }
.ticker-item svg { width: 14px; height: 14px; color: var(--accent); }


/* =========================================================
   HOME - TRUST
   ========================================================= */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 40px;
}

.trust-item .icon { width: 32px; height: 32px; margin-bottom: 18px; color: var(--accent); }

.trust-item h3 {
  margin-bottom: 6px;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.016em;
}

.trust-item p { color: var(--text-2); font-size: 1rem; line-height: 1.5; }
.trust-item .link-more { margin-top: 8px; font-size: 1rem; }


/* =========================================================
   HOME - PLANS
   ========================================================= */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4vw, 52px);
  border-radius: var(--radius-xl);
  background: var(--surface-2);
  color: var(--text);
}

.alt .plan:not(.plan-featured) { background: var(--surface); }

.plan-featured {
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(153, 108, 72, 0.38), transparent 62%),
    #000;
  box-shadow: var(--shadow-lg);
}

.plan-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.plan-icon .icon { width: 26px; height: 26px; }

.plan-kicker { color: var(--text-3); font-size: 0.9375rem; font-weight: 600; }

.plan-name {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.375rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.028em;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 22px 0 16px;
}

.plan-amount {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.plan-term { color: var(--text-3); font-size: 1rem; }
.plan-desc { margin-bottom: 28px; color: var(--text-2); }

.checks {
  display: grid;
  gap: 13px;
  margin-bottom: 36px;
}

.checks li {
  position: relative;
  padding-left: 32px;
  font-size: 1rem;
  line-height: 1.45;
}

.checks li::before {
  content: "";
  position: absolute;
  top: 0.08em;
  left: 0;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.checks li::after {
  content: "";
  position: absolute;
  top: calc(0.08em + 5px);
  left: 8px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

.plan-actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
}



/* Collapsible regions - rows animate from their current height */
.js .collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}

.js .collapse.is-open { grid-template-rows: 1fr; }

.collapse-inner { min-height: 0; overflow: hidden; }

.js .collapse > .collapse-inner {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.js .collapse.is-open > .collapse-inner {
  opacity: 1;
  transition: opacity 0.45s ease 0.08s;
}


/* =========================================================
   FORMS
   ========================================================= */

.form { display: grid; gap: 12px; }

.form input:not([type="hidden"]),
.form select,
.form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--field-bg);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.3;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}

.form textarea { min-height: 120px; resize: vertical; }

.form select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2386868b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.form select:invalid { color: var(--text-3); }
.form option { color: #1d1d1f; }

.form ::placeholder { color: var(--text-3); opacity: 1; }

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.form input:user-invalid,
.form textarea:user-invalid,
.form select:user-invalid { border-color: var(--bad); }

.form-note { color: var(--text-3); font-size: 0.8125rem; text-align: center; }

.form-error {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bad-soft);
  color: var(--bad);
  font-size: 0.875rem;
}

.form-success {
  padding: 20px 8px;
  text-align: center;
  animation: enter 0.6s var(--ease-out) both;
}

.form-success:focus { outline: none; }

.form-success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--good-soft);
  color: var(--good);
}

.form-success-icon .icon { width: 28px; height: 28px; stroke-width: 2.2; }

.form-success h4 {
  margin-bottom: 6px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.022em;
}

.form-success p { color: var(--text-2); font-size: 0.9375rem; }


/* =========================================================
   HOME - ABOUT
   ========================================================= */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(40px, 6vw, 88px);
}

.about-media {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
}

.about-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background: var(--gray-200);
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-b { margin-top: 64px; }
.about-photo-b img { object-position: center 30%; }

.about-badge {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.about-badge strong { display: block; color: #1d1d1f; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; }
.about-badge span { display: block; color: #3a3a3c; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; }

.about-copy .headline { margin-bottom: 28px; }
.about-copy > p { margin-bottom: 18px; color: var(--text-2); line-height: 1.6; }
.about-copy > p strong { color: var(--text); font-weight: 600; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0;
  padding: 26px 0;
  border-block: 1px solid var(--hairline);
}

.about-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.about-stat-label { display: block; margin-top: 8px; color: var(--text-3); font-size: 0.8125rem; }

/* Velocity journey */
.journey {
  margin-bottom: 36px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.journey-title { margin-bottom: 20px; color: var(--accent); font-size: 0.9375rem; font-weight: 600; }

.journey-list { display: grid; gap: 14px; }

.journey-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 6px 12px;
}

.journey-label { color: var(--text-2); font-size: 0.875rem; }
.journey-label small { color: var(--text-3); font-size: 0.8125rem; }
.journey-val { color: var(--text); font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.journey-bar {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--fill-2);
}

.journey-bar i {
  display: block;
  width: calc(var(--v) * 100%);
  height: 100%;
  border-radius: inherit;
  background: var(--gray-300);
  transition: width 1.3s var(--ease-out);
  transition-delay: calc(var(--n, 0) * 70ms + 150ms);
}

.js .journey:not(.is-in) .journey-bar i { width: 0; }

.journey-row.is-key,
.journey-row.is-final {
  margin-inline: -12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--accent-soft);
}

.journey-row.is-key .journey-label,
.journey-row.is-key .journey-val,
.journey-row.is-final .journey-label,
.journey-row.is-final .journey-val { color: var(--accent); font-weight: 600; }

.journey-row.is-key .journey-bar i { background: linear-gradient(90deg, var(--bronze-300), var(--bronze-500)); }
.journey-row.is-late .journey-bar i { background: linear-gradient(90deg, var(--bronze-300), var(--bronze-400)); }
.journey-row.is-final .journey-bar { height: 8px; }
.journey-row.is-final .journey-bar i { background: linear-gradient(90deg, var(--bronze-500), #f0c98a); }

.journey-note { grid-column: 1 / -1; color: var(--text-3); font-size: 0.75rem; }

.journey-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-soft);
  color: var(--text-2);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.journey-big {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-bronze);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* =========================================================
   HOME - COACHLINE (dark product showcase)
   ========================================================= */

.coachline { overflow: hidden; }

.coachline-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  width: min(1400px, 180vw);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(153, 108, 72, 0.26), transparent 70%);
  pointer-events: none;
}

.coachline .wrap { position: relative; }

.cl-pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  padding: 28px 32px;
  border-radius: var(--radius-xl);
  background: var(--surface-2);
}

.cl-product { display: flex; align-items: center; gap: 18px; }

.cl-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: linear-gradient(145deg, #e3b98f, #996c48 60%, #6f4c30);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 24px rgba(153, 108, 72, 0.35);
  color: #fff;
}

.cl-icon .icon { width: 30px; height: 30px; stroke-width: 2; }

.cl-product h3 { font-size: 1.625rem; font-weight: 600; letter-spacing: -0.024em; line-height: 1.1; }
.cl-product p { margin-top: 4px; color: var(--text-3); font-size: 0.9375rem; }

.cl-prices { display: flex; flex-wrap: wrap; gap: 12px; }

.cl-price {
  min-width: 180px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  background: var(--fill);
}

.cl-price.is-best { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.cl-price-label { display: block; color: var(--text-3); font-size: 0.8125rem; font-weight: 600; }
.cl-price.is-best .cl-price-label { color: var(--accent); }

.cl-price-amt {
  display: block;
  margin: 2px 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.cl-price-amt small { color: var(--text-3); font-size: 0.9375rem; font-weight: 400; letter-spacing: -0.01em; }
.cl-price-note { color: var(--text-2); font-size: 0.8125rem; }

.cl-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.cl-step { padding: 26px; border-radius: var(--radius-lg); background: var(--surface-2); }
.cl-step-num { display: block; margin-bottom: 14px; color: var(--accent); font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.cl-step strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.016em; }
.cl-step p { color: var(--text-2); font-size: 0.9375rem; line-height: 1.5; }

.cl-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.cl-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--fill-2);
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 0.25s ease, transform 0.4s var(--ease-out);
}

.cl-toggle:hover { background: var(--fill-3); }
.cl-toggle:active { transform: scale(0.97); transition-duration: var(--press); }

.cl-chevron {
  width: 0.5em;
  height: 0.5em;
  margin-top: -0.2em;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.5s var(--ease-out), margin 0.5s var(--ease-out);
}

.cl-toggle[aria-expanded="true"] .cl-chevron { margin-top: 0.25em; transform: rotate(225deg); }

.cl-note { margin-top: 16px; color: var(--text-3); font-size: 0.9375rem; text-align: center; }

.cl-panel { padding-top: 24px; }

.cl-included {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px 32px;
  padding: clamp(28px, 3.4vw, 40px);
  border-radius: var(--radius-xl);
  background: var(--surface-2);
}

.cl-h { margin-bottom: 22px; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.022em; }
.cl-included .checks { margin-bottom: 0; }
.cl-included .checks li { color: var(--text-2); font-size: 0.9375rem; }
.cl-included .callout:first-child { margin-top: 0; }

.cl-panel-preview .window { max-width: 760px; margin: 0 auto; }

.callout {
  margin-top: 14px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--fill);
}

.callout strong { display: block; margin-bottom: 6px; color: var(--accent); font-size: 1rem; font-weight: 600; letter-spacing: -0.012em; }
.callout p { color: var(--text-2); font-size: 0.9375rem; line-height: 1.55; }

/* Real-time flow */
.cl-flow { margin-top: 14px; padding: 20px; border-radius: var(--radius-md); background: var(--fill); }
.cl-flow-title { margin-bottom: 14px; color: var(--accent); font-size: 0.8125rem; font-weight: 600; }

.cl-flow-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.cl-endpoint {
  min-width: 0;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.cl-endpoint small { display: block; color: var(--text-3); font-size: 0.6875rem; font-weight: 600; }
.cl-endpoint b { display: block; overflow: hidden; color: var(--text); font-size: 0.75rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }

.cl-wire {
  position: relative;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, rgba(212, 165, 123, 0.55), rgba(212, 165, 123, 0.12));
}

.cl-envelope-track {
  position: absolute;
  inset: 0;
  animation: fly 3s var(--ease-in-out) infinite;
}

.cl-envelope {
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 20px;
  margin-top: -10px;
  border-radius: 6px;
  background: var(--btn-bg);
  box-shadow: 0 0 18px rgba(212, 165, 123, 0.7);
  color: #fff;
  transform: translateX(-50%);
}

.cl-envelope .icon { width: 16px; height: 16px; stroke-width: 2; }

@keyframes fly {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

.cl-ai {
  margin-top: 14px;
  padding: 10px 14px;
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--accent-soft);
}

.cl-ai small { display: block; margin-bottom: 2px; color: var(--text-3); font-size: 0.6875rem; font-weight: 600; }
.cl-ai q { color: var(--accent); font-size: 0.875rem; font-style: italic; line-height: 1.5; }

.cl-flow-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
  color: var(--text-3);
  font-size: 0.75rem;
}

.cl-flow-meta b { color: var(--text); font-weight: 500; }

/* App window mockup */
.window {
  overflow: hidden;
  border-radius: 18px;
  background: #1c1c1e;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 40px 90px rgba(0, 0, 0, 0.65);
  color: #f5f5f7;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  background: #2c2c2e;
}

.window-dot { flex-shrink: 0; width: 12px; height: 12px; border-radius: 50%; }
.window-dot.r { background: #ff5f57; }
.window-dot.y { background: #febc2e; }
.window-dot.g { background: #28c840; }

.window-title {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  margin-right: 52px;
  color: #98989d;
  font-size: 0.8125rem;
  font-weight: 500;
}

.window-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window-title img { flex-shrink: 0; width: auto; height: 14px; opacity: 0.85; }

.window-body { display: grid; gap: 12px; padding: 16px; }

.demo-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

.demo-chip {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: #a1a1a6;
  font-size: 0.75rem;
  font-weight: 500;
}

.demo-chip.on { background: rgba(212, 165, 123, 0.16); color: #e3bb94; }
.demo-chip.count { margin-left: auto; background: none; color: #f5f5f7; font-weight: 600; }

.demo-coach {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.25s ease;
}

.demo-coach:hover,
.demo-coach:focus-visible { background: rgba(255, 255, 255, 0.08); }
.demo-coach:focus-visible { outline-offset: 2px; }

.demo-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #48484a, #2c2c2e);
  color: #e5e5ea;
  font-size: 0.8125rem;
  font-weight: 600;
}

.demo-coach-name { color: #f5f5f7; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.012em; }
.demo-coach-school { color: #a1a1a6; font-size: 0.8125rem; }
.demo-coach-meta { overflow: hidden; color: #86868b; font-size: 0.75rem; text-overflow: ellipsis; white-space: nowrap; }

.demo-actions { display: flex; gap: 6px; }

.demo-action {
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #d1d1d6;
  font-size: 0.6875rem;
  font-weight: 500;
  white-space: nowrap;
}

.demo-action.primary { background: var(--btn-bg); color: #fff; }

/* Hover preview materializes from the card it belongs to */
.coach-preview {
  position: absolute;
  left: 52px;
  right: 12px;
  bottom: calc(100% - 4px);
  z-index: 5;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(58, 58, 60, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.18), 0 18px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  filter: blur(4px);
  transform: translateY(8px) scale(0.97);
  transform-origin: 20px 100%;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.45s var(--ease-out), filter 0.35s var(--ease-out);
}

.demo-coach:hover .coach-preview,
.demo-coach:focus-visible .coach-preview { opacity: 1; filter: none; transform: none; }

.coach-preview small { display: block; margin-bottom: 4px; color: #e3bb94; font-size: 0.6875rem; font-weight: 600; }
.coach-preview q { color: #e5e5ea; font-size: 0.8125rem; font-style: italic; line-height: 1.5; }

.demo-compose { overflow: hidden; border-radius: 14px; background: rgba(255, 255, 255, 0.04); }

.demo-compose-head,
.demo-compose-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  font-size: 0.8125rem;
}

.demo-compose-head { border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: #f5f5f7; font-weight: 600; }
.demo-compose-foot { border-top: 1px solid rgba(255, 255, 255, 0.08); color: #a1a1a6; }
.demo-compose-foot b { color: #e3bb94; font-weight: 600; }

.demo-badge {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(212, 165, 123, 0.16);
  color: #e3bb94;
  font-size: 0.6875rem;
  font-weight: 600;
}

.demo-mail { padding: 6px 14px 14px; }

.demo-field {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #a1a1a6;
  font-size: 0.75rem;
  line-height: 1.45;
}

.demo-field > span:first-child { flex-shrink: 0; width: 54px; color: #86868b; }

.demo-mail-body {
  max-height: 340px;
  margin-top: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #a1a1a6;
  font-size: 0.8125rem;
  line-height: 1.75;
  -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent);
  mask-image: linear-gradient(180deg, #000 85%, transparent);
  padding-bottom: 24px;
}

.demo-mail-body strong { color: #f5f5f7; font-weight: 600; }
.demo-muted { color: #86868b; }

.token { color: #e3bb94; }

.hyper {
  padding: 1px 3px;
  border-radius: 4px;
  background: rgba(212, 165, 123, 0.12);
  color: #e3bb94;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.typing::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -0.18em;
  background: currentColor;
  animation: caret 1s steps(1) infinite;
}

.typing.done::after { display: none; }

@keyframes caret { 50% { opacity: 0; } }

.demo-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

.demo-stat { padding: 14px 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); text-align: center; }
.demo-stat b { display: block; color: #f5f5f7; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.demo-stat span { color: #86868b; font-size: 0.75rem; }


/* =========================================================
   HOME - PROCESS
   ========================================================= */

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.step { position: relative; padding-top: 44px; }

.step::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.step::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 28px;
  right: -16px;
  height: 2px;
  border-radius: 1px;
  background: var(--hairline);
}

.step:last-child::after { display: none; }

.step-num { display: block; margin-bottom: 8px; color: var(--accent); font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 8px; font-size: 1.25rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.step p { color: var(--text-2); font-size: 0.9375rem; line-height: 1.5; }


/* =========================================================
   HOME - PROGRAM MARQUEE
   ========================================================= */

.marquee {
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee + .marquee { margin-top: 10px; }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 70s linear infinite;
}

.marquee-reverse .marquee-track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee-track { animation-play-state: paused; }

.chip {
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  white-space: nowrap;
}


/* =========================================================
   HOME - COMMITS TEASER
   ========================================================= */

.tile .ct-school {
  margin-bottom: 6px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.tile .ct-player { margin: 0; color: var(--text-2); font-size: 1rem; }

.ct-div {
  align-self: flex-start;
  margin-top: 22px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
}


/* =========================================================
   HOME - TESTIMONIAL CAROUSEL
   ========================================================= */

.carousel { --pad: calc((100% - min(var(--wrap), 100% - 2 * var(--gutter))) / 2); }

.carousel-track {
  position: relative;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px var(--pad) 28px;
  scroll-padding-inline: var(--pad);
  scroll-snap-type: x mandatory;
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
}

.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; -webkit-user-select: none; user-select: none; }
.carousel-track.is-dragging,
.carousel-track.is-animating { scroll-snap-type: none; }

.quote-card {
  display: flex;
  flex: 0 0 clamp(290px, 34vw, 410px);
  flex-direction: column;
  min-height: 360px;
  padding: clamp(28px, 3vw, 38px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  scroll-snap-align: start;
}

.stars { display: flex; gap: 3px; margin-bottom: 22px; color: var(--accent); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }

.quote-card blockquote p {
  color: var(--text);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.016em;
}

.quote-card figcaption {
  margin-top: auto;
  padding-top: 28px;
}

.quote-name { display: block; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; }
.quote-role { display: block; color: var(--text-3); font-size: 0.8125rem; }

.carousel-controls { display: flex; justify-content: flex-end; gap: 12px; }

.paddle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--fill-2);
  color: var(--text);
  transition: background-color 0.25s ease, opacity 0.25s ease, transform 0.4s var(--ease-out);
}

.paddle:hover { background: var(--fill-3); }
.paddle:active { transform: scale(0.9); transition-duration: var(--press); }
.paddle:disabled { opacity: 0.35; cursor: default; transform: none; }
.paddle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


/* =========================================================
   TEAM, FAQ LINK, COMPACT TESTIMONIALS
   ========================================================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 24px;
}

.team-card { min-width: 0; }
.team-link { display: block; color: inherit; }
.team-link:hover { color: inherit; text-decoration: none; }

.team-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.team-link:hover .team-photo { box-shadow: var(--shadow-md); }
.team-link:hover .team-photo img { transform: scale(1.03); }
.team-link:active .team-photo { transform: scale(0.98); transition-duration: var(--press); }

.team-name { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.016em; }
.team-role { margin-top: 2px; color: var(--accent); font-size: 0.9375rem; font-weight: 500; }
.team-bio { margin-top: 10px; color: var(--text-2); font-size: 0.9375rem; line-height: 1.5; }
.team-link .link-more { margin-top: 12px; font-size: 0.9375rem; white-space: nowrap; }

.faq-band-text { max-width: 560px; margin: 16px auto 28px; }

.carousel-compact .quote-card { min-height: 0; }
.carousel-compact .quote-card blockquote p { font-size: 1.0625rem; }


/* =========================================================
   POST CARDS (home + blog)
   ========================================================= */

.post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--surface-2);
  color: var(--text);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.alt .post-card { background: var(--surface); }

a.post-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-md); }
a.post-card:active { transform: scale(0.985); transition-duration: var(--press); }

.post-cat { margin-bottom: 12px; color: var(--accent); font-size: 0.875rem; font-weight: 600; }

.post-title {
  margin-bottom: 12px;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.post-desc { margin-bottom: 24px; color: var(--text-2); font-size: 0.9375rem; line-height: 1.5; }
.post-meta { display: flex; gap: 14px; margin: auto 0 14px; color: var(--text-3); font-size: 0.8125rem; }
.post-meta + .link-more { margin-top: 0; }
.post-card > .link-more { margin-top: auto; font-size: 1rem; }
.post-meta ~ .link-more { margin-top: 0; }


/* =========================================================
   HOME - FAQ
   ========================================================= */

.faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  border: 0;
  background: none;
  color: var(--text);
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.018em;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-q:hover { color: var(--accent); }

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--fill-2);
  transition: transform 0.5s var(--ease-out), background-color 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.8px;
  margin: -0.9px 0 0 -6px;
  border-radius: 1px;
  background: currentColor;
}

.faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent); }

.faq-a p { padding: 0 56px 28px 0; color: var(--text-2); font-size: 1.0625rem; line-height: 1.6; }


/* =========================================================
   HOME - CONTACT
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 4vw, 52px);
  border-radius: var(--radius-xl);
  background: var(--surface-2);
  color: var(--text);
}

.alt .contact-card { background: var(--surface); }

.contact-card.theme-dark {
  background:
    radial-gradient(110% 60% at 0% 0%, rgba(153, 108, 72, 0.4), transparent 60%),
    #000;
}

.contact-card .eyebrow { font-size: 1rem; }

.contact-card h3 {
  margin: 4px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.contact-card > p { margin-bottom: 26px; color: var(--text-2); }
.contact-card > .btn { margin-top: auto; }

.contact-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 40px;
  color: var(--text-2);
  font-size: 0.9375rem;
}

.contact-social a { color: var(--text-2); }
.contact-social a:hover { color: var(--accent); }


/* =========================================================
   MODAL / SHEET
   Enters scaled from the button that opened it and leaves the
   same way. On phones it becomes a draggable bottom sheet.
   ========================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.5s;
}

.modal.is-open { visibility: visible; pointer-events: auto; transition: visibility 0s; }

.modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}

.modal.is-open .modal-scrim { opacity: 1; }

.modal-sheet {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 44px 40px 36px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  filter: blur(8px);
  transform: scale(0.9);
  transition: opacity 0.35s var(--ease-out), transform 0.55s var(--ease-out), filter 0.45s var(--ease-out);
}

.modal.is-open .modal-sheet { opacity: 1; filter: none; transform: none; }
.modal-sheet:focus { outline: none; }
.modal-sheet.is-dragging { transition: none; }

.modal-grabber { display: none; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--fill-2);
  color: var(--text-2);
  transition: background-color 0.2s ease, transform 0.4s var(--ease-out);
}

.modal-close:hover { background: var(--fill-3); }
.modal-close:active { transform: scale(0.9); transition-duration: var(--press); }
.modal-close .icon { width: 14px; height: 14px; stroke-width: 2.4; }

.modal h3 {
  margin: 18px 0 12px;
  font-family: var(--font-display);
  font-size: 2.125rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.modal h3 em { font-style: normal; color: var(--text-3); }
.modal-sheet > p { margin-bottom: 24px; color: var(--text-2); font-size: 1rem; }

@media (max-width: 734px) {
  .modal { place-items: end stretch; padding: 0; }

  .modal-sheet {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 12px 24px calc(28px + env(safe-area-inset-bottom));
    border-radius: 28px 28px 0 0;
    opacity: 1;
    filter: none;
    transform: translate3d(0, 105%, 0);
    transition: transform 0.55s var(--ease-out);
  }

  .modal-grabber {
    position: sticky;
    top: -12px;
    z-index: 2;
    display: block;
    height: 32px;
    margin: -12px -24px 4px;
    touch-action: none;
    cursor: grab;
  }

  .modal-grabber::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 38px;
    height: 5px;
    margin-left: -19px;
    border-radius: 3px;
    background: var(--gray-300);
  }

  .modal-close { top: 18px; }
}


/* =========================================================
   PAGE HEROES, FILTERS, SEGMENTED CONTROL
   ========================================================= */

.page-hero {
  padding: clamp(72px, 10vw, 140px) 0 clamp(44px, 6vw, 72px);
  text-align: center;
}

.page-hero .lede { max-width: 700px; margin: 22px auto 0; }

.filter-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.3s ease;
}

.filter-bar.is-stuck { box-shadow: 0 1px 0 var(--hairline-soft); }

.filter-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
}

.segmented {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  padding: 3px;
  overflow-x: auto;
  border-radius: var(--radius-pill);
  background: var(--fill-2);
  scrollbar-width: none;
}

.segmented::-webkit-scrollbar { display: none; }

.segmented button {
  position: relative;
  z-index: 1;
  padding: 7px 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s ease, transform 0.4s var(--ease-out);
}

.segmented button:hover { color: var(--text); }
.segmented button[aria-pressed="true"] { color: var(--text); }
.segmented button:active { transform: scale(0.95); transition-duration: var(--press); }

.segmented-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  z-index: 0;
  border-radius: var(--radius-pill);
  background: var(--bg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
  transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out);
}

.no-js .segmented button[aria-pressed="true"] { background: var(--bg); }


/* =========================================================
   BLOG
   ========================================================= */

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #000;
  color: #f5f5f7;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px);
}

.feature-copy .pill-badge { align-self: flex-start; margin-bottom: 24px; }

.feature-copy h2 {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.feature-copy h2 em { font-style: normal; color: var(--text-2); }
.feature-copy > p { margin-bottom: 28px; color: var(--text-2); }
.feature-copy .btn { align-self: flex-start; }

.feature-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 18px; color: var(--text-3); font-size: 0.875rem; }

.feature-media { position: relative; min-height: 360px; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.feature-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 0%, transparent 35%); }

.topics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.topic {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  text-align: left;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.topic:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.topic:active { transform: scale(0.97); transition-duration: var(--press); }
.topic .icon { width: 26px; height: 26px; margin-bottom: 18px; color: var(--accent); }
.topic-name { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.014em; }
.topic-count { color: var(--text-3); font-size: 0.875rem; }

.section-flush-top { padding-top: 0; }
.list-title { margin-bottom: 28px; }

.cta-band { text-align: center; }
.cta-band .lede { max-width: 620px; margin: 20px auto 36px; }

.empty-state { padding: 48px 0; color: var(--text-3); text-align: center; }


/* =========================================================
   ARTICLES
   ========================================================= */

.article-header { padding: clamp(48px, 7vw, 96px) 0 0; }
.article-header-col { max-width: 780px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
  color: var(--text-3);
  font-size: 0.8125rem;
}

.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--accent); }

.article-category { margin-bottom: 14px; color: var(--accent); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }

.article-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

.article-title em { font-style: normal; color: var(--accent); }

.article-subtitle { margin-top: 20px; color: var(--text-2); font-size: clamp(1.1875rem, 2vw, 1.375rem); font-weight: 500; line-height: 1.4; letter-spacing: -0.016em; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 26px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline);
  color: var(--text-3);
  font-size: 0.875rem;
}

.article-meta strong { color: var(--text-2); font-weight: 600; }

.article-figure { margin-top: 40px; }
.article-figure img { width: 100%; height: auto; border-radius: var(--radius-lg); background: var(--surface-2); }
.article-figure figcaption { margin-top: 12px; color: var(--text-3); font-size: 0.875rem; text-align: center; }

.article-body {
  padding: 40px 0 clamp(64px, 8vw, 104px);
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.65;
  letter-spacing: -0.012em;
}

.article-body > p { margin-bottom: 1.35em; }

.article-body p { color: var(--text); }
.article-body strong { color: var(--text); font-weight: 600; }

.article-body a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

.article-body h2 {
  margin: 2.3em 0 0.7em;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.026em;
  text-wrap: balance;
}

.article-body h2 em { font-style: normal; color: var(--accent); }

.article-body > h3 { margin: 1.8em 0 0.5em; font-size: 1.3125rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.018em; }

.article-body blockquote {
  margin: 2.2em 0;
  padding: 2px 0 2px 24px;
  border-left: 3px solid var(--accent);
}

.article-body blockquote p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.02em;
}

.article-body > ul:not([class]),
.article-body > ol:not([class]) { margin: 0 0 1.5em; padding-left: 1.3em; }

.article-body > ul:not([class]) > li,
.article-body > ol:not([class]) > li { margin-bottom: 0.5em; padding-left: 0.2em; }

.article-body > ul:not([class]) > li::marker { color: var(--accent); }

.dos-col ul,
.donts-col ul,
.role-col ul,
.phase-col ul,
.why-list { list-style: none; }

.article-body .tag {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Shared card look for article components */
.stat-box, .stat-highlight, .stat-callout, .lesson-block, .division-card, .decision-row,
.advantage-card, .pillar-card, .help-card, .cal-card, .role-col, .dos-col, .donts-col,
.action-item, .subject-row, .phase-block, .mistake-block, .myth-block, .week-schedule,
.related-card, .commit-card, .author-box, .email-example, .data-card {
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 2em 0; }
.stat-box { padding: 24px 16px; text-align: center; }
.stat-box-num { color: var(--accent); font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.035em; }
.stat-box-label { margin-top: 8px; color: var(--text-2); font-size: 0.8125rem; line-height: 1.35; }

.stat-highlight { margin: 2em 0; padding: 40px 24px; text-align: center; }

.stat-highlight-num,
.callout-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  background: var(--grad-bronze);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-highlight-label { max-width: 480px; margin: 10px auto 0; color: var(--text-2); font-size: 1rem; line-height: 1.45; }

.stat-callout { display: flex; align-items: center; gap: 28px; margin: 2.2em 0; padding: 28px 32px; }
.callout-num { flex-shrink: 0; }
.callout-text { color: var(--text-2); font-size: 1rem; line-height: 1.55; }
.callout-text strong { color: var(--text); }

.step-block {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--hairline);
}

.step-block:last-of-type { border-bottom: 1px solid var(--hairline); margin-bottom: 1.5em; }
.step-block + .step-block { border-top: 1px solid var(--hairline-soft); }
.step-num { color: var(--accent); font-family: var(--font-display); font-size: 1.625rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.step-content h3 { margin: 0 0 6px; font-size: 1.1875rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.016em; }
.step-content p { margin: 0; color: var(--text-2); font-size: 1.0625rem; }

.lesson-block { margin-bottom: 12px; padding: 22px 24px; }
.lesson-block h3 { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.014em; }
.lesson-block p { margin: 0; color: var(--text-2); font-size: 1rem; line-height: 1.55; }

.player-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 2em;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 0% 0%, rgba(153, 108, 72, 0.45), transparent 60%), #000;
  color: #f5f5f7;
}

.player-emoji {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.875rem;
}

.player-name { color: #f5f5f7; font-family: var(--font-display); font-size: 1.625rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.028em; }
.player-school { margin-top: 2px; color: #e3bb94; font-size: 0.9375rem; font-weight: 600; }
.player-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.player-tag { padding: 4px 11px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.1); color: #e8e8ed; font-size: 0.75rem; font-weight: 500; }

.cta-box {
  margin: 3em 0;
  padding: clamp(36px, 5vw, 52px) clamp(24px, 4vw, 40px);
  border-radius: var(--radius-xl);
  background: radial-gradient(100% 70% at 50% 0%, rgba(153, 108, 72, 0.45), transparent 65%), #000;
  color: #f5f5f7;
  text-align: center;
}

.article-body .cta-box .tag { color: #d4a57b; }
.cta-box h3 { margin: 4px 0 12px; color: #f5f5f7; font-family: var(--font-display); font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.032em; }
.article-body .cta-box p { max-width: 460px; margin: 0 auto 28px; color: #a1a1a6; font-size: 1.0625rem; }

.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

.share-label { margin-right: 6px; color: var(--text-3); font-size: 0.875rem; }

.share-btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--fill-2);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.4s var(--ease-out);
}

.share-btn:hover { background: var(--fill-3); color: var(--text); text-decoration: none; }
.share-btn:active { transform: scale(0.95); transition-duration: var(--press); }

.author-box { display: flex; align-items: flex-start; gap: 20px; margin: 32px 0 0; padding: 28px; }

.author-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 50%;
  background: #000;
}

.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-avatar img.is-mark { width: 26px; height: auto; object-fit: contain; }

.author-name { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.014em; }
.author-title { margin: 2px 0 8px; color: var(--accent); font-size: 0.875rem; font-weight: 500; }
.article-body .author-bio, .author-bio { margin: 0; color: var(--text-2); font-size: 0.9375rem; line-height: 1.55; }

.related-grid,
.more-commits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.related-card,
.commit-card {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  color: var(--text);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.related-card:hover,
.commit-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-card:active,
.commit-card:active { transform: scale(0.98); transition-duration: var(--press); }

.related-cat,
.commit-school { margin-bottom: 6px; color: var(--accent); font-size: 0.8125rem; font-weight: 600; }
.related-title,
.commit-name { color: var(--text); font-size: 1rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.014em; }
.commit-desc { margin-top: 2px; color: var(--text-2); font-size: 0.875rem; }

.article-section { margin-top: 48px; }

.read-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: #000;
  color: #f5f5f7;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.read-next:hover { color: #f5f5f7; text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.read-next:active { transform: scale(0.985); transition-duration: var(--press); }
.read-next-label { display: block; margin-bottom: 4px; color: #d4a57b; font-size: 0.875rem; font-weight: 600; }
.read-next-title { display: block; font-size: 1.25rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }

.read-next-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.read-next-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Divisions */
.division-card { margin-bottom: 14px; padding: 26px 28px; }
.division-label { color: var(--accent); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.026em; }
.division-sub { margin-bottom: 18px; color: var(--text-3); font-size: 0.875rem; }
.division-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.division-stat h4 { margin-bottom: 4px; color: var(--text-3); font-size: 0.8125rem; font-weight: 600; }
.article-body .division-stat p { margin: 0; color: var(--text); font-size: 0.9375rem; line-height: 1.5; }

.table-scroll {
  margin: 2em 0;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  -webkit-overflow-scrolling: touch;
}

.comparison-table,
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.45; }

.comparison-table th,
.data-table th {
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--hairline);
  color: var(--text-3);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.comparison-table td,
.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--hairline-soft); color: var(--text); vertical-align: top; }
.comparison-table tr:last-child td,
.data-table tr:last-child td { border-bottom: 0; }
.comparison-table td:first-child,
.data-table td:first-child { font-weight: 600; }

.decision-grid { display: grid; gap: 8px; margin: 2em 0; }

.decision-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
}

.decision-if { color: var(--text-3); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.decision-condition { font-size: 0.9375rem; line-height: 1.45; }
.decision-result { padding: 4px 11px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }

/* Email */
.email-example { margin: 2em 0; overflow: hidden; }
.email-example-header { display: flex; align-items: center; gap: 10px; padding: 12px 20px; }
.email-example-header.bad { background: var(--bad-soft); }
.email-example-header.good { background: var(--good-soft); }
.email-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.email-label.bad { color: var(--bad); }
.email-label.good { color: var(--good); }
.email-fields { padding: 14px 20px; border-bottom: 1px solid var(--hairline-soft); background: var(--bg); }
.email-field { color: var(--text-3); font-size: 0.8125rem; line-height: 1.6; }
.email-field span { color: var(--text); }
.email-body-text { padding: 20px; background: var(--bg); color: var(--text-2); font-size: 0.9375rem; line-height: 1.7; }

.article-body .why-list { padding: 14px 20px; }

.why-list li,
.dos-col li,
.donts-col li {
  position: relative;
  padding: 7px 0 7px 30px;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.why-list li::before,
.dos-col li::before,
.donts-col li::before,
.mistake-list li::before,
.checklist li::before {
  position: absolute;
  top: 9px;
  left: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 1;
}

.why-list.bad li::before,
.donts-col li::before,
.mistake-list li::before { content: "✕"; background: var(--bad); }

.why-list.good li::before,
.dos-col li::before { content: "✓"; background: var(--good); }

.checklist li::before { content: "✓"; background: var(--accent); }

.subject-rows { display: grid; gap: 8px; margin: 1em 0 2em; }
.subject-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--radius-md); }
.subject-icon { display: flex; flex-shrink: 0; padding-top: 1px; }
.subject-icon .icon { width: 20px; height: 20px; stroke-width: 1.9; }
.subject-icon.bad { color: var(--bad); }
.subject-icon.okay { color: var(--warn); }
.subject-icon.good { color: var(--good); }
.subject-text { flex: 1; font-size: 0.9375rem; line-height: 1.45; }
.subject-result { flex-shrink: 0; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 600; }
.subject-result.bad { background: var(--bad-soft); color: var(--bad); }
.subject-result.okay { background: var(--warn-soft); color: var(--warn); }
.subject-result.good { background: var(--good-soft); color: var(--good); }

.dos-donts,
.advantage-grid,
.pillar-grid,
.calendar-grid,
.roles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 2em 0; }

.helps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 2em 0; }

.dos-col,
.donts-col,
.role-col { padding: 22px 24px; }

.dos-col h3,
.donts-col h3,
.role-col h3 { margin: 0 0 10px; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }

.dos-col h3 { color: var(--good); }
.donts-col h3 { color: var(--bad); }
.role-col h3 { color: var(--accent); }

.dos-col li + li,
.donts-col li + li,
.role-col li + li { border-top: 1px solid var(--hairline-soft); }

.role-col li { position: relative; padding: 9px 0 9px 18px; color: var(--text-2); font-size: 0.9375rem; line-height: 1.5; }
.role-col li::before { content: ""; position: absolute; top: 1.05em; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Late developers */
.myth-block { margin-bottom: 14px; overflow: hidden; }
.myth-row { padding: 18px 22px; }
.myth-row + .myth-row { border-top: 1px solid var(--hairline-soft); background: var(--bg); }
.myth-label { margin-bottom: 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.myth-label.myth { color: var(--bad); }
.myth-label.reality { color: var(--good); }
.article-body .myth-row p { margin: 0; font-size: 1rem; line-height: 1.55; }

.advantage-card,
.pillar-card,
.help-card,
.cal-card { padding: 24px; }

.advantage-icon,
.pillar-icon,
.help-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  font-size: 1.375rem;
}

.pillar-icon .icon,
.advantage-icon .icon,
.help-icon .icon { width: 24px; height: 24px; color: var(--accent); }
.player-emoji .icon { width: 32px; height: 32px; color: #e3bb94; }

.advantage-title,
.pillar-title,
.help-title,
.cal-title { margin-bottom: 6px; font-size: 1.0625rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.014em; }

.advantage-desc,
.pillar-desc,
.help-desc,
.cal-desc { color: var(--text-2); font-size: 0.9375rem; line-height: 1.5; }

.action-list { display: grid; gap: 8px; margin: 1.5em 0; }
.action-item { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--radius-md); }
.action-num { flex-shrink: 0; color: var(--accent); font-size: 1.25rem; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; }
.action-text { color: var(--text-2); font-size: 1rem; line-height: 1.55; }

/* Mistakes / parents */
.mistake-block { margin-bottom: 18px; overflow: hidden; }
.mistake-header { display: flex; align-items: center; gap: 16px; padding: 24px 26px 0; }

.mistake-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 2.125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-bronze);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.mistake-title { font-size: 1.25rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.018em; }
.mistake-body { padding: 14px 26px 26px; }
.article-body .mistake-body p { margin-bottom: 12px; color: var(--text-2); font-size: 1.0625rem; line-height: 1.6; }
.fix-box { margin-top: 6px; padding: 16px 18px; border-radius: var(--radius-md); background: var(--bg); }
.fix-label { margin-bottom: 4px; color: var(--accent); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.article-body .fix-box p { margin: 0; color: var(--text); font-size: 1rem; }

/* Portal */
.checklist,
.mistake-list { display: grid; gap: 8px; margin: 1em 0 2em; }

.checklist li,
.mistake-list li {
  position: relative;
  padding: 14px 18px 14px 50px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  font-size: 1rem;
  line-height: 1.5;
}

.checklist li::before,
.mistake-list li::before { top: 15px; left: 18px; }

/* Training plan */
.cal-period { margin-bottom: 4px; color: var(--accent); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.cal-badge { display: inline-block; margin-top: 14px; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 600; }
.badge-off { background: var(--accent-soft); color: var(--accent); }
.badge-in { background: var(--good-soft); color: var(--good); }
.badge-hybrid { background: var(--info-soft); color: var(--info); }
.badge-showcase { background: var(--warn-soft); color: var(--warn); }

.week-schedule { margin: 2em 0; overflow: hidden; }
.week-header { padding: 16px 22px; border-bottom: 1px solid var(--hairline-soft); color: var(--accent); font-size: 0.875rem; font-weight: 700; }
.day-row { display: flex; align-items: flex-start; gap: 16px; padding: 14px 22px; }
.day-row + .day-row { border-top: 1px solid var(--hairline-soft); }
.day-label { flex-shrink: 0; width: 40px; padding-top: 2px; color: var(--text-3); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.day-title { font-size: 0.9375rem; font-weight: 600; }
.day-desc { color: var(--text-2); font-size: 0.875rem; line-height: 1.5; }

/* Velocity */
.velo-benchmarks { display: grid; gap: 8px; margin: 1.5em 0; }
.velo-row { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--radius-md); background: var(--surface-2); }
.velo-range { flex-shrink: 0; width: 112px; color: var(--accent); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.velo-desc { flex: 1; color: var(--text-2); font-size: 0.9375rem; line-height: 1.5; }

.phase-block { margin-bottom: 14px; overflow: hidden; }
.phase-header { display: flex; align-items: center; gap: 16px; padding: 22px 24px; }
.phase-num { color: var(--accent); font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.phase-title { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.016em; }
.phase-sub { color: var(--text-3); font-size: 0.875rem; }
.phase-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 24px 24px; }
.phase-col { padding: 18px; border-radius: var(--radius-md); background: var(--bg); }
.phase-col h4 { margin-bottom: 8px; color: var(--text-3); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.phase-col li { position: relative; padding: 5px 0 5px 16px; color: var(--text-2); font-size: 0.875rem; line-height: 1.5; }
.phase-col li::before { content: ""; position: absolute; top: 0.95em; left: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Journey article: body + sidebar */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: clamp(40px, 6vw, 80px);
}

.article-layout .article-body { min-width: 0; }

.sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: grid;
  gap: 16px;
  padding-top: 40px;
}

.sidebar-cta {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 80% at 50% 0%, rgba(153, 108, 72, 0.45), transparent 65%), #000;
  color: #f5f5f7;
  text-align: center;
}

.sidebar-cta h4 { margin-bottom: 10px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.026em; }
.sidebar-cta h4 em { font-style: normal; color: #e3bb94; }
.sidebar-cta p { margin-bottom: 20px; color: #a1a1a6; font-size: 0.9375rem; line-height: 1.5; }

.sidebar-card { padding: 22px 24px; border-radius: var(--radius-lg); background: var(--surface-2); }
.sidebar-title { margin-bottom: 4px; color: var(--accent); font-size: 0.875rem; font-weight: 600; }
.related-post { display: grid; gap: 2px; padding: 12px 0; }
.related-post + .related-post { border-top: 1px solid var(--hairline-soft); }
.sidebar .related-cat { margin: 0; color: var(--text-3); font-size: 0.75rem; }
.sidebar .related-title { color: var(--text); font-size: 0.9375rem; }
.sidebar .related-title:hover { color: var(--accent); text-decoration: none; }


/* =========================================================
   COMMITS PAGE
   ========================================================= */

.commits-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.search-field { position: relative; flex: 0 1 300px; }

.search-field input {
  width: 100%;
  min-height: 40px;
  padding: 0 16px 0 40px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--fill-2);
  color: var(--text);
  font-size: 0.9375rem;
  -webkit-appearance: none;
  appearance: none;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.search-field input:focus { outline: none; background: var(--bg); box-shadow: 0 0 0 1px var(--accent-line), 0 0 0 4px var(--accent-soft); }
.search-field input::placeholder { color: var(--text-3); }
.search-field .icon { position: absolute; top: 50%; left: 14px; width: 16px; height: 16px; margin-top: -8px; color: var(--text-3); pointer-events: none; }

/* jump target that never moves with reveal animations */
.scroll-anchor { display: block; height: 0; }

.map-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px 0 12px;
  border-radius: var(--radius-pill);
  background: var(--fill-2);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.4s var(--ease-out);
}

.map-jump:hover { background: var(--fill-3); color: var(--text); text-decoration: none; }
.map-jump:active { transform: scale(0.96); transition-duration: var(--press); }
.map-jump .icon { width: 18px; height: 18px; color: var(--accent); }

.commits-count { margin-bottom: 14px; color: var(--text-3); font-size: 0.875rem; }
.commits-count strong { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

.commits-card { overflow: hidden; border-radius: var(--radius-xl); background: var(--surface); }

.commits-table { width: 100%; border-collapse: collapse; }

.commits-table th {
  padding: 18px 24px 12px;
  border-bottom: 1px solid var(--hairline);
  color: var(--text-3);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: left;
}

.commits-table td { padding: 14px 24px; border-bottom: 1px solid var(--hairline-soft); font-size: 0.9375rem; }
.commits-table tr:last-child td { border-bottom: 0; }
.commits-table tbody tr { transition: background-color 0.2s ease; }
.commits-table tbody tr:hover { background: var(--fill); }
.commits-table td:first-child { font-weight: 600; }
.commits-table td:nth-child(2) { color: var(--text-2); }

.div-tag { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.div-tag.d1 { background: var(--accent-soft); color: var(--accent); }
.div-tag.d2 { background: var(--info-soft); color: var(--info); }
.div-tag.d3 { background: var(--good-soft); color: var(--good); }
.div-tag.juco { background: var(--warn-soft); color: var(--warn); }
.div-tag.naia { background: var(--purple-soft); color: var(--purple); }

.map-card {
  position: relative;
  overflow: hidden;
  height: clamp(420px, 60vh, 600px);
  border-radius: var(--radius-xl);
  background: var(--gray-200);
  isolation: isolate;
}

.map-card #commits-map { width: 100%; height: 100%; }

.map-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  z-index: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: #1d1d1f;
  font-size: 0.8125rem;
  font-weight: 500;
  transform: translateX(-50%);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.map-card.is-active .map-hint { opacity: 0; }

.leaflet-container { font-family: var(--font-text) !important; }
.map-card .leaflet-tile-pane { filter: grayscale(1) brightness(1.12) contrast(0.8); }
.map-card .leaflet-container { background: #f2f2f4; }
.leaflet-popup-content-wrapper { border-radius: 14px !important; box-shadow: var(--shadow-md) !important; }
.leaflet-popup-content { margin: 12px 16px !important; }
.leaflet-popup-tip { box-shadow: none !important; }
.pin-name { color: #1d1d1f; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.012em; }
.pin-school { margin-top: 2px; color: #6e6e73; font-size: 0.8125rem; }
.pin-div { margin-top: 2px; color: #996c48; font-size: 0.75rem; font-weight: 600; }


/* =========================================================
   PROGRAM MAP PAGE
   ========================================================= */

.map-page {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  min-height: calc(100vh - var(--nav-h));
}

.map-sidebar {
  position: sticky;
  top: var(--nav-h);
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  border-right: 1px solid var(--hairline-soft);
  background: var(--bg);
  scrollbar-width: thin;
}

.map-sidebar-section { padding: 28px 32px; }
.map-sidebar-section + .map-sidebar-section { border-top: 1px solid var(--hairline-soft); }
.map-sidebar .headline { margin-bottom: 16px; font-size: clamp(2.25rem, 3.2vw, 2.75rem); }
.map-sidebar-desc { margin-bottom: 22px; color: var(--text-2); font-size: 1rem; line-height: 1.55; }

.legend-title { margin-bottom: 14px; color: var(--text-3); font-size: 0.8125rem; font-weight: 600; }
.legend-list { display: grid; gap: 12px; }
.legend-item { display: grid; grid-template-columns: 110px minmax(0, 1fr) 40px; align-items: center; gap: 12px; }
.legend-left { display: flex; align-items: center; gap: 10px; }
.legend-dot { flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.legend-name { font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
.legend-bar-wrap { height: 5px; overflow: hidden; border-radius: 3px; background: var(--fill-2); }
.legend-bar { display: block; width: var(--w); height: 100%; border-radius: inherit; transition: width 1.3s var(--ease-out); transition-delay: calc(var(--n, 0) * 80ms + 200ms); }
.js .legend-list:not(.is-in) .legend-bar { width: 0; }
.legend-count { color: var(--text-3); font-size: 0.8125rem; text-align: right; font-variant-numeric: tabular-nums; }

.stat-pills { display: grid; gap: 8px; }

.stat-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
}

.stat-pill-label { color: var(--text-2); font-size: 0.875rem; }
.stat-pill-val { color: var(--text); font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; }

.map-contact { margin-top: auto; }
.map-contact p { margin-bottom: 16px; color: var(--text-2); font-size: 0.9375rem; line-height: 1.55; }
.map-contact strong { color: var(--text); font-weight: 600; }

.map-main { display: flex; flex-direction: column; min-width: 0; background: var(--bg-alt); }

.map-topbar {
  position: sticky;
  top: var(--nav-h);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--hairline-soft);
}

.map-topbar-left { display: flex; align-items: center; gap: 12px; }
.map-topbar-title { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.012em; }
.map-topbar-meta { color: var(--text-3); font-size: 0.8125rem; }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--good-soft);
  color: var(--good);
  font-size: 0.75rem;
  font-weight: 600;
}

.live-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: live 2s ease-in-out infinite;
}

@keyframes live { 50% { opacity: 0.35; } }

.map-frame { flex: 1; min-height: 520px; }
.map-frame iframe { width: 100%; height: 100%; min-height: calc(100vh - var(--nav-h) - 49px); border: 0; }

.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 24px; }
.strip-card { padding: 26px; border-radius: var(--radius-lg); background: var(--surface); }
.strip-num { display: block; margin-bottom: 14px; color: var(--accent); font-size: 0.875rem; font-weight: 600; }
.strip-card h3 { margin-bottom: 6px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.016em; }
.strip-card p { color: var(--text-2); font-size: 0.9375rem; line-height: 1.5; }


/* =========================================================
   GUIDE PAGE
   ========================================================= */

.data-card { margin: 2em 0; padding: 26px 28px; }
.data-card h3 { margin: 0 0 10px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.016em; }
.article-body .data-card p { margin: 0 0 12px; font-size: 1rem; }
.article-body .data-card p:last-child { margin-bottom: 0; }

.guide-body h2 { font-size: clamp(1.5rem, 2.8vw, 1.875rem); }
.citation-list { list-style: none; padding: 0; }

.citations { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--hairline); color: var(--text-2); font-size: 0.875rem; }
.citations h2 { margin-top: 0 !important; font-size: 1.25rem !important; }
.citations li { margin-bottom: 10px; line-height: 1.5; }


/* =========================================================
   DEVELOPMENT PAGE
   ========================================================= */

.hero-stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 680px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.feature .icon { flex-shrink: 0; width: 30px; height: 30px; color: var(--accent); }
.feature h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.016em; }

.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }

.pull-quote { max-width: 880px; margin: 0 auto; text-align: center; }
.pull-quote .stars { justify-content: center; margin-bottom: 26px; }

.pull-quote blockquote p {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.024em;
  text-wrap: balance;
}

.pull-quote figcaption { margin-top: 26px; }

.cta-price {
  margin: 12px 0 4px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.cta-band .cta-price + .actions-center { margin-top: 32px; }
.cta-price .plan-term { margin-left: 8px; font-family: var(--font-text); font-weight: 400; letter-spacing: 0; }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1068px) {
  .tiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-included { grid-template-columns: minmax(0, 1fr); }
  .topics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 640px; margin: 0 auto; }
  .step { padding: 0 0 36px 44px; }
  .step::before { top: 6px; }
  .step::after { top: 26px; bottom: 4px; left: 5px; right: auto; width: 2px; height: auto; }

  .map-page { grid-template-columns: minmax(0, 1fr); }
  .map-sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--hairline-soft); }
  .map-frame iframe { min-height: 70vh; }
}

@media (max-width: 900px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; padding-top: 0; padding-bottom: 64px; }
}

@media (max-width: 834px) {
  .section-head-split { grid-template-columns: minmax(0, 1fr); }
  .tiles-3 { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about-media { position: relative; top: 0; max-width: 560px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-card { grid-template-columns: minmax(0, 1fr); }
  .feature-media { order: -1; min-height: 280px; }
  .feature-media::after { background: linear-gradient(0deg, #000 0%, transparent 45%); }
  .related-grid, .more-commits { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 734px) {
  .tiles-2 { grid-template-columns: minmax(0, 1fr); }
  .topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-pricing { padding: 24px; }
  .cl-prices, .cl-price { width: 100%; }
  .faq-a p { padding-right: 0; }

  .dos-donts, .advantage-grid, .pillar-grid, .calendar-grid, .roles-grid,
  .phase-body, .division-row { grid-template-columns: minmax(0, 1fr); }
  .helps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-callout { flex-direction: column; align-items: flex-start; gap: 12px; }
  .decision-row { grid-template-columns: auto minmax(0, 1fr); }
  .decision-result { grid-column: 2; justify-self: start; }
  .author-box { flex-direction: column; }
  .velo-row { flex-direction: column; align-items: flex-start; gap: 4px; }

  .commits-table thead { display: none; }
  .commits-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 20px; border-bottom: 1px solid var(--hairline-soft); }
  .commits-table td { padding: 0; border: 0; }
  .commits-table td:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 0.875rem; }
  .commits-table td:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .search-field { flex-basis: 100%; }
  .commits-toolbar .map-jump { order: 1; }

  .demo-coach { grid-template-columns: 40px minmax(0, 1fr); }
  .demo-actions { grid-column: 1 / -1; }
  .cl-flow-row { grid-template-columns: minmax(0, 1fr); }
  .cl-wire { height: 28px; width: 2px; margin-left: 24px; background: linear-gradient(180deg, rgba(212, 165, 123, 0.55), rgba(212, 165, 123, 0.12)); }
  .cl-envelope-track { animation-name: fly-down; }
  .cl-envelope { top: 0; left: 50%; margin-top: -9px; }
}

@keyframes fly-down {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

@media (max-width: 480px) {
  .tiles-4 { gap: 12px; }
  .tiles-4 .tile { padding: 22px 20px; border-radius: var(--radius-lg); }
  .tile .ct-school { font-size: 1.375rem; }
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .cl-steps { grid-template-columns: minmax(0, 1fr); }
  .helps-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .about-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stat-row { gap: 8px; }
  .stat-box { padding: 18px 8px; }
  .hero-ctas { flex-direction: column; }
  .segmented button { padding: 7px 13px; }
}


/* phones: photo beside the text, one person per row */
@media (max-width: 600px) {
  .team-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .team-card,
  .team-link {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 16px;
    align-content: start;
    align-items: start;
  }

  .team-card > .team-link { grid-column: 1 / -1; }
  .team-photo { grid-row: 1 / span 5; margin-bottom: 0; border-radius: 18px; }
  .team-name { font-size: 1.0625rem; }
  .team-bio { margin-top: 6px; }
  .team-link .link-more { margin-top: 8px; }
}


/* =========================================================
   ACCESSIBILITY PREFERENCES
   Reduced motion keeps the meaning, drops the movement.
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.2s !important;
    transition-delay: 0s !important;
  }

  .js [data-reveal] { transform: none; }
  .hero-inner > * { animation: none; }

  .ticker,
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }

  .ticker-track,
  .marquee-track,
  .cl-envelope-track { animation: none !important; }

  .cl-envelope-track { display: none; }

  .modal-sheet { transform: none !important; filter: none !important; }
  .modal-sheet,
  .gnav-menu li { transform: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .gnav::before,
  .gnav-links { background: #161617; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .filter-bar,
  .map-topbar,
  .glass { background: #ffffff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .coach-preview { background: #3a3a3c; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .modal-scrim { background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  :root {
    --text-2: #424245;
    --text-3: #515154;
    --hairline: #86868b;
  }

  .theme-dark { --text-2: #d1d1d6; --text-3: #aeaeb2; }
  .tile, .post-card, .plan, .quote-card, .contact-card { box-shadow: inset 0 0 0 1px var(--hairline); }
  .glass, .filter-bar, .map-topbar { background: #fff; }
}
