/* ──────────────────────────────────────────────────────────
   PAIRPATH — Marketing site styles
   Sections, in order:
     1. Reset + base
     2. Top nav
     3. Hero
     4. Stats strip
     5. Comparison (interview vs evaluation)
     6. How it runs (4 stages with platform UI mocks)
     7. Roles grid
     8. The math (ROI calculator)
     9. Pricing
    10. FAQ
    11. Final CTA
    12. Footer
    13. Utilities
   ────────────────────────────────────────────────────────── */

/* ═══ 1. Reset + base ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

button { font-family: inherit; cursor: pointer; }
a { color: var(--purple-deep); text-decoration: none; transition: opacity var(--t-fast); }
a:hover { opacity: 0.7; }

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

::selection { background: var(--purple-soft); color: var(--purple-darker); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ═══ 2. Top nav ═══ */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 244, 246, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base);
}
.topnav.scrolled { border-bottom-color: var(--line); }

.topnav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-img { height: 38px; width: auto; display: block; }
.brand-img--footer { filter: brightness(0) invert(1); }
.brand-logo {
  width: 26px; height: 26px;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-15deg);
  position: relative;
}
.brand-logo::before {
  content: ""; position: absolute; inset: 5px;
  border: 1.5px solid var(--ink);
  border-radius: 50% 50% 50% 0;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav-link {
  padding: 8px 14px;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}
.nav-link:hover { color: var(--ink); background: var(--surface); opacity: 1; }

.topnav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ═══ Buttons (shared) ═══ */
.btn-primary {
  background: var(--purple-deep);
  color: var(--surface);
  border: none;
  padding: 11px 20px;
  border-radius: var(--r-md);
  font-size: var(--fs-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all var(--t-fast);
  box-shadow: var(--shadow-purple);
}
.btn-primary:hover { background: var(--purple-darker); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(94, 79, 160, 0.28); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
  padding: 10px 18px;
  border-radius: var(--r-md);
  font-size: var(--fs-md);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all var(--t-fast);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--ink-2); }

.btn-soft {
  background: var(--purple-soft);
  color: var(--purple-deep);
  border: none;
  padding: 9px 16px;
  border-radius: var(--r-md);
  font-size: var(--fs-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--t-fast);
}
.btn-soft:hover { background: var(--purple-line); }

.btn-link {
  background: transparent;
  border: none;
  color: var(--purple-deep);
  font-size: var(--fs-md);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
}
.btn-link:hover { text-decoration: underline; }

/* ═══ 3. Hero ═══ */
.hero {
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 1200px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(94, 79, 160, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  font-weight: 500;
  color: var(--purple-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--purple-soft);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: ""; width: 5px; height: 5px;
  background: var(--purple-deep);
  border-radius: 50%;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.2vw, 80px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--purple-deep);
}

.hero-lede {
  font-size: var(--fs-xl);
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 14px;
  max-width: 520px;
}

.hero-meta {
  font-size: var(--fs-base);
  color: var(--muted);
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.hero-meta .sep { color: var(--faint); }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ── Hero animated card stack ── */
.eval-showcase {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eval-card {
  position: absolute;
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  padding: 24px 26px;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  pointer-events: none;
}
.eval-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 3;
}
.eval-card.prev {
  opacity: 0.4;
  transform: translateY(-32px) scale(0.94);
  z-index: 1;
}
.eval-card.next {
  opacity: 0.4;
  transform: translateY(32px) scale(0.94);
  z-index: 2;
}

.eval-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.eval-card-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--surface);
  flex-shrink: 0;
}
.eval-card-name { font-weight: 600; font-size: var(--fs-md); color: var(--ink); }
.eval-card-role { font-size: var(--fs-sm); color: var(--muted); margin-top: 1px; }

.eval-card-day {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  color: var(--muted);
  letter-spacing: 0.02em;
}

