/* BB Financial Services — Diagnostic v2 mockup
   Class names match the JSX exactly: dash-separated, no BEM. */

:root {
  --bg: #000000;
  --bg-1: #0a0a0a;
  --bg-2: #141414;
  --bg-3: #1f1f1f;
  --line: #2a2a2c;
  --line-strong: #3a3a3c;
  --grey: #58595b;
  --grey-2: #8a8b8d;
  --grey-3: #b8b9bb;
  --fg: #ffffff;
  --fg-dim: #d4d4d6;
  --inv-bg: #ffffff;
  --inv-fg: #000000;
  --good: #5dd58a;
  --warn: #f0c674;
  --bad: #d97070;
  --critical: #d97070;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #FFB800; color: #000; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; background: transparent; border: 0; outline: 0; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section-tight { padding-block: clamp(56px, 6vw, 96px); }

/* === TYPE === */
.h-display {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.h-display em, .h-display .italic { font-style: italic; font-weight: 300; font-family: 'Archivo'; text-transform: none; letter-spacing: -0.015em; }
.h-display-sm {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  text-transform: uppercase;
}
.h-display-sm em { font-style: italic; font-weight: 300; font-family: 'Archivo'; text-transform: none; letter-spacing: -0.015em; }
.mono {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  height: 68px;
}
.site-header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 28px; width: auto; display: block; }
.site-nav {
  display: flex;
  gap: 0;
  justify-content: center;
}
.site-nav a {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
  padding: 0 18px;
  height: 24px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line);
}
.site-nav a:last-child { border-right: 0; }
.site-nav a:hover { color: var(--fg); }
.site-nav a.active { color: var(--fg); }
.site-header-right {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
@media (max-width: 1100px) { .site-header-right { display: none; } }
@media (max-width: 760px) { .site-nav { display: none; } }

/* === SUBNAV === */
.subnav {
  border-bottom: 1px solid var(--line);
  height: 44px;
  background: var(--bg);
}
.subnav-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: 24px;
}
.subnav-crumb {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.subnav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.subnav-links a {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.subnav-links a:hover { color: var(--fg); }
.subnav-links a.active { color: var(--fg); }
.subnav-divider { color: var(--grey); }
.subnav-id {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--grey-3);
}
@media (max-width: 760px) { .subnav-links { display: none; } }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: 'Archivo';
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  border-radius: 0;
  transition: transform 180ms, background 180ms, color 180ms, border-color 180ms;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--fg); color: var(--inv-fg); border-color: var(--fg); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--fg); color: var(--inv-fg); border-color: var(--fg); }
.btn-lg { padding: 20px 30px; font-size: 16px; }

