/* Phase 0 Chinese public-site additions. Existing public-site styles carry the layout;
   this file only sets Hanzi typography and the small language switch. */
html[lang="zh-CN"] {
  --zh-sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
}

html[lang="zh-CN"] body {
  font-family: var(--zh-sans);
  line-height: 1.75;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] .lead,
html[lang="zh-CN"] .intro {
  font-family: var(--zh-sans);
  letter-spacing: -0.015em;
}

html[lang="zh-CN"] h1 {
  line-height: 1.15;
}

html[lang="zh-CN"] h2 {
  line-height: 1.3;
}

html[lang="zh-CN"] .lead,
html[lang="zh-CN"] .intro,
html[lang="zh-CN"] .note {
  line-height: 1.8;
}

html[lang="zh-CN"] .note {
  max-width: 66ch;
}

html[lang="zh-CN"] a {
  text-underline-offset: 0.24em;
}

html[lang="zh-CN"] .lang-switch {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

html[lang="zh-CN"] .ftr-tag,
html[lang="zh-CN"] .ftr-links,
html[lang="zh-CN"] .ftr-legal {
  font-family: var(--zh-sans);
}

html[lang="zh-CN"] .ftr-links a,
html[lang="zh-CN"] .ftr-legal a {
  text-underline-offset: 0.24em;
}

html[lang="zh-CN"] .brand-zh {
  margin-left: 6px;
  font-size: 1em;
  font-weight: inherit;
  letter-spacing: 0;
  color: inherit;
  white-space: nowrap;
}

