:root {
  color-scheme: dark;
  --bg: #111718;
  --surface: #1a2320;
  --line: #3b4940;
  --text: #eff0e9;
  --muted: #b4c0b7;
  --accent: #c3ec8a;
  --warning: #f0cd98;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Arial, Helvetica, sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
p { color: var(--muted); margin: 0 0 20px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; text-wrap: balance; }
code { font-family: var(--mono); font-size: 0.9em; overflow-wrap: anywhere; }
strong { color: var(--text); }
.wrap { max-width: 1240px; margin: auto; padding-inline: 48px; }
.skip { position: absolute; top: -100px; left: 16px; padding: 12px; z-index: 1; }
.skip:focus { top: 16px; background: var(--accent); color: var(--bg); }
.header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 38px; font-weight: 700; letter-spacing: -3px; }
.brand span, h1 span { color: var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; }
nav a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }
.hero { padding-block: 60px 88px; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; }
.hero > *, .intro > *, .two-columns > * { min-width: 0; }
.label { color: var(--accent); font: 12px/1.8 var(--mono); letter-spacing: 1.3px; margin-bottom: 24px; }
h1 { font-size: clamp(44px, 4.6vw, 62px); letter-spacing: -2.8px; font-weight: 600; margin-bottom: 28px; }
.lead { font-size: 23px; line-height: 1.45; color: var(--text); }
.description { font-size: 16px; max-width: 490px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.button { display: inline-block; background: var(--accent); color: var(--bg); padding: 13px 20px; font-size: 14px; font-weight: 700; }
.button:hover { background: #d7f6b0; text-decoration: none; }
.text-link { font-size: 14px; text-decoration: underline; text-underline-offset: 5px; padding-block: 10px; }
.note { font-size: 14px; margin-top: 24px; max-width: 850px; }
.panel { border: 1px solid var(--line); background: var(--surface); }
.panel-title { padding: 18px 24px; border-bottom: 1px solid var(--line); font: 12px/1.6 var(--mono); letter-spacing: 1px; }
.tag { display: inline-block; border: 1px solid #647a4f; color: var(--accent); padding: 5px 8px; font: 12px/1.6 var(--mono); white-space: nowrap; }
.panel-body { padding: 28px; }
.panel-lead { font-size: 24px; color: var(--text); line-height: 1.4; }
.workflow { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: steps; }
.workflow li { position: relative; padding-left: 48px; margin-bottom: 24px; counter-increment: steps; }
.workflow li:last-child { margin-bottom: 0; }
.workflow li::before { content: "0" counter(steps); position: absolute; left: 0; top: 3px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #647a4f; color: var(--accent); font: 12px var(--mono); }
.workflow strong { display: block; font-size: 16px; }
.workflow span { display: block; font-size: 14px; color: var(--muted); }
.panel-footer { border-top: 1px solid var(--line); padding: 18px 24px; margin: 0; font: 12px/1.8 var(--mono); }
.strip { border-block: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 20px; font: 12px/1.8 var(--mono); letter-spacing: 1px; color: var(--muted); }
.section { padding-block: 80px; }
h2 { font-size: clamp(32px, 3.5vw, 44px); font-weight: 500; letter-spacing: -1.6px; margin-bottom: 24px; }
.intro, .two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.intro p, .two-columns p { font-size: 16px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 28px; }
.cards article { border-top: 1px solid var(--line); padding-top: 22px; }
.number { color: var(--accent); font: 12px var(--mono); }
h3 { font-size: 21px; font-weight: 500; margin-block: 18px 14px; }
.cards p { font-size: 15px; margin: 0; }
.scope-note { border-left: 2px solid var(--accent); padding-left: 24px; margin-top: 40px; max-width: 960px; }
.scope-note h3 { font-size: 18px; }
.scope-note p { font-size: 15px; margin: 0; }
.report-section { background: #161f1c; border-block: 1px solid var(--line); }
.report { border: 1px solid var(--line); background: var(--bg); margin-top: 24px; }
.report-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 32px; border-bottom: 1px solid var(--line); }
.report-header .label { margin-bottom: 10px; }
.report-header h3 { margin: 0; font-size: 23px; }
.report-meta { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 28px; padding: 28px 32px; margin: 0; border-bottom: 1px solid var(--line); }
.report-meta dt { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.report-meta dd { font-size: 14px; color: var(--muted); margin: 0; }
.state { color: var(--accent); font: 12px/1.9 var(--mono); }
.state-gap { color: var(--warning); }
.scenario-picker { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; border: 0; margin: 0; padding: 28px 32px; }
.scenario-picker legend { float: left; width: 100%; padding: 0; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.scenario-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.scenario-picker > label { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; }
.scenario-picker > label:hover { border-color: var(--accent); }
.scenario-input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.scenario-input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 4px; }
.scenario-results { width: 100%; min-width: 0; padding-top: 20px; }
.scenario-result { display: none; }
#case-user:checked ~ .scenario-results .result-user,
#case-role:checked ~ .scenario-results .result-role,
#case-approved:checked ~ .scenario-results .result-approved,
#case-missing:checked ~ .scenario-results .result-missing { display: block; }
.scenario-result .label { margin-bottom: 12px; }
.scenario-result h4 { font-size: 26px; font-weight: 500; margin-bottom: 16px; }
.scenario-result > p { font-size: 15px; }
.test-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 20px; margin: 24px 0; border-block: 1px solid var(--line); }
.test-result dt { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.test-result dd { margin: 0; font-size: 18px; }
.test-result .state { font-family: inherit; line-height: inherit; }
.scenario-result .explanation { margin-bottom: 0; max-width: 900px; }
.report-outcome { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; border-top: 1px solid var(--line); background: var(--surface); padding: 28px 32px; }
.report-outcome .label { margin-bottom: 12px; }
.report-outcome p { font-size: 15px; margin: 0; }
.report-outcome .label { font-size: 12px; }
.report-caption { max-width: 960px; margin: 20px 0 0; font-size: 14px; }
.report-caption a { text-decoration: underline; text-underline-offset: 3px; }
.assessment-levels { margin: 0; }
.assessment-levels > div { border-top: 1px solid var(--line); padding-block: 20px; }
.assessment-levels dt { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.assessment-levels dd { color: var(--muted); font-size: 15px; margin: 0; }
.reasoning { background: #1d2823; border-block: 1px solid var(--line); }
.pilot-details { margin-top: 32px; }
.pilot-details details { border-block: 1px solid var(--line); padding-block: 16px; }
.pilot-details summary { font-size: 16px; cursor: pointer; padding-block: 6px; }
.pilot-details p { margin: 16px 0 0; font-size: 15px; max-width: 900px; }
.facts { display: flex; flex-wrap: wrap; gap: 20px 30px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 28px; }
.facts dt { font: 12px/1.7 var(--mono); color: var(--muted); }
.facts dd { margin: 7px 0 0; font-size: 14px; }
.contact { border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(36px, 5vw, 58px); }
.contact p { max-width: 640px; font-size: 16px; }
.email { display: block; width: fit-content; margin-top: 22px; padding-block: 6px; font-size: 22px; color: var(--accent); border-bottom: 1px solid #647a4f; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer a { color: var(--text); font: 13px/1.7 var(--mono); }
@media (max-width: 1000px) {
  .wrap { padding-inline: 28px; }
  .hero { gap: 32px; }
  .intro, .two-columns { gap: 40px; }
  .panel-body { padding: 22px; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 24px; }
  .header { min-height: 96px; flex-wrap: wrap; gap: 8px 24px; padding-block: 18px; }
  nav { gap: 4px 18px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 34px 54px; }
  h1 { font-size: clamp(40px, 8vw, 58px); letter-spacing: -2px; max-width: 640px; }
  .intro, .two-columns, .cards { grid-template-columns: 1fr; gap: 20px; }
  .intro h2 { margin-bottom: 0; }
  .section { padding-block: 52px; }
  .cards { gap: 28px; }
  .strip .wrap { justify-content: flex-start; }
  .report-header, .report-meta, .report-outcome { padding: 24px; }
  .report-meta, .report-outcome { grid-template-columns: 1fr; gap: 20px; }
  .scenario-picker { padding: 24px; }
  .test-result { gap: 20px; }
  .footer { justify-content: flex-start; }
}
@media (max-width: 420px) {
  .wrap { padding-inline: 20px; }
  nav { gap: 4px 16px; font-size: 13px; }
  .label { letter-spacing: 0.6px; }
  .test-result { grid-template-columns: 1fr; gap: 16px; }
  .report-header, .report-meta, .report-outcome { padding: 20px; }
  .scenario-picker { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
