/* ============================================================
 * AI READINESS CHECK — white-label assessment
 * Built on the Black Flag Design system: monochrome "Ship" base,
 * one institution accent, Montserrat type, comic-shadow accents,
 * 4px crew-color top borders as section dividers.
 *
 * WHITE-LABEL: an institution brands this in two places —
 *   1. --brand below (their primary color)
 *   2. the .brand lockup + footer wordmark in index.html
 * ============================================================ */

:root {
  /* ── INSTITUTION BRAND (change these to rebrand) ───────── */
  --brand: #2557c7;            /* institution primary */
  --brand-ink: #ffffff;        /* text that sits on --brand */
  --bf-accent-client: var(--brand);

  /* pillar accents (crew colors, used as hairlines + icon tints) */
  --area-prosper: var(--bf-teal);
  --area-prepare: var(--bf-cobalt);
  --area-protect: var(--bf-amber);

  --maxw: 1200px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bf-bg);
  color: var(--bf-text);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bf-muted);
}

/* ============================================================
 * HEADER
 * ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(250, 250, 250, 0.9);
  border-bottom: 1px solid var(--bf-border);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--bf-text);
}

.brand-name small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bf-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bf-muted);
  transition: color var(--dur-interaction) var(--ease-brand);
}

.nav-links a:hover { color: var(--bf-text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--bf-button);
  color: var(--bf-button-text);
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--dur-interaction) var(--ease-brand),
    transform 0.15s var(--ease-transform);
}

.nav-cta:hover { background: #333333; }
.nav-cta:active { transform: scale(0.97); }

/* ============================================================
 * HERO
 * ============================================================ */
.hero {
  width: min(var(--maxw), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 520px);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy { max-width: 620px; }

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lead {
  margin: 22px 0 0;
  max-width: 520px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--bf-muted);
  font-weight: 500;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  border: 1px solid var(--bf-border);
  border-radius: var(--radius-md);
  background: var(--bf-paper);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bf-text);
}

.hero-facts span b { color: var(--brand); font-weight: 800; }

.source-note {
  margin: 26px 0 0;
  max-width: 480px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--bf-muted);
}

/* ============================================================
 * ASSESSMENT CARD
 * ============================================================ */
.assessment-panel {
  border: 2px solid var(--bf-text);
  border-radius: var(--radius-lg);
  background: var(--bf-paper);
  color: var(--bf-text);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-comic);
}

.panel-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-topline .eyebrow { margin-bottom: 6px; }

.panel-topline h2 {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
}

.progress-label {
  flex: 0 0 auto;
  border: 1px solid var(--bf-border);
  border-radius: var(--radius-sm);
  background: var(--bf-bg);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--bf-muted);
}

.progress-track {
  width: 100%;
  height: 8px;
  margin: 22px 0 18px;
  border-radius: 999px;
  background: var(--bf-surface);
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 11%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transition: width 0.35s var(--ease-brand);
}

.lens-meter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.lens-meter div {
  min-height: 70px;
  display: grid;
  gap: 6px;
  align-content: center;
  border: 1px solid var(--bf-border);
  border-radius: var(--radius-md);
  background: var(--bf-bg);
  padding: 12px;
}

.lens-meter span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bf-muted);
  line-height: 1.25;
}

.lens-meter strong {
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
}

.lens-meter div:nth-child(1) { border-top: 3px solid var(--area-prosper); }
.lens-meter div:nth-child(2) { border-top: 3px solid var(--area-prepare); }
.lens-meter div:nth-child(3) { border-top: 3px solid var(--area-protect); }

.question-area { min-height: 248px; padding: 24px 0 14px; }

.question-lens {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--bf-border);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  background: var(--bf-bg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bf-text);
}

.question-area h3 {
  margin: 16px 0 20px;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.options { display: grid; gap: 10px; }

.option-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--bf-border);
  border-radius: var(--radius-md);
  background: var(--bf-paper);
  color: var(--bf-text);
  cursor: pointer;
  padding: 14px 16px;
  text-align: left;
  transition: border-color var(--dur-interaction) var(--ease-brand),
    background var(--dur-interaction) var(--ease-brand),
    transform 0.15s var(--ease-transform);
}

.option-button .dot {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--bf-border);
  transition: border-color var(--dur-interaction) var(--ease-brand),
    background var(--dur-interaction) var(--ease-brand);
}

