:root {
    color-scheme: light;
    --ink: #172b3a;
    --muted: #516575;
    --accent: #075e65;
    --accent-light: #e5f3ef;
    --line: #cbd8dc;
    --error: #a4262c;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: #f4f6f4;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input, select { font: inherit; }
a { color: var(--accent); text-underline-offset: .2em; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #bd6600; outline-offset: 4px; }
.site-header { max-width: 980px; margin: auto; padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .8rem; font-size: .85rem; font-weight: 650; letter-spacing: .02em; }
/* Frame the 600 x 146 logo inside the supplied 800 x 600 PNG's transparent padding. */
.brand-logo { position: relative; display: block; width: 136px; aspect-ratio: 300 / 73; overflow: hidden; flex-shrink: 0; }
.brand-logo img { position: absolute; width: 133.333333%; height: auto; max-width: none; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.languages { display: flex; align-items: center; margin-left: auto; flex-shrink: 0; }
.languages a { min-width: 44px; min-height: 44px; display: grid; place-items: center; font-size: .9rem; text-decoration: none; border-radius: .4rem; }
.languages a[aria-current="true"] { font-weight: 750; background: var(--accent-light); text-decoration: underline; }
.page { max-width: 760px; margin: 2rem auto; padding: 0 1.25rem; }
.card { background: #fff; border: 1px solid #dbe3e2; border-radius: 1rem; padding: 1.7rem; margin-bottom: 1rem; }
h1, h2, legend { line-height: 1.3; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.6rem, 5vw, 2.35rem); letter-spacing: -.025em; margin: .4rem 0 1rem; font-weight: 750; }
h2 { font-size: 1.2rem; margin-top: 0; }
p { margin: .7rem 0; }
.eyebrow { color: var(--accent); font-size: .85rem; font-weight: 700; margin-top: 0; }
.lead { font-size: 1.08rem; color: var(--muted); }
.intro { padding-top: 2rem; }
.intro button { margin-top: 1rem; }
button { min-height: 48px; padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: .6rem; font-weight: 650; cursor: pointer; }
.primary { color: white; background: var(--accent); }
.primary:hover:not(:disabled) { background: #064a50; }
.secondary { color: var(--ink); background: #fff; border-color: var(--line); }
button:disabled { opacity: .48; cursor: default; }
.muted, .privacy p, .research p { color: var(--muted); font-size: .9rem; }
summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 650; }
summary::before { content: "+"; margin-right: .7rem; }
details[open] summary::before { content: "−"; }
.site-footer { max-width: 760px; margin: 2rem auto; padding: 0 1.25rem 1rem; font-size: .8rem; color: var(--muted); }
.survey-heading { margin-bottom: 1.4rem; }
.survey-heading h1 { font-size: 1.7rem; margin: .25rem 0 .8rem; }
progress { width: 100%; height: 7px; border: 0; border-radius: 6px; background: #d9e3df; color: var(--accent); display: block; }
progress::-webkit-progress-bar { background: #d9e3df; border-radius: 6px; }
progress::-webkit-progress-value { background: var(--accent); border-radius: 6px; }
progress::-moz-progress-bar { background: var(--accent); border-radius: 6px; }
.question { margin: 0; padding: 0; min-width: 0; border: 0; }
.question + .question { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid #e2e8e6; }
legend { font-size: 1.03rem; font-weight: 650; padding: 0; margin-bottom: .85rem; width: 100%; }
.number { color: var(--accent); }
.choices { display: grid; gap: .55rem; }
.choice { display: flex; align-items: center; gap: .7rem; border: 1px solid var(--line); border-radius: .55rem; padding: .7rem .85rem; min-height: 48px; cursor: pointer; font-size: .95rem; }
.choice:has(input:checked) { background: var(--accent-light); border-color: var(--accent); }
input[type="radio"], input[type="checkbox"] { accent-color: var(--accent); width: 20px; height: 20px; flex-shrink: 0; margin: 0; }
input[type="text"], input[type="search"], input[type="number"], select { width: 100%; min-height: 48px; min-width: 0; color: var(--ink); background: #fff; border: 1px solid #8fa4aa; border-radius: .5rem; padding: .6rem; }
input[type="search"] { margin: .3rem 0 .9rem; }
.other-field > label { display: block; font-weight: 650; margin-bottom: .4rem; }
.duration-control { max-width: 20rem; }
.duration-control label > span { display: block; font-size: .85rem; margin-bottom: .3rem; color: var(--muted); }
.scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; }
.scale-option { position: relative; cursor: pointer; }
.scale-option input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.scale-option span { display: grid; place-items: center; min-height: 48px; border: 1px solid var(--line); border-radius: .5rem; font-weight: 650; }
.scale-option input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.scale-option input:focus-visible + span { outline: 3px solid #bd6600; outline-offset: 3px; }
.anchors { display: flex; justify-content: space-between; gap: 1.2rem; font-size: .76rem; color: var(--muted); margin-top: .5rem; line-height: 1.5; }
.anchors > span { max-width: 48%; }
.anchors > span:last-child { text-align: right; }
.form-navigation { display: flex; gap: .7rem; justify-content: space-between; padding: .25rem 0; }
.error { color: var(--error); font-weight: 600; font-size: .9rem; }
.field-error { margin-bottom: 0; }
[aria-invalid="true"] { border-color: var(--error); }
.notice { padding: .8rem 1rem; border: 1px solid var(--line); border-radius: .6rem; background: #fff; }
.honeypot { display: none; }
.outcome { padding: 2rem; }
.outcome-mark { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-light); color: var(--accent); font-size: 1.7rem; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 10; background: white; padding: .8rem; }
.skip-link:focus { top: .5rem; }
@media (max-width: 480px) {
    .site-header { padding: .65rem .8rem; }
    .brand { gap: .6rem; font-size: .76rem; }
    .brand-logo { width: 112px; }
    .page { margin-top: 1.25rem; padding: 0 .8rem; }
    .card { padding: 1.1rem; }
    .choice { padding: .65rem; }
    .scale { gap: .25rem; }
    .form-navigation button { padding-left: .8rem; padding-right: .8rem; }
}
@media (prefers-reduced-motion: no-preference) {
    button, .choice { transition: background-color .12s ease; }
}
