/* Global body-copy typography: PingFang SC Light. */
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  font-weight: 300 !important;
}

body :where(
  p,
  li,
  dd,
  blockquote,
  figcaption,
  label,
  input,
  textarea,
  select,
  option,
  [class*="__desc"],
  [class*="-desc"],
  [class*="__description"],
  [class*="-description"],
  [class*="__subtitle"],
  [class*="-subtitle"],
  [class*="__summary"],
  [class*="-summary"],
  [class*="__note"],
  [class*="-note"],
  [class*="__meta"],
  [class*="-meta"]
) {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif !important;
  font-weight: 300 !important;
}

/* All copy uses PingFang SC Regular by default, including controls and overlays. */
html body[data-page]:not(#regular-type-scope) * {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif !important;
  font-weight: 300 !important;
}

/* Only semantic and explicitly named titles retain a stronger hierarchy. */
html body[data-page]:not(#regular-type-scope) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  [class*="__title"],
  [class*="-title"],
  [class*="headline"],
  [class*="heading"]
) {
  font-weight: 600 !important;
}

html body[data-page]:not(#regular-type-scope) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  [class*="__title"],
  [class*="-title"],
  [class*="headline"],
  [class*="heading"]
) * {
  font-weight: 600 !important;
}

/* Primary action labels stay visually strong above the global copy weight. */
html body :is(.btn.primary,.auth-submit,.membership-pay-btn,.payment-confirm-btn.is-primary) {
  font-weight:600!important;
}

/* Navigation labels and the referenced card headings use the requested weight. */
html body :is(
  .site-nav .nav-link,
  #page-app .app-value-grid>div>strong,
  #page-app .app-training-card__content>strong,
  #page-maker .maker-purpose-card .maker-text-block>p:first-child
) {
  font-weight:400!important;
}
