/* Inter — Variable font (weight 100-900) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../../fonts/inter-variable.woff2") format("woff2");
}

/* Inter Fallback — Arial with size adjustments */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 97%;
  descent-override: 25%;
  line-gap-override: 1%;
}

/* IBM Plex Mono — Regular (400) */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/ibm-plex-mono.woff2") format("woff2");
}

/* IBM Plex Mono — Medium (500) */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../../fonts/ibm-plex-mono-medium.woff2") format("woff2");
}

/* IBM Plex Mono — Bold (700) */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../fonts/ibm-plex-mono-bold.woff2") format("woff2");
}

/* IBM Plex Mono Fallback — Courier New with size adjustments */
@font-face {
  font-family: "IBM Plex Mono Fallback";
  src: local("Courier New");
  ascent-override: 80%;
  descent-override: 23%;
  line-gap-override: 0%;
}

/* Font rendering */
:root {
  --font-family-sans: "Inter", "Inter Fallback";
  --font-family-mono: "IBM Plex Mono", "IBM Plex Mono Fallback";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