.option-button .text { display: grid; gap: 2px; }
.option-button .text span { font-weight: 700; }
.option-button .text small { color: var(--bf-muted); font-size: 13px; }

.option-button:hover {
  border-color: var(--bf-text);
  transform: translateY(-1px);
}

.option-button.is-selected {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 7%, var(--bf-paper));
}

.option-button.is-selected .dot {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: inset 0 0 0 3px var(--bf-paper);
}

.assessment-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}

.button {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--dur-interaction) var(--ease-brand),
    border-color var(--dur-interaction) var(--ease-brand),
    transform 0.15s var(--ease-transform);
}

.button.primary { background: var(--bf-button); color: var(--bf-button-text); }
.button.primary:hover { background: #333333; }
.button.primary:active { transform: scale(0.97); }

.button.secondary {
  background: transparent;
  color: var(--bf-text);
  border-color: var(--bf-border);
}
.button.secondary:hover { background: rgba(23, 23, 23, 0.06); }

.button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.privacy-line {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--bf-muted);
}

/* ── result state ───────────────────────────────────────── */
.result { display: grid; gap: 18px; }

.score-ring {
  display: grid;
  grid-template-columns: 124px 1fr;
  align-items: center;
  gap: 20px;
}

.score-number {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bf-text);
  background:
    radial-gradient(circle at center, var(--bf-paper) 0 60%, transparent 61%),
    conic-gradient(var(--brand) var(--score), var(--bf-surface) 0);
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 500;
}

.score-ring h3 { margin: 0 0 6px; font-size: 1.3rem; line-height: 1.2; }
.score-ring p { margin: 0; color: var(--bf-muted); font-size: 14px; }

.recommendation {
  border: 2px solid var(--bf-text);
  border-radius: var(--radius-md);
  background: var(--bf-gold);
  color: var(--bf-text);
  padding: 18px 20px;
  box-shadow: var(--shadow-comic-sm);
}

.recommendation span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.recommendation p { margin: 0; font-weight: 500; }

.result-bars { display: grid; gap: 10px; }

.result-bar {
  display: grid;
  grid-template-columns: 84px 1fr auto 34px;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
}

.result-bar > span { letter-spacing: 0.02em; }
.result-bar strong { font-family: var(--font-mono); font-weight: 500; text-align: right; }

.result-tier {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bf-muted);
  white-space: nowrap;
}

.result-bar.pillar-prosper .result-bar-track span { background: var(--area-prosper); }
.result-bar.pillar-prepare .result-bar-track span { background: var(--area-prepare); }
.result-bar.pillar-protect .result-bar-track span { background: var(--area-protect); }

.result-bar-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--bf-surface);
}

.result-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}

/* ============================================================
 * SECTIONS
 * ============================================================ */
.section {
  width: min(var(--maxw), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 4px solid var(--bf-text);
}

.section.why-band { border-top-color: var(--bf-slate); }
.section.compare-band { border-top-color: var(--bf-text); }
.section.pillars-band { border-top-color: var(--area-prosper); }
.section.scoring-band { border-top-color: var(--bf-royal); }
.section.next-band { border-top-color: var(--area-protect); }
.section.faq-band { border-top-color: var(--bf-slate); }

.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; }

/* how it works */
.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
}

.section-copy h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; }
.section-copy p {
  margin: 20px 0 0;
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--bf-muted);
}

.framework-card {
  display: grid;
  align-content: start;
  gap: 16px;
  border-radius: var(--radius-lg);
  background: var(--bf-text);
  color: var(--bf-paper);
  padding: 28px;
}

.framework-card .eyebrow { color: var(--brand); }

.framework-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.framework-card li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid rgba(250, 250, 250, 0.16);
}

.framework-card li:first-child { border-top: 0; padding-top: 0; }

.framework-card li b {
  font-size: 15px;
  font-weight: 700;
}

.framework-card li p {
  margin: 3px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(250, 250, 250, 0.72);
}

.area-tick {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 3px;
}

/* focus-area cards */
.lens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lens-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 280px;
  border: 1px solid var(--bf-border);
  border-radius: var(--radius-lg);
  background: var(--bf-paper);
  padding: 26px;
  transition: transform var(--dur-transform) var(--ease-brand),
    border-color var(--dur-transform) var(--ease-brand),
    box-shadow var(--dur-transform) var(--ease-brand);
}

