* { box-sizing: border-box; }
:root { color-scheme: light; --ink: #112b27; --muted: #49615b; --mint: #d4f3df; --green: #206448; --paper: #f4f6f1; --line: #dce6df; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 system-ui, sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: var(--green); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #268466; outline-offset: 4px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.page, .header-content { width: min(1060px, calc(100% - 36px)); margin-inline: auto; }
.header-content { display: flex; justify-content: space-between; align-items: center; min-height: 72px; gap: 12px; }
.brand { background: none; border: 0; color: inherit; font-weight: 800; padding: 0; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 5px; border-radius: 9px; background: var(--ink); color: #b9f3ce; }
.brand-secondary { font-weight: 500; }
.region, .eyebrow { font-weight: 750; font-size: .875rem; }
.region { white-space: nowrap; color: var(--green); }
main { padding-block: clamp(24px, 6vw, 64px) 24px; }
h1, h2, h3, p { margin: 0; }
h1 { line-height: 1.08; letter-spacing: -.045em; font-size: clamp(2rem, 5vw, 4.4rem); }
h2 { line-height: 1.2; }
.hero { display: grid; grid-template-columns: 1.65fr 1fr; overflow: hidden; border-radius: 26px; background: #0d2824; color: #fff; min-height: 380px; }
.hero-content { padding: clamp(26px, 6vw, 66px); z-index: 1; }
.hero .eyebrow { color: #a4edbf; margin-bottom: 18px; }
.hero p { color: #d2e6dc; margin: 18px 0 26px; max-width: 42ch; }
.art { position: relative; overflow: hidden; min-height: 190px; background: radial-gradient(ellipse at center, #24745b, #0d2824 77%); }
.road { width: 114px; height: 140%; position: absolute; top: -18%; left: 42%; transform: rotate(32deg); background: #173b34; border-inline: 3px solid #6ea493; }
.road::before { content: ''; position: absolute; inset: 0 auto 0 50%; border-left: 4px dashed #b8e5cd; }
.sign { display: grid; place-items: center; color: #fff; font-weight: 850; width: 84px; aspect-ratio: 1; flex: none; }
.stop { background: #be352d; clip-path: polygon(29% 0,71% 0,100% 29%,100% 71%,71% 100%,29% 100%,0 71%,0 29%); }
.yield { background: #be352d; clip-path: polygon(0 10%,100% 10%,50% 93%); }
.yield::after { content: ''; background: #fff; width: 68%; height: 58%; clip-path: polygon(0 6%,100% 6%,50% 98%); }
.art .sign { position: absolute; top: 19%; left: 16%; transform: rotate(-12deg); }
.art .yield { top: 63%; left: auto; right: 12%; transform: rotate(11deg); }
.button { display: inline-flex; justify-content: center; align-items: center; text-align: center; padding: 12px 19px; min-height: 46px; border: 1px solid transparent; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 750; }
.button:hover:not(:disabled) { filter: brightness(1.15); }
.button:disabled { opacity: .5; cursor: default; }
.button.mint { background: #a8edc0; color: var(--ink); }
.button.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.features, .scores { display: grid; gap: 14px; margin-top: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature, .panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.feature p, .muted { color: var(--muted); }
.feature h2 { font-size: 1.15rem; margin-bottom: 5px; }
.footer { padding: 18px 0 28px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .875rem; }
.flow { max-width: 760px; margin-inline: auto; }
.flow h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
.panel { padding: clamp(17px, 4vw, 34px); }
.meta, .actions { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px; }
.meta, .eyebrow { color: var(--green); }
progress { width: 100%; height: 10px; accent-color: var(--green); display: block; margin: 12px 0 22px; }
fieldset { padding: 0; margin: 20px 0 24px; border: 0; min-width: 0; display: grid; gap: 9px; }
fieldset legend { margin-bottom: 8px; }
.choice { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); padding: 12px 14px; border-radius: 10px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--green); background: var(--mint); }
.choice input { accent-color: var(--green); width: 18px; height: 18px; flex: none; margin: 0; }
.question-sign { margin-top: 17px; }
.results > * + * { margin-top: 18px; }
.scores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.score { background: var(--paper); border-radius: 12px; padding: 16px; }
.score strong { font-size: 1.75rem; display: block; }
.themes { padding-left: 24px; margin-bottom: 0; }
details { border-top: 1px solid var(--line); padding: 14px 0 0; }
summary { cursor: pointer; font-weight: 750; }
.correction { margin-top: 12px; display: grid; gap: 5px; }
.history { margin-top: 16px; }
@media (max-width: 650px) {
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 18px; }
  .art { min-height: 156px; }
  .art .sign { width: 60px; }
  .art .yield { top: 52%; }
  .features { grid-template-columns: 1fr; gap: 10px; }
  .brand-secondary { display: none; }
}
@media (max-width: 370px) { .scores { grid-template-columns: 1fr; } }