/* ============================================================
   Trampolyne — Typography tokens
   Schibsted Grotesk (UI/display) + JetBrains Mono (data).
   Enterprise base size = 14px. Mono carries the "technical"
   signal: run IDs, metrics, target metadata, code.
   ============================================================ */

:root {
  /* Families */
  --font-sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Menlo', monospace;

  /* Type scale (px) */
  --text-2xs: 11px;
  --text-xs:  12px;
  --text-sm:  13px;
  --text-base:14px;
  --text-md:  16px;
  --text-lg:  18px;
  --text-xl:  20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 36px;
  --text-5xl: 48px;
  --text-6xl: 60px;

  /* Weights */
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-extra:    800;

  /* Line heights */
  --leading-none:    1;
  --leading-tight:   1.15;
  --leading-snug:    1.3;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  /* Letter spacing */
  --tracking-tight:  -0.02em;
  --tracking-snug:   -0.01em;
  --tracking-normal: 0em;
  --tracking-wide:   0.02em;
  --tracking-caps:   0.06em;  /* eyebrows / overlines */

  /* ---- Semantic roles ---- */
  --type-display-family: var(--font-sans);
  --type-display-weight: var(--weight-bold);
  --type-display-tracking: var(--tracking-tight);

  --type-heading-weight: var(--weight-semibold);
  --type-heading-tracking: var(--tracking-snug);

  --type-body-family: var(--font-sans);
  --type-body-size: var(--text-base);
  --type-body-leading: var(--leading-normal);

  --type-label-weight: var(--weight-medium);
  --type-label-size: var(--text-sm);

  --type-eyebrow-size: var(--text-xs);
  --type-eyebrow-weight: var(--weight-semibold);
  --type-eyebrow-tracking: var(--tracking-caps);

  --type-mono-family: var(--font-mono);
  --type-mono-size: var(--text-sm);
}
