/*
 * PulseQuant brand typography (WEEX A3).
 *
 * Latin letters, Arabic numerals and ASCII symbols use Poppins
 * (SIL Open Font License 1.1). See /fonts/poppins/OFL.txt.
 *
 * Chinese characters and full-width punctuation use HarmonyOS Sans Fonts
 * (HarmonyOS Sans SC). HarmonyOS Sans Fonts are used under the
 * HarmonyOS Sans Fonts License Agreement. See
 * /fonts/harmonyos-sans-sc/LICENSE.txt and /fonts/NOTICE.txt.
 *
 * Recommended stack: Poppins, "HarmonyOS Sans SC", sans-serif
 *
 * The official 2021 HarmonyOS Sans SC package (and the WEEX brand guide)
 * provide Regular 400, Medium 500, Bold 700 and Black 900. There is no
 * SemiBold. CSS font-weight 600-800 is mapped to the Bold file so the
 * browser will not synthesize a fake bold.
 */

:root {
  --pq-font-sans: Poppins, "HarmonyOS Sans SC", sans-serif;
}

/* ---------- Poppins (latin + latin-ext) ---------- */

/* poppins-latin-ext-400-normal */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/poppins/poppins-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* poppins-latin-400-normal */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/poppins/poppins-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* poppins-latin-ext-500-normal */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/fonts/poppins/poppins-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* poppins-latin-500-normal */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/fonts/poppins/poppins-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* poppins-latin-ext-600-normal */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/poppins/poppins-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* poppins-latin-600-normal */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/poppins/poppins-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* poppins-latin-ext-700-normal */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/poppins/poppins-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* poppins-latin-700-normal */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/poppins/poppins-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * Existing UI uses font-weight 800 in places. The brand guide has no
 * ExtraBold; map 800 to Bold 700 so it does not jump to Black or get faked.
 */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("/fonts/poppins/poppins-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("/fonts/poppins/poppins-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* poppins-latin-ext-900-normal */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: url("/fonts/poppins/poppins-latin-ext-900-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* poppins-latin-900-normal */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: url("/fonts/poppins/poppins-latin-900-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- HarmonyOS Sans SC ---------- */

@font-face {
  font-family: "HarmonyOS Sans SC";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/harmonyos-sans-sc/HarmonyOS_Sans_SC_Regular.woff2") format("woff2");
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/fonts/harmonyos-sans-sc/HarmonyOS_Sans_SC_Medium.woff2") format("woff2");
}

/* Brand guide has no SemiBold: map 600-800 to Bold 700 (no faux bold). */
@font-face {
  font-family: "HarmonyOS Sans SC";
  font-style: normal;
  font-display: swap;
  font-weight: 600 800;
  src: url("/fonts/harmonyos-sans-sc/HarmonyOS_Sans_SC_Bold.woff2") format("woff2");
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: url("/fonts/harmonyos-sans-sc/HarmonyOS_Sans_SC_Black.woff2") format("woff2");
}
