/* Chinese typography. Loaded after the main theme on Chinese pages only.
   MiSans uses the vendor's unmodified, unicode-range WOFF2 subsets.
   Its native weights are Regular 330, Medium 380, Demibold 450,
   Semibold 520, Bold 630 (not the conventional CSS 400/500/600). */
.srct-body[data-lang="zh"] {
  --srct-sans: var(--srct-zh);
  --srct-serif: var(--srct-zh);
  --srct-mono: "JetBrains Mono", "MiSans", "PingFang SC", "Microsoft YaHei", monospace;
  font-family: var(--srct-zh);
  font-weight: 330;
  line-height: 1.7;
  line-break: strict;
}

/* Keep the existing Latin wordmark while removing accidental Songti and
   simulated italic from Chinese headings and copy throughout the site. */
.srct-body[data-lang="zh"] .srct-brand {
  font-family: "Yeseva One", Georgia, serif;
}
.srct-body[data-lang="zh"] :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--srct-zh);
  font-weight: 520;
  font-style: normal;
  letter-spacing: 0;
}
.srct-body[data-lang="zh"] em {
  font-style: normal;
  font-weight: inherit;
}
.srct-body[data-lang="zh"] :is(strong, b) {font-weight: 520;}
.srct-body[data-lang="zh"] :is(.srct-section-title, .srct-story-headline) {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 520;
  line-height: 1.4;
  letter-spacing: 0;
  text-wrap: balance;
}
.srct-body[data-lang="zh"] :is(.srct-pain-title, .srct-step-title, .srct-feat-title) {
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.45;
}
.srct-body[data-lang="zh"] :is(.srct-contact-hero h1, .srct-legal-h1, .srct-resource-title) {
  line-height: 1.35;
  text-wrap: balance;
}
.srct-body[data-lang="zh"] .srct-hero2-h1 {
  font-weight: 520;
  line-height: 1.3;
  letter-spacing: 0;
  text-wrap: balance;
}
.srct-body[data-lang="zh"] :is(.srct-section-sub, .srct-pain-desc, .srct-step-desc, .srct-feat-desc, .srct-faq-a-text) {
  line-height: 1.75;
}
.srct-body[data-lang="zh"] :is(.srct-story-closing-slogan, .srct-foot-brand p, .srct-faq-strip p, .srct-form-submit, .srct-cart-summary-cta, .srct-pp-partners-copy p, .srct-partners-fallback p, .srct-od-address-body, .srct-orders-greeting b, .srct-select-option.is-disabled) {
  font-style: normal;
  line-height: 1.6;
}
.srct-body[data-lang="zh"] .srct-story-body p::first-letter {
  font-family: inherit;
  font-size: 1em;
  font-style: normal;
  padding-right: 0;
}
.srct-body[data-lang="zh"] .srct-faq-q {
  font-weight: 520;
  letter-spacing: 0;
  line-height: 1.5;
}

/* Chinese labels need readable spacing rather than the English all-caps
   tracking. Keep the small numerals and SKU in the existing mono face. */
.srct-body[data-lang="zh"] :is(.srct-section-label, .srct-story-eyebrow, .srct-story-closing-intro, .srct-step-thumb-tag, .srct-app-download-label, .srct-buy-box-label, .srct-foot-col h5, .srct-field label, .srct-cookie-row h4, .srct-checkout-login h4, .srct-legal-toc-heading) {
  font-family: var(--srct-zh);
  font-size: 13px;
  font-weight: 380;
  line-height: 1.6;
  letter-spacing: .04em;
}
.srct-body[data-lang="zh"] :is(.srct-btn, .srct-resource-link, .srct-hero2-demo, .srct-works-video-btn, .srct-cookie-btn, .srct-cookie-learn) {
  font-family: var(--srct-zh);
  font-style: normal;
  font-weight: 450;
  letter-spacing: 0;
}
.srct-body[data-lang="zh"] .srct-co-section-pay .place-order .button {
  font-family: var(--srct-zh);
  font-style: normal;
  font-weight: 520;
  letter-spacing: 0;
}
.srct-body[data-lang="zh"] :is(.srct-nav-links, .srct-nav-submenu) {
  font-weight: 380;
  letter-spacing: 0;
}
.srct-body[data-lang="zh"] .srct-foot-bottom {
  font-family: var(--srct-zh);
  font-size: 12px;
  letter-spacing: 0;
}
.srct-body[data-lang="zh"] .srct-font-credit {font-size: 12px;}

/* Preserve the compact, five-row homepage summary. The full bilingual
   reference remains a table; improve leading without hiding any data. */
.srct-body[data-lang="zh"] .srct-spec-preview .srct-section-title {
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 520;
  line-height: 1.4;
  text-wrap: initial;
}
.srct-body[data-lang="zh"] .srct-home-demos .srct-section-title {font-weight: 520;}
.srct-body[data-lang="zh"] .srct-spec-summary dt {font-weight: 520;}
.srct-body[data-lang="zh"] .srct-spec-summary dd {line-height: 1.6;}
.srct-body[data-lang="zh"] .srct-spec-table {font-weight: 330; line-height: 1.65;}
.srct-body[data-lang="zh"] .srct-spec-table th {font-weight: 520;}
.srct-body[data-lang="zh"] .srct-spec-english {font-weight: 330; line-height: 1.5;}
.srct-body[data-lang="zh"] .srct-spec-chapter :is(h2, h3) {line-height: 1.45;}
.srct-body[data-lang="zh"] .srct-spec-chapter p {line-height: 1.7;}

@media (max-width: 720px) {
  .srct-body[data-lang="zh"] :is(.srct-section-title, .srct-story-headline) {
    font-size: clamp(24px, 6vw, 30px);
    line-height: 1.45;
  }
  .srct-body[data-lang="zh"] .srct-hero2-h1 {
    font-size: clamp(28px, 7.6vw, 38px);
  }
  .srct-body[data-lang="zh"] :is(.srct-pain-title, .srct-step-title, .srct-feat-title) {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .srct-body[data-lang="zh"] :is(.srct-section-sub, .srct-pain-desc, .srct-step-desc, .srct-feat-desc, .srct-faq-a-text, .srct-story-body p, .srct-story-closing-body, .srct-buy-list li) {
    font-size: 16px;
    line-height: 1.75;
  }
  .srct-body[data-lang="zh"] .srct-faq-q {font-size: 18px;}
  .srct-body[data-lang="zh"] .srct-resource-title {font-size: 30px;}
  .srct-body[data-lang="zh"] .srct-pp-h1 {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.35;
    text-wrap: balance;
  }
  .srct-body[data-lang="zh"] :is(.srct-contact-hero h1, .srct-partners-hero h1, .srct-legal-h1) {
    font-size: clamp(28px, 7vw, 36px);
    line-height: 1.4;
  }
  .srct-body[data-lang="zh"] .srct-spec-preview .srct-section-title {
    font-size: clamp(20px, 5.5vw, 24px);
  }
  .srct-body[data-lang="zh"] .srct-spec-summary dd {font-size: 15px;}
  .srct-body[data-lang="zh"] .srct-spec-table {font-size: 14px;}
  .srct-body[data-lang="zh"] .srct-spec-table :is(th, td) {padding: 9px 7px;}
  .srct-body[data-lang="zh"] .srct-foot-brand p {font-size: 18px;}
  .srct-body[data-lang="zh"] .srct-foot-col a {font-size: 15px;}
  .srct-body[data-lang="zh"] :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    font-family: var(--srct-zh);
    font-size: 16px;
  }
}
