/* Self-hosted fonts (MAP-170 Fix 9). Nunito + Nunito Sans, latin subset.
 * Replaces the previous Google Fonts <link> + preconnect. Removes
 * fonts.googleapis.com + fonts.gstatic.com from the CSP allow-list.
 *
 * Both fonts ship as variable-font woff2 — one binary covers the full weight
 * range, so each @font-face declaration just labels the same file with the
 * weight metadata browsers use to pick the right axis position.
 *
 * font-display: swap → render fallback text immediately, swap in the custom
 * font when loaded. Preserves first-paint perceived performance.
 */

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

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/nunito-sans.woff2') format('woff2');
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/nunito-sans-italic.woff2') format('woff2');
}
