/* SignalGuard self-hosted fonts.
 *
 * Replaces the Google Fonts <link> on every page so we eliminate the
 * fonts.googleapis.com → fonts.gstatic.com handshake (two extra DNS +
 * TLS round-trips per fresh visit, plus a 3rd-party request budget hit
 * on Lighthouse). Files live in /public/fonts/ as latin-subset .woff2.
 *
 * font-display: swap → text renders immediately in the system fallback
 * (ui-sans-serif / ui-monospace) and swaps to the brand face once the
 * .woff2 lands. This prevents an invisible-text FOIT and is exactly
 * what Google Fonts ships, so visually it matches the old behavior.
 */

/* ---------------- Inter ---------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-700.woff2') format('woff2');
}

/* ---------------- JetBrains Mono ---------------- */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-500.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-600.woff2') format('woff2');
}
