/* Font stack.
 *
 * The design tokens in style.css carry the font family extracted from the
 * source layout. When that font is a proprietary webfont it is not
 * available to this build, so this file declares the closest free
 * substitute and the token falls back to it.
 *
 * To use a specific webfont, add its @font-face rule here and change
 * --font-body / --font-heading in style.css.
 *
 * NOTE: do not redefine --font-body or --font-heading here. A custom property
 * that references itself is invalid at computed-value time, and the browser
 * falls back to its default serif, which silently breaks the typography.
 */

@font-face {
    font-family: "SystemFallback";
    src: local("Segoe UI"), local("Helvetica Neue"), local("Arial"),
         local("Roboto"), local("Noto Sans");
    font-display: swap;
}

@font-face {
    font-family: "DisplayFallback";
    src: local("Segoe UI Semibold"), local("Helvetica Neue"), local("Arial"),
         local("Roboto"), local("Noto Sans");
    font-weight: 700;
    font-display: swap;
}
