@font-face {
  font-family: Onest;
  src: url("./fonts/onest-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Golos Text";
  src: url("./fonts/golos-text-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("./fonts/jetbrains-mono-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --sans: "Golos Text", "Segoe UI", sans-serif;
  --display: Onest, "Golos Text", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  font-kerning: normal;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.025em;
  text-wrap: balance;
}

h3 { letter-spacing: -.014em; }
p { text-wrap: pretty; }
code, kbd, samp, pre { font-family: var(--mono); }
time, output, input[inputmode="decimal"] { font-variant-numeric: tabular-nums; }
