/* Concordis — type tokens (docs/design/tokens/type.css), with the self-hosted faces. Licences in FONTS.md. */
@font-face {
  font-family: "Instrument Sans";
  src: url("../../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "Instrument Sans", system-ui, sans-serif; /* UI */
  --font-display: "Instrument Serif", Georgia, serif; /* titles, hero figures only */
  --font-mono: "JetBrains Mono", ui-monospace, monospace; /* every amount, id, code */

  --text-label: 11px;
  --text-mono: 13px;
  --text-body: 15px;
  --text-lead: 17px;
  --text-display: clamp(44px, 9vw, 76px);
  --tracking-label: 0.08em;
}