.lens-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 23, 23, 0.5);
  box-shadow: var(--shadow-card);
}

.lens-card.prosper { border-top: 4px solid var(--area-prosper); }
.lens-card.prepare { border-top: 4px solid var(--area-prepare); }
.lens-card.protect { border-top: 4px solid var(--area-protect); }

.lens-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--bf-bg);
  border: 1px solid var(--bf-border);
}

.lens-icon svg { width: 22px; height: 22px; stroke-width: 1.75; }
.lens-card.prosper .lens-icon { color: var(--area-prosper); }
.lens-card.prepare .lens-icon { color: var(--area-prepare); }
.lens-card.protect .lens-icon { color: var(--area-protect); }

.lens-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--bf-muted);
}

.lens-card h3 { font-size: 1.5rem; line-height: 1.1; }
.lens-card p { color: var(--bf-muted); line-height: 1.6; }

/* team */
.workflow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.workflow-copy h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; }

.steps { display: grid; gap: 8px; margin-top: 28px; }

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--bf-border);
}

.step:last-child { border-bottom: 0; }

.step .num {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--bf-text);
  color: var(--bf-paper);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 16px;
}

.step h3 { font-size: 1.2rem; }
.step p { margin: 5px 0 0; color: var(--bf-muted); line-height: 1.55; }

.workflow-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.workflow-visual image-slot {
  width: 100%;
  height: 440px;
  filter: grayscale(1) contrast(1.05);
  border: 1px solid var(--bf-border);
}

.team-note {
  position: absolute;
  right: -8px;
  bottom: -18px;
  max-width: 240px;
  background: var(--bf-gold);
  color: var(--bf-text);
  border: 3px solid var(--bf-text);
  box-shadow: var(--shadow-comic);
  padding: 14px 16px;
  transform: rotate(-2deg);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
}

/* ============================================================
 * FOOTER
 * ============================================================ */
.site-footer {
  margin-top: 24px;
  background: var(--bf-text);
  color: var(--bf-paper);
}

.footer-inner {
  width: min(var(--maxw), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 0;
}

.footer-brand { display: inline-flex; align-items: center; gap: 12px; }

.footer-brand .brand-mark {
  background: var(--bf-paper);
  color: var(--bf-text);
}

.footer-brand .brand-name { color: var(--bf-paper); }
.footer-brand .brand-name small { color: rgba(250, 250, 250, 0.6); }

.site-footer p {
  margin: 0;
  max-width: 480px;
  text-align: right;
  font-size: 14px;
  color: rgba(250, 250, 250, 0.66);
}

.site-footer a { color: var(--bf-paper); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
 * HERO EXTRAS — headline highlight + hard stat
 * ============================================================ */
.hero h1 .hl {
  position: relative;
  white-space: nowrap;
}

.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.06em;
  height: 0.32em;
  background: var(--brand);
  opacity: 0.22;
  z-index: -1;
}

.stat-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  margin: 30px 0 0;
  max-width: 540px;
  border: 2px solid var(--bf-text);
  border-radius: var(--radius-lg);
  background: var(--bf-paper);
  padding: 20px 22px;
  box-shadow: var(--shadow-comic-sm);
}

.stat-figure {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--brand);
}

.stat-figure span { font-size: 0.5em; }

.stat-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--bf-text);
  font-weight: 500;
}

.stat-card p b { font-weight: 700; }

.source-note a { color: var(--bf-text); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
 * WHY THIS MATTERS — failure modes + research quote
 * ============================================================ */
.why-band .section-heading,
.pillars-band .section-heading,
.scoring-band .section-heading { max-width: 880px; }

.why-lead {
  margin: 20px 0 0;
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--bf-muted);
}

.failure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.failure-card {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--bf-border);
  border-left: 4px solid var(--bf-crimson);
  border-radius: var(--radius-md);
  background: var(--bf-paper);
  padding: 22px 24px;
}

.failure-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bf-crimson);
}

.failure-card h3 { font-size: 1.2rem; line-height: 1.15; }
.failure-card p { margin: 0; color: var(--bf-muted); line-height: 1.6; font-size: 14.5px; }

