/* Inter, self-hosted: the same two files the platform ships (regular 400 and semibold 600), so a line of text is the
   same width here as there. Imported by fonts.css, and served by the Storybook at /fonts/inter.css (linked from the
   manager and preview heads).
   Inter is licensed under the SIL Open Font License 1.1 (inter/OFL.txt).

   "Inter Fallback" is Arial, scaled and re-spaced to Inter's width and line box, so the page does not jump when
   Inter arrives. The numbers were measured against these files (Inter / Arial text width, Inter's ascent and descent
   divided by that scale). It is only used where Arial is installed; otherwise the stack moves on to the system font. */

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

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

@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('ArialMT');
  font-weight: 400;
  size-adjust: 101.86%;
  ascent-override: 95.13%;
  descent-override: 23.66%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT');
  font-weight: 600;
  size-adjust: 99.71%;
  ascent-override: 97.18%;
  descent-override: 24.17%;
  line-gap-override: 0%;
}
