:root {
  color-scheme: light;
  --navy: #133a6b;
  --petrol: #11698a;
  --orange: #cc4706;
  --sand: #f3ebdd;
  --cream: #fbfaf7;
  --ink: #172b45;
  --muted: #4a566b;
  --line: #e2d9c8;
  --heading: Poppins, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.55 Jost, system-ui, sans-serif; }
h1, h2, legend, .brand { color: var(--navy); font-family: var(--heading); line-height: 1.2; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); letter-spacing: -.05em; }
h2 { font-size: clamp(1.45rem, 4vw, 2rem); letter-spacing: -.025em; }
a { color: var(--navy); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }
.wrap { width: min(100% - 2rem, 59rem); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; text-decoration: none; }
.brand img { object-fit: contain; }
.header-note { color: var(--muted); font-size: .9rem; }
.hero { background: var(--sand); padding: clamp(2rem, 5vw, 3.75rem) 0; border-bottom: 1px solid var(--line); }
.hero .wrap { background: url('bird.webp') no-repeat right center / min(26%, 12rem) auto; padding-right: min(30%, 14rem); }
.hero h1 span { color: var(--orange); }
.hero p:last-child { max-width: 48ch; color: var(--muted); margin-top: .65rem; }
.eyebrow { color: var(--petrol); text-transform: uppercase; letter-spacing: .13em; font-weight: 700; font-size: .78rem; margin-bottom: .55rem; }
.questionnaire { padding: 1.5rem 0 2rem; }
.progress-row { display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; color: var(--muted); font-size: .9rem; margin: 0 0 1rem; }
progress { width: 100%; grid-column: 1 / -1; height: .5rem; accent-color: var(--petrol); }
.panel { border: 1px solid var(--line); border-radius: 24px; background: #fff; padding: clamp(1rem, 4vw, 2.4rem); box-shadow: 0 12px 28px -16px #0d2a4f48; }
.panel > p:not(.eyebrow) { margin-top: .65rem; }
.help, .save-status, small { color: var(--muted); }
.choices, .groups { display: grid; gap: .5rem; }
.panel > .choices, .groups, .email { margin-top: 1.15rem; }
.groups { gap: 1rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 700; margin-bottom: .5rem; padding: 0; }
.choice { display: flex; align-items: flex-start; gap: .65rem; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.choice:hover, .choice:focus-within { border-color: var(--petrol); }
.choice:has(input:checked) { background: #e2f1f6; border-color: #8fbac9; }
.choice:has(input:disabled) { background: var(--cream); color: var(--muted); cursor: default; }
.choice small { display: block; font-size: .9rem; }
input, select, button { font: inherit; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--petrol); margin: .28rem 0 0; width: 1.05rem; height: 1.05rem; flex: none; }
input[type="number"], input[type="email"], select { border: 1px solid #8e9aab; border-radius: 8px; background: #fff; color: var(--ink); padding: .4rem .6rem; min-height: 2.5rem; }
.points, .kpi { align-items: center; justify-content: space-between; }
.points input { width: 5rem; }
.kpi select { width: min(100%, 15rem); }
.kpi-perspective { margin-top: 1.15rem; }
.kpi-perspective + .choices fieldset + fieldset { margin-top: .75rem; }
.email { display: grid; gap: .35rem; max-width: 28rem; }
.counter { color: var(--navy); font-weight: 700; margin-top: .4rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.actions button { min-height: 46px; padding: .55rem 1.25rem; border: 1px solid transparent; border-radius: 999px; font-weight: 700; cursor: pointer; }
.actions .primary { background: var(--orange); color: #fff; }
.actions .primary:hover { background: #b23d08; }
.actions .secondary { background: #fff; color: var(--navy); border-color: #a2afbd; }
.actions .secondary:hover { background: var(--cream); }
.save-status { font-size: .88rem; }
.error { padding: .55rem .8rem; border-radius: 8px; background: #fff0e8; color: #8c2f09; }
footer { padding-bottom: 1.5rem; color: var(--muted); font-size: .9rem; }
@media (min-width: 36rem) { .groups { grid-template-columns: 1fr 1fr; } }
@media (min-width: 52rem) { .goals { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 32rem) { .kpi { display: grid; justify-content: stretch; } .header-note { display: none; } }
