/* Superintelligence Foundry — type scale (fluid, base 16px / 1rem) */

:root {
  /* Split into discrete size/weight/line-height tokens (rather than a single
     "font:" shorthand) because the fluid clamp() size — needed for the hero
     display sizes — contains commas that a shorthand string cannot carry
     safely; compose the three at the call site (fontFamily: var(--font-display),
     fontSize: var(--font-size-display-xl), fontWeight: var(--font-weight-display-xl),
     lineHeight: var(--line-height-display-xl)). */
  --font-size-display-xl: clamp(3rem, 6.25vw, 5.5rem);
  --font-weight-display-xl: 700;
  --line-height-display-xl: 1.02;

  --font-size-display-l: clamp(2.25rem, 4.25vw, 3.75rem);
  --font-weight-display-l: 700;
  --line-height-display-l: 1.05;

  --font-size-display-m: clamp(1.75rem, 3vw, 2.5rem);
  --font-weight-display-m: 600;
  --line-height-display-m: 1.1;

  --text-display-s:  600 1.5rem/1.2 var(--font-display);

  --text-heading-l: 600 1.375rem/1.3 var(--font-body);
  --text-heading-m: 600 1.125rem/1.4 var(--font-body);
  --text-heading-s: 600 1rem/1.4 var(--font-body);

  --text-body-l: 400 1.125rem/1.6 var(--font-body);
  --text-body-m: 400 1rem/1.6 var(--font-body);
  --text-body-s: 400 0.875rem/1.55 var(--font-body);

  --text-label: 500 0.8125rem/1.3 var(--font-body);
  --text-caption: 400 0.75rem/1.4 var(--font-body);

  --text-mono-m: 400 0.9375rem/1.5 var(--font-mono);
  --text-mono-s: 400 0.8125rem/1.5 var(--font-mono);

  --tracking-tight: -0.02em;
  --tracking-normal: 0em;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.12em; /* eyebrow/label caps */
}