/* === LANDING === */
.landing { padding-bottom: 96px; }
.hero {
  padding-top: clamp(72px, 9vw, 140px);
  padding-bottom: clamp(56px, 6vw, 96px);
  display: grid;
  gap: 36px;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.hero-headline {
  margin: 0;
  /* spacing handled by parent grid gap; keep tight line-height */
}
.hero-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  margin-top: 8px;
}
.hero-lead {
  font-family: 'Archivo';
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 56ch;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.hero-ctas .btn { justify-content: space-between; }
@media (max-width: 900px) {
  .hero-row { grid-template-columns: 1fr; gap: 32px; align-items: stretch; }
}

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 32px;
}
.stat-cell {
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}
.stat-cell:last-child { border-right: 0; }
.stat-eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.stat-num {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1;
  text-transform: uppercase;
}
.stat-add {
  font-family: 'JetBrains Mono';
  font-size: 12px;
  color: var(--grey-2);
  letter-spacing: 0.05em;
  margin-left: 4px;
}
@media (max-width: 760px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* Section head (two-col) */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  margin-bottom: 48px;
  align-items: baseline;
}
.section-head .mono {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

/* Three-col card row */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.col-card {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.col-eyebrow {
  display: block;
  margin-bottom: 24px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.col-card h3 {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: 26px;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.05;
}
.col-card p {
  font-family: 'Archivo';
  font-size: 14px;
  color: var(--grey-3);
  line-height: 1.55;
  max-width: 38ch;
}
@media (max-width: 900px) { .three-col { grid-template-columns: 1fr; } }

/* "How it works" steps */
.how-grid .how-step { padding: 32px 28px 36px; }
.how-num {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
  color: var(--grey);
  margin-bottom: 16px;
}
.how-step h3 {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.how-step p {
  font-family: 'Archivo';
  font-size: 14px;
  color: var(--grey-3);
  line-height: 1.55;
  max-width: 38ch;
}

/* Final CTA */
.final-cta { text-align: left; }
.final-cta .mono {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--grey-2);
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}
.final-cta h2 { margin-bottom: 28px; }
.final-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* === WIZARD === */
.wizard-page {
  padding-block: 48px 64px;
  min-height: calc(100vh - 68px - 44px);
}
.wizard {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 920px;
  margin: 0 auto;
}

/* Progress */
.progress-strip { display: flex; flex-direction: column; gap: 10px; }
.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.progress-pct { color: var(--fg); }
.progress-track {
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--fg);
  transition: width 480ms cubic-bezier(.2,.8,.2,1);
}

/* Card */
.wizard-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.wizard-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.wizard-title {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  text-transform: uppercase;
  max-width: 22ch;
}
.wizard-sub {
  font-family: 'Archivo';
  font-size: 16px;
  line-height: 1.55;
  color: var(--grey-3);
  max-width: 60ch;
}

/* Slide animation */
.wizard-fwd { animation: slide-in-right 320ms cubic-bezier(.2,.8,.2,1) both; }
.wizard-back { animation: slide-in-left 320ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes slide-in-right { from { transform: translateX(28px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slide-in-left { from { transform: translateX(-28px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Why panel */
.why-block { display: flex; flex-direction: column; gap: 0; }
.why-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
  padding: 6px 0;
  align-self: flex-start;
}
.why-trigger:hover { color: var(--fg); }
.why-bracket {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  font-size: 10px;
}
.why-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 360ms cubic-bezier(.2,.8,.2,1), opacity 280ms, margin-top 280ms;
}
.why-panel-open { max-height: 320px; opacity: 1; margin-top: 8px; }
.why-panel p {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 18px 22px;
  font-family: 'Archivo';
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 60ch;
}

/* Options */
.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
  margin-top: 8px;
}
@media (max-width: 760px) { .option-grid { grid-template-columns: 1fr; } }
.option-btn {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  transition: background 160ms;
}
.option-btn:hover { background: rgba(255,255,255,0.03); }
.option-btn:disabled { opacity: 0.6; cursor: progress; }
.option-selected { background: var(--bg-1); }
.option-check {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.option-selected .option-check { background: var(--fg); border-color: var(--fg); }
.option-check-dot {
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--inv-fg);
  border-bottom: 2px solid var(--inv-fg);
  transform: rotate(-45deg) translate(1px, -2px);
}
.option-label {
  font-family: 'Archivo';
  font-size: 15px;
  color: var(--fg);
  line-height: 1.4;
}
.option-tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
}

/* Wizard footer */
.wizard-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-2);
}
.wizard-footer button {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.wizard-footer button:hover { color: var(--fg); }
.wizard-footer button:disabled { opacity: 0.3; cursor: not-allowed; }
.wizard-footer button:disabled:hover { color: var(--grey-2); }
.wizard-back { justify-self: start; }
.wizard-skip { justify-self: end; }
.wizard-hint { color: var(--grey); justify-self: center; }

/* === OFFER SCREEN === */
.offer-screen {
  padding-block: 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  min-height: calc(100vh - 68px - 44px);
}
.offer-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.offer-headline { max-width: 22ch; }
.offer-compare-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 28px;
  background: var(--bg-1);
  border: 1px solid var(--line);
}
.offer-compare-col .mono {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.offer-compare-num {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
}
.offer-compare-num span {
  font-family: 'JetBrains Mono';
  font-size: 14px;
  color: var(--grey-2);
  margin-left: 6px;
}
.offer-compare-conf { color: var(--grey-3); }

/* === EMAIL GATE === */
.gate-screen {
  padding-block: 72px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.gate-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.gate-headline { max-width: 18ch; }
.gate-lead {
  font-family: 'Archivo';
  font-size: 16px;
  line-height: 1.55;
  color: var(--grey-3);
  max-width: 56ch;
}
.gate-form {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}
.gate-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.gate-row label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.gate-row input {
  font-family: 'Archivo';
  font-size: 18px;
  color: var(--fg);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  width: 100%;
  transition: border-color 200ms;
}
.gate-row input:focus { border-color: var(--fg); }
.gate-row input::placeholder { color: var(--grey); }
.gate-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}
.gate-check-box {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gate-check input:checked + .gate-check-box,
.gate-check .gate-check-box:has(.gate-check-dot) { background: var(--fg); border-color: var(--fg); }
.gate-check-dot {
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--inv-fg);
  border-bottom: 2px solid var(--inv-fg);
  transform: rotate(-45deg) translate(1px, -2px);
}
.gate-check span.mono {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-3);
  text-transform: uppercase;
}
.gate-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  flex-wrap: wrap;
}
.gate-fineprint {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
  max-width: 50ch;
}

/* === REPORT === */
.report-page { padding-block: 48px 80px; }
.report-page > section + section { margin-top: 48px; }

.report-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 32px;
}
.report-header-left { display: flex; flex-direction: column; gap: 16px; }
.report-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.report-h1 {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: clamp(40px, 5vw, 80px);
  line-height: 1.0;
  text-transform: uppercase;
}
.report-h1 em { font-style: italic; font-weight: 300; font-family: 'Archivo'; text-transform: none; letter-spacing: -0.015em; }
.report-header-right {
  text-align: right;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
  line-height: 1.8;
}
@media (max-width: 760px) {
  .report-header { grid-template-columns: 1fr; }
  .report-header-right { text-align: left; }
}

/* Confidence meter */
.conf-meter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px 22px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  margin-top: 28px;
}
.conf-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.conf-track {
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.conf-fill {
  position: absolute;
  inset: 0 auto 0 0;
  transition: width 600ms cubic-bezier(.2,.8,.2,1);
}
.conf-meta {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--grey-3);
  text-transform: uppercase;
}