.eval-card-progress {
  height: 4px;
  background: var(--bg);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 18px;
}
.eval-card-progress-fill {
  height: 100%;
  background: var(--purple);
  border-radius: 2px;
  transition: width var(--t-slow) var(--ease-out);
}

.eval-card-focus {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.eval-card-focus-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.eval-card-focus-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.eval-card-focus-item .check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--mint-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
}
.eval-card-focus-item.pending .check {
  background: var(--bg);
  color: var(--muted-2);
}

.eval-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-mono-sm);
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.status-pill.mint   { background: var(--mint-soft);   color: var(--mint-deep); }
.status-pill.mint::before   { background: var(--mint); }
.status-pill.peach  { background: var(--peach-soft);  color: var(--peach-deep); }
.status-pill.peach::before  { background: var(--peach); }
.status-pill.amber  { background: var(--amber-soft);  color: var(--amber-deep); }
.status-pill.amber::before  { background: var(--amber); }
.status-pill.purple { background: var(--purple-soft); color: var(--purple-deep); }
.status-pill.purple::before { background: var(--purple); }
.status-pill.coral  { background: var(--coral-soft);  color: var(--coral-deep); }
.status-pill.coral::before  { background: var(--coral); }

.eval-card-cadence {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  color: var(--muted);
  margin-left: auto;
}

/* Hero card-stack dot indicator */
.eval-dots {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.eval-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-2);
  border: none;
  cursor: pointer;
  transition: all var(--t-base);
}
.eval-dot.active { background: var(--purple-deep); width: 22px; border-radius: 3px; }

/* ═══ 4. Stats strip ═══ */
.stats {
  padding: 56px 0 72px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.stats-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
}
.stats-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 48px;
  max-width: 720px;
}
.stats-headline em { font-style: italic; font-weight: 500; color: var(--purple-deep); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.stat-block {
  padding: 36px 0 12px;
  padding-right: 32px;
  border-right: 1px solid var(--line);
}
.stat-block:nth-child(2) { padding-left: 32px; }
.stat-block:last-child { border-right: none; padding-left: 32px; padding-right: 0; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--purple-deep);
  margin-bottom: 12px;
}
.stat-label {
  font-size: var(--fs-md);
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 320px;
  margin-bottom: 10px;
}
.stat-source {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

/* ═══ 5. Comparison (interview vs evaluation) ═══ */
.comparison {
  padding: 112px 0;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-deep);
  margin-bottom: 14px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 800px;
}
.section-headline em { font-style: italic; font-weight: 500; color: var(--purple-deep); }

.section-sub {
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 640px;
  margin-bottom: 40px;
}

.role-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 32px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  width: fit-content;
}
.role-tab {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: var(--fs-md);
  font-weight: 500;
  transition: all var(--t-fast);
}
.role-tab:hover:not(.active) { color: var(--ink); }
.role-tab.active {
  background: var(--purple-deep);
  color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  position: relative;
}
.comparison-grid::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235E4FA0' stroke-width='2'><line x1='5' y1='12' x2='19' y2='12'/><polyline points='12 5 19 12 12 19'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

.comparison-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 32px;
  position: relative;
  transition: opacity var(--t-base) var(--ease-out);
}

.comparison-col-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.comparison-col.before .comparison-col-eyebrow { color: var(--muted); }
.comparison-col.after  .comparison-col-eyebrow { color: var(--purple-deep); }

.comparison-claim {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 24px;
  min-height: 84px;
  transition: opacity var(--t-base);
}
.comparison-col.before .comparison-claim {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--peach);
}

.comparison-evidence {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.comparison-evidence-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--ink-2);
}
.comparison-evidence-item .marker {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 10px;
}
.comparison-evidence-item .marker svg { width: 10px; height: 10px; }

.comparison-evidence-empty {
  color: var(--muted-2);
  font-style: italic;
  font-size: var(--fs-md);
}

