/* ============================================================================
   fonts.css — self-hosted Prompt (headings) and Roboto (body).

   Both families are open source (Prompt: SIL OFL 1.1, Roboto: Apache 2.0) and
   are served from this folder, so the site makes no third-party request.
   Regenerate with: node tools/fetch-fonts.mjs
   ========================================================================= */

@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/prompt-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/prompt-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/prompt-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/roboto-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/roboto-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/roboto-700.woff2') format('woff2');
}

/* Poppins — headings and navigation (SIL OFL 1.1), Latin subset.
   Added in the September 2026 redesign: the prompt-*.woff2 and roboto-*.woff2
   files above contain no Latin glyphs, so every browser was silently falling
   back to its default font. Poppins is the closest geometric match to Prompt. */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500.woff') format('woff');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/poppins-700.woff') format('woff');
}