.research-quote {
  margin: 36px 0 0;
  border-top: 1px solid var(--bf-border);
  padding-top: 28px;
  max-width: 880px;
}

.research-quote blockquote {
  margin: 0;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.research-quote figcaption {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--bf-muted);
}

.research-quote figcaption a { color: var(--bf-text); text-decoration: underline; text-underline-offset: 2px; }
.research-quote figcaption span { display: block; font-family: var(--font-mono); font-size: 12px; margin-top: 4px; }

/* ============================================================
 * WITHOUT vs WITH
 * ============================================================ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.compare-card {
  border: 1px solid var(--bf-border);
  border-radius: var(--radius-lg);
  background: var(--bf-paper);
  padding: 26px 28px;
}

.compare-card header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--bf-border);
}

.compare-card header h3 { font-size: 1.3rem; }

.compare-card header span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.compare-card header span svg { width: 19px; height: 19px; stroke-width: 2.5; }

.compare-card.without { border-top: 4px solid var(--bf-crimson); }
.compare-card.without header span { background: color-mix(in srgb, var(--bf-crimson) 14%, var(--bf-paper)); color: var(--bf-crimson); }

.compare-card.with { border-top: 4px solid var(--bf-mint); }
.compare-card.with header span { background: color-mix(in srgb, var(--bf-mint) 22%, var(--bf-paper)); color: #1b7a4b; }

.compare-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }

.compare-card li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--bf-text);
}

.compare-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

.compare-card.without li::before { background: var(--bf-crimson); }
.compare-card.with li::before { background: var(--bf-mint); }

/* ============================================================
 * PILLAR CARD EXTRAS — head row, question, leading signals
 * ============================================================ */
.lens-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lens-q {
  margin: -4px 0 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bf-text);
}

.lens-card .lens-q + p { margin-top: -4px; }

.signals {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--bf-border);
}

.signals-label {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bf-muted);
}

.signals ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }

.signals li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--bf-muted);
}

.signals li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.lens-card.prosper .signals li::before { background: var(--area-prosper); opacity: 1; }
.lens-card.prepare .signals li::before { background: var(--area-prepare); opacity: 1; }
.lens-card.protect .signals li::before { background: var(--area-protect); opacity: 1; }

.pillars-cta {
  margin: 32px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bf-text);
}

.pillars-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
}

.pillars-cta a svg { width: 16px; height: 16px; stroke-width: 2.5; }

/* ============================================================
 * SCORING TABLES
 * ============================================================ */
.scoring-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.score-table h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bf-text);
}

.score-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.score-table thead th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bf-muted);
  padding: 0 12px 10px 0;
}

.score-table tbody td {
  padding: 12px 12px 12px 0;
  border-top: 1px solid var(--bf-border);
  vertical-align: top;
  line-height: 1.5;
  color: var(--bf-muted);
}

.score-table tbody td:last-child { padding-right: 0; }
.score-table td.mono { font-family: var(--font-mono); color: var(--bf-text); white-space: nowrap; font-size: 12.5px; }

.tier-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  white-space: nowrap;
}

.tier-chip.emerging { color: var(--bf-crimson); border-color: var(--bf-crimson); background: color-mix(in srgb, var(--bf-crimson) 8%, transparent); }
.tier-chip.developing { color: var(--bf-amber); border-color: var(--bf-amber); background: color-mix(in srgb, var(--bf-amber) 10%, transparent); }
.tier-chip.established { color: var(--bf-cobalt); border-color: var(--bf-cobalt); background: color-mix(in srgb, var(--bf-cobalt) 8%, transparent); }
.tier-chip.leading { color: #1b7a4b; border-color: var(--bf-mint); background: color-mix(in srgb, var(--bf-mint) 16%, transparent); }

.one-rec {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  margin: 32px 0 0;
  border: 2px solid var(--bf-text);
  border-radius: var(--radius-lg);
  background: var(--bf-gold);
  color: var(--bf-text);
  padding: 24px 26px;
  box-shadow: var(--shadow-comic);
}

.one-rec-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--bf-text);
  border-radius: var(--radius-md);
  background: var(--bf-paper);
}

.one-rec-mark svg { width: 24px; height: 24px; stroke-width: 1.75; }
.one-rec h3 { font-size: 1.25rem; margin-bottom: 6px; }
.one-rec p { margin: 0; font-weight: 500; line-height: 1.6; }

