/* 16code — self-hosted fonts (latin subset). Avoids the Google Fonts CDN,
   which is unreachable from mainland China. Fraunces ships as one variable
   woff2 per style (normal / italic); the wght axis covers 400–600. */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fraunces.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('fraunces-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('spacemono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('spacemono-700.woff2') format('woff2');
}

/* Shared with the app (globals.css declares the same faces): JetBrains Mono
   for code/terminal text, Inter for body text — so the static pages render
   identically on devices without SF Mono / Menlo / Consolas / Segoe UI
   (car browsers, kiosk Linux). */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('jetbrainsmono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('jetbrainsmono-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('inter-var.woff2') format('woff2');
}
