/* CDN version is pinned; only weights used by the site are requested. */
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("https://cdn.jsdelivr.net/npm/@lobehub/webfont-harmony-sans-sc@1.0.0/fonts/HarmonyOS_Sans_SC_Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("https://cdn.jsdelivr.net/npm/@lobehub/webfont-harmony-sans-sc@1.0.0/fonts/HarmonyOS_Sans_SC_Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("https://cdn.jsdelivr.net/npm/@lobehub/webfont-harmony-sans-sc@1.0.0/fonts/HarmonyOS_Sans_SC_Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans";
  src: url("https://cdn.jsdelivr.net/npm/@lobehub/webfont-harmony-sans@1.0.0/fonts/HarmonyOS_Sans_Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("https://cdn.jsdelivr.net/npm/@lobehub/webfont-harmony-sans-sc@1.0.0/fonts/HarmonyOS_Sans_SC_Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HarmonyOS Sans";
  src: url("https://cdn.jsdelivr.net/npm/@lobehub/webfont-harmony-sans@1.0.0/fonts/HarmonyOS_Sans_Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/inter@5.3.0/files/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-family-base: "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  /* The reference overview defines eight levels; legacy sizes map to these. */
  --font-size-display: 72px;
  --font-size-h1: 64px;
  --font-size-h2: 48px;
  --font-size-h3: 36px;
  --font-size-h4: 24px;
  --font-size-body-large: 18px;
  --font-size-body: 16px;
  --font-size-caption: 14px;
  --line-height-display: 1;
  --line-height-heading: 1.2;
  --line-height-body: 1.5;
  --letter-spacing-base: 0px;
  --font-size-button: var(--font-size-body);
  --font-size-navigation: var(--font-size-body);
  --type-display: var(--font-weight-bold) var(--font-size-display)/var(--line-height-display) var(--font-family-base);
  --type-h1: var(--font-weight-bold) var(--font-size-h1)/var(--line-height-heading) var(--font-family-base);
  --type-h2: var(--font-weight-bold) var(--font-size-h2)/var(--line-height-heading) var(--font-family-base);
  --type-h3: var(--font-weight-bold) var(--font-size-h3)/var(--line-height-heading) var(--font-family-base);
  --type-h4: var(--font-weight-bold) var(--font-size-h4)/var(--line-height-heading) var(--font-family-base);
  --type-body-large: var(--font-weight-regular) var(--font-size-body-large)/var(--line-height-body) var(--font-family-base);
  --type-body: var(--font-weight-regular) var(--font-size-body)/var(--line-height-body) var(--font-family-base);
  --type-caption: var(--font-weight-regular) var(--font-size-caption)/var(--line-height-body) var(--font-family-base);
  --type-button: var(--font-weight-medium) var(--font-size-button)/var(--line-height-body) var(--font-family-base);
  --type-navigation: var(--font-weight-regular) var(--font-size-navigation)/var(--line-height-body) var(--font-family-base);
}

html { font-family: var(--font-family-base); }
body { font: var(--type-body); letter-spacing: var(--letter-spacing-base); }
button, input, select, textarea { font: inherit; letter-spacing: inherit; }
button, [role="button"], .type-button { font: var(--type-button); }
nav, .type-navigation { font: var(--type-navigation); }
h1, .type-h1 { font: var(--type-h1); }
h2, .type-h2 { font: var(--type-h2); }
h3, .type-h3 { font: var(--type-h3); }
h4, h5, h6, .type-h4 { font: var(--type-h4); }
.type-display { font: var(--type-display); }
.type-body-large { font: var(--type-body-large); }
.type-body { font: var(--type-body); }
small, .type-caption { font: var(--type-caption); }
h1, h2, h3, h4, h5, h6, [class*="type-"] { letter-spacing: var(--letter-spacing-base); }
strong, b { font-weight: var(--font-weight-bold); }

/* Compact layouts reuse the same eight roles instead of adding ad-hoc sizes. */
@media (max-width: 991px) {
  :root {
    --font-size-display: 48px;
    --font-size-h1: 48px;
    --font-size-h2: 36px;
    --font-size-h3: 24px;
    --font-size-h4: 24px;
  }
}
@media (max-width: 767px) {
  :root {
    --font-size-display: 36px;
    --font-size-h1: 36px;
    --font-size-h2: 36px;
    --font-size-h3: 24px;
    --font-size-h4: 18px;
    --font-size-body-large: 16px;
  }
}

.container{
  width: 1480px;
  padding: 0 48px;
  margin: 0 auto;
}
