:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #172a3d;
  background: #f5f8fa;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
a { color: #075b83; }
a:hover { color: #003e5f; }
.wrap { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.site-header { background: white; border-bottom: 1px solid #dfe7ed; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1rem; }
.brand { color: #112d43; font-size: 1.35rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; }
.nav-links { display: flex; gap: .6rem 1.4rem; flex-wrap: wrap; }
.nav-links a { color: #213e50; text-decoration: none; }
.nav-links a[aria-current="page"] { color: #075b83; font-weight: 700; text-decoration: underline; text-underline-offset: .35rem; }
.banner { display: block; width: 100%; height: auto; border-radius: 0 0 1.25rem 1.25rem; }
.hero { background: white; padding-bottom: 3.5rem; }
.hero-content { padding-top: 2rem; }
.eyebrow { color: #166789; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
h1, h2, h3 { line-height: 1.2; color: #102d43; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 17ch; margin: .4rem 0 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.lead { font-size: 1.2rem; max-width: 66ch; }
.button { display: inline-block; padding: .8rem 1.35rem; border-radius: .5rem; background: #075b83; color: white; text-decoration: none; font-weight: 700; }
.button:hover { color: white; background: #003e5f; }
.button-secondary { background: #e8f2f6; color: #075074; }
.button-secondary:hover { color: white; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
main section { padding-block: 2.3rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.card { background: white; border: 1px solid #dfe7ed; border-radius: .8rem; padding: 1.4rem; }
.card h3 { margin-top: 0; }
.page { padding-block: 2rem 4rem; max-width: 820px; }
.page h1 { max-width: none; }
.note { padding: 1rem 1.2rem; border-left: 4px solid #ce942d; background: #fff7e7; }
.result { white-space: pre-line; }
.site-footer { margin-top: 2rem; background: #102d43; color: #fff; padding: 2rem 0; }
.site-footer a { color: #d7efff; }
.footer-inner { display: flex; gap: 1rem 2rem; justify-content: space-between; flex-wrap: wrap; }
.footer-links { display: flex; gap: .5rem 1.5rem; flex-wrap: wrap; }
label { display: block; font-weight: 650; margin-bottom: .35rem; }
input, select, textarea { font: inherit; width: 100%; border: 1px solid #8a9da9; border-radius: .4rem; padding: .65rem; background: white; color: #172a3d; }
textarea { min-height: 8rem; resize: vertical; }
.field { margin-bottom: 1.1rem; }
.hint { font-size: .9rem; color: #425665; margin: .3rem 0 0; }
fieldset { border: 0; padding: 0; margin: 0; }
fieldset[disabled] { opacity: .8; }
button { font: inherit; padding: .8rem 1.35rem; border: 0; border-radius: .5rem; }
button:disabled { background: #bbc8d0; color: #233949; cursor: not-allowed; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.legal-text { white-space: normal; }
:focus-visible { outline: 3px solid #d77d26; outline-offset: 3px; }
@media (max-width: 640px) {
  .wrap { width: min(100% - 1.5rem, 1120px); }
  .nav-links { gap: .4rem 1rem; font-size: .93rem; }
}
