/* Botnest self-hosted fallback fonts — Alegreya Sans + Alegreya (latin subset),
   downloaded from Google Fonts (OFL licensed). Imported by tokens/fonts.css.
   font-display: optional (1.2.1): a face that is not ready when the page is first drawn is not
   swapped in later, so text never jumps once it is on screen. Preload the faces the first screen
   uses and cache them; from the second page on they are always ready. A preload covers only
   the file it names, so Alegreya's roman is one face over its one file (1.2.2). */

@font-face {
  font-family: "Alegreya";
  src: url("../fonts/Alegreya-400i.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: optional;
}
@font-face {
  font-family: "Alegreya";
  src: url("../fonts/Alegreya-400.woff2") format("woff2");   /* one variable font, weights 400-900 (1.2.2) */
  font-weight: 400 900;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("../fonts/AlegreyaSans-400i.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: optional;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("../fonts/AlegreyaSans-700i.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: optional;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("../fonts/AlegreyaSans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("../fonts/AlegreyaSans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("../fonts/AlegreyaSans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("../fonts/AlegreyaSans-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: optional;
}
