/*
 * TUNLstack self-hosted webfonts
 * License-audit finding F12 (Gate B): serve fonts from our own origin instead
 * of third-party font CDNs.
 *
 * General Sans — Indian Type Foundry (Frode Helland).
 *   Source: Fontshare offline webfont kit, retrieved 2026-07-12 (700/Bold added
 *     2026-07-13 for the V2 marketing pages; same kit, cmp-verified byte-identical
 *     provenance to the 400/500/600 statics).
 *   License: Fontshare Free Font License (ITF Free Font License).
 *   Weights shipped: 400 (Regular), 500 (Medium), 600 (Semibold), 700 (Bold).
 *   Files are the kit's original .woff2 statics, shipped UNMODIFIED (never subset/re-encoded).
 *
 * JetBrains Mono — The JetBrains Mono Project Authors.
 *   Source: JetBrains/JetBrainsMono GitHub release v2.304 (700/Bold added
 *     2026-07-13 for the V2 marketing pages).
 *   License: SIL Open Font License, Version 1.1 (OFL-1.1).
 *   Weights shipped: 400 (Regular), 500 (Medium), 700 (Bold).
 *   Files are the release's original webfonts .woff2 statics, shipped UNMODIFIED.
 *
 * Full license texts live in the repo licenses/ directory and are surfaced on
 * the /legal/attribution page.
 */

/* ---- General Sans ---- */
@font-face {
  font-family: "General Sans";
  src: url("/fonts/GeneralSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("/fonts/GeneralSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("/fonts/GeneralSans-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("/fonts/GeneralSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- JetBrains Mono ---- */
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
