:root {
  color-scheme: dark;
  --bg: #000;
  --text: #fff;
  --body: #aeb8cb;
  --accent: #879cc4;
  --line: rgba(255,255,255,.12);
  --surface: rgba(255,255,255,.035);
  font-family: -apple-system,BlinkMacSystemFont,'SF Pro Text',Inter,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh;
  background: radial-gradient(ellipse 65% 65% at 50% 30%,rgba(104,124,163,.19),transparent 80%),#000;
  font-size: 16px; line-height: 1.55;
}
button,input,textarea,select { font: inherit; }
button { cursor: pointer; border: 1px solid transparent; transition: background .15s; }
button:disabled { opacity: .35; cursor: default; }
button,a,input,select,textarea,summary { touch-action: manipulation; }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible { outline: 3px solid #b9cef3; outline-offset: 4px; }
button:hover:not(:disabled) { filter: brightness(1.15); }
.topbar {
  max-width: 1080px; margin: 24px auto 0; padding: 8px 12px 8px 24px;
  display: flex; align-items: center; gap: 24px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px;
  color: var(--body); background: rgba(0,0,0,.35);
}
.wordmark { color: #fff; font-weight: 600; margin-right: auto; }
.quiet { border-radius: 999px; background: rgba(255,255,255,.08); border-color: var(--line); color: #b7c4df; padding: 8px 18px; min-height: 44px; }
main { max-width: 790px; margin: 0 auto; padding: 40px 24px 12px; }
.intro { text-align: center; margin-bottom: 24px; }
.eyebrow { color: var(--accent); font-size: 10px; letter-spacing: 2px; font-weight: 600; margin: 0 0 14px; }
h1 { font-family: -apple-system,BlinkMacSystemFont,'SF Pro Display',Inter,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: clamp(35px,5vw,52px); letter-spacing: -1.8px; line-height: 1.08; margin: 0 0 16px; font-weight: 700; }
h1 span { color: var(--accent); }
.intro>p:last-child { font-size: 15px; color: var(--body); margin: 0; line-height: 1.7; }
.notice { text-align: center; color: #b7c4df; font-size: 12px; margin: 0 0 14px; }
.question-card { background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018)); border: 1px solid var(--line); border-radius: 22px; padding: 28px 32px; box-shadow: 0 28px 70px -40px #000; }
.progress-meta { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--body); margin-bottom: 9px; }
#phase { color: #dce5f7; }
progress { display: block; width: 100%; height: 3px; border: 0; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.08); accent-color: var(--accent); margin-bottom: 28px; }
progress::-webkit-progress-bar { background: rgba(255,255,255,.08); }
progress::-webkit-progress-value { background: var(--accent); }
progress::-moz-progress-bar { background: var(--accent); }
h2 { font-size: 25px; line-height: 1.25; letter-spacing: -.6px; margin: 0 0 10px; }
h2:focus { outline: none; }
.hint { font-size: 14px; color: var(--body); margin: 0 0 24px; }
.field { margin-bottom: 19px; }
.field label,legend { font-size: 13px; font-weight: 500; color: #d9dfec; display: block; margin-bottom: 8px; }
input:not([type=checkbox]):not([type=radio]),textarea,select { display: block; width: 100%; border: 1px solid rgba(255,255,255,.19); border-radius: 12px; padding: 13px 15px; background: rgba(0,0,0,.28); color: #fff; min-height: 50px; }
textarea { resize: vertical; min-height: 115px; }
input::placeholder,textarea::placeholder { color: #8993a8; opacity: 1; }
select option { background: #171b24; }
details { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 4px; }
summary { cursor: pointer; color: #b9c8e3; padding: 14px 0; font-size: 13px; min-height: 48px; }
details[open] summary { margin-bottom: 12px; }
.navigation { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.primary,.secondary { border-radius: 999px; min-height: 46px; padding: 10px 25px; font-size: 14px; font-weight: 500; }
.primary { background: #fff; color: #0a0a0a; margin-left: auto; }
.secondary { border-color: rgba(255,255,255,.17); background: rgba(255,255,255,.04); color: #fff; }
.text-button { background: transparent; color: #b9c8e3; border: 0; padding: 10px 4px; min-height: 44px; font-size: 13px; }
.security-note { text-align: center; font-size: 12px; color: #aab5c9; margin: 18px 0 24px; }
.draft-controls { font-size: 12px; text-align: center; color: #aab5c9; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 44px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.draft-controls p { margin: 0 auto; max-width: 440px; }
.draft-controls button { font-size: 12px; color: #aab5c9; }
footer { text-align: center; color: #8793a8; font-size: 11px; padding: 12px 20px 30px; }
.status,.warning { font-size: 13px; text-align: center; overflow-wrap: anywhere; }
.warning { background: #241b18; border: 1px solid #77574e; padding: 14px; border-radius: 12px; color: #f4d7ce; }
.skip-link { position: fixed; top: 8px; left: -9999px; z-index: 10; background: #fff; color: #000; padding: 10px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
fieldset { border: 0; padding: 0; margin: 0; }
.choice-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; display: flex!important; align-items: center; gap: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; min-height: 70px; margin: 0!important; cursor: pointer; background: var(--surface); }
.choice:has(input:checked) { border-color: var(--accent); background: rgba(135,156,196,.15); }
.choice input { accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; }
.choice:last-child:nth-child(odd) { grid-column: 1/-1; }
.safety { font-size: 13px; color: #cfdaee; border: 1px solid var(--line); padding: 14px; border-radius: 12px; margin-bottom: 20px; }
.exports { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.exports .primary { margin-left: 0; }
.review-section { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.review-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review-heading h3 { margin: 0; font-size: 17px; }
.review-section dl { margin: 0; }
.review-section dt { font-size: 12px; color: #aab5c9; margin-top: 17px; }
.review-section dd { white-space: pre-wrap; overflow-wrap: anywhere; margin: 3px 0 0; font-size: 14px; }
.empty { color: #8b98ae; }
.review-section details { margin: 12px 0; }
.review-section .text-button { text-align: left; }
.review-note { font-size: 13px; color: var(--body); }
[hidden] { display: none!important; }
@media(max-width:600px) {
  .topbar { margin: 12px 14px 0; padding-left: 16px; gap: 10px; }
  .topbar>span:nth-child(2) { display: none; }
  main { padding: 28px 16px 8px; }
  .intro { margin-bottom: 20px; }
  h1 { font-size: 36px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.3px; }
  .intro>p:last-child { font-size: 13px; }
  .question-card { padding: 23px 19px; border-radius: 22px; }
  h2 { font-size: 23px; }
  .navigation { gap: 8px; flex-wrap: wrap; }
  .navigation .primary,.navigation .secondary { padding: 10px 19px; }
  .navigation .text-button { order: 3; flex-basis: 100%; padding: 4px; min-height: 40px; }
  .choice-list { grid-template-columns: 1fr; }
  .choice:last-child:nth-child(odd) { grid-column: auto; }
  .notice { font-size: 11px; max-width: 300px; margin: 0 auto 14px; }
  .exports button { flex: 1 1 42%; padding: 10px; }
  .security-note { font-size: 11px; }
  .progress-meta { font-size: 11px; }
}
@media(prefers-reduced-motion:reduce) {
  * { scroll-behavior: auto!important; transition: none!important; }
}
@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .topbar,.intro,.notice,.progress-meta,progress,.navigation,.draft-controls,.security-note,.exports,footer,.skip-link,.status,.warning,.review-section button { display: none!important; }
  main { max-width: none; padding: 0; }
  .question-card { background: none; border: none; box-shadow: none; padding: 0; }
  .review-section { border-color: #aaa; }
  .review-section dt,.review-note,.hint,.empty { color: #444; }
  .review-section dd,h2,h3 { color: #000; }
  .review-section dt { break-after: avoid; }
  .review-section dd { break-inside: avoid; }
  .safety { color: #000; border-color: #aaa; }
  .review-section details { border: 0; }
  .review-section details summary { display: none; }
}
