/* ==========================================================================
   Bela — Webfonts
   Four families ship with Bela. Declared here with real weight values so
   consumers can use `font-weight` normally.
   - Space Mono      → headings, titles, the "bela.io" wordmark, numeric labels
   - Poppins         → UI body text (the IDE and web properties use this today)
   - Darker Grotesque→ editorial / print body text (documented brand body face)
   - Inconsolata     → console, code, monospace data
   ========================================================================== */

/* ---- Space Mono ---- */
@font-face {
  font-family: 'Space Mono';
  src: url('../assets/fonts/spacemono-regular-webfont.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('../assets/fonts/spacemono-italic-webfont.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('../assets/fonts/spacemono-bold-webfont.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('../assets/fonts/spacemono-bolditalic-webfont.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ---- Poppins ---- */
@font-face {
  font-family: 'Poppins';
  src: url('../assets/fonts/poppins-light-webfont.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../assets/fonts/poppins-regular-webfont.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../assets/fonts/poppins-medium-webfont.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../assets/fonts/poppins-semibold-webfont.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../assets/fonts/poppins-bold-webfont.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Darker Grotesque ---- */
@font-face {
  font-family: 'Darker Grotesque';
  src: url('../assets/fonts/darker-grotesque-light-webfont.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Darker Grotesque';
  src: url('../assets/fonts/darker-grotesque-regular-webfont.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Darker Grotesque';
  src: url('../assets/fonts/darker-grotesque-medium-webfont.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Darker Grotesque';
  src: url('../assets/fonts/darker-grotesque-semibold-webfont.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Darker Grotesque';
  src: url('../assets/fonts/darker-grotesque-bold-webfont.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Inconsolata ---- */
@font-face {
  font-family: 'Inconsolata';
  src: url('../assets/fonts/inconsolata-webfont.woff2') format('woff2'),
       url('../assets/fonts/inconsolata-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
