/* Chinese-first system typography; no remote font requests. */
:root { --font-ui: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html:lang(zh) body { font-family: var(--font-ui); font-size: 1.0625rem; line-height: 1.8; }
button, input, select, textarea { font-family: inherit; }
html:lang(zh) h1, html:lang(zh) h2, html:lang(zh) h3 { font-weight: 600; letter-spacing: 0; word-break: normal; overflow-wrap: break-word; text-wrap: balance; }
html:lang(zh) h1 { font-size: clamp(2.125rem, 1.6rem + 2.1vw, 3.5rem); line-height: 1.3; }
html:lang(zh) h2 { font-size: clamp(1.875rem, 1.3rem + 1.5vw, 2.625rem); line-height: 1.4; }
html:lang(zh) .hero-copy { max-width: 32em; line-height: 1.85; word-break: normal; overflow-wrap: break-word; }
html:lang(zh) .feature-copy>p:not(.feature-index), html:lang(zh) .result-explanation>p, html:lang(zh) .guide-copy>p:not(.eyebrow) { line-height: 1.85; text-wrap: pretty; }
html:lang(zh) .eyebrow { letter-spacing: .04em; }
.brand { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; letter-spacing: -.025em; }
.nav-download, .primary, .feature-tabs button, .compare-tabs button { line-height: 1.5; }
.footer-bottom, .footer-bottom>div p+p { font-size: .8125rem; line-height: 1.8; }
.site-registration { padding: 16px 0 22px; border-top: 1px solid var(--line); font-size: .8125rem; line-height: 1.8; }
.site-registration a { display: inline-flex; align-items: center; min-height: 44px; color: #64646c; text-decoration: none; text-underline-offset: .2em; }
.site-registration a:hover { color: var(--accent); text-decoration: underline; }
.site-registration a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 3px; }
@media(max-width:767px) {
  html:lang(zh) body { font-size: 1rem; }
  html:lang(zh) h1 { font-size: clamp(2.125rem, 1.5rem + 2.5vw, 2.75rem); }
  html:lang(zh) .hero-copy { max-width: 22em; }
  .site-registration { padding-bottom: 18px; }
}