/* ═══ 6. How it runs (4 stages) ═══ */
.how-it-runs {
  padding: 112px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stages {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  margin-top: 56px;
  align-items: start;
}

.stage-list { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 100px; }

.stage-item {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--r-xl);
  cursor: pointer;
  transition: background var(--t-fast);
  align-items: flex-start;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  width: 100%;
}
.stage-item:hover { background: var(--surface-warm); }
.stage-item.active {
  background: var(--purple-soft);
  border-color: var(--purple-line);
}

.stage-num {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-fast);
}
.stage-item.active .stage-num {
  background: var(--purple-deep);
  color: var(--surface);
}

.stage-body { flex: 1; min-width: 0; }
.stage-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: 4px;
}
.stage-blurb {
  font-size: var(--fs-md);
  color: var(--ink-2);
  line-height: 1.5;
}

/* Stage canvas (right column showing platform UI) */
.stage-canvas {
  background: var(--bg);
  border-radius: var(--r-2xl);
  padding: 32px;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid var(--line);
}

.stage-panel {
  width: 100%;
  display: none;
  animation: fadeUp var(--t-slow) var(--ease-out);
}
.stage-panel.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Platform-UI mock pieces, used inside stage canvas */
.ui-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ui-card-head {
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--line);
}
.ui-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.ui-card-sub {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-top: 3px;
}
.ui-card-body { padding: 18px 22px; }

/* Focus-area tile (mock) */
.focus-tile {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
}
.focus-tile + .focus-tile { margin-top: 10px; }
.focus-tile-title {
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--ink);
  margin-bottom: 8px;
}
.focus-week-row { display: flex; gap: 5px; align-items: center; margin-top: 10px; }
.week-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line-2);
}
.week-dot.logged   { background: var(--purple); }
.week-dot.current  { background: var(--purple); box-shadow: 0 0 0 3px var(--purple-soft); }

/* Segmented control mock */
.seg-control { display: flex; gap: 8px; margin-top: 14px; }
.seg-btn {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  text-align: left;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--t-fast);
}
.seg-btn:hover { border-color: var(--line-2); }
.seg-btn.selected { border-color: var(--mint); background: var(--mint-soft); }
.seg-btn.selected.mid { border-color: var(--amber); background: var(--amber-soft); }
.seg-btn.selected.bad { border-color: var(--coral); background: var(--coral-soft); }
.seg-btn-glyph { font-size: var(--fs-lg); font-weight: 700; }
.seg-btn-label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); margin-top: 2px; }
.seg-btn-sub   { font-size: var(--fs-xs); color: var(--muted); margin-top: 1px; }

/* Decision card (stage 4) */
.decision-list { display: flex; flex-direction: column; gap: 10px; }
.decision-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--surface-warm);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.decision-row-label { font-size: var(--fs-sm); color: var(--ink-2); flex: 1; }
.decision-row-value { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--ink); }

/* ═══ 7. Roles grid ═══ */
.roles {
  padding: 112px 0;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.role-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 28px;
  transition: all var(--t-base) var(--ease-out);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.role-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple-line);
}
.role-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent, var(--purple));
  opacity: 0;
  transition: opacity var(--t-base);
}
.role-card:hover::before { opacity: 1; }

.role-card-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--accent-soft, var(--purple-soft));
  color: var(--accent-deep, var(--purple-deep));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.role-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: 4px;
}
.role-card-list {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: 18px;
}
.role-card-example {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.role-card-focus {
  font-size: var(--fs-md);
  color: var(--ink-2);
  font-style: italic;
  line-height: 1.45;
}

.roles-foot {
  margin-top: 32px;
  text-align: center;
  font-size: var(--fs-md);
  color: var(--muted);
}
.roles-foot a { font-weight: 500; }

/* ═══ 8. The math (ROI calculator) ═══ */
.math {
  padding: 112px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.math-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  padding: 48px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.math-controls h3 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.012em;
}
.math-controls p {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: 22px;
}

.role-select {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}
.role-select-btn {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast);
}
.role-select-btn:hover { border-color: var(--line-2); }
.role-select-btn.active {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.salary-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.salary-label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.salary-value {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  outline: none;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  background: var(--purple-deep);
  border: 3px solid var(--surface);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-purple);
  transition: transform var(--t-fast);
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.08); }
.slider::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--purple-deep);
  border: 3px solid var(--surface);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-purple);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

