@font-face {
  font-family: 'Frank Ruhl Libre';
  src: url('../fonts/frankruhllibre.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/publicsans.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --coal: #1A1F26;
  --text: #1F242B;
  --page: #EEF0F0;
  --card: #F5F7F7;
  --rule: #CCCCCC;
  --brand: #003366;
  --brand-deep: #001F3F;
  --accent: #3399CC;
  --mute: #6B7480;

  --ff-display: 'Frank Ruhl Libre', Georgia, 'Times New Roman', serif;
  --ff-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --rx-1: 2px;
  --rx-2: 6px;
  --rx-3: 12px;

  --gap-2: 8px;
  --gap-3: 16px;
  --gap-4: 24px;
  --gap-5: 32px;
  --gap-6: 48px;
  --gap-7: 64px;
  --gap-8: 96px;
  --gap-9: 128px;

  --wrap: 1180px;
  --wrap-narrow: 820px;

  --shadow-1: 0 1px 2px rgba(26, 31, 38, 0.06), 0 2px 8px rgba(26, 31, 38, 0.04);
  --shadow-2: 0 4px 16px rgba(26, 31, 38, 0.08);
}

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

html { -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-weight: 500;
  color: var(--coal);
  margin: 0 0 var(--gap-3);
  line-height: 1.15;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2rem, 4.6vw + 1rem, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1vw + 0.9rem, 1.5rem); }
h4 { font-size: 1.05rem; font-family: var(--ff-body); font-weight: 600; letter-spacing: 0.01em; }

p { margin: 0 0 var(--gap-3); }
.lede { font-size: 1.12rem; color: var(--text); max-width: 60ch; }

a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .18s ease; }
a:hover { color: var(--brand-deep); }
a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

img { max-width: 100%; height: auto; display: block; }

button { font: inherit; cursor: pointer; }

ul, ol { padding-left: 1.2rem; margin: 0 0 var(--gap-3); }
ul li, ol li { margin-bottom: 6px; }

hr { border: none; height: 1px; background: var(--rule); margin: var(--gap-6) 0; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--rule); }
th { font-family: var(--ff-body); font-weight: 600; color: var(--coal); font-size: 0.94rem; letter-spacing: 0.02em; text-transform: uppercase; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--coal);
  color: var(--card);
  padding: 12px 18px;
  text-decoration: none;
}
.skip:focus { left: 16px; top: 16px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--gap-3);
}

.num {
  font-family: var(--ff-display);
  font-feature-settings: "tnum", "lnum";
}

::selection { background: var(--brand); color: var(--card); }
