/* Type rhythm pass (2026-11-15)
 * Loaded after the page CSS so it can override the legacy `html body ... !important`
 * typography locks. Geist stays the family; only scale, weight, tracking, leading change.
 *
 * Display 48/500 · Section 28/500 · Card 24/500 · Body 17/400 · Nav 15/400.
 * The repeated IDs are deliberate specificity: the old site has 3-ID !important locks.
 */

@layer layout {
html body #v2#v2#v2#v2 h1:not(#a1):not(#a2):not(#a3):not(#a4),
html body #v2#v2#v2#v2 .tagline:not(#a1):not(#a2):not(#a3):not(#a4),
html body #v2#v2#v2#v2 .page-title:not(#a1):not(#a2):not(#a3):not(#a4),
html body #v2#v2#v2#v2 .ph-title:not(#a1):not(#a2):not(#a3):not(#a4) {
  font-size: 48px !important;
  line-height: 1.16 !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em !important;
}

html body #v2#v2#v2#v2 h2:not(#a1):not(#a2):not(#a3):not(#a4),
html body #v2#v2#v2#v2 .uc-cta-t:not(#a1):not(#a2):not(#a3):not(#a4) {
  font-size: 28px !important;
  line-height: 1.3 !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

html body #v2#v2#v2#v2 h3:not(#a1):not(#a2):not(#a3):not(#a4) {
  font-size: 24px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  letter-spacing: -0.015em !important;
}

html body #v2#v2#v2#v2 .lead:not(#a1):not(#a2):not(#a3):not(#a4),
html body #v2#v2#v2#v2 .lead p:not(#a1):not(#a2):not(#a3):not(#a4),
html body #v2#v2#v2#v2 .sub:not(#a1):not(#a2):not(#a3):not(#a4),
html body #v2#v2#v2#v2 .sec-desc:not(#a1):not(#a2):not(#a3):not(#a4) {
  font-size: 17px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
}

html body #v2#v2#v2#v2 .prose-body:not(#a1):not(#a2):not(#a3):not(#a4),
html body #v2#v2#v2#v2 .prose-body p:not(#a1):not(#a2):not(#a3):not(#a4) {
  font-size: 17px !important;
  line-height: 1.6 !important;
  letter-spacing: -0.005em !important;
}

html body #v2#v2#v2#v2 .eyebrow:not(#a1):not(#a2):not(#a3):not(#a4) {
  font-family: var(--font-body, "Geist"), "HarmonyOS Sans SC", "PingFang SC", "Noto Sans SC", system-ui, sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 1.2px !important;
}

html body .navbar.navbar.navbar.navbar .menu a:not(#a1):not(#a2):not(#a3):not(#a4) {
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

html:lang(zh) body #v2#v2#v2#v2 h1:not(#a1):not(#a2):not(#a3):not(#a4),
html:lang(zh) body #v2#v2#v2#v2 .tagline:not(#a1):not(#a2):not(#a3):not(#a4),
html:lang(zh) body #v2#v2#v2#v2 h2:not(#a1):not(#a2):not(#a3):not(#a4),
html:lang(zh) body #v2#v2#v2#v2 h3:not(#a1):not(#a2):not(#a3):not(#a4),
html:lang(zh) body #v2#v2#v2#v2 .lead:not(#a1):not(#a2):not(#a3):not(#a4),
html:lang(zh) body #v2#v2#v2#v2 .prose-body:not(#a1):not(#a2):not(#a3):not(#a4) {
  letter-spacing: 0 !important;
}

@media (max-width: 1100px) {
  html body #v2#v2#v2#v2 h1:not(#a1):not(#a2):not(#a3):not(#a4),
  html body #v2#v2#v2#v2 .tagline:not(#a1):not(#a2):not(#a3):not(#a4),
  html body #v2#v2#v2#v2 .page-title:not(#a1):not(#a2):not(#a3):not(#a4),
  html body #v2#v2#v2#v2 .ph-title:not(#a1):not(#a2):not(#a3):not(#a4) {
    font-size: 40px !important;
    line-height: 46.4px !important;
  }

  html body #v2#v2#v2#v2 h2:not(#a1):not(#a2):not(#a3):not(#a4),
  html body #v2#v2#v2#v2 .uc-cta-t:not(#a1):not(#a2):not(#a3):not(#a4) {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 700px) {
  html body #v2#v2#v2#v2 h1:not(#a1):not(#a2):not(#a3):not(#a4),
  html body #v2#v2#v2#v2 .tagline:not(#a1):not(#a2):not(#a3):not(#a4),
  html body #v2#v2#v2#v2 .page-title:not(#a1):not(#a2):not(#a3):not(#a4),
  html body #v2#v2#v2#v2 .ph-title:not(#a1):not(#a2):not(#a3):not(#a4) {
    font-size: 32px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
  }

  html body #v2#v2#v2#v2 h2:not(#a1):not(#a2):not(#a3):not(#a4),
  html body #v2#v2#v2#v2 .uc-cta-t:not(#a1):not(#a2):not(#a3):not(#a4) {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
}
/* Pricing uses the legacy shell (no #v2); keep it in the same type rhythm. */
html body.pricing-page h1:not(#a1):not(#a2):not(#a3):not(#a4) {
  font-size: 48px !important;
  line-height: 1.16 !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em !important;
}

html body.pricing-page h2:not(#a1):not(#a2):not(#a3):not(#a4) {
  font-size: 28px !important;
  line-height: 1.3 !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

@media (max-width: 1100px) {
  html body.pricing-page h1:not(#a1):not(#a2):not(#a3):not(#a4) { font-size: 40px !important; line-height: 46.4px !important; }
  html body.pricing-page h2:not(#a1):not(#a2):not(#a3):not(#a4) { font-size: 24px !important; line-height: 1.3 !important; }
}

@media (max-width: 700px) {
  html body.pricing-page h1:not(#a1):not(#a2):not(#a3):not(#a4) { font-size: 32px !important; line-height: 1.2 !important; letter-spacing: -0.02em !important; }
  html body.pricing-page h2:not(#a1):not(#a2):not(#a3):not(#a4) { font-size: 24px !important; line-height: 1.3 !important; }
}

/* Mono is a data voice, not a marketing/UI voice: drop it from eyebrows and input hints. */
html body.pricing-page .eyebrow:not(#a1):not(#a2):not(#a3):not(#a4) {
  font-family: var(--font-body, "Geist"), "HarmonyOS Sans SC", "PingFang SC", "Noto Sans SC", system-ui, sans-serif !important;
}

html body #v2#v2#v2#v2 textarea:not(#a1):not(#a2):not(#a3):not(#a4) {
  font-family: var(--font-body, "Geist"), "HarmonyOS Sans SC", "PingFang SC", "Noto Sans SC", system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

html body #v2#v2#v2#v2 .up-name:not(#a1):not(#a2):not(#a3):not(#a4) {
  font-family: var(--font-body, "Geist"), "HarmonyOS Sans SC", "PingFang SC", "Noto Sans SC", system-ui, sans-serif !important;
}

/* Static 404 is outside #v2 but still a marketing surface. */
html body .nf.nf.nf.nf h1:not(#a1):not(#a2):not(#a3):not(#a4) {
  font-size: 48px !important;
  line-height: 1.16 !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em !important;
}

@media (max-width: 700px) {
  html body .nf.nf.nf.nf h1:not(#a1):not(#a2):not(#a3):not(#a4) {
    font-size: 32px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
  }
}

}
