/* Satoshi — self-hosted.
 *
 * Previously loaded from api.fontshare.com, which served this stylesheet and then
 * pointed at cdn.fontshare.com for the files themselves: two extra origins, each
 * paying its own DNS + TLS handshake mid-render, for 100KB of font data that
 * competed with the main JS bundle for bandwidth on mobile.
 *
 * The four weights are subset to the latin range the site actually uses
 * (217 glyphs), which halves them to ~49KB total, and they are now same-origin so
 * they ride the connection that is already open.
 *
 * Regenerate with fontTools if a weight is added or the character set grows:
 *   pyftsubset satoshi-<w>.orig.woff2 \
 *     --unicodes=U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,\
 * U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD \
 *     --layout-features=kern,liga,clig,calt,ccmp,locl,mark,mkmk,rlig \
 *     --flavor=woff2 --no-hinting --desubroutinize \
 *     --output-file=satoshi-<w>.woff2
 *
 * NOTE: several pages inject a <link> to this file at runtime and dedupe on the
 * exact href "/fonts/satoshi.css" (see SATOSHI_FONT_HREF). Keep the path in step.
 */

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

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

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

@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/satoshi-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
