/*
 * Ondo's typefaces, served by Ondo.
 *
 * These used to come from Google's CDN. That is untenable for an app: a
 * binary that needs a third-party network round trip to render its own
 * typeface shows unstyled text on a cold launch, and fails outright offline.
 * It also removed the last third-party request the web app made.
 *
 * Latin subset only, matching what the CDN served us — the same
 * `unicode-range` keeps non-latin text falling through to the platform stack
 * rather than rendering from a file that has no glyph for it.
 *
 * Both faces are VARIABLE fonts: one file spans weight 400-800 (Fraunces) or
 * 400-700 (Inter), which is why three files cover every weight the product
 * uses. Fraunces carries its `opsz` axis, so optical sizing stays live and
 * automatic — that is what gives the display sizes their display cut. Its
 * SOFT and WONK axes are deliberately absent; see the note in
 * `src/styles/refresh.css`.
 *
 * Files come from the Google Fonts API (OFL licensed) and are regenerated by
 * `npm run fonts:fetch`.
 */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/fraunces-latin-roman.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;
}

@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/fraunces-latin-italic.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;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-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;
}
