:root {
  --red: #eb0000;
  --red-dark: #9e0000;
  --pink: #fddae2;
  --purple: #95098a;
  --purple-dark: #64005a;
  --blue: #005ac8;
  --blue-dark: #003482;
  --teal: #00bebc;
  --ink: #111827;
  --ink-soft: #4f5d73;
  --muted: #687386;
  --line: #dfe3e8;
  --cloud: #f5f6f8;
  --footer-bg: #f5f6f8;
  --focus: #005ac8;
  --content-width: 1180px;
  --page-gutter: 48px;
  --header-height: 72px;
  --footer-height: 42px;
  font-family: "Fira Sans", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #fff; }
body { margin: 0; min-width: 320px; min-height: 100dvh; background: #fff; color: var(--ink); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid rgba(0, 90, 200, .42); outline-offset: 3px; }

.app-shell {
  height: 100dvh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: var(--header-height) minmax(0, 1fr) var(--footer-height);
}

.site-header {
  position: relative;
  z-index: 20;
  min-width: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .98);
}
.site-header-inner {
  width: min(var(--content-width), calc(100% - var(--page-gutter)));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand { flex: 0 0 auto; width: 150px; }
.brand img { width: 100%; height: auto; }
.header-progress { min-width: 0; display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 12px; }
.header-title, .step-label { white-space: nowrap; }
.header-divider { width: 1px; height: 16px; background: var(--line); }
.progress-track { width: clamp(90px, 9vw, 150px); height: 5px; overflow: hidden; border-radius: 999px; background: #e8eaed; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--red); transition: width .3s ease; }
.header-progress strong { min-width: 30px; color: var(--ink-soft); }

main { min-height: 0; }
.view { height: 100%; min-height: 0; background: #fff; }
.view.is-active { display: block; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.button {
  --fill-origin: left center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}
.button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px;
  border-radius: inherit;
  background: #000;
  transform: scaleX(0);
  transform-origin: var(--fill-origin);
  transition: transform .34s cubic-bezier(.22, .78, .24, 1);
}
.button-primary::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -1px;
  border-radius: inherit;
  background: var(--red);
}
.button[data-fill-direction="right"] { --fill-origin: right center; }
.button[data-fill-direction="top"] { --fill-origin: center top; }
.button[data-fill-direction="bottom"] { --fill-origin: center bottom; }
.button[data-fill-direction="top"]::before,
.button[data-fill-direction="bottom"]::before { transform: scaleY(0); }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .36; }
.button-primary { color: #fff; background: transparent; }
.button-secondary { color: var(--ink); border-color: var(--line); background: #fff; }
.button-secondary::before { display: none; }
.button-secondary:hover:not(:disabled) { border-color: #aeb4bd; background: var(--cloud); }
.button-wide { width: 100%; }

@media (hover: hover) and (pointer: fine) {
  .button-primary:hover:not(:disabled)::before { transform: scaleX(1); }
  .button-primary[data-fill-direction="top"]:hover:not(:disabled)::before,
  .button-primary[data-fill-direction="bottom"]:hover:not(:disabled)::before { transform: scaleY(1); }
}

/* Reusable entrance motion */
.reveal { animation-duration: .56s; animation-fill-mode: both; animation-timing-function: cubic-bezier(.22, .78, .24, 1); }
.reveal-up { animation-name: reveal-up; }
.reveal-fade { animation-name: reveal-fade; }
.reveal-delay-1 { animation-delay: .04s; }
.reveal-delay-2 { animation-delay: .11s; }
.reveal-delay-3 { animation-delay: .18s; }
.reveal-delay-4 { animation-delay: .25s; }
.reveal-delay-5 { animation-delay: .32s; }
.reveal-delay-6 { animation-delay: .39s; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal-fade { from { opacity: 0; } to { opacity: 1; } }

/* Intro */
.intro-view { overflow: auto; }
.intro-layout {
  width: min(var(--content-width), calc(100% - var(--page-gutter)));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(560px, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(38px, 5vw, 76px);
}
.intro-copy { position: relative; z-index: 3; padding: 22px 0 18px; }
.intro-copy h1 {
  max-width: 640px;
  margin: 0 0 22px;
  color: #17191d;
  font-size: clamp(54px, 4.05vw, 70px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 500;
}
.headline-line { display: block; white-space: nowrap; }
.headline-accent { color: var(--red); }
.intro-lead { max-width: 610px; margin: 0; color: #313741; font-size: 14px; line-height: 1.55; }
.intro-cta { width: fit-content; max-width: 100%; margin-top: 22px; }
.process-context { margin: 20px 0 0; color: var(--ink-soft); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.process-steps {
  max-width: 610px;
  margin: 10px 0 0;
  padding: 13px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
}
.process-steps strong { display: block; margin-bottom: 5px; color: var(--red); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.process-steps span { display: block; color: var(--muted); font-size: 10px; line-height: 1.45; }
.intro-mobile-visual { display: none; }
.intro-visual {
  position: relative;
  width: 100%;
  height: min(76vh, 760px);
  min-height: 460px;
  align-self: center;
}
.intro-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity .85s ease;
}
.intro-slide.is-active { z-index: 1; opacity: 1; }
.intro-slide.is-initial { animation: intro-image-settle 1.35s ease-out both; }
@keyframes intro-image-settle { from { filter: blur(15px); opacity: .28; } to { filter: blur(0); opacity: 1; } }

/* Questions */
.question-view { overflow: hidden; }
.question-layout { height: 100%; min-height: 0; display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 60%); }
.question-photo { min-width: 0; min-height: 0; height: 100%; margin: 0; overflow: hidden; background: var(--cloud); }
.question-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.question-panel { min-width: 0; min-height: 0; display: flex; align-items: center; padding: 18px clamp(32px, 5vw, 84px); overflow: auto; }
.question-form { width: min(720px, 100%); margin: auto; }
.question-count { margin: 0 0 10px; color: var(--ink-soft); font-size: 11px; line-height: 1.2; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.question-form h2 { margin: 0 0 10px; color: #101828; font-size: clamp(34px, 3vw, 50px); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.question-prompt { margin: 0 0 8px; color: #101828; font-size: clamp(18px, 1.45vw, 25px); line-height: 1.26; }
.question-description { max-width: 70ch; margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.45; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { width: 100%; margin: 0 0 7px; padding: 0; color: #28364b; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.maturity-options { display: grid; gap: 6px; }
.choice {
  position: relative;
  width: 100%;
  min-height: 43px;
  display: grid;
  grid-template-columns: 34px minmax(112px, 145px) minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  text-align: left;
}
.choice:hover { border-color: #aeb4bd; background: #fcfcfd; }
.choice[aria-pressed="true"] { border-color: var(--red); background: #fff7f7; box-shadow: inset 0 0 0 1px var(--red); }
.choice-number { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #eef0f3; font-size: 12px; font-weight: 700; }
.choice[aria-pressed="true"] .choice-number { color: #fff; background: var(--red); }
.choice-name { font-size: 12px; font-weight: 700; }
.choice-description { color: var(--muted); font-size: 11px; line-height: 1.22; }
.evidence-fieldset { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.evidence-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.evidence-choice { min-height: 68px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: #f6f7f8; color: #28364b; text-align: left; }
.evidence-choice-label { display: block; font-size: 11px; font-weight: 700; }
.evidence-choice-description { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 400; line-height: 1.3; }
.evidence-choice:hover { border-color: #aeb4bd; }
.evidence-choice[aria-pressed="true"] { border-color: var(--ink); color: #fff; background: var(--ink); }
.evidence-choice[aria-pressed="true"] .evidence-choice-description { color: rgba(255, 255, 255, .78); }
.question-actions { margin-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.question-photo img.is-entering { animation: question-image-in .56s cubic-bezier(.22, .78, .24, 1) backwards; }
.question-transition-item.is-entering { animation: question-content-in .48s cubic-bezier(.22, .78, .24, 1) backwards; }
.question-actions.is-entering { animation: question-actions-in .46s ease-out .38s backwards; }
.question-enter-1 { animation-delay: .05s !important; }
.question-enter-2 { animation-delay: .1s !important; }
.question-enter-3 { animation-delay: .17s !important; }
.question-enter-4 { animation-delay: .25s !important; }
.question-enter-5 { animation-delay: .34s !important; }
@keyframes question-image-in { from { opacity: .18; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes question-content-in { from { opacity: .16; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes question-actions-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

/* Analysis */
.analysis-view { overflow: hidden; }
.analysis-content { height: 100%; display: grid; place-content: center; justify-items: center; padding: 32px; text-align: center; }
.analysis-mark { position: relative; width: 116px; height: 116px; margin-bottom: 24px; }
.analysis-mark span { position: absolute; inset: 0; border: 1px solid rgba(235, 0, 0, .65); border-radius: 50%; animation: analysisPulse 2s ease-in-out infinite; }
.analysis-mark span:nth-child(2) { inset: 17px; animation-delay: .16s; }
.analysis-mark span:nth-child(3) { inset: 34px; animation-delay: .32s; }
.analysis-mark i { position: absolute; inset: 49px; border-radius: 50%; background: var(--red); }
.analysis-content h2 { margin: 0; color: #181a1e; font-size: clamp(48px, 5.5vw, 76px); line-height: .92; letter-spacing: -.055em; font-weight: 500; }
.analysis-message { min-height: 24px; margin: 20px 0 0; color: var(--muted); font-size: 17px; }
.analysis-progress { width: min(460px, 82vw); height: 2px; margin-top: 24px; overflow: hidden; background: #eceef0; }
.analysis-progress span { display: block; width: 0; height: 100%; background: var(--red); transition: width var(--analysis-stage-duration, 800ms) linear; }
.analysis-progress.is-resetting span { transition: none; }
@keyframes analysisPulse { 0%, 100% { opacity: .35; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }

/* Score and gate */
.score-view { overflow: auto; }
.score-layout { width: min(1180px, calc(100% - 56px)); margin: 0 auto; padding: 26px 0 54px; }
.score-summary { min-height: 310px; display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: center; gap: 24px; padding: 30px 36px; border: 1px solid var(--line); background: #fff; }
.score-copy h2 { max-width: 680px; margin: 0 0 14px; font-size: clamp(36px, 3.7vw, 54px); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.score-tier { margin: 0 0 8px; font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -.03em; }
.score-copy > p:last-child { max-width: 700px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.score-dial { position: relative; width: 300px; height: 238px; place-self: center; }
.score-dial svg { width: 100%; height: 100%; overflow: visible; }
.dial-track, .dial-value { fill: none; stroke-width: 18; stroke-linecap: round; }
.dial-track { stroke: #d9dde3; }
.dial-value { stroke: url(#scoreGradient); stroke-dasharray: 0 100; }
.score-number { position: absolute; inset: 76px 0 auto; display: flex; align-items: baseline; justify-content: center; }
.score-number strong { font-size: 92px; line-height: 1; letter-spacing: -.065em; }
.score-number span { margin-left: 7px; color: #8a93a2; font-size: 28px; font-weight: 300; }
.score-dial.is-complete .score-number strong { animation: score-complete .55s ease-out both; }
@keyframes score-complete { 0% { text-shadow: 0 0 0 rgba(148, 28, 131, 0); } 40% { text-shadow: 0 0 18px rgba(148, 28, 131, .28); } 100% { text-shadow: 0 0 0 rgba(148, 28, 131, 0); } }
.score-kpis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 0; }
.score-kpis div { min-width: 0; padding: 13px 16px; border-top: 1px solid var(--line); background: #fff; }
.score-kpis dt { min-height: 24px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .06em; line-height: 1.3; text-transform: uppercase; }
.score-kpis dd { margin: 5px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -.035em; }
.score-kpis small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.25; }
.result-experience { min-width: 0; display: grid; margin-top: 22px; overflow: visible; }
.result-experience > .full-results, .result-experience > .lead-gate { grid-area: 1 / 1; }
.result-experience.is-locked .full-results { filter: blur(6px); opacity: .55; pointer-events: none; user-select: none; }
.lead-gate { z-index: 2; width: min(660px, calc(100% - 48px)); margin: 55px auto 0; align-self: start; }
.lead-form { padding: 28px; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 32px rgba(17, 24, 39, .12); }
.unlock-copy { margin-bottom: 20px; }
.unlock-copy h2 { max-width: 560px; margin: 0 0 12px; font-size: clamp(32px, 3.1vw, 44px); line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.unlock-copy > p:last-child { max-width: 560px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid label { color: #263143; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid input, .form-grid select { width: 100%; height: 43px; margin-top: 6px; padding: 9px 12px; border: 1px solid #d7dbe0; border-radius: 7px; color: var(--ink); background: #fff; outline: none; text-transform: none; font-size: 14px; }
.form-grid input::placeholder { color: #687386; opacity: 1; }
.form-grid input:focus, .form-grid select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(235, 0, 0, .08); }
.form-grid input[aria-invalid="true"], .form-grid select[aria-invalid="true"] { border-color: var(--red); }
.form-note { margin: 14px 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.form-note button { padding: 0; border: 0; color: var(--ink-soft); background: none; font: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form-error { margin: 0 0 10px; color: var(--red-dark); font-size: 12px; }

/* Unlocked result */
.full-results { min-width: 0; padding-top: 24px; border-top: 1px solid var(--line); transition: filter .35s ease, opacity .35s ease; }
.result-section-first { margin-top: 0; }
.dimension-list { border-top: 2px solid var(--ink); }
.dimension-row { display: grid; grid-template-columns: minmax(210px, 1.15fr) minmax(150px, 1.35fr) 52px 130px 138px; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.dimension-name { font-size: 13px; font-weight: 600; }
.dimension-bar { height: 8px; overflow: hidden; background: #eceef0; }
.dimension-bar span { display: block; height: 100%; background: var(--red); }
.dimension-score { font-size: 13px; font-weight: 700; text-align: right; }
.dimension-level { color: var(--ink-soft); font-size: 11px; }
.dimension-evidence { color: var(--muted); font-size: 11px; text-align: right; }
.result-section { margin-top: 42px; }
.result-section h2 { max-width: 980px; margin: 0 0 13px; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.section-intro { max-width: 820px; margin: -4px 0 13px; color: var(--muted); font-size: 13px; line-height: 1.5; text-wrap: pretty; }
.critical-intro { max-width: 890px; }
.result-state { max-width: 820px; margin: 16px 0 18px; padding: 15px 17px; border-left: 3px solid var(--blue); color: var(--ink); background: #f3f7fc; font-size: 15px; font-weight: 600; line-height: 1.5; text-wrap: pretty; }
.result-state-positive { border-left-color: #008b89; background: #f1faf9; }
.result-state-attention { border-left-color: var(--purple); background: #faf5f9; }
.result-state-neutral { border-left-color: var(--blue); background: #f3f7fc; }
.evidence-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.evidence-summary article { padding: 15px; border: 1px solid var(--line); border-top: 3px solid var(--teal); background: #fff; }
.evidence-summary article:nth-child(2) { border-top-color: var(--blue); }
.evidence-summary article:nth-child(3) { border-top-color: var(--purple); }
.evidence-summary article:nth-child(4) { border-top-color: #8a93a2; }
.evidence-summary strong { display: block; font-size: 24px; letter-spacing: -.035em; }
.evidence-summary span { color: var(--muted); font-size: 11px; }
.evidence-help, .validation-disclosure { margin-top: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.evidence-help summary, .validation-disclosure summary { padding: 12px 0; color: var(--ink-soft); font-size: 12px; font-weight: 600; cursor: pointer; }
.evidence-help dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 22px; margin: 0; padding: 0 0 16px; }
.evidence-help dl div { min-width: 0; }
.evidence-help dt { margin-bottom: 3px; font-size: 12px; font-weight: 700; }
.evidence-help dd { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.evidence-badge { display: inline-block; padding: 4px 8px; border: 1px solid transparent; border-radius: 999px; white-space: nowrap; font-size: 10px; font-weight: 700; }
.evidence-verified { border-color: rgba(0, 190, 188, .35); color: #006d6b; background: rgba(0, 190, 188, .09); }
.evidence-partially-verified { border-color: rgba(0, 90, 200, .28); color: var(--blue-dark); background: rgba(0, 90, 200, .07); }
.evidence-assumption { border-color: rgba(149, 9, 138, .25); color: var(--purple-dark); background: rgba(149, 9, 138, .07); }
.evidence-unknown { border-color: #cfd3d9; color: var(--ink-soft); background: #f1f3f5; }
.state-definitions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 14px; }
.state-definitions div { padding: 13px; border: 1px solid var(--line); background: var(--cloud); }
.state-definitions dt { margin-bottom: 4px; font-size: 11px; font-weight: 700; }
.state-definitions dd { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.gate-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gate-item, .priority-card { padding: 16px; border: 1px solid var(--line); background: #fff; }
.gate-item { border-top: 3px solid var(--line); }
.gate-item.gate-concern { border-top-color: var(--red); }
.gate-item.gate-conditional { border-top-color: var(--purple); }
.gate-item.gate-cleared { border-top-color: var(--teal); }
.gate-item-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.gating-status-badge { flex: 0 0 auto; padding: 4px 8px; border: 1px solid transparent; border-radius: 999px; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gating-status-badge.gating-concern { border-color: rgba(235, 0, 0, .25); color: var(--red-dark); background: rgba(235, 0, 0, .07); }
.gating-status-badge.gating-conditional { border-color: rgba(149, 9, 138, .25); color: var(--purple-dark); background: rgba(149, 9, 138, .07); }
.gating-status-badge.gating-cleared { border-color: rgba(0, 190, 188, .35); color: #006d6b; background: rgba(0, 190, 188, .09); }
.gate-item strong, .priority-card h4 { display: block; margin: 0 0 6px; }
.gate-item p, .priority-card p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.gate-item .card-metadata, .priority-card .card-metadata { color: var(--ink-soft); font-size: 10px; }
.gate-item .card-explanation, .priority-card .priority-reason { margin-top: 9px; color: var(--ink); font-size: 13px; }
.validation-list { border-top: 1px solid var(--line); }
.validation-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.validation-item div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.validation-item strong { font-size: 13px; }
.validation-item div span { color: var(--muted); font-size: 11px; }
.finding-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.finding-list li { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.finding-list li div p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.finding-list li span { color: var(--muted); text-align: right; }
.priorities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.priority-rank { margin-bottom: 7px; color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.self-assessment-note { max-width: 850px; margin: 48px auto 0; padding: 20px 20px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; line-height: 1.6; text-align: center; }
.recommended-next { padding: 24px; background: linear-gradient(120deg, rgba(253, 218, 226, .28), rgba(216, 235, 249, .25)); }
.recommended-next h2 { margin-bottom: 8px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; }
.recommended-next > p:not(.eyebrow) { max-width: 760px; margin: 0; color: var(--ink-soft); line-height: 1.5; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.restart-link { align-self: center; margin-left: auto; padding: 8px 2px; border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.restart-link:hover { color: var(--ink); }

/* Legal and footer */
.legal-view { overflow: auto; }
.legal-content { width: min(840px, calc(100% - 48px)); margin: 0 auto; padding: clamp(38px, 7vh, 86px) 0; }
.legal-content h2 { margin: 0 0 18px; font-size: clamp(40px, 5vw, 66px); line-height: 1; letter-spacing: -.045em; }
.legal-content p { color: var(--ink-soft); line-height: 1.65; }
.legal-note { margin: 18px 0; padding: 14px; border: 1px solid #ead8a7; color: #654e16; background: #fff4d8; font-size: 12px; }
.site-footer { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(24px, 4vw, 64px); border-top: 1px solid var(--line); color: var(--muted); background: var(--footer-bg); font-size: 10px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer button { padding: 3px 0; border: 0; color: inherit; background: none; text-decoration: underline; text-underline-offset: 3px; }
.print-report { display: none; }

@media (max-width: 1180px) and (min-width: 901px) {
  :root { --header-height: 64px; --footer-height: 36px; }
  .site-header-inner { width: calc(100% - 48px); }
  .brand { width: 136px; }
  .header-title { display: none; }
  .header-divider:first-of-type { display: none; }
  .intro-layout { width: min(1040px, calc(100% - 48px)); grid-template-columns: minmax(400px, 1fr) minmax(360px, .9fr); gap: 24px; }
  .intro-copy h1 { font-size: clamp(48px, 5vw, 62px); }
  .intro-lead { font-size: 14px; }
  .process-steps { margin-top: 13px; padding-top: 11px; }
  .question-panel { padding: 16px 34px; }
  .question-form h2 { font-size: 34px; }
  .question-prompt { font-size: 18px; }
  .question-description { margin-bottom: 11px; font-size: 11px; }
  .choice { min-height: 39px; padding-block: 4px; grid-template-columns: 31px 120px 1fr; }
  .choice-number { width: 26px; height: 26px; }
  .evidence-fieldset { margin-top: 10px; padding-top: 9px; }
  .question-actions { margin-top: 11px; }
  .question-actions .button { min-height: 42px; }
  .score-layout { width: min(1080px, calc(100% - 40px)); padding-block: 18px; }
  .dimension-row { grid-template-columns: minmax(190px, 1.1fr) minmax(130px, 1fr) 50px 115px 130px; gap: 10px; }
}

@media (min-width: 901px) {
  .question-prompt { font-size: clamp(20px, 1.6vw, 27.5px); }
  .question-description { font-size: 14.3px; }
  .choice-description { font-size: 12.1px; }
  .evidence-choice-description { font-size: 10px; }
}

@media (max-width: 900px) {
  :root { --header-height: 64px; --footer-height: auto; }
  .app-shell { display: block; height: auto; min-height: 100dvh; }
  .site-header { height: var(--header-height); position: sticky; top: 0; }
  .site-header-inner { width: calc(100% - 40px); }
  .brand { width: 122px; }
  .header-progress { gap: 9px; }
  .header-title, .header-divider:first-of-type { display: none; }
  .progress-divider { display: none; }
  main { min-height: calc(100dvh - var(--header-height)); }
  .view { height: auto; min-height: calc(100dvh - var(--header-height)); overflow: visible; }
  .intro-view { overflow: hidden; }
  .intro-layout { width: 100%; min-height: inherit; display: flex; flex-direction: column; gap: 0; padding: 0 24px 42px; }
  .intro-mobile-visual { width: calc(100% + 48px); margin: 0 -24px 34px; display: block; }
  .intro-mobile-visual img { width: 100%; height: auto; }
  .intro-copy { width: min(640px, 100%); padding: 0; }
  .intro-copy h1 { font-size: clamp(48px, 13vw, 68px); }
  .headline-line { white-space: normal; }
  .intro-visual { display: none; }
  .question-layout { height: auto; display: block; }
  .question-photo { width: 100%; height: auto; aspect-ratio: 5 / 2; }
  .question-photo img { object-position: center var(--mobile-question-position, 38%); }
  .evidence-fieldset { scroll-margin-top: calc(var(--header-height) + 16px); scroll-margin-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .question-panel { display: block; padding: 30px 20px calc(115px + env(safe-area-inset-bottom)); overflow: visible; }
  .question-form { max-width: 680px; }
  .question-actions {
    position: fixed;
    z-index: 40;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 73px;
    margin: 0;
    padding: 12px max(20px, calc((100vw - 680px) / 2)) calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .98);
  }
  .score-view { overflow: visible; }
  .score-layout { width: min(720px, calc(100% - 32px)); padding: 28px 0 42px; }
  .score-summary { min-height: 0; }
  .lead-gate { width: min(620px, calc(100% - 32px)); }
  .site-footer { min-height: 62px; padding: 15px 20px; flex-wrap: wrap; }
}

@media (max-width: 580px) {
  .step-label { display: none; }
  .header-progress { margin-left: auto; }
  .site-header-inner { width: calc(100% - 40px); }
  .intro-layout { padding: 0 clamp(20px, 6vw, 24px) 36px; }
  .intro-mobile-visual { width: calc(100% + (2 * clamp(20px, 6vw, 24px))); margin: 0 calc(-1 * clamp(20px, 6vw, 24px)) 30px; }
  .intro-copy h1 { margin-bottom: 18px; font-size: clamp(40px, 10.4vw, 46px); line-height: .98; }
  .intro-lead { font-size: 15px; }
  .intro-cta { width: auto; max-width: 100%; }
  .process-context { margin-top: 22px; }
  .process-steps { grid-template-columns: 1fr; gap: 11px; margin-top: 11px; }
  .process-steps li { display: grid; grid-template-columns: 96px 1fr; gap: 6px; }
  .question-photo { height: auto; min-height: 0; max-height: none; aspect-ratio: 5 / 2; }
  .question-panel { padding-inline: 16px; }
  .maturity-fieldset > legend { text-wrap: balance; letter-spacing: .1em; }
  .question-form h2 { font-size: 36px; }
  .question-prompt { font-size: 19px; }
  .question-description { font-size: 13px; }
  .choice { grid-template-columns: 34px 1fr; min-height: 58px; padding: 8px 10px; }
  .choice { column-gap: 10px; row-gap: 2px; }
  .choice-number { grid-row: 1 / span 2; align-self: center; display: inline-flex; align-items: center; justify-content: center; line-height: 1; padding-top: 1px; }
  .choice-name { grid-column: 2; grid-row: 1; align-self: end; }
  .choice-description { grid-column: 2; grid-row: 2; margin-top: 0; align-self: start; }
  .evidence-options { grid-template-columns: 1fr 1fr; }
  .evidence-choice { min-height: 78px; }
  .question-actions .button { padding-inline: 18px; }
  .analysis-content { min-height: calc(100dvh - 160px); padding-inline: 20px; }
  .analysis-content h2 { font-size: 48px; }
  .score-summary { grid-template-columns: 1fr; gap: 4px; padding: 20px 16px; }
  .score-copy h2 { font-size: clamp(32px, 8.2vw, 36px); }
  .score-dial { width: 218px; height: 173px; margin-top: 0; }
  .score-number { inset-block-start: 54px; }
  .score-number strong { font-size: 70px; }
  .score-number span { font-size: 23px; }
  .score-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-top: 0; }
  .score-kpis div { padding: 8px 5px; border: 1px solid var(--line); }
  .score-kpis dt { min-height: 39px; font-size: 8px; line-height: 1.25; letter-spacing: .02em; }
  .score-kpis dd { font-size: 21px; }
  .score-kpis small { font-size: 8px; }
  .result-experience { margin-top: 18px; }
  .lead-gate { width: 100%; margin-top: 24px; }
  .lead-form { padding: 22px 18px; }
  .unlock-copy h2 { font-size: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label.full { grid-column: auto; }
  .result-section { margin-top: 34px; }
  .result-section h2 { font-size: clamp(27px, 7vw, 30px); }
  .result-state { padding: 14px 15px; font-size: 14px; }
  .dimension-row { grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; row-gap: 6px; padding: 15px 0 17px; border-bottom: 1px solid #bfc7d0; }
  .dimension-name { font-size: 14px; line-height: 1.3; }
  .dimension-bar { grid-column: 1 / -1; grid-row: 2; }
  .dimension-level { grid-column: 1; grid-row: 3; }
  .dimension-evidence { grid-column: 2; grid-row: 3; text-align: right; }
  .evidence-summary { grid-template-columns: 1fr 1fr; }
  .evidence-help dl, .state-definitions, .gate-list, .priorities { grid-template-columns: 1fr; }
  .validation-item, .finding-list li { align-items: flex-start; }
  .finding-list li { flex-direction: column; gap: 3px; }
  .finding-list li span { text-align: left; }
  .result-actions .button { width: 100%; }
  .restart-link { width: 100%; margin: 2px 0 0; text-align: center; }
  .footer-desktop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
