/* ═══════════════════════════════════════════════════════
   HYDI Energy OS — Self-hosted Fonts (GDPR-compliant)
   No external font loading = no Google tracking = no cookie banner needed
   
   To activate: place .woff2 files in the /fonts/ folder
   Download sources (free license):
   - Bebas Neue: https://www.fontsquirrel.com/fonts/bebas-neue
   - Space Mono: https://www.fontsquirrel.com/fonts/space-mono
   - DM Sans: https://www.fontsquirrel.com/fonts/dm-sans
   ═══════════════════════════════════════════════════════ */

@font-face {
  font-family: "Bebas Neue";
  src: local("Bebas Neue"),
       url("fonts/BebasNeue.woff2") format("woff2"),
       url("fonts/BebasNeue.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: local("Space Mono"),
       url("fonts/SpaceMono-Regular.woff2") format("woff2"),
       url("fonts/SpaceMono-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: local("DM Sans"),
       url("fonts/DMSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: local("DM Sans"),
       url("fonts/DMSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: local("DM Sans"),
       url("fonts/DMSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Fallback font stacks (used until woff2 files are present) */
:root {
  --font-bebas: "Bebas Neue", "Impact", "Arial Narrow", "Arial", sans-serif;
  --font-mono: "Space Mono", "Courier New", "Lucida Console", monospace;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
}
