/*!
 * IBM Plex Sans (https://github.com/IBM/plex)
 * Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
 * Licensed under the SIL Open Font License 1.1 — see LICENSE.txt beside this file
 */

/* Vendored the same way as Bootstrap Icons: the files sit in ./fonts and are
   referenced relatively, so the prototype still runs offline and straight from
   file:// with no CDN and no build step.

   TWO FILES, ONE VARIABLE AXIS. These are variable cuts whose wght axis runs
   100-700 (measured, not assumed), so every weight the design system asks for
   comes out of the same file. That is what keeps this at 76KB total — the
   icon font alone is 130KB — rather than the separate statics each weight
   would otherwise need. The range is declared 400-700 because that is what
   the tokens actually use; anything outside it would be synthesised.

   latin-ext is not optional here: the data carries Turkish (AKGUNLER TC HARIÇ
   HEPSI) and the login card offers Türkçe, so ç ğ ı ş ö ü have to come from
   the real font rather than from a fallback that would visibly change mid-word.

   font-display: swap — the text is readable from the first paint whatever
   happens to the font, and the fallback stack in --tn-font-sans is chosen so
   the swap costs as little reflow as possible. */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                 U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                 U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
                 U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
                 U+FFFD;
}
