/* ============================================================
   SecDim — Fonts
   Averta is SecDim's real brand typeface (self-hosted woff2,
   supplied by SecDim). It is a geometric-humanist sans used for
   BOTH display and body. JetBrains Mono (Google Fonts) covers
   code / CVE / terminal UI.
   Font paths are relative to this file (tokens/), so consumers
   linking styles.css from the project root resolve them correctly.
   ============================================================ */

/* Code / mono — @import must precede all other statements */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'Averta';
  src: url('../assets/fonts/averta-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Averta';
  src: url('../assets/fonts/averta-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Averta';
  src: url('../assets/fonts/averta-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* 500/800 map to nearest supplied cut so weight tokens never fall back to a system face */
@font-face {
  font-family: 'Averta';
  src: url('../assets/fonts/averta-semibold.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Averta';
  src: url('../assets/fonts/averta-bold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