/* Report section header */
.report-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.report-section-head .mono {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.section-head-meta { color: var(--grey); }

/* Glance */
.glance-grid {
  display: grid;
  grid-template-columns: 280px 1fr 380px;
  background: var(--bg-1);
  border: 1px solid var(--line);
}
.glance-grid > div { padding: 32px; }
.glance-score { border-right: 1px solid var(--line); }
.glance-eyebrow {
  display: block;
  margin-bottom: 16px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.glance-num { display: flex; align-items: baseline; gap: 4px; }
.glance-big {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: 96px;
  line-height: 0.9;
}
.glance-of {
  font-size: 13px;
  color: var(--grey-2);
}
.glance-pill {
  margin-top: 18px;
  display: inline-block;
}
.glance-blurb {
  font-family: 'Archivo';
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 50ch;
  border-right: 1px solid var(--line);
  /* `border-right` mimics middle col separator; padding handled by grid > div */
}
.glance-radar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.radar-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--grey-2);
  text-transform: uppercase;
  flex-wrap: wrap;
  justify-content: center;
}
.legend-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
}
.legend-user { background: var(--fg); }
.legend-bench { background: transparent; border: 1px dashed var(--grey-2); }
.legend-divider { color: var(--grey); }
@media (max-width: 1100px) {
  .glance-grid { grid-template-columns: 1fr; }
  .glance-score, .glance-blurb { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* Score dial / hex radar */
.score-dial { display: block; }
.hex-radar { display: block; }

/* === AXIS LIST === */
.axis-list { display: flex; flex-direction: column; }
.axis-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.axis-row:last-child { border-bottom: 0; }
.axis-dial { display: flex; align-items: center; justify-content: flex-start; }
.axis-meta { display: flex; flex-direction: column; gap: 4px; }
.axis-name {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1.05;
}
.axis-tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  width: fit-content;
  padding: 3px 7px;
  border: 1px solid currentColor;
  margin-top: 4px;
}
.axis-tag-primary { color: var(--bad); }
.axis-tag-secondary { color: var(--warn); }
.axis-desc {
  font-family: 'Archivo';
  font-size: 13px;
  color: var(--grey-3);
  line-height: 1.5;
  max-width: 48ch;
  margin-top: 4px;
}
.axis-gap {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--grey-2);
  text-transform: uppercase;
  margin-top: 6px;
}
.axis-gap.gap-good { color: var(--good); }
.axis-gap.gap-bad { color: var(--bad); }
.axis-pct { display: flex; align-items: center; }
.axis-sev { justify-self: end; }
@media (max-width: 900px) {
  .axis-row { grid-template-columns: 64px 1fr; }
  .axis-pct, .axis-sev { grid-column: 2 / 3; }
}

