:root {
  color-scheme: light;
  --ink: #17242d;
  --muted: #425866;
  --brand: #174e6b;
  --brand-dark: #10384d;
  --surface: #f4f8fa;
  --card: #e5f2f7;
  --line: #b9ccd5;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { font-size: 18px; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--brand-dark); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 0.16em; }
a:focus-visible, .button:focus-visible { outline: 4px solid #f2b705; outline-offset: 4px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 2px solid var(--ink);
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2rem, 760px); margin-inline: auto; }

.site-header { background: var(--brand-dark); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { margin: 0; font-size: 1.2rem; font-weight: 800; }
nav { display: flex; gap: 0.4rem; }
nav a { color: var(--white); padding: 0.7rem 0.8rem; border-radius: 0.5rem; font-weight: 700; }
nav a[aria-current="page"] { background: #ffffff24; text-decoration-thickness: 0.16em; }

.content { padding-block: 3rem 4rem; }
h1, h2 { line-height: 1.2; color: var(--brand-dark); }
h1 { margin: 0 0 1rem; font-size: clamp(2rem, 7vw, 3.25rem); }
h2 { margin-top: 2.4rem; font-size: clamp(1.4rem, 5vw, 1.8rem); }
.lead { color: var(--muted); font-size: 1.2rem; }
li + li { margin-top: 0.65rem; }
.updated { padding: 0.75rem 1rem; background: var(--surface); border-left: 5px solid var(--brand); }

.contact-card {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.contact-card h2 { margin-top: 0; }

.button {
  display: inline-block;
  min-height: 52px;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--brand);
  border-radius: 0.7rem;
  font-weight: 800;
}

footer { padding-block: 2rem; color: var(--muted); background: var(--surface); border-top: 1px solid var(--line); }
footer p { margin: 0.35rem 0; }

@media (max-width: 520px) {
  .site-header .wrap { align-items: flex-start; flex-direction: column; padding-block: 0.8rem; }
  nav { width: 100%; }
  nav a { flex: 1; text-align: center; }
  .content { padding-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
