/*
 * Self-hosted Montserrat + Poppins, replacing the Google Fonts CDN.
 * Montserrat ships as one variable font (all four weights read from the
 * same file); Poppins ships as four separate static-weight files, matching
 * exactly what Google's own css2 API served before this was self-hosted.
 */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('montserrat-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('poppins-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('poppins-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('poppins-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('poppins-700.woff2') format('woff2');
}

/*
 * Inter — small-size unit/label text (e.g. "kg/ha", "ml/100 L" fragments
 * in the recommendations table). Replaces the previous OS-native font
 * stack: that approach rendered a genuinely different typeface per
 * platform (Segoe UI on Windows, San Francisco on Mac, Roboto on
 * Android), which read as visually inconsistent across devices even
 * though the CSS itself never changed. Inter is self-hosted instead, so
 * every visitor sees the same typeface — chosen specifically because it
 * was designed for dense UI text at small sizes, with strong tabular
 * figures (matches the existing font-variant-numeric: tabular-nums).
 * One variable file covers both weights this project uses (500, 700).
 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('inter-variable.woff2') format('woff2');
}