/* Percentile bar */
.pct-bar { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.pct-bar-row {
  display: flex;
  align-items: end;
  gap: 2px;
  height: 18px;
}
.pct-tick { width: 4px; height: 4px; }
.pct-tick-empty { background: var(--bg-3); }
.pct-tick-filled { background: var(--grey); height: 4px; }
.pct-tick-user { background: var(--fg); height: 12px; }
.pct-caption {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--grey-2);
  text-transform: uppercase;
}

/* Severity pill */
.sev-pill {
  font-family: 'JetBrains Mono';
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid currentColor;
  display: inline-block;
}
.sev-good { color: var(--good); }
.sev-warn { color: var(--warn); }
.sev-bad { color: var(--bad); }
.sev-critical { color: var(--critical); }

/* === RISK FLAGS === */
.risk-list { display: flex; flex-direction: column; }
.risk-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.risk-row:last-child { border-bottom: 0; }
.risk-sev {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid currentColor;
  display: inline-block;
  align-self: start;
  width: fit-content;
}
.risk-sev-critical { color: var(--critical); }
.risk-sev-high { color: var(--bad); }
.risk-sev-medium { color: var(--warn); }
.risk-sev-low { color: var(--grey-3); }
.risk-body { display: flex; flex-direction: column; gap: 6px; }
.risk-title {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: 20px;
  text-transform: uppercase;
}
.risk-detail {
  font-family: 'Archivo';
  font-size: 14px;
  line-height: 1.55;
  color: var(--grey-3);
  max-width: 70ch;
}
.risk-empty {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--bg-1);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--good);
  text-transform: uppercase;
  text-align: center;
}

