/*
 * Self-hosted replacement for the four fonts.googleapis.com stylesheets that
 * index.html used to load.
 *
 * Weights match the original Google Fonts requests exactly:
 *   Poppins  wght@400;500;600;700
 *   Roboto   wght@400;500;600;700
 *   Lato     wght@400;700
 *   Inter    wght@100..900   (variable)
 *
 * `font-display: swap` matches the `&display=swap` that was on the original URLs,
 * so first-paint behaviour is unchanged.
 *
 * Latin subset only — same as what Google served for these requests. Files come
 * from the @fontsource packages, which are built from the upstream Google Fonts
 * sources, so the glyphs are identical to what was being served before.
 */

/* ── Poppins ──────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./poppins-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./poppins-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./poppins-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./poppins-latin-700-normal.woff2') format('woff2');
}

/* ── Roboto ───────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./roboto-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./roboto-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./roboto-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./roboto-latin-700-normal.woff2') format('woff2');
}

/* ── Lato ─────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./lato-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./lato-latin-700-normal.woff2') format('woff2');
}

/* ── Inter (variable, 100–900) ────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./inter-latin-wght-normal.woff2') format('woff2-variations');
}
