/* The Simplified Chinese pages (site/zh/), loaded after ../styles.css. Type only, nothing else changes:
   - a CJK-safe font stack: Latin stays in the grotesk, Chinese falls through to the platform's Simplified Chinese
     sans (PingFang SC on Apple, Microsoft YaHei on Windows, Noto Sans CJK SC on Android and Linux);
   - tight CJK headlines in place of the big letter-spaced uppercase beats (uppercase does nothing to Chinese and
     letter-spacing pulls the characters apart), with more line height where Chinese wraps;
   - small letter-spaced labels keep a trace of spacing only. */
:root { --sans: "Inter", "SF Pro Text", "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif; }
body { line-height: 1.75; }

/* the beats: tight headlines that break only between their phrases (each .w span is one phrase) */
.beat { letter-spacing: 0; line-height: 1.2; }
.beat .w { white-space: nowrap; }
.hero .beat { font-size: clamp(32px, 9.6vw, 76px); max-width: none; }
h2.beat { font-size: clamp(28px, 4.4vw, 58px); }
.prose h1 { letter-spacing: 0; line-height: 1.25; }
@media (min-width: 960px) { .hero .beat { font-size: clamp(44px, 6vw, 86px); } }
.hero .beat { font-family: var(--sans); }

/* Chinese breaks between any two characters: keep headlines balanced and last lines from ending on one or two */
.beat, .prose h1 { text-wrap: balance; }
.cap, .lede, .plan .sum, .faq .ans p, .prose p { text-wrap: pretty; }

/* body copy: CJK reads better with more leading */
.cap, .lede { line-height: 1.85; }
.faq .ans, .prose p, .prose li { line-height: 1.85; }
.faq summary { line-height: 1.6; }

/* labels, nav, buttons: a trace of spacing, not the Latin .14 to .22em */
.kicker, .label, .more a, .site-nav a, .btn, .chip, .step h3, .agent h3, .agent .tier, .studio-points b, .proof span,
.interval button, .plan h3, .plan .lbl, .plan .tag, .plan .meta, .foot-brand p, .site-foot h2, .side h2, .prose h2,
.prose th, .crumb, .card b, .badge, .field label, .copy, .os b, .mock-head strong, .mcol h4, .mock-chat h4, .lang {
  letter-spacing: .06em;
}
.kicker { font-size: 13px; }
.step h3, .studio-points b, .card b { font-size: 16px; }
.agent h3 { font-size: 16px; }
.prose h2 { font-size: 15px; }

/* the payment-methods line under the pricing cards */
.pay { text-align: center; color: var(--quiet); font-size: 13px; max-width: 70ch; margin: 10px auto 0; }

/* the macOS command box is labeled in Chinese */
.cmd.sh pre::before { content: "终端"; }
