/*
 * theme-engine — type-marketing preset · HEADINGS (vM2 M-01 split).
 *
 * The heading rules of the marketing type scale (h1–h6), split out so
 * consumers can compose just headings without inheriting the body/prose/code
 * rules. xpwebsite links this file directly to take the marketing heading scale
 * while keeping its own (v1.0-baseline) body/prose/code typography.
 *
 * Part of the type-marketing.css preset family — the aggregator @imports this
 * plus -body / -prose / -code. References ONLY --xp-* tokens (no hardcoded hex,
 * no Tailwind utilities, no consumer class names). Per DECISIONS.md D-06, vM2 D-13.
 */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--xp-font-heading);
  color: var(--xp-text-primary);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.75rem, 4vw + 1rem, 5.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 2.5vw + 0.75rem, 3.5rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.5rem, 1.5vw + 0.5rem, 2.25rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: clamp(1.25rem, 1vw + 0.5rem, 1.75rem);
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
