@font-face { font-family: Roboto; src: url('/assets/roboto-regular.woff2') format('woff2'); font-weight: 400; font-display: swap }
@font-face { font-family: Roboto; src: url('/assets/roboto-bold.woff2') format('woff2'); font-weight: 700; font-display: swap }
:root {
  color-scheme: light;
  --ink: #303642;
  --muted: #515866;
  --orange: #ff4e0f;
  --purple: #7a0051;
  --blue: #438ab5;
  --line: #e4e6ec;
  --bg: #f5f6f8;
  --white: #fff;
}
* { box-sizing: border-box }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Roboto, Arial, sans-serif }
.shell { max-width: 1080px; margin-inline: auto; padding: 22px clamp(16px, 4vw, 38px) 36px }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; margin-bottom: 22px; border-bottom: 1px solid #d8dbe3 }
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 1rem; font-weight: 700; text-decoration: none }
.brand img { display: block; width: clamp(110px, 24vw, 142px); height: auto }
.brand-context { color: var(--muted); font-size: .88rem }
main {
  padding: clamp(22px, 5vw, 52px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 8px;
  box-shadow: 0 10px 28px #3036420b;
}
h1,h2,h3 { color: var(--ink); line-height: 1.15; margin: 0 0 14px }
h1 { max-width: 22ch; font-size: clamp(1.85rem, 4vw, 2.8rem); letter-spacing: -.035em }
h2 { font-size: 1.25rem }
h3 { font-size: 1.1rem }
p { margin: 0 0 16px }
a { color: var(--purple) }
footer,.subtle,.helper { color: var(--muted); font-size: .88rem }
footer { padding-top: 18px }
footer a { margin-left: 12px }
.kicker { color: var(--purple); font-size: .77rem; font-weight: 700; text-transform: uppercase; letter-spacing: .075em }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap }
.track { display: block; width: 100%; height: .4rem; accent-color: var(--orange); margin: 14px 0 26px }
.clock { padding: 4px 10px; border-radius: 4px; background: var(--bg); font-size: .89rem; font-variant-numeric: tabular-nums; font-weight: 700 }
.clock.low,.error { color: #9b291b }
.intro-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .54fr); gap: clamp(20px, 4vw, 52px); align-items: start; margin-bottom: 26px }
.intro-copy h1 { margin-block: 9px 20px }
.intro-copy p:last-child,.intro-aside p:last-child { margin-bottom: 0 }
.intro-aside { padding: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: 4px }
.intro-aside dl { margin: 0 0 12px }
.intro-aside dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; border-bottom: 1px solid var(--line); padding-block: 7px }
.intro-aside dd { margin: 0; font-weight: 700 }
.intro-aside p { font-size: .9rem; color: var(--muted) }
fieldset { padding: 0; border: 0; margin: 0 0 22px; min-width: 0 }
legend { font-weight: 700; margin-bottom: 8px }
.options { display: grid; gap: 9px }
.options label,.check { display: flex; gap: 11px; align-items: flex-start; min-height: 47px; border: 1px solid #cbd0d9; border-radius: 4px; padding: 11px 14px; cursor: pointer }
.options label:hover { background: var(--bg) }
.options label:has(input:checked) { border-color: var(--blue); background: var(--bg); box-shadow: inset 0 0 0 1px var(--blue) }
.options label:has(input:disabled) { color: var(--muted); background: var(--bg); cursor: default }
input[type=radio],input[type=checkbox] { margin: .33em 0 0; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--blue) }
.confidence { display: flex; gap: 8px; flex-wrap: wrap }
input[type=text],select,textarea { width: 100%; border: 1px solid #8d95a3; border-radius: 4px; padding: 10px 12px; background: var(--white); color: var(--ink); font: inherit }
input[type=text] { max-width: 380px; margin-top: 5px }
textarea { min-height: 120px }
.matrix { display: grid; gap: 8px; margin-bottom: 22px }
.matrix label { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); padding: 5px 0 9px }
button,.button { border: 0; border-radius: 4px; padding: 11px 20px; min-height: 44px; background: var(--ink); color: var(--white); font: inherit; font-weight: 700; cursor: pointer; display: inline-block; text-decoration: none }
button:hover,.button:hover { background: var(--ink) }
button[type=submit]:hover { background: var(--ink) }
button.secondary,.button.secondary { background: var(--white); color: var(--ink); border: 1px solid #8d95a3 }
button:disabled { opacity: .55; cursor: default }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px }
h1[tabindex="-1"]:focus { outline: none }
.notice { border-left: 3px solid var(--blue); background: var(--bg); padding: 13px 16px; margin: 15px 0 20px }
.error:empty { display: none }
.report { display: grid; gap: 17px }
.report article { border: 1px solid var(--line); border-radius: 4px; padding: 18px }
.report ul { margin: 0; padding-left: 22px }
.report li+li { margin-top: 8px }
details>summary { cursor: pointer; font-weight: 700 }
details[open]>summary { margin-bottom: 10px }
[hidden] { display: none !important }
@media(max-width:680px) {
  .shell { padding: 12px 14px 28px }
  header { min-height: 57px; margin-bottom: 15px }
  .intro-layout,.matrix label { grid-template-columns: 1fr }
  .matrix label { gap: 5px }
}

