/* Lightweight font bundle for the homepage.
 * Intended to replace the heavy fonts.css + material-icons.css pair
 * when the homepage only needs Lexend, local Material Icons, and
 * system Chinese fallbacks.
 */

:root {
  --homepage-font-sans: 'Lexend', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Heiti SC', 'Source Han Sans SC', 'Noto Sans CJK SC', sans-serif;
}

@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(lexend/wlpwgwvFAVdoq2_v-6QU.woff2) format('woff2');
}

@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(lexend/wlpwgwvFAVdoq2_v-6QU.woff2) format('woff2');
}

@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(lexend/wlpwgwvFAVdoq2_v-6QU.woff2) format('woff2');
}

@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(lexend/wlpwgwvFAVdoq2_v-6QU.woff2) format('woff2');
}

@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(lexend/wlpwgwvFAVdoq2_v-6QU.woff2) format('woff2');
}

@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(lexend/wlpwgwvFAVdoq2_v-6QU.woff2) format('woff2');
}

html,
body,
button,
input,
textarea,
select {
  font-family: var(--homepage-font-sans);
}

.material-icons,
.material-icons-outlined,
.material-symbols-outlined {
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1;
  font-style: normal;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
}

.material-icons {
  font-family: 'Material Icons';
}

.material-icons-outlined,
.material-symbols-outlined {
  font-family: 'Material Icons Outlined', 'Material Icons';
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(materialicons/materialicons.woff2) format('woff2');
}

@font-face {
  font-family: 'Material Icons Outlined';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(materialicons/materialicons-outlined.woff2) format('woff2');
}
