/*
 * Self-hosted Inter — slimmed-down version of rsms.me/inter/inter.css
 * (audit M7). Two variable woff2 files cover the full weight range
 * (100–900) for body and italic, replacing 30+ static .woff2 files
 * we were pulling from the rsms.me CDN with no SRI guarantee.
 *
 * `Inter Display` is intentionally declared as an alias of the
 * variable Inter — the original Inter Display optical-size statics
 * aren't variable, and shipping them would multiply the page weight
 * for a difference that's invisible at typical web sizes. If we ever
 * need the display-optimized rendering, we can layer those statics
 * back in.
 *
 * Inter is licensed under the SIL Open Font License v1.1.
 * Source: https://github.com/rsms/inter
 */

@font-face {
  font-family: "InterVariable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./InterVariable.woff2") format("woff2");
}

@font-face {
  font-family: "InterVariable";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("./InterVariable-Italic.woff2") format("woff2");
}

/*
 * Inter / Inter Display aliases. Tailwind's `--font-body` and
 * `--font-display` reference these family names — keep them pointing
 * at the variable font so existing class names work unchanged.
 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./InterVariable.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("./InterVariable-Italic.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Display";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./InterVariable.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Display";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("./InterVariable-Italic.woff2") format("woff2");
}
