:root {
  color-scheme: light;
  --color-bg: #f8f9fa;
  --color-surface: #fff;
  --color-text: #17212b;
  --color-accent: #23527c;
  --color-border: #cbd5df;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --space: 1rem;
  --radius: .5rem;
  --max-width: 56rem;
}
* { box-sizing: border-box; }
html { font-family: var(--font-body); line-height: 1.55; }
body { margin: 0; background: var(--color-bg); color: var(--color-text); }
.container { width: min(100% - 2rem, var(--max-width)); margin-inline: auto; }
main { padding-block: 2rem 4rem; }
.site-header, .site-footer { background: var(--color-surface); border-block: 1px solid var(--color-border); }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; }
.site-footer { padding-block: 1rem; }
.brand { font-weight: 700; }
nav ul { display: flex; flex-wrap: wrap; gap: .2rem 1rem; list-style: none; padding: 0; }
a { color: var(--color-accent); }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.card, fieldset, .notice { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.25rem; margin-block: 1rem; }
fieldset { min-width: 0; }
legend { font-weight: 700; padding-inline: .4rem; }
label:not(.check) { display: block; font-weight: 600; margin-top: 1rem; }
input:not([type="checkbox"]), select { display: block; width: 100%; max-width: 36rem; font: inherit; padding: .65rem; border: 1px solid #697887; border-radius: .3rem; }
input[type="checkbox"] { width: 1.2rem; height: 1.2rem; flex: none; margin-top: .18rem; }
.check { display: flex; gap: .65rem; align-items: flex-start; margin-block: 1rem; }
button, .button { display: inline-block; background: var(--color-accent); color: white; border: 0; border-radius: .35rem; font: inherit; padding: .7rem 1rem; cursor: pointer; text-decoration: none; }
button:disabled { opacity: .55; cursor: not-allowed; }
.skip-link { position: absolute; transform: translateY(-150%); background: white; padding: .5rem; }
.skip-link:focus { transform: translateY(0); }
[hidden] { display: none !important; }
@media (max-width: 38rem) { .site-header .container { display: block; } nav ul { gap: .4rem 1rem; } main { padding-block: 1.5rem 3rem; } }
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  color: #8b1e1e;
  font-weight: 600;
}

.form-success {
  color: #176b3a;
  font-weight: 600;
}