/* ============================================================
 * FAQ ACCORDION
 * ============================================================ */
.faq-band .section-heading { margin-bottom: 28px; }

.faq-list {
  max-width: 860px;
  border-top: 1px solid var(--bf-border);
}

.faq-item { border-bottom: 1px solid var(--bf-border); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bf-text);
  transition: color var(--dur-interaction) var(--ease-brand);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }

.faq-chevron {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--bf-muted);
  transition: transform var(--dur-transform) var(--ease-brand);
}

.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-item p {
  margin: 0;
  padding: 0 40px 24px 0;
  max-width: 740px;
  color: var(--bf-muted);
  line-height: 1.65;
  font-size: 15px;
}

.faq-item p i { color: var(--bf-text); }

/* ============================================================
 * BOLD FULL-BLEED BANDS — rhythm breaks down the page
 * A pseudo-element paints the colour edge-to-edge behind the
 * normally max-width-centered section content. No HTML wrapping.
 * ============================================================ */
.band-dark,
.band-brand {
  position: relative;
  border-top: 0;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.band-dark::before,
.band-brand::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  z-index: -1;
}

.band-dark::before { background: var(--bf-text); }
.band-brand::before { background: var(--brand); }

/* ── shared light-on-colour typography ─────────────────────── */
.band-dark .eyebrow,
.band-brand .eyebrow { color: rgba(250, 250, 250, 0.7); }

.band-dark .section-heading h2,
.band-brand .section-heading h2,
.band-brand .workflow-copy h2 { color: var(--bf-paper); }

/* ============================================================
 * DARK BAND — "Two different classrooms"
 * ============================================================ */
.band-dark .compare-card {
  background: rgba(250, 250, 250, 0.04);
  border-color: rgba(250, 250, 250, 0.16);
}

.band-dark .compare-card header { border-bottom-color: rgba(250, 250, 250, 0.16); }
.band-dark .compare-card header h3 { color: var(--bf-paper); }
.band-dark .compare-card li { color: rgba(250, 250, 250, 0.82); }

.band-dark .compare-card.without header span {
  background: color-mix(in srgb, var(--bf-crimson) 24%, transparent);
  color: #ff8b8b;
}
.band-dark .compare-card.with header span {
  background: color-mix(in srgb, var(--bf-mint) 26%, transparent);
  color: var(--bf-mint);
}
.band-dark .compare-card.with li::before { background: var(--bf-mint); }

/* ============================================================
 * BRAND BAND — "What to do with your results"
 * ============================================================ */
.band-brand .why-lead { color: rgba(250, 250, 250, 0.82); }

.band-brand .step { border-bottom-color: rgba(250, 250, 250, 0.22); }
.band-brand .step h3 { color: var(--bf-paper); }
.band-brand .step p { color: rgba(250, 250, 250, 0.82); }

.band-brand .step .num {
  background: var(--bf-paper);
  color: var(--brand);
}

/* ============================================================
 * ASSESSMENT PANEL — bold obsidian standout card
 * The eval tool reads as its own dark object against the light
 * hero. Brand drives progress + selection; crew ticks + gold
 * result note pop on the dark fill.
 * ============================================================ */
.assessment-panel {
  background: var(--bf-text);
  border-color: var(--bf-text);
  color: var(--bf-paper);
}

.assessment-panel .eyebrow { color: rgba(250, 250, 250, 0.6); }
.assessment-panel .panel-topline h2 { color: var(--bf-paper); }

.assessment-panel .progress-label {
  background: rgba(250, 250, 250, 0.08);
  border-color: rgba(250, 250, 250, 0.2);
  color: rgba(250, 250, 250, 0.8);
}

.assessment-panel .progress-track { background: rgba(250, 250, 250, 0.14); }

.assessment-panel .lens-meter div {
  background: rgba(250, 250, 250, 0.05);
  border-color: rgba(250, 250, 250, 0.14);
}
.assessment-panel .lens-meter span { color: rgba(250, 250, 250, 0.6); }
.assessment-panel .lens-meter strong { color: var(--bf-paper); }

.assessment-panel .question-lens {
  background: rgba(250, 250, 250, 0.06);
  border-color: rgba(250, 250, 250, 0.2);
  color: var(--bf-paper);
}
.assessment-panel .question-area h3 { color: var(--bf-paper); }

