:root {
  --slate: #2F3B44;
  --galvanized: #C9CED2; /* purely decorative borders only */
  --steel: #7D878F; /* control borders: inputs, tiles, secondary buttons (3.66:1 on white) */
  --white: #FFFFFF;
  --hivis: #F2C230;
  --brick: #A8432F; /* field errors only (Track B) */
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font: 1.0625rem/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--slate);
  background: var(--white);
}

.site-header { background: var(--slate); color: var(--white); padding: 0.75rem 1rem; }
.brand { margin: 0; font-weight: 700; }

main { max-width: 32rem; padding: 1.5rem 1rem 3rem; }
h1 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 0.5rem; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 1rem; }
.lede { margin: 0; }
#progress { font-weight: 600; margin: 1.5rem 0 0.5rem; }
a { color: var(--slate); text-underline-offset: 0.2em; }

fieldset { border: 0; margin: 0 0 1rem; padding: 0; }
legend, label { display: block; font-weight: 600; margin-bottom: 0.25rem; }

input:not([type="radio"]) {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1rem;
  font: inherit;
  color: inherit;
  border: 2px solid var(--steel);
  border-radius: 6px;
}

.tile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
  border: 2px solid var(--steel);
  border-radius: 6px;
  font-weight: 400;
  cursor: pointer;
}
.tile:has(:checked) { border-color: var(--slate); }
.tile input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--slate); }

.actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
button {
  min-height: 48px;
  padding: 0 1.25rem;
  font: inherit;
  font-weight: 600;
  color: var(--slate);
  background: var(--white);
  border: 2px solid var(--steel);
  border-radius: 6px;
  cursor: pointer;
}
.primary { flex: 1; background: var(--hivis); border-color: var(--hivis); }
button:disabled { opacity: 0.6; cursor: progress; }

.consent { font-size: 0.9375rem; margin: 0.5rem 0 0; }

:focus-visible { outline: 3px solid var(--slate); outline-offset: 2px; }

/* Honeypot: off-screen, not display:none, so naive bots still fill it. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
