/* ==========================================================================
   VoltPilot — self-hosted webfonts (Phase 0, Agent A)
   All font files live in public/fonts/ (served from /fonts/...) so that
   <link rel="preload"> in public/index.html and these @font-face rules
   reference the SAME files — no duplication through the webpack pipeline.

   Licenses & sources (full free-licensed files, NOT demo/trial cuts):
   - Space Grotesk 400/500/700 — SIL Open Font License 1.1 (OFL)
     Source: google-webfonts-helper
     https://gwfh.mranftl.com/api/fonts/space-grotesk?download=zip&subsets=latin&variants=regular,500,700
     Upstream: https://github.com/floriankarsten/space-grotesk (OFL.txt)
   - JetBrains Mono 400/500/700 — SIL Open Font License 1.1 (OFL)
     Source: google-webfonts-helper
     https://gwfh.mranftl.com/api/fonts/jetbrains-mono?download=zip&subsets=latin&variants=regular,500,700
     Upstream: https://github.com/JetBrains/JetBrainsMono (OFL.txt)
   - General Sans 400/500/600 — Fontshare Free Font License (FF EULA;
     free for personal & commercial use). License/FFL.txt ships in the
     download zip. Source: https://api.fontshare.com/v2/fonts/download/general-sans
     Font page: https://www.fontshare.com/fonts/general-sans
   ========================================================================== */

/* ---- Space Grotesk (display) ---- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('SpaceGrotesk-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('SpaceGrotesk-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('SpaceGrotesk-700.woff2') format('woff2');
}

/* ---- General Sans (UI) ---- */
@font-face {
  font-family: 'General Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('GeneralSans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'General Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('GeneralSans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'General Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('GeneralSans-600.woff2') format('woff2');
}

/* ---- JetBrains Mono (numbers / data) ---- */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('JetBrainsMono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('JetBrainsMono-500.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('JetBrainsMono-700.woff2') format('woff2');
}
