/*
 * fonts.css — self-hosted Inter for the /chat pass-through island.
 *
 * This file is NOT processed by Astro (public/chat is served verbatim),
 * so we cannot use @fontsource/* import syntax. Instead we reference
 * the woff2 files by stable, unfingerprinted paths under /chat/fonts/.
 * Those files are immutable (fontsource content never changes for a
 * given version) and are cached for 1 year via _headers /chat/fonts/*.
 *
 * Weights: 400 / 500 / 600 (Inter only — JetBrains Mono is a minor
 * usage and falls back gracefully to system monospace; adding it here
 * would add ~48 KB for little visual return).
 *
 * font-display: fallback
 *   Block period ~100ms, swap period ~3s — zero CLS, no late swap on
 *   slow connections. Same strategy as src/styles/fonts.css for the
 *   Astro-processed marketing site.
 */

/* Inter 400 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: fallback;
  font-weight: 400;
  src: url('/chat/fonts/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Inter 500 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: fallback;
  font-weight: 500;
  src: url('/chat/fonts/inter-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Inter 600 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: fallback;
  font-weight: 600;
  src: url('/chat/fonts/inter-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
