/* Wizard fonts. Self-hosted, variable, subset to Latin + Latin Extended (full Polish support).
   All three are free under the SIL Open Font License (see the OFL files in this folder).
   Load this file once, before tokens.css. Paths are relative to this file. */

/* Display and headings: Instrument Sans, with a width axis for the condensed headline style */
@font-face {
  font-family: "Instrument Sans";
  src: url("InstrumentSans-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

/* Product UI and body: Inter, with optical sizes (it automatically draws tighter, sharper shapes at large sizes) */
@font-face {
  font-family: "Inter";
  src: url("Inter-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* Code, logs, IDs: JetBrains Mono */
@font-face {
  font-family: "JetBrains Mono";
  src: url("JetBrainsMono-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* Fallbacks tuned to the same proportions, so text doesn't jump when the real font arrives */
@font-face {
  font-family: "Instrument Sans Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 102.84%;
  ascent-override: 94.32%;
  descent-override: 24.31%;
  line-gap-override: 0.0%;
}

@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107.75%;
  ascent-override: 89.91%;
  descent-override: 22.39%;
  line-gap-override: 0.0%;
}
