:root { color-scheme: dark; --background: #1c1c1c; --text: #f2f0eb; --muted: #b9b7b2; --line: #676767; --selected: #30372e; }
* { box-sizing: border-box; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 20; padding: 12px 16px; background: var(--text); color: var(--background); border-radius: 3px; }
.skip-link:focus { top: 12px; outline: 2px solid var(--text); outline-offset: 4px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--background); color: var(--text); font-family: "Ysabeau", system-ui, sans-serif; font-size: 18px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.wrap { width: min(680px, calc(100% - 80px)); margin-inline: auto; }
header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.brand { font-size: 23px; font-weight: 700; letter-spacing: .025em; text-decoration: none; }
.back-home { color: var(--muted); font-size: 16px; text-decoration: none; }
.back-home:hover { text-decoration: underline; }
.intro { padding-block: 48px 24px; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
h1 { margin: 0; font-size: clamp(32px, 4.5vw, 46px); font-weight: 400; letter-spacing: -.035em; line-height: 1.15; }
h1:focus { outline: none; }
.intro > p:last-child { color: var(--muted); max-width: 550px; line-height: 1.6; margin: 16px 0 0; }
.progress { margin: 0 0 24px; display: flex; align-items: center; gap: 20px; }
progress { flex: 1; height: 3px; border: 0; background: #424242; appearance: none; }
progress::-webkit-progress-bar { background: #424242; }
progress::-webkit-progress-value { background: var(--text); }
progress::-moz-progress-bar { background: var(--text); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.project-choices .choice { align-items: center; min-height: 64px; }
details { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 24px; }
summary { cursor: pointer; padding-block: 8px; font-size: 17px; }
details[open] summary { margin-bottom: 16px; }
.platform { margin: 24px 0 0; }
fieldset { padding: 0; border: 0; margin: 0 0 30px; min-width: 0; }
legend { margin-bottom: 14px; padding: 0; font-size: 21px; font-weight: 500; }
.optional, .required { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 8px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 4px; padding: 18px; cursor: pointer; min-width: 0; }
.choice:hover { border-color: var(--text); }
.choice:has(input:checked) { background: var(--selected); border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.choice:has(input:focus-visible) { outline: 2px solid var(--text); outline-offset: 3px; }
.choice input { width: 18px; height: 18px; flex-shrink: 0; margin: 4px 0 0; accent-color: #d7e3ce; }
.choice strong { display: block; font-size: 19px; font-weight: 500; }
.compact .choice { padding: 14px 16px; }
.compact .choice strong { font-size: 17px; }
.field { display: block; margin: 0 0 28px; }
.field > input, .field > textarea, .field > select { display: block; width: 100%; min-width: 0; margin-top: 10px; border: 1px solid #747474; border-radius: 4px; color: var(--text); background: #242424; padding: 13px 14px; min-height: 48px; }
.dropdown { position: relative; margin-top: 10px; }
.dropdown-trigger { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 48px; border: 1px solid #747474; border-radius: 4px; background: #242424; color: var(--text); padding: 13px 14px; text-align: left; }
.dropdown-trigger[aria-expanded="true"] { border-color: var(--text); }
.dropdown-trigger:disabled { opacity: .5; cursor: default; }
.dropdown-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 5; max-height: 260px; overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid var(--line); border-radius: 4px; background: #242424; box-shadow: 0 12px 24px #0006; }
.dropdown-option { display: block; width: 100%; border: 0; border-radius: 2px; padding: 11px 12px; background: transparent; color: var(--text); text-align: left; font-size: 17px; line-height: 1.4; }
.dropdown-option:hover, .dropdown-option.active { background: #383838; }
.dropdown-option[aria-selected="true"] { color: #d7e3ce; }
.dropdown-page-space { height: 0; pointer-events: none; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #aaa8a3; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.budget-field { margin-bottom: 32px; }
.budget-field > label:first-child { display: block; margin-bottom: 12px; font-size: 21px; font-weight: 500; }
#budget-slider { display: block; width: 100%; height: 44px; margin: 0; padding: 0; cursor: pointer; background: transparent; appearance: none; }
#budget-slider::-webkit-slider-runnable-track { height: 4px; background: var(--line); border-radius: 2px; }
#budget-slider::-moz-range-track { height: 4px; background: var(--line); border-radius: 2px; }
#budget-slider::-webkit-slider-thumb { appearance: none; width: 24px; height: 24px; margin-top: -10px; border: 2px solid var(--background); border-radius: 50%; background: var(--text); box-shadow: 0 0 0 1px var(--text); }
#budget-slider::-moz-range-thumb { width: 22px; height: 22px; border: 2px solid var(--background); border-radius: 50%; background: var(--text); box-shadow: 0 0 0 1px var(--text); }
#budget-slider:disabled { opacity: .35; cursor: default; }
.slider-limits { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.budget-selection { margin-block: 18px; }
#budget-value { display: block; font-size: 34px; line-height: 1.2; font-weight: 500; letter-spacing: -.025em; }
#budget-scope { color: var(--muted); margin: 8px 0 0; line-height: 1.5; font-size: 17px; }
.budget-help { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 16px; cursor: pointer; }
.budget-help input { width: 18px; height: 18px; margin: 0; accent-color: #d7e3ce; }
.hint, .notice { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 18px; }
.step-actions { display: flex; gap: 20px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; }
#next { margin-left: auto; }
#step-status { color: var(--muted); font-size: 15px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--text); text-decoration: none; font-size: 17px; }
.button:hover { border-color: var(--text); }
.primary { background: var(--text); color: var(--background); border-color: var(--text); }
.primary:hover { background: #d9d7d2; }
.button:disabled { opacity: .5; cursor: default; }
.brief-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#brief-status { line-height: 1.6; }
.send-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-block: 24px; }
#brief-review { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 17px; line-height: 1.75; padding: 24px; border: 1px solid var(--line); border-radius: 4px; background: #242424; }
.error { color: #ffb9ad; font-size: 16px; }
.error:empty { display: none; }
footer { margin-top: 40px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media(max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .intro { padding-block: 32px 20px; }
  .progress { gap: 12px; margin-bottom: 28px; }
  .choices, .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .choice { padding: 16px; }
  .step-actions { gap: 12px; }
  .button { padding-inline: 16px; }
  #brief-review { padding: 16px; }
  footer { line-height: 1.7; }
}
