/* Design tokens, reset, typography */
:root {
  --navy: #0B2545;
  --green: #16A34A;          /* brand green: icons, accents, illustrations */
  --green-strong: #15803D;   /* AA-contrast green: buttons, green text */
  --green-light: #DCFCE7;
  --offwhite: #F8FAFC;
  --gray: #334155;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --muted: #64748B;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 37, 69, 0.06), 0 4px 16px rgba(11, 37, 69, 0.05);
  --container: 1160px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray);
  background: var(--white);
}

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw + 0.5rem, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
img, svg { max-width: 100%; display: block; }
a { color: var(--green-strong); }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Visible keyboard focus everywhere */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--navy); color: var(--white);
  padding: 0.75rem 1rem; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 1rem; }
[hidden] { display: none !important; }