.assessment-panel .option-button {
  background: rgba(250, 250, 250, 0.04);
  border-color: rgba(250, 250, 250, 0.16);
  color: var(--bf-paper);
}
.assessment-panel .option-button .dot { border-color: rgba(250, 250, 250, 0.4); }
.assessment-panel .option-button .text small { color: rgba(250, 250, 250, 0.55); }
.assessment-panel .option-button:hover { border-color: rgba(250, 250, 250, 0.6); }

.assessment-panel .option-button.is-selected {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 22%, var(--bf-text));
}
.assessment-panel .option-button.is-selected .dot {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: inset 0 0 0 3px var(--bf-text);
}

/* buttons inverted on the dark card */
.assessment-panel .button.primary { background: var(--bf-paper); color: var(--bf-text); }
.assessment-panel .button.primary:hover { background: #E4E4E7; }
.assessment-panel .button.secondary { color: var(--bf-paper); border-color: rgba(250, 250, 250, 0.28); }
.assessment-panel .button.secondary:hover { background: rgba(250, 250, 250, 0.1); }
.assessment-panel .button:disabled { opacity: 0.35; }

.assessment-panel .privacy-line { color: rgba(250, 250, 250, 0.5); }

/* result state on dark */
.assessment-panel .score-number {
  color: var(--bf-paper);
  background:
    radial-gradient(circle at center, var(--bf-text) 0 60%, transparent 61%),
    conic-gradient(var(--brand) var(--score), rgba(250, 250, 250, 0.14) 0);
}
.assessment-panel .score-ring p { color: rgba(250, 250, 250, 0.7); }
.assessment-panel .result-bar > span { color: var(--bf-paper); }
.assessment-panel .result-tier { color: rgba(250, 250, 250, 0.55); }
.assessment-panel .result-bar-track { background: rgba(250, 250, 250, 0.14); }

/* ============================================================
 * DISTRICT CONTEXT — provisional, pillar-mapped org read
 * ============================================================ */
.section.context-band { border-top-color: var(--bf-slate); }
.context-band .section-heading { max-width: 880px; }
.context-band .why-lead em { color: var(--bf-text); font-style: italic; }

.context-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.context-card {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--bf-border);
  border-radius: var(--radius-lg);
  background: var(--bf-paper);
  padding: 24px 26px;
}

.context-card.prosper { border-top: 4px solid var(--area-prosper); }
.context-card.prepare { border-top: 4px solid var(--area-prepare); }
.context-card.protect { border-top: 4px solid var(--area-protect); }

.context-top { display: grid; gap: 8px; }

.context-pillar {
  justify-self: start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--bf-paper);
}

.context-card.prosper .context-pillar { background: var(--area-prosper); }
.context-card.prepare .context-pillar { background: var(--area-prepare); }
.context-card.protect .context-pillar { background: var(--area-protect); }

.context-level {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bf-text);
}

.context-card > p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--bf-muted);
}

.context-q {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--bf-border);
  font-weight: 600;
  font-style: italic;
  color: var(--bf-text) !important;
  line-height: 1.5;
}

.context-cta {
  margin: 30px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bf-text);
}

.context-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
}

.context-cta a svg { width: 16px; height: 16px; stroke-width: 2.5; }

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (max-width: 1040px) {
  .hero,
  .intro-band,
  .workflow { grid-template-columns: 1fr; }

  .workflow-visual { order: -1; }
  .workflow-visual image-slot { height: 320px; }
  .team-note { right: 8px; }

  .scoring-tables { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }

  .brand-name { font-size: 15px; }

  .hero { padding-top: 36px; }

  .assessment-panel { box-shadow: var(--shadow-comic-sm); }

  .panel-topline h2 { font-size: 21px; }

  .lens-meter span { font-size: 9px; }
  .lens-meter strong { font-size: 18px; }

  .lens-grid { grid-template-columns: 1fr; }
  .lens-card { min-height: 0; }

  .failure-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .context-grid { grid-template-columns: 1fr; }
  .stat-card { grid-template-columns: 1fr; gap: 12px; text-align: left; }

  .faq-item summary { font-size: 1rem; }
  .faq-item p { padding-right: 0; }

  .score-ring { grid-template-columns: 1fr; justify-items: start; }

  .result-bar { grid-template-columns: 70px 1fr 30px; }
  .result-tier { display: none; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .site-footer p { text-align: left; }
}

/* ============================================================
 * ASSESSMENT — PRD STATES (intro · question · result)
 * Appended; rules below win over earlier same-specificity rules.
 * ============================================================ */

/* ── intro / retake screen ─────────────────────────────────── */
.intro-screen { display: grid; gap: 16px; padding: 4px 0; }
.intro-screen .eyebrow { margin: 0; color: rgba(250, 250, 250, 0.6); }
.intro-screen > h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bf-paper);
}
.intro-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(250, 250, 250, 0.74);
}
.intro-pillars { display: grid; gap: 8px; margin: 2px 0; }

