@font-face {
  font-family: "SN Pro";
  src: url("../fonts/sn-pro/SNPro-VariableRegular.woff2?v=1") format("woff2-variations");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "SN Pro";
  src: url("../fonts/sn-pro/SNPro-VariableItalic.woff2?v=1") format("woff2-variations");
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
}

/* Apple's Ultra Light and Heavy faces lack Cyrillic glyphs. Keep both alphabets
   in Avenir by mapping the outer weights to its complete Regular/Bold faces. */
@font-face {
  font-family: "Magic Avenir";
  src: local("AvenirNext-Regular"), local("Avenir Next Regular");
  font-style: normal;
  font-weight: 100 400;
}

@font-face {
  font-family: "Magic Avenir";
  src: local("AvenirNext-Medium"), local("Avenir Next Medium");
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Magic Avenir";
  src: local("AvenirNext-DemiBold"), local("Avenir Next Demi Bold");
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Magic Avenir";
  src: local("AvenirNext-Bold"), local("Avenir Next Bold");
  font-style: normal;
  font-weight: 700 900;
}

@font-face {
  font-family: "Magic Avenir";
  src: local("AvenirNext-Italic"), local("Avenir Next Italic");
  font-style: italic;
  font-weight: 100 400;
}

@font-face {
  font-family: "Magic Avenir";
  src: local("AvenirNext-MediumItalic"), local("Avenir Next Medium Italic");
  font-style: italic;
  font-weight: 500;
}

@font-face {
  font-family: "Magic Avenir";
  src: local("AvenirNext-DemiBoldItalic"), local("Avenir Next Demi Bold Italic");
  font-style: italic;
  font-weight: 600;
}

@font-face {
  font-family: "Magic Avenir";
  src: local("AvenirNext-BoldItalic"), local("Avenir Next Bold Italic");
  font-style: italic;
  font-weight: 700 900;
}

:root {
  --font-sans: "SN Pro", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
}

html.is-apple-platform {
  --font-sans: "Magic Avenir", "SN Pro", "Helvetica Neue", Arial, sans-serif;
}
