/* Shared by all 13 local pages. Families and role metrics come from the rendered
   home hero, section headings, application cards, body copy and code samples.
   Page styles still own responsive sizes and layout; demo documents keep their type. */
:root {
  --type-hero: 'PingFang SC', 'Source Han Sans SC', 'Noto Sans CJK SC', 'Microsoft YaHei', sans-serif;
  --type-display: 'Helvetica Neue', 'PingFang SC', system-ui, sans-serif;
  --type-text: 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --type-accent: Georgia, 'Times New Roman', serif;
  --type-code: ui-monospace, SFMono-Regular, Consolas, monospace;
  --type-nav: 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --sans: var(--type-text);
  --body: var(--type-text);
  --display: var(--type-display);
  --mono: var(--type-code);
  --serif: var(--type-accent);
}
body {
  font-family: var(--type-text);
  font-weight: 400;
  line-height: 1.6;
}
.sitebar {
  --bar-font: var(--type-nav);
}
/* main.work is the family of secondary pages; product and pricing have their own shells. */
.bosi-opening .title,
:is(main.work, #product-main, #pricing-main) h1 {
  font-family: var(--type-hero);
  font-weight: 500;
  font-style: normal;
  line-height: 1.15;
  letter-spacing: -0.04em;
}
:is(main.work, #product-main, #pricing-main) h1 em {
  font-family: inherit;
  font-weight: inherit;
  font-style: normal;
  letter-spacing: inherit;
}
.bosi-opening .title em,
:is(main.work, #product-main, #pricing-main) h1 em:lang(en) {
  font-family: var(--type-accent);
  font-weight: 500;
  font-style: italic;
  font-size: 1.04em;
  line-height: 1;
  letter-spacing: -0.035em;
}
:is(main.work, #product-main, #pricing-main) h2 {
  font-family: var(--type-display);
  font-weight: 540;
  letter-spacing: -0.055em;
}
:is(main.work, #product-main, #pricing-main) h3 {
  font-family: var(--type-display);
  font-weight: 600;
  letter-spacing: -0.025em;
}
:is(main.work, #product-main, #pricing-main)
  :is(.section-top h2, .section-title, .pd-title, .ec-chapter h2, .ec-cta h2, .dl-guide h2) {
  line-height: 1.14;
}
:is(main.work, #product-main, #pricing-main)
  :is(.lead, .pd-lead, .hero-lede, .sf-lede, .dl-intro > p:not(.dl-eyebrow), .error-copy) {
  font-family: var(--type-text);
  font-weight: 400;
  line-height: 1.75;
}
:is(main.work, #product-main, #pricing-main)
  :is(.k, .micro, .overline, .serial, .dl-meta, .dl-eyebrow, .error-label, .section-id, .pd-kicker) {
  font-family: var(--type-code);
  font-weight: 550;
  letter-spacing: 0.075em;
}
:is(main.work, #product-main, #pricing-main) :is(pre, code, kbd, samp, .dev-tabs button, .dev-code h3) {
  font-family: var(--type-code);
}
:is(main.work, #product-main, #pricing-main)
  :is(.btn, .ghost, .inline, .chip, .switch, .pd-btn, .dl-file-action) {
  font-family: var(--type-text);
}
:is(main.work, #product-main, #pricing-main) :is(.book h2 strong, .price-value) {
  font-family: var(--type-accent);
}
