/* Canton's two families, served from this origin.
 *
 * NOT from fonts.googleapis.com, and that is the whole point: Google
 * is blocked in mainland China, which is the one country this app
 * exists to be used in. Loading them from Google meant the app would
 * not look like itself in a Yiwu market, and every page load spent
 * time on a request that could never succeed.
 *
 * These are VARIABLE fonts: one file per family covers every weight,
 * which is why there are two files and not eight.
 *
 * Latin subset only. Chinese text falls through to PingFang SC and
 * Microsoft YaHei, already present on the phones this runs on — a CJK
 * webfont would be megabytes bought for nothing.
 */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans.woff2') format('woff2-variations'),
       url('/fonts/plus-jakarta-sans.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/space-grotesk.woff2') format('woff2-variations'),
       url('/fonts/space-grotesk.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;
}
