/*
 * Self-hosted fonts for the MaLuce design system. The woff2 files live in wwwroot/fonts (latin subset, OFL-1.1, with
 * each family's license beside them; see wwwroot/fonts/README.md). Linked from index.html BEFORE maluce-tokens.css.
 * font-display: swap, so text is never invisible while a face loads.
 *
 * No third-party font request, ever: this is a healthcare-adjacent messaging app and a font CDN call would
 * disclose every user's IP address and the page they were on to a third party (CLAUDE.md, Design System).
 * The design system's families are Manrope (display), Inter (text) and JetBrains Mono (system strings).
 */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/manrope-800.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-500.woff2') format('woff2');
}