.intro-pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(250, 250, 250, 0.14);
  border-radius: var(--radius-md);
  background: rgba(250, 250, 250, 0.04);
  padding: 12px 14px;
}
.intro-pillar p { margin: 0; font-size: 14px; font-weight: 500; color: rgba(250, 250, 250, 0.88); }

.ip-badge {
  justify-self: start;
  min-width: 78px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  color: var(--bf-text);
  white-space: nowrap;
}
.intro-pillar.pillar-prosper { border-left: 3px solid var(--area-prosper); }
.intro-pillar.pillar-prepare { border-left: 3px solid var(--area-prepare); }
.intro-pillar.pillar-protect { border-left: 3px solid var(--area-protect); }
.intro-pillar.pillar-prosper .ip-badge { background: var(--area-prosper); }
.intro-pillar.pillar-prepare .ip-badge { background: var(--area-prepare); color: var(--bf-paper); }
.intro-pillar.pillar-protect .ip-badge { background: var(--area-protect); }

.intro-begin { justify-self: start; margin-top: 6px; }
.intro-trust {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(250, 250, 250, 0.5);
}

/* ── color-coded pillar badge on the question screen ───────── */
.assessment-panel .question-lens.pillar-prosper,
.assessment-panel .question-lens.pillar-prepare,
.assessment-panel .question-lens.pillar-protect {
  border-color: transparent;
  color: var(--bf-text);
}
.assessment-panel .question-lens.pillar-prosper { background: var(--area-prosper); }
.assessment-panel .question-lens.pillar-prepare { background: var(--area-prepare); color: var(--bf-paper); }
.assessment-panel .question-lens.pillar-protect { background: var(--area-protect); }

/* ── result readout ────────────────────────────────────────── */
.score-readout { display: grid; gap: 4px; }
.score-readout h3 { margin: 0; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; }
.score-outof {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.55);
}

.result-bar { grid-template-columns: 84px 1fr auto 50px; }

/* ── post-results CTA ──────────────────────────────────────── */
.post-cta {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  border: 1px solid rgba(250, 250, 250, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(250, 250, 250, 0.04);
  padding: 22px 22px 20px;
}
.post-cta .eyebrow { margin: 0; color: rgba(250, 250, 250, 0.6); }
.post-cta h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--bf-paper);
}
.post-cta > p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(250, 250, 250, 0.74); }
.post-cta .button { justify-self: start; margin-top: 4px; text-decoration: none; }
.post-cta .post-note { margin: 2px 0 0; font-size: 12px; color: rgba(250, 250, 250, 0.45); }

/* ── retake (ghost) ────────────────────────────────────────── */
.button.ghost {
  background: transparent;
  border-color: transparent;
  color: rgba(250, 250, 250, 0.7);
}
.assessment-panel .button.ghost { background: transparent; color: rgba(250, 250, 250, 0.7); }
.assessment-panel .button.ghost:hover { background: rgba(250, 250, 250, 0.1); color: var(--bf-paper); }
.result .retake { justify-self: center; min-height: 40px; margin-top: 2px; }

@media (max-width: 720px) {
  .result-bar { grid-template-columns: 60px 1fr 50px; }
}

/* ============================================================
 * BFD BRAND LOCKUP + TEAM IMAGE
 * ============================================================ */
.brand-logo { height: 28px; width: auto; display: block; }
.footer-brand .brand-logo { height: 34px; }

@media (max-width: 720px) {
  .brand-logo { height: 23px; }
  .footer-brand .brand-logo { height: 30px; }
}

.workflow-visual .team-photo-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}
