/*
 * SPDX-FileCopyrightText: 2026 Open Health Technology Foundation contributors
 * SPDX-License-Identifier: CC-BY-SA-4.0
 *
 * OHTF typefaces, served from this site so that pages make no request to
 * Google Fonts or any other third party. theme.font is false in mkdocs.yml,
 * so the theme loads nothing itself and uses the families named below.
 *
 * Atkinson Hyperlegible Next (text) and Atkinson Hyperlegible Mono (code),
 * Braille Institute, SIL Open Font License 1.1: see OFL.txt beside each font.
 * Variable WOFF2 files covering weights 200-800, converted from the google/fonts
 * repository (ofl/atkinsonhyperlegiblenext and ofl/atkinsonhyperlegiblemono).
 *
 * Other OHTF docs sites copy this file and docs/assets/fonts/ unchanged.
 */

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../assets/fonts/atkinson-hyperlegible-next/atkinson-hyperlegible-next.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../assets/fonts/atkinson-hyperlegible-next/atkinson-hyperlegible-next-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  src: url("../assets/fonts/atkinson-hyperlegible-mono/atkinson-hyperlegible-mono.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  src: url("../assets/fonts/atkinson-hyperlegible-mono/atkinson-hyperlegible-mono-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --md-text-font: "Atkinson Hyperlegible Next";
  --md-code-font: "Atkinson Hyperlegible Mono";
}
