/*
 * Web fonts — the two faces of v1 RW-0027, as amended twice.
 *
 * Declared here rather than in the Tailwind source because that file is
 * regenerated on every build and this reference must survive one. Both this
 * file and app/assets/fonts sit at the asset load-path root, so Propshaft's
 * CssAssetUrls compiler rewrites the url() below to a digested path.
 *
 * Self-hosted on purpose — a CDN font is a third-party request on every page
 * of a clinical record, and the app must keep working under a strict CSP.
 *
 * TWO FACES THAT WERE DRAWN TO SIT TOGETHER. Nunito and Nunito Sans are one
 * superfamily on a shared skeleton: Nunito has rounded terminals, Nunito Sans
 * has square ones. That is the whole difference, and it is why this pairing
 * works where the two before it did not. Literata against Inter was a serif
 * arguing with a grotesque and was rejected on sight; Inter alone had no
 * heading voice at all. Rounded headings over a plain-terminal body is the
 * hierarchy those two faces exist to make.
 *
 * Nunito carries the four heading roles — display, page title, section title,
 * card title. Nunito Sans carries everything else, which is 91% of the app.
 * v1 RW-0027's floor is unchanged and is the only one: nothing below 14px.
 *
 * THE TOKENS ARE NAMED FOR THE JOB, NOT THE CLASSIFICATION. `--font-sans` is
 * the body face and `--font-display` the heading face, and both happen to be
 * sans now. Renaming them to `--font-body` / `--font-heading` was considered
 * and dropped: `--font-sans` is Tailwind's own namespace and generates
 * `font-sans`, so a rename would put the system's most-read token out of step
 * with the framework to fix a wording problem this comment fixes for free.
 *
 * BOTH ARE VARIABLE, 200–1000, which is a wider weight range than either face
 * this replaces and is what lets the display role step DOWN to 500 while the
 * headings under it hold 600. `font-optical-sizing: auto` is declared in the
 * Tailwind source; Nunito Sans carries a real `opsz` axis, Nunito does not, and
 * the declaration is harmless on a face without one.
 *
 * 92KB for both, latin-subset. That is LESS than Inter alone (71KB) plus
 * anything, and less than half what Inter and Literata cost together — the
 * third answer is also the cheapest, which is not usually how this goes.
 */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/nunito-latin-8d9cc785.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/nunito-sans-latin-6a8605fb.woff2") format("woff2");
}
