/* Self-hosted replacement for the Google Fonts CDN link (#1718) — removes the
   preconnect + stylesheet round trips (fonts.googleapis.com then
   fonts.gstatic.com) from the render-blocking chain on every page that loads
   this file. Latin subset only, matching Google's own "latin" unicode-range
   split, since none of these pages render non-Latin text. Both real
   @font-face rules point at a single variable-font file each (that's what
   Google itself serves for these families at these weights — a discrete
   font-weight VALUE per rule, all sharing one file, would just duplicate the
   request; a font-weight RANGE lets the browser interpolate any weight in
   between from that one file instead).

   Weight/style coverage is the union actually used across every page that
   loads this file (index.html, landing.html, dpa*.html, privacy.html,
   sub-processors.html, terms.html, gap.html, gap-aware.html, policy.html) —
   see #1718. If a future page needs a weight outside these ranges, extend the
   range here rather than re-adding a Google Fonts link. */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/static/fonts/outfit-latin.woff2') format('woff2-variations');
  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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/static/fonts/cormorant-garamond-latin-normal.woff2') format('woff2-variations');
  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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/cormorant-garamond-latin-italic.woff2') format('woff2-variations');
  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;
}

/* Metric-adjusted fallbacks (#1718) — sized/shaped to match Outfit's and
   Cormorant Garamond's own vertical metrics and average character width, so
   the fallback face that paints before the webfont loads occupies (as close
   to) the same box. Without this, font-display: swap's flash-of-fallback-text
   reflows the whole page a second time once the real font arrives, because
   Arial/Times New Roman's default line height and character width don't
   match Outfit/Cormorant Garamond's. Values computed from each font's own
   hhea/OS2 tables against the standard published Arial/Times New Roman
   metrics (unitsPerEm 2048, ascent/descent/lineGap/xAvgCharWidth) — see
   #1718 for the derivation; recompute if the font files above ever change. */

@font-face {
  font-family: 'Outfit Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans'), local('Arimo');
  ascent-override: 78.68%;
  descent-override: 20.46%;
  line-gap-override: 0%;
  size-adjust: 127.09%;
}

@font-face {
  font-family: 'Cormorant Garamond Fallback';
  font-style: normal;
  src: local('Times New Roman'), local('Liberation Serif'), local('Tinos');
  ascent-override: 68.59%;
  descent-override: 21.31%;
  line-gap-override: 0%;
  size-adjust: 134.70%;
}

@font-face {
  font-family: 'Cormorant Garamond Fallback';
  font-style: italic;
  src: local('Times New Roman'), local('Liberation Serif'), local('Tinos');
  ascent-override: 83.05%;
  descent-override: 25.80%;
  line-gap-override: 0%;
  size-adjust: 111.26%;
}
