:root {
  --ink: #302a26;
  --muted: #6b6259;
  --paper: #fbfaf7;
  --white: #fffefa;
  --line: #ded5c8;
  --gold: #8a7150;
  --soft: #f0e9df;
  --serif: Baskerville, Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); }
header, footer { padding: 18px max(5vw, 18px); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header { background: var(--white); border-bottom: 1px solid var(--line); }
.brand { color: inherit; text-decoration: none; font: clamp(20px, 5.3vw, 32px)/1.1 var(--serif); letter-spacing: -.04em; }
.brand:hover { text-decoration: underline; text-underline-offset: 4px; }
.section { color: var(--gold); font-size: 11px; letter-spacing: .16em; }
main { width: min(100%, 900px); margin-inline: auto; padding: 30px clamp(18px, 4vw, 32px) 44px; flex: 1; }
.steps { display: flex; gap: 5px; max-width: 90px; }
.steps span { height: 2px; background: var(--line); flex: 1; }
.steps span:first-child, .steps[aria-valuenow="2"] span { background: var(--gold); }
h1 { margin: 22px 0 25px; font: clamp(37px, 7vw, 64px)/1.04 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
#options { display: grid; gap: 8px; }
label { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 12px; padding: 13px 15px; background: var(--white); border: 1px solid var(--line); cursor: pointer; }
label:hover { border-color: var(--gold); }
label:has(:checked) { background: var(--soft); border-color: var(--gold); }
label input { width: 17px; height: 17px; margin: 4px 0 0; accent-color: #785e3c; }
.option-title { display: block; font: 21px/1.17 var(--serif); }
.hint, .example { color: var(--muted); font-size: 14px; }
.example { display: block; margin-top: 5px; }
.selected { font: clamp(24px, 4vw, 36px)/1.2 var(--serif); margin: 0 0 12px; }
.actions { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: space-between; gap: 10px; margin-top: 24px; }
#next { margin-left: auto; }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 16px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--white); font: 500 13px/1.4 var(--sans); letter-spacing: .04em; cursor: pointer; text-decoration: none; }
button:disabled { opacity: .48; cursor: default; }
.secondary { background: transparent; color: var(--ink); border-color: var(--gold); }
:focus-visible { outline: 2px solid #785e3c; outline-offset: 3px; }
#status:empty { display: none; }
#status { color: #854737; }
footer { border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 680px) { #options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } label { padding: 16px; } }
