:root {
  color-scheme: light;
  font: 100%/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #1b3231;
  background: #f8f6ef;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: #21564a; text-underline-offset: .17em; }
:focus-visible { outline: 3px solid #287766; outline-offset: 3px; }
.check-header { background: #19242b; color: white; }
.check-bar {
  max-width: 76rem;
  margin: auto;
  padding: .8rem clamp(.8rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.check-brand { display: inline-flex; align-items: center; gap: .45rem; color: white; font-weight: 700; font-size: clamp(1rem, 3.6vw, 1.4rem); letter-spacing: -.045em; text-decoration: none; }
.check-brand strong { color: #e9c88f; }
.language-switch { display: flex; padding: 2px; border: 1px solid #a48d65; border-radius: 6px; }
.language-switch > * { min-width: 30px; min-height: 32px; display: grid; place-items: center; padding: .2rem; color: white; text-decoration: none; font-size: .75rem; font-weight: 700; }
.language-switch [aria-current] { color: #19242b; background: #ecd7ad; border-radius: 3px; }
.check-header :focus-visible { outline-color: #f3d9a7; }
main, footer { width: min(100% - 2.5rem, 44rem); margin-inline: auto; }
main { flex: 1; padding-block: clamp(2.2rem, 5vw, 4.5rem) 2.5rem; }
.preview { margin: 0 0 1.4rem; font-size: .85rem; color: #56675f; }
.step { margin: 0 0 .45rem; font-size: .875rem; font-weight: 650; color: #665534; }
h1 { margin: 0; font: 500 clamp(2rem, 6vw, 3.5rem)/1.07 Georgia, "Times New Roman", serif; letter-spacing: -.035em; text-wrap: balance; overflow-wrap: break-word; }
.intro { margin: 1rem 0 1.6rem; font-size: 1.05rem; max-width: 60ch; }
.question { min-width: 0; border: 0; border-bottom: 1px solid #d5dad3; padding: 0 0 1rem; margin: 0 0 1rem; }
.question legend { padding: 0; font-weight: 650; }
.choices { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.choices label { min-width: 5rem; min-height: 44px; padding: .45rem .85rem; display: inline-flex; gap: .45rem; align-items: center; border: 1px solid #a6b0a7; border-radius: .45rem; background: white; cursor: pointer; }
.choices label:has(input:checked) { background: #e2eee7; border-color: #275b4e; }
.choices input { margin: 0; width: 1.05rem; height: 1.05rem; accent-color: #21564a; }
button { max-width: 100%; min-height: 46px; border: 0; border-radius: .5rem; padding: .7rem 1.2rem; font: inherit; font-weight: 650; color: white; background: #193e37; cursor: pointer; }
button:hover { background: #29554c; }
button span { margin-inline-start: .35em; }
.contact label { display: block; font-weight: 650; margin-bottom: .3rem; }
.contact input:not([type=hidden]) { display: block; width: 100%; max-width: 32rem; min-height: 46px; margin-bottom: 1rem; padding: .5rem .7rem; border: 1px solid #89998e; border-radius: .4rem; color: inherit; background: white; font: inherit; }
.contact [aria-invalid=true] { border-color: #953f28; }
.disclosure { max-width: 64ch; color: #40544c; font-size: .92rem; }
.feedback, .field-error { color: #862f19; }
.feedback { padding: .65rem .85rem; border-left: 3px solid #a94c32; background: #faede7; }
.field-error { margin: .25rem 0 .8rem; }
.secondary { margin-top: 1rem; }
.secondary button { min-height: 44px; padding: .4rem 0; text-decoration: underline; text-underline-offset: .2em; background: transparent; color: #25594c; }
footer { border-top: 1px solid #d5dad3; display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; padding-block: 1rem; }
footer a { display: inline-flex; align-items: center; min-height: 40px; font-size: .875rem; }
