/* Unified editorial type system for the bilingual public site. */
:root {
  --font-ui: "Inter", "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-cn: "Inter", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --type-ink: #354b43;
  --type-muted: #587067;
}

html, body, button, input, textarea, select {
  font-family: var(--font-ui);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body { color: var(--type-ink); }

nav, footer, .navlinks, .nav-actions, .actions, .chapter-actions,
.hero-foot, .section-label, .kicker, .article-en, .visual-caption,
.language-switch, .nav-login, .nav-contact {
  font-family: var(--font-ui);
}

nav { font-size: 15px; }
.navlinks { gap: clamp(24px, 2.2vw, 42px) !important; }
.navlinks a { font-size: 15px !important; font-weight: 550 !important; letter-spacing: .005em !important; }
.language-switch, .nav-login, .nav-contact { font-size: 14px !important; font-weight: 600 !important; letter-spacing: 0 !important; }

.hero h1,
.statement h2,
.section-head h2,
.tech-intro h2,
.digital h2,
.model h2,
.closing h2,
.chapter-copy h2 {
  font-family: var(--font-ui) !important;
  font-weight: 600 !important;
  letter-spacing: -.042em !important;
  line-height: 1.12 !important;
  text-wrap: balance;
}

.hero h1 { font-size: clamp(48px, 4.5vw, 72px) !important; }
.hero-en { font-family: var(--font-ui) !important; font-size: 15px !important; font-weight: 650 !important; letter-spacing: .11em !important; line-height: 1.45 !important; }
.hero-desc, .statement div > p, .section-head > p, .tech-intro > p,
.digital > div > p, .chapter-summary, .reading-body p {
  font-family: var(--font-ui) !important;
  color: var(--type-muted) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: .005em !important;
  line-height: 1.85 !important;
}

.section-label, .kicker, .article-en, .chapter-label {
  font-family: var(--font-ui) !important;
  font-weight: 650 !important;
  letter-spacing: .12em !important;
  line-height: 1.5 !important;
}

.chapter-copy h2 { font-size: clamp(32px, 2.65vw, 46px) !important; }
.chapter-deck { font-family: var(--font-ui) !important; font-weight: 500 !important; }
.chapter-highlights b, .platform-grid h3, .step b, .model-steps b { font-family: var(--font-ui) !important; font-weight: 600 !important; }
.chapter-highlights span, .chapter-more, .chapter-detail-links a { font-family: var(--font-ui) !important; }

.actions a, .chapter-contact, .primary, .secondary { font-family: var(--font-ui) !important; font-weight: 600 !important; letter-spacing: 0 !important; }
footer { font-size: 11px !important; letter-spacing: .06em !important; }

[lang="zh-CN"] body, [lang="zh-CN"] button, [lang="zh-CN"] input,
[lang="zh-CN"] textarea, [lang="zh-CN"] select {
  font-family: var(--font-cn);
}

@media (max-width: 850px) {
  .hero h1 { font-size: clamp(38px, 10vw, 52px) !important; letter-spacing: -.035em !important; }
  .hero-en { font-size: 13px !important; letter-spacing: .08em !important; }
  .chapter-copy h2 { font-size: 31px !important; }
}