/* Assessment presentation: neutral base; orange activation; restrained purple accents. */
body { background: var(--bg) }
.shell { max-width: 1190px; padding-top: 28px }
header { min-height: 74px; margin-bottom: 28px; border: 0 }
.brand-context { padding-left: 20px; border-left: 1px solid #d0d2d8; color: #515866 }
main {
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 18px;
  box-shadow: 0 18px 55px #3036420c;
}
main:has(#start) { padding: 0; overflow: hidden }
.intro-layout { grid-template-columns: minmax(0, 1.42fr) minmax(310px, 1fr); gap: 0; margin: 0; align-items: stretch }
.intro-copy { padding: clamp(30px, 4.5vw, 58px) }
.intro-copy .kicker { margin-bottom: 26px; display: flex; align-items: center; gap: 10px }
.intro-copy .kicker::before { content: ""; width: 25px; height: 3px; background: var(--orange) }
.intro-copy h1 { max-width: none; margin: 0 0 24px; font-size: clamp(2rem, 3.5vw, 2.9rem); line-height: 1.12; letter-spacing: -.04em }
.intro-copy h1 span { display: block; color: var(--ink); margin-top: 7px }
.intro-lead { max-width: 32ch; font-size: 1.23rem; line-height: 1.5; margin-bottom: 12px }
.intro-description { color: var(--muted); max-width: 47ch; margin-bottom: 30px; font-size: .96rem }
#start { padding-top: 24px; border-top: 1px solid var(--line) }
#start label { font-size: .88rem; font-weight: 700 }
#start fieldset { margin-bottom: 16px }
#start input { display: block; max-width: none; min-height: 50px; border: 1px solid #8d95a3; background: var(--white); margin-top: 8px }
#start button { display: flex; justify-content: space-between; align-items: center; gap: 32px; width: 100%; background: var(--orange); border-radius: 4px; min-height: 52px }
#start button:hover { background: var(--ink) }
#start button span { font-size: 1.35rem; font-weight: 400 }
#start .helper { margin: 14px 0 0 }
.intro-aside { background: var(--bg); color: var(--ink); border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: clamp(28px, 4vw, 46px); position: relative }
.intro-aside::before { content: ""; position: absolute; height: 5px; top: 0; left: 0; right: 0; background: var(--orange) }
.duration { padding-bottom: 24px; margin-bottom: 25px; border-bottom: 1px solid var(--line); display: grid; gap: 0; font-size: .85rem; color: var(--muted) }
.duration strong { display: block; color: var(--ink); font-size: 3.5rem; line-height: 1.25; letter-spacing: -.055em }
.duration small { font-size: 1.05rem; font-weight: 400; letter-spacing: 0; margin-left: 6px }
.intro-aside h2 { color: var(--ink); font-size: 1.15rem; margin-bottom: 20px }
.scan-sections { padding: 0; margin: 0; list-style: none }
.scan-sections li { padding-left: 21px; position: relative; margin-bottom: 21px }
.scan-sections li::before { content: ""; position: absolute; width: 6px; height: 6px; background: var(--orange); top: 10px; left: 0; border-radius: 50% }
.scan-sections strong { color: var(--ink); font-size: .98rem }
.intro-aside .scan-sections p { color: var(--muted); font-size: .89rem; line-height: 1.5; margin: 4px 0 0 }
.intro-aside .timing { color: var(--muted); font-size: .8rem; line-height: 1.55; border-top: 1px solid var(--line); padding-top: 20px; margin: 8px 0 0 }
main:has(.track) { max-width: 960px; margin-inline: auto; border-top: 5px solid var(--orange); padding: clamp(24px, 4vw, 48px) }
main:has(.track) h1 { font-size: clamp(1.7rem, 3vw, 2.25rem); max-width: 34ch; margin-bottom: 17px }
main:has(.track) h1 + p { line-height: 1.7; margin-bottom: 26px }
.clock { background: var(--bg); border-radius: 20px; padding: 7px 12px; color: var(--ink); font-size: .8rem }
.track { height: 5px; appearance: none; border: 0; border-radius: 5px; overflow: hidden; margin-block: 19px 30px }
.track::-webkit-progress-bar { background: var(--line) }
.track::-webkit-progress-value { background: var(--orange); border-radius: 5px }
.track::-moz-progress-bar { background: var(--orange) }
.options { gap: 11px; counter-reset: answer }
.options label { padding: 15px 17px; border-color: #cbd0d9; border-radius: 9px; line-height: 1.55; transition: background .15s, border-color .15s }
.options:not(.confidence) label:has(input[type=radio]) { counter-increment: answer }
.options:not(.confidence) label:has(input[type=radio])::before { content: counter(answer, upper-alpha); width: 27px; height: 27px; flex-shrink: 0; background: var(--line); border-radius: 6px; color: var(--muted); font-size: .78rem; font-weight: 700; display: grid; place-items: center }
.options:not(.confidence) input[type=radio] { width: 1px; height: 1px; margin: 0; opacity: 0; position: absolute }
.options label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px }
.options label:has(input:checked)::before { color: #fff; background: var(--ink) }
.options label:has(input:checked) { border-color: var(--blue); background: var(--bg); box-shadow: inset 0 0 0 1px var(--blue) }
.options label:hover { background: var(--bg); border-color: #8d95a3 }
.confidence { gap: 9px }
.confidence label { padding: 9px 13px; border-radius: 24px; min-height: 42px; font-size: .9rem }
main:has(.track) form > .row { padding-top: 20px; border-top: 1px solid var(--line); justify-content: flex-start }
button[type=submit] { background: var(--orange); border-radius: 4px; min-width: 155px }
button.secondary { font-size: .88rem; border-color: #cbd0d9; color: var(--muted); border-radius: 4px }
.matrix { gap: 0 }
.matrix label { padding: 14px 0 }
.matrix label:first-child { border-top: 1px solid var(--line) }
footer { margin-top: 4px; font-size: .8rem }
@media(max-width:760px) {
  .intro-layout { grid-template-columns: 1fr }
  .intro-copy { padding: 30px 26px }
  .intro-aside { padding: 30px 26px }
  .intro-copy h1 { font-size: 2.2rem }
  .intro-aside .duration { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 22px }
  .duration strong { font-size: 2.3rem }
  .duration small { font-size: .95rem }
  .scan-sections li { margin-bottom: 16px }
}
@media(prefers-reduced-motion: reduce) {
  .options label { transition: none }
}
