:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #59657a;
  --surface: #ffffff;
  --tint: #f1f5fb;
  --line: #dbe3ef;
  --accent: #2457a6;
  --focus: #a44912;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-underline-offset: 0.16em; }
a:hover { color: #163d79; }
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 1rem; }

.shell { width: min(100% - 2rem, 68rem); margin: 0 auto; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .shell,
.site-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.wordmark { color: var(--ink); font-size: 1.25rem; font-weight: 750; letter-spacing: -0.025em; text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-nav a { color: var(--ink); }

main { padding: 4.5rem 0; }
.hero { max-width: 46rem; padding: 2rem 0 4rem; }
.eyebrow { color: var(--accent); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2 { line-height: 1.15; letter-spacing: -0.035em; }
h1 { margin: 0.75rem 0 1.25rem; font-size: clamp(2.25rem, 7vw, 4.75rem); }
h2 { margin-top: 0; font-size: clamp(1.5rem, 4vw, 2.25rem); }
.lead { max-width: 40rem; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.3rem); }
.section { padding: 3.5rem 0; }
.section--tint { background: var(--tint); }
.section p, .legal-copy p { max-width: 44rem; }
.contact-link { font-weight: 700; }
.page-title { max-width: 46rem; margin-bottom: 2.5rem; }
.page-title p { color: var(--muted); }
.legal-copy { max-width: 46rem; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.94rem; }
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }

@media (max-width: 38rem) {
  .site-header .shell, .site-footer .shell { align-items: flex-start; flex-direction: column; justify-content: center; padding: 0.9rem 0; }
  main { padding: 2.5rem 0; }
  .hero { padding: 1rem 0 2.5rem; }
}

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