/* Mulish is the self-hosted fallback for devices without the Avenir families. */
@font-face {
  font-family: "Mulish";
  src: url("/fonts/mulish-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --practice-font: "Avenir Next", Avenir, Mulish, "Segoe UI", sans-serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  font-family: var(--practice-font);
  font-weight: var(--weight-regular);
}

:where(h1) { font-weight: var(--weight-semibold); }
:where(h2, h3, h4, strong, b, th) { font-weight: var(--weight-medium); }

button, input, select, textarea, option, dialog, svg text {
  font-family: inherit;
}

table, time, input[type="number"], input[type="date"] {
  font-variant-numeric: lining-nums tabular-nums;
}
