/* NEXULIS — Typography scale
 * Geometric sans (Sora) for display + UI + body. Mono (JetBrains Mono) for
 * eyebrows, telemetry, data labels, code. Tight tracking on display sizes for
 * a precise, engineered feel; generous tracking + uppercase on mono eyebrows.
 */

:root {
  /* Type scale — 1.25 major-third-ish, tuned for data density */
  --text-2xs: 11px;
  --text-xs:  12px;
  --text-sm:  13px;
  --text-base:15px;
  --text-md:  17px;
  --text-lg:  20px;
  --text-xl:  24px;
  --text-2xl: 30px;
  --text-3xl: 38px;
  --text-4xl: 48px;
  --text-5xl: 62px;
  --text-6xl: 80px;

  /* Weights */
  --weight-light:   300;
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semibold:600;
  --weight-bold:    700;

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

  /* Letter spacing */
  --tracking-tighter: -0.03em;
  --tracking-tight:   -0.015em;
  --tracking-normal:  0;
  --tracking-wide:    0.02em;
  --tracking-wider:   0.08em;
  --tracking-eyebrow: 0.16em; /* mono uppercase labels */

  /* ---- Role tokens ---- */
  --type-display-font: var(--font-display);
  --type-display-weight: var(--weight-semibold);
  --type-display-tracking: var(--tracking-tighter);
  --type-display-leading: var(--leading-tight);

  --type-heading-font: var(--font-sans);
  --type-heading-weight: var(--weight-semibold);
  --type-heading-tracking: var(--tracking-tight);
  --type-heading-leading: var(--leading-snug);

  --type-body-font: var(--font-sans);
  --type-body-weight: var(--weight-regular);
  --type-body-tracking: var(--tracking-normal);
  --type-body-leading: var(--leading-normal);

  --type-label-font: var(--font-sans);
  --type-label-weight: var(--weight-medium);
  --type-label-tracking: var(--tracking-normal);

  --type-eyebrow-font: var(--font-mono);
  --type-eyebrow-weight: var(--weight-medium);
  --type-eyebrow-tracking: var(--tracking-eyebrow);
  --type-eyebrow-size: var(--text-xs);

  --type-mono-font: var(--font-mono);
  --type-mono-weight: var(--weight-regular);
  --type-mono-tracking: var(--tracking-normal);
}
