/* DM Sans is loaded from Google Fonts CDN via <link> in the layout */

/* Fusion Label is Maven Pro with corrected vertical metrics (app/assets/fonts/FusionLabel-OFL.txt):
   Maven Pro's own (ascent 96.5%, descent 21%) put capitals and numbers 0.044em below the middle of
   their line, so labels sat low in pills, buttons and number circles. Fixed in the font files, not
   with ascent-override, because Safari ignores those descriptors. */

@font-face {
  font-family: "Fusion Label";
  src: url("/assets/FusionLabel-Regular-a885df64.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fusion Label";
  src: url("/assets/FusionLabel-Medium-8aa50c90.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fusion Label";
  src: url("/assets/FusionLabel-SemiBold-c707161d.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fusion Label";
  src: url("/assets/FusionLabel-Bold-846d3c59.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fusion Label";
  src: url("/assets/FusionLabel-ExtraBold-4e109326.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fusion Label";
  src: url("/assets/FusionLabel-Black-02669736.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* D-DIN Condensed Bold by Datto (app/assets/fonts/D-DIN-OFL.txt), unmodified: a free copy of DIN Condensed
   Bold, the brand guidelines' headline face and the face of the course names on course images */
@font-face {
  font-family: "D-DIN Condensed";
  src: url("/assets/D-DINCondensed-Bold-cb263878.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Zoomed out below 100% (measured 12 Nov 2026 in Chrome at 90% on a 1x screen), Chrome draws the
   label font 1 to 1.5 screen pixels above the middle of pills and number circles. On those screens
   only, these faces move it back down (0.08em); at 100% and on Retina screens the faces above apply
   unchanged. Safari ignores the descriptors. */
@media (max-resolution: 0.99dppx) {
  @font-face {
    font-family: "Fusion Label";
    src: url("/assets/FusionLabel-Regular-a885df64.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    ascent-override: 108.1%;
    descent-override: 25.4%;
    line-gap-override: 0%;
  }
  @font-face {
    font-family: "Fusion Label";
    src: url("/assets/FusionLabel-Medium-8aa50c90.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    ascent-override: 108.1%;
    descent-override: 25.4%;
    line-gap-override: 0%;
  }
  @font-face {
    font-family: "Fusion Label";
    src: url("/assets/FusionLabel-SemiBold-c707161d.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    ascent-override: 108.1%;
    descent-override: 25.4%;
    line-gap-override: 0%;
  }
  @font-face {
    font-family: "Fusion Label";
    src: url("/assets/FusionLabel-Bold-846d3c59.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    ascent-override: 108.1%;
    descent-override: 25.4%;
    line-gap-override: 0%;
  }
  @font-face {
    font-family: "Fusion Label";
    src: url("/assets/FusionLabel-ExtraBold-4e109326.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    ascent-override: 108.1%;
    descent-override: 25.4%;
    line-gap-override: 0%;
  }
  @font-face {
    font-family: "Fusion Label";
    src: url("/assets/FusionLabel-Black-02669736.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    ascent-override: 108.1%;
    descent-override: 25.4%;
    line-gap-override: 0%;
  }
}