/* === SECTOR STRIP === */
.sector-strip {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sector-strip-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.6fr 2fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.sector-strip-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.6fr 2fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.sector-strip-row:last-child { border-bottom: 0; }
.ss-metric {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--grey-3);
  text-transform: uppercase;
}
.ss-value {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: 22px;
  text-transform: uppercase;
}
.ss-peer {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--grey-2);
}
.ss-pct {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg);
}
.ss-narr {
  font-family: 'Archivo';
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey-3);
}
@media (max-width: 900px) {
  .sector-strip-head { display: none; }
  .sector-strip-row { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .ss-narr { grid-column: 1 / 3; }
}

/* === NARRATIVE ESSAY === */
.narrative {
  font-family: 'Archivo';
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 70ch;
}
.narrative p { margin-bottom: 1em; }
.narrative-first::first-letter {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: 56px;
  float: left;
  line-height: 0.9;
  margin-right: 8px;
  margin-top: 4px;
  color: var(--fg);
}

/* === 30/60/90 PLAN === */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.plan-col {
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.plan-day {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
}
.plan-num {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
}
.plan-day-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.plan-actions { display: flex; flex-direction: column; }
.plan-action {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.plan-action:first-child { border-top: 0; padding-top: 0; }
.plan-action-num {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.plan-action-title {
  font-family: 'Archivo';
  font-weight: 500;
  font-size: 15px;
  margin: 6px 0 4px;
  line-height: 1.35;
}
.plan-action-detail {
  font-family: 'Archivo';
  font-size: 13px;
  color: var(--grey-3);
  line-height: 1.5;
}
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }

/* === MATURITY LADDER === */
.ladder { display: flex; flex-direction: column; }
.ladder-rung {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  position: relative;
  transition: background 200ms;
}
.ladder-rung:last-child { border-bottom: 1px solid var(--line); }
.ladder-rung-user {
  background: var(--bg-1);
  border-left: 4px solid var(--fg);
  padding-left: 18px;
}
.ladder-num {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: 28px;
  color: var(--grey-2);
  line-height: 1;
}
.ladder-rung-user .ladder-num { color: var(--fg); }
.ladder-body { display: flex; flex-direction: column; gap: 4px; }
.ladder-name {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: 20px;
  text-transform: uppercase;
}
.ladder-desc {
  font-family: 'Archivo';
  font-size: 13px;
  color: var(--grey-3);
  line-height: 1.5;
  max-width: 60ch;
}
.ladder-here {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg);
  text-transform: uppercase;
}

/* === RECOMMENDATION === */
.recom-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border: 1px solid var(--line);
}
.recom-primary {
  border-right: 1px solid var(--line);
  padding: 28px 32px;
}
.recom-secondary { padding: 28px 32px; background: var(--bg-1); }
.recom-eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--grey-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.recom-name {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.recom-name-sm {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 10px;
}
.recom-pitch, .recom-pitch-sm {
  font-family: 'Archivo';
  font-size: 14px;
  color: var(--grey-3);
  line-height: 1.55;
  max-width: 50ch;
}
@media (max-width: 900px) {
  .recom-grid { grid-template-columns: 1fr; }
  .recom-primary { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* === REPORT ACTION ROW === */
.report-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}
.report-actions-left { display: flex; gap: 12px; flex-wrap: wrap; }
.report-actions-right {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-align: right;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .report-actions { grid-template-columns: 1fr; }
  .report-actions-right { text-align: left; }
}

.report-foot {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--grey);
  text-transform: uppercase;
  text-align: center;
}

/* === SAMPLE BANNER === */
.sample-banner {
  background: var(--inv-bg);
  color: var(--inv-fg);
  padding: 12px 22px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 28px;
}
.sample-banner a { text-decoration: underline; }

/* === TOAST === */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translate(-50%, 16px);
  background: var(--fg);
  color: var(--inv-fg);
  padding: 12px 20px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms, transform 200ms;
}
.toast-show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

/* === METHODOLOGY PAGE === */
.methodology-page {
  padding-block: 56px 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.methodology-page > .mono:first-of-type {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.meth-lead {
  font-family: 'Archivo';
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 60ch;
  margin-bottom: 24px;
}
.meth-section {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.meth-section h2 {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 36px);
  text-transform: uppercase;
  line-height: 1.05;
}
.meth-section p {
  font-family: 'Archivo';
  font-size: 15px;
  line-height: 1.6;
  color: var(--grey-3);
  max-width: 70ch;
}
.meth-section ul {
  font-family: 'Archivo';
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey-3);
  padding-left: 1.2em;
  max-width: 70ch;
}
.meth-axes, .meth-flags { display: flex; flex-direction: column; }
.meth-axis-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.meth-axis-row:last-child { border-bottom: 1px solid var(--line); }
.meth-axis-name {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
}
.meth-axis-desc {
  font-family: 'Archivo';
  font-size: 14px;
  line-height: 1.55;
  color: var(--grey-3);
}
.meth-flag-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.meth-flag-row:last-child { border-bottom: 1px solid var(--line); }
.meth-flag-title {
  font-family: 'Archivo';
  font-size: 14px;
  color: var(--fg-dim);
}
.meth-disclaim {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 18px 22px;
  font-family: 'Archivo';
  font-size: 14px;
  line-height: 1.55;
  color: var(--grey-3);
}

/* === BENCHMARKS PAGE === */
.benchmarks-page {
  padding-block: 56px 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}
.benchmarks-page > .mono:first-of-type {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.bench-lead {
  font-family: 'Archivo';
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 60ch;
  margin-bottom: 16px;
}
.bench-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.bench-row {
  display: grid;
  grid-template-columns: 140px repeat(6, 1fr);
}
.bench-cell {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Archivo';
  font-size: 14px;
  color: var(--fg-dim);
  min-height: 56px;
}
.bench-head .bench-cell {
  background: var(--bg-1);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--grey-2);
  text-transform: uppercase;
  min-height: 0;
  padding: 12px 16px;
}
.bench-band {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg);
  text-transform: uppercase;
}
.bench-score {
  font-family: 'Oswald';
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
}
.bench-marker {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--grey);
}
.bench-marker-good { background: var(--good); }
.bench-marker-warn { background: var(--warn); }
.bench-marker-bad { background: var(--bad); }
.bench-marker-critical { background: var(--critical); }
@media (max-width: 900px) {
  .bench-row { grid-template-columns: 100px repeat(6, 1fr); font-size: 12px; }
  .bench-score { font-size: 18px; }
}

/* === CROSSHAIR FRAME (decorative) === */
.crosshair-frame { position: relative; }
.crosshair-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--line-strong);
}
.crosshair-tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.crosshair-tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.crosshair-bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.crosshair-br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.crosshair-label {
  position: absolute;
  top: -10px;
  left: 12px;
  background: var(--bg);
  padding: 0 8px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
}
