/* tokens/typography.css — OWZO v2 type tokens.
   Fluid clamp() scale replaces v1's fixed scale + three breakpoint
   re-declarations. Token NAMES are the v1 public contract — unchanged. */
:root {
  /* Monospace identity. JetBrains Mono is optional-progressive:
     layout must not depend on it (fallback stack renders correctly). */
  --font-mono: 'JetBrains Mono', 'Courier New', Consolas, Monaco, monospace;

  /* v1 contract names, v2 fluid values */
  --font-size-xs: clamp(0.6875rem, 0.65rem + 0.15vw, 0.75rem); /* @kind other */
  --font-size-sm: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem); /* @kind other */
  --font-size-base: clamp(0.875rem, 0.83rem + 0.25vw, 1rem); /* @kind other */
  --font-size-lg: clamp(1rem, 0.95rem + 0.35vw, 1.125rem); /* @kind other */
  --font-size-xl: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); /* @kind other */
  --font-size-2xl: clamp(1.25rem, 1.1rem + 0.9vw, 1.75rem); /* @kind other */
  --font-size-3xl: clamp(1.5rem, 1.25rem + 1.5vw, 2.25rem); /* @kind other */
  --font-size-4xl: clamp(1.75rem, 1.4rem + 2.2vw, 2.75rem); /* @kind other */
  --font-size-5xl: clamp(2rem, 5vw + 1rem, 3.5rem); /* @kind other */

  /* v2 additions */
  --line-height-tight: 1.2;
  --line-height-base: 1.7;
  --letter-spacing-wide: 0.08em;
  --measure: 70ch;
}
