/* K.ai speaks Geist (Dan, 2026-08-27). Operating type — nav, buttons, headings,
   labels — and reading type — prose, and Kai's answers in the web chat — are
   the same face, self hosted, SIL Open Font License (GEIST-LICENSE.txt beside
   the files). No font CDN: the fonts ride the same origin as the page, so no
   third party learns who read what.

   One variable file carries the whole weight axis (100–900), which the site
   needs — the design uses in-between weights (650, 680, 720, 760) that static
   cuts cannot express. Geist Mono rides along for code, terminal blocks and
   key fingerprints, where a fixed advance is the point.

   History: Manrope → Archivo + Literata (2026-07-16) → JetBrains Mono
   everywhere (earlier today, the first switch that made the apps and the site
   agree on one face) → Geist. JetBrains Mono was retired within the day for
   the reason a monospace face is a monospace face: every glyph reserves the
   same wide advance, and at reading length that reads spaced out. Geist keeps
   the one-voice decision and gives the proportional spacing back. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Geist";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-italic-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-mono-variable.woff2") format("woff2");
}

:root {
  /* Every page already reads --kai-font, so the operating voice swaps here. */
  --kai-font: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  /* The reading voice is the same face — one voice, per the note above. */
  --kai-serif: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  /* Code, terminal blocks, hashes and keys: a fixed advance is the point, so
     these keep a monospace — the family's own, not the system's. */
  --kai-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