.math-result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.math-result::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(94, 79, 160, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.math-result-row + .math-result-row { margin-top: 22px; }
.math-result-label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
}
.math-result-value {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.05;
}
.math-result-value.purple { color: var(--purple-deep); }
.math-result-value .small {
  font-size: var(--fs-md);
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 400;
}

.math-result-foot {
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink-2);
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* ═══ 9. Pricing ═══ */
.pricing { padding: 112px 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--t-base);
}
.tier:hover { border-color: var(--line-2); }
.tier.featured {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.tier.featured .tier-name { color: var(--surface); }
.tier.featured .tier-price { color: var(--surface); }
.tier.featured .tier-sub { color: rgba(255, 255, 255, 0.65); }
.tier.featured .tier-features li { color: rgba(255, 255, 255, 0.85); }
.tier.featured .tier-features li::before { color: var(--mint); }

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple-deep);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.tier-name {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: 12px;
}

.tier-price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.tier-price {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.tier-price-suffix {
  font-size: var(--fs-md);
  color: var(--muted);
}
.tier.featured .tier-price-suffix { color: rgba(255, 255, 255, 0.6); }

.tier-sub {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: 24px;
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.tier-features li {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.tier-features li::before {
  content: "✓";
  color: var(--mint-deep);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.tier-cta { width: 100%; justify-content: center; }
.tier.featured .tier-cta {
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}
.tier.featured .tier-cta:hover { background: var(--bg); }

.pricing-foot {
  text-align: center;
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ═══ 10. FAQ ═══ */
.faq {
  padding: 112px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.faq-list {
  max-width: 820px;
  margin: 48px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--purple-deep); }
.faq-q-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-fast);
}
.faq-item.open .faq-q-icon {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
  color: var(--surface);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) var(--ease-out);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 0 28px;
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 680px;
}

/* ═══ 11. Final CTA ═══ */
.final-cta {
  padding: 128px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(94, 79, 160, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; }
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 22px;
}
.final-cta h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--purple-deep);
}
.final-cta p {
  font-size: var(--fs-xl);
  color: var(--ink-2);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.final-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══ 12. Footer ═══ */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 36px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .brand-logo {
  border-color: var(--surface);
}
.footer-brand .brand-logo::before {
  border-color: var(--surface);
}
.footer-brand .brand-name { color: var(--surface); }
.footer-tagline {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.5;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-sm);
}
.footer-col a:hover { color: var(--surface); opacity: 1; }

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom span,
.footer-bottom a {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}
.footer-attribution {
  font-size: 10px !important;
  max-width: 700px;
  line-height: 1.5;
}

/* ═══ 13. Utilities + responsive ═══ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero { padding: 56px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .eval-showcase { height: 480px; }
  .stages { grid-template-columns: 1fr; gap: 32px; }
  .stage-list { position: static; }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .math-card { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .tier.featured { transform: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-block { padding: 28px 0 4px !important; border-right: none; border-bottom: 1px solid var(--line); }
  .stat-block:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .topnav-inner { padding: 0 20px; height: 60px; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
  .roles-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; gap: 14px; }
  .comparison-grid::after { display: none; }
  .role-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .stage-canvas { padding: 18px; min-height: auto; }
  .math-card { padding: 24px; }
  .math-result { padding: 24px; }
  .tier { padding: 24px; }
  .faq-q { font-size: var(--fs-lg); padding: 20px 0; }
  .final-cta { padding: 80px 0; }
}
