/*!
 * Inter — https://rsms.me/inter/
 * SIL Open Font License 1.1. Full text in LICENSE.txt beside this file.
 *
 * POL-006. Four weights, because those are exactly the four the shipped Text, Button and Text Input
 * defaults reference through --font-normal (400), --font-medium (500), --font-semibold (600) and
 * --font-bold (700). Shipping fewer would leave the browser to synthesise or substitute a weight the
 * project's own defaults ask for.
 *
 * woff2 since EXP-017. It used to be TTF, on the argument that there was no woff2 encoder in this
 * repo and a font nobody can regenerate is worse than a larger one — a fair rule, answered by
 * writing the encoder rather than by arguing with it: `scripts/library/ttf-to-woff2.js`, Node and
 * zlib, no dependency. These four faces went from 1,256,396 B to 488,132 B, and they ship inside
 * every project this product creates and every app deployed from one.
 *
 * `font-display: swap` so text is readable while the faces load. A project's first paint should not
 * be blank.
 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./Inter-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./Inter-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./Inter-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./Inter-Bold.woff2') format('woff2');
}
