:root { --page: #f7f5f0; --surface: #fffefa; --ink: #17212b; --muted: #64707c; --line: #d8d5cd; --hover: #ece9e0; --blue: #174a75; --blue-soft: #e6f0f7; --amber: #8a5a00; --amber-soft: #fff3d9; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.masthead { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 5vw; border-bottom: 1px solid var(--line); }
.wordmark { color: inherit; font-weight: 700; letter-spacing: -.025em; text-decoration: none; }
.stage-label, .eyebrow, .progress-row { color: var(--muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.layout { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 700px); gap: 64px; max-width: 1100px; margin: 0 auto; padding: 64px 5vw 96px; }
.step-nav { padding-top: 8px; } .step-nav ol { margin: 16px 0 0; padding: 0; list-style: none; }
.step-nav button { width: 100%; display: flex; gap: 12px; align-items: center; padding: 10px 8px; color: var(--muted); text-align: left; background: transparent; border: 0; border-radius: 4px; cursor: pointer; }
.step-nav button:hover { background: var(--hover); color: var(--ink); }.step-nav button[aria-current="step"] { background: var(--blue-soft); color: var(--blue); font-weight: 650; }.step-nav button.is-complete::before { color: var(--blue); content: "✓"; }.step-nav button:not(.is-complete)::before { content: attr(data-number); color: var(--muted); font-variant-numeric: tabular-nums; }
.work-pane { min-width: 0; }.work-pane h1 { max-width: 650px; margin: 8px 0 12px; font-size: clamp(1.85rem, 4vw, 2.65rem); letter-spacing: -.045em; line-height: 1.06; }.intro { max-width: 620px; margin: 0 0 24px; color: var(--muted); }.privacy-note { margin: 0 0 32px; padding: 12px 14px; background: var(--amber-soft); color: #6b490c; border-left: 3px solid var(--amber); font-size: .92rem; }
.progress-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }.progress-track { flex: 1; min-width: 0; height: 3px; overflow: hidden; background: var(--line); }.progress-track span { display: block; height: 100%; background: var(--blue); transition: width .18s ease; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }legend { max-width: 600px; margin-bottom: 8px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }label { display: block; margin-top: 20px; font-size: .9rem; font-weight: 650; }input, textarea { width: 100%; margin-top: 7px; padding: 12px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; font: inherit; }textarea { min-height: 104px; resize: vertical; }input:focus, textarea:focus, button:focus-visible { outline: 3px solid #8db5d1; outline-offset: 2px; border-color: var(--blue); }.validation-message { min-height: 24px; margin: 12px 0 0; color: #9a2424; font-size: .9rem; }.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }button { min-height: 42px; padding: 0 16px; color: white; background: var(--blue); border: 1px solid var(--blue); border-radius: 4px; font: inherit; font-weight: 650; cursor: pointer; }button:hover { background: #103c61; }button:disabled { opacity: .45; cursor: not-allowed; }.secondary, .text-button { color: var(--ink); background: transparent; border-color: var(--line); }.secondary:hover, .text-button:hover { background: var(--hover); }.text-button { margin-top: 24px; min-height: auto; padding: 5px 0; border: 0; color: var(--muted); font-size: .9rem; }.decision-panel { margin-top: 28px; padding: 20px; background: var(--blue-soft); border-left: 3px solid var(--blue); }.decision-panel h2 { margin: 0 0 8px; font-size: 1.15rem; }.decision-panel p { margin: 0; }.standardize-note { margin-top: 16px !important; color: var(--muted); font-size: .9rem; }.decision-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }.decision-actions button { min-height: 38px; }.decision-actions button.is-selected { color: white; background: var(--blue); border-color: var(--blue); }.decision-result { margin-top: 16px !important; color: var(--ink); font-weight: 650; }
@media (max-width: 760px) { body { overflow-x: clip; }.masthead { padding: 0 20px; }.stage-label { display: none; }.layout { width: 100%; max-width: 100%; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 24px 20px 64px; }.step-nav { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; padding-bottom: 4px; }.step-nav .eyebrow { margin: 0 0 8px; }.step-nav ol { display: flex; width: 100%; max-width: 100%; margin: 0; overflow-x: auto; }.step-nav li { flex: 0 0 auto; }.step-nav button { width: auto; white-space: nowrap; }.work-pane { width: 100%; max-width: 100%; }.work-pane h1 { font-size: 1.75rem; }.work-pane h1, .intro, .privacy-note, legend, label, #answerHint { overflow-wrap: anywhere; }.intro { margin-bottom: 16px; }.privacy-note { margin-bottom: 16px; }.progress-row { margin-bottom: 16px; }label { margin-top: 12px; }textarea { min-height: 72px; }.actions { flex-wrap: wrap; }.actions button { flex: 1 1 calc(50% - 6px); min-width: 0; } }
