/* ==========================================================================
   Ramp self-hosted webfonts — design-standard §1.
   Three families, woff2 latin subsets in app/static/fonts/. NO Google Fonts
   CDN, no font CDN of any kind (consistent with the compiled-Tailwind move).
   font-display: swap; system stacks remain as fallbacks in the token values
   (tokens.css), so absent files degrade to system fonts, never to a CDN.
   Critical preloads (Manrope 800, Inter 400) are declared in base.html.

   Fonts (latin subsets, SIL OFL 1.1):
     Manrope        — Mikhail Sharanda / Indian Type Foundry
     Inter          — Rasmus Andersson
     IBM Plex Mono  — IBM / Bold Monday
   Acquired one-time from fontsource (jsDelivr) and committed; served from
   /static/fonts at runtime.
   ========================================================================== */

/* --- Manrope (--font-display): 300 / 600 / 800 --------------------------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/static/fonts/manrope-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/fonts/manrope-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/static/fonts/manrope-800.woff2') format('woff2');
}

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

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