/*
 * Inter typography — self-hosted WOFF2 from /fonts/.
 *
 * Inter is licensed under the SIL Open Font License 1.1 (free for any use).
 * Source: https://rsms.me/inter/ — download "Inter Web" zip and extract the
 * variable-axis WOFF2 files (Inter-roman.var.woff2 + Inter-italic.var.woff2)
 * into services/vpt-website/src/fonts/. See fonts/README.md for details.
 *
 * Variable-axis WOFF2 lets the browser interpolate any weight 100–900 from
 * a single ~300KB file, which is significantly lighter than shipping
 * separate static files per weight.
 *
 * font-display: swap — render fallback immediately while Inter loads, then
 * swap. Combined with the system-ui fallback in --font-display this keeps
 * Lighthouse Performance score high and avoids CLS on slow connections.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter-roman.var.woff2') format('woff2-variations'),
       url('/fonts/Inter-roman.var.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter-italic.var.woff2') format('woff2-variations'),
       url('/fonts/Inter-italic.var.woff2') format('woff2');
}
