/*
 * B2B Universal Typography Token v1
 *
 * This file does not load remote fonts. It only defines the preferred
 * font stack so WordPress Font Library / local fonts can be used when
 * Plus Jakarta Sans is installed, with Chinese and system UI fallbacks.
 */

:root {
  --b2b-font-sans: "Plus Jakarta Sans", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --b2b-font-heading: var(--b2b-font-sans);
  --b2b-type-regular: 400;
  --b2b-type-medium: 500;
  --b2b-type-semibold: 600;
  --b2b-type-bold: 700;
}

html,
body {
  font-family: var(--b2b-font-sans);
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

:where(h1, h2, h3, h4, h5, h6, .font-heading) {
  font-family: var(--b2b-font-heading);
}
