@font-face {
  font-family: "Instrument Sans";
  src: url("./studies/types/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

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

:root {
  --type-ui: "Instrument Sans", system-ui, sans-serif;
  --type-reading: var(--type-ui);
  --type-mono: "Geist Mono", ui-monospace, monospace;
  --type-title: 620 clamp(2.2rem, 4.2vw, 4.1rem)/1.05 var(--type-ui);
  --type-heading: 600 clamp(1.45rem, 2.1vw, 1.95rem)/1.18 var(--type-ui);
  --type-body: 400 clamp(1.04rem, 1.32vw, 1.16rem)/1.65 var(--type-reading);
  --type-control: 550 1rem/1.35 var(--type-ui);
  --type-caption: 450 .94rem/1.45 var(--type-ui);
  font-family: var(--type-ui);
}

:where(button, input, select, textarea) { font-family: var(--type-ui); }
