/*
 * Critical font declarations — referenced directly from index.html so the
 * browser can discover and download the body/heading fonts on the first
 * paint, before Vite has parsed the JS module graph.
 *
 * This file is intentionally minimal. The full @font-face set lives in
 * src/eds/src/assets/fonts/{IBMPlexSans,OatmealPro}/index.css and is loaded
 * via the JS bundle. Declarations here are duplicated for the weights most
 * likely to drive LCP:
 *   - IBMPlexSans 400 (default body weight)
 *   - IBMPlexSans 600 (common for emphasized text / SemiBold UI labels)
 *   - OatmealPro  600 (default heading weight, see src/styles/index.css)
 *
 * Duplicate @font-face declarations are deduplicated by the browser as long
 * as the font-family + weight + style + src list match the canonical copy
 * in eds/src/assets/fonts/.
 */

@font-face {
  font-family: 'IBMPlexSans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/IBMPlexSans/IBMPlexSans-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'IBMPlexSans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/IBMPlexSans/IBMPlexSans-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'OatmealPro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/OatmealPro/OatmealPro-Semibold.woff2') format('woff2');
}
