/* GENERATED by website/scripts/sync-kit.mjs from design-system/foundations/typography.scss -- do not edit. */
/* ============================================================================= */
/* OpsyOne Design System — Typography */
/* 13 type styles (design.md §1.2). Slashes in spec names map to dashes in code: */
/* heading/h1 → .heading-h1   body/md → .body-md */
/* Poppins = "the system speaks" (chrome). Inter = "the reader reads" (body). */
/* ============================================================================= */

/* Fonts are self-hosted — see fonts.scss (@font-face). Imported globally in */
/* .storybook/preview.ts before this file, so the faces are registered. */

/* --- Base ------------------------------------------------------------------- */
/* The kit is built border-box: every width, min-width and max-width in a */
/* component INCLUDES its padding and border. Both products reset the same way */
/* in their app.scss; this file is loaded globally by Storybook and by every */
/* consumer, so declaring it here is what makes Storybook render the same box */
/* model the products do — without it a `min-width: 68px` chip measured 68px */
/* of content in Storybook and 68px of chip in the app. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Headings (Poppins SemiBold) -------------------------------------------- */
.heading-h1 { font-family: var(--font-display); font-weight: 600; font-size: 48px; line-height: var(--lh-tight); }
.heading-h2 { font-family: var(--font-display); font-weight: 600; font-size: 32px; line-height: var(--lh-snug); }
.heading-h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: var(--lh-snug); }
.heading-h4 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: var(--lh-snug); }

/* --- UI chrome (Poppins) ---------------------------------------------------- */
.subhead  { font-family: var(--font-display); font-weight: 500; font-size: 18px; line-height: var(--lh-snug); }
.label-md { font-family: var(--font-display); font-weight: 500; font-size: 14px; line-height: var(--lh-snug); }
.label-sm { font-family: var(--font-display); font-weight: 500; font-size: 12px; line-height: var(--lh-snug); }
.meta     { font-family: var(--font-display); font-weight: 400; font-size: 12px; line-height: var(--lh-snug); }
.eyebrow  {
  font-family: var(--font-display); font-weight: 400; font-size: 10px;
  line-height: var(--lh-snug); letter-spacing: 0.5px; text-transform: uppercase;
}
.data {
  font-family: var(--font-display); font-weight: 400; font-size: 14px;
  line-height: var(--lh-snug); font-variant-numeric: tabular-nums;
}

/* --- Body (Inter) ----------------------------------------------------------- */
.body-lg { font-family: var(--font-body); font-weight: 400; font-size: 18px; line-height: var(--lh-relaxed); }
.body-md { font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: var(--lh-relaxed); }
.body-sm { font-family: var(--font-body); font-weight: 400; font-size: 14px; line-height: var(--lh-relaxed); }
