/* ── Typography ──────────────────────────────────────────────────────────
   Dual-font signature: Anthropic Serif for editorial/heading content,
   Anthropic Sans for all functional UI. Never mix within a text block.
   Letter-spacing stays normal at every size. "liga" enabled throughout.
   ──────────────────────────────────────────────────────────────────────── */

:root {
  /* Families (substitutes documented in fonts.css) */
  --font-anthropic-serif: 'Source Serif 4', 'Anthropic Serif', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
  --font-anthropic-sans:  'Inter', 'Anthropic Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: var(--font-anthropic-serif);
  --font-sans:  var(--font-anthropic-sans);

  /* Weights */
  --font-weight-w330:     330; /* whisper-weight display serif */
  --font-weight-regular:  400;
  --font-weight-w430:     430; /* warm UI / button weight */
  --font-weight-medium:   500;
  --font-weight-semibold: 600;

  /* Type scale — size / line-height pairs */
  --text-caption: 11px;  --leading-caption: 1.5;
  --text-body:    15px;  --leading-body:    1.63;
  --text-subheading: 18px; --leading-subheading: 1.56;
  --text-heading-sm: 24px; --leading-heading-sm: 1.33;
  --text-heading:    30px; --leading-heading:    1.33;
  --text-display:    56px; --leading-display:    1.2;

  /* Intermediate UI sizes referenced by components */
  --text-ui-sm: 12px;
  --text-ui:    14px;
  --text-ui-md: 16px;

  --font-feature-liga: 'liga' 1;
}
