/* Datavid — Typography tokens
 * Ubuntu across the board. Sentence-case headings (per content style guide).
 * Type scale ~1.2 (minor third), tuned for clear, professional UI + docs.
 */
:root {
  /* Families */
  --font-display: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Ubuntu', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'Ubuntu Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Weights (Ubuntu ships 300 / 400 / 500 / 700) */
  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-bold:     700;

  /* Font sizes */
  --text-2xs: 0.6875rem;  /* 11px */
  --text-xs:  0.75rem;    /* 12px */
  --text-sm:  0.875rem;   /* 14px */
  --text-base:1rem;       /* 16px */
  --text-md:  1.125rem;   /* 18px */
  --text-lg:  1.375rem;   /* 22px */
  --text-xl:  1.75rem;    /* 28px */
  --text-2xl: 2.25rem;    /* 36px */
  --text-3xl: 2.875rem;   /* 46px */
  --text-4xl: 3.75rem;    /* 60px */

  /* Line heights */
  --leading-tight:   1.12;
  --leading-snug:    1.28;
  --leading-normal:  1.55;
  --leading-relaxed: 1.7;

  /* Letter spacing */
  --tracking-tight:  -0.02em;
  --tracking-snug:   -0.01em;
  --tracking-normal: 0;
  --tracking-wide:   0.02em;
  --tracking-caps:   0.08em;   /* for eyebrow / overline uppercase */

  /* ===== Semantic roles ===== */
  --display-font:   var(--font-display);
  --display-weight: var(--weight-bold);
  --display-leading:var(--leading-tight);
  --display-tracking: var(--tracking-tight);

  --heading-font:   var(--font-display);
  --heading-weight: var(--weight-medium);
  --heading-leading:var(--leading-snug);

  --body-font:   var(--font-body);
  --body-weight: var(--weight-regular);
  --body-leading:var(--leading-normal);
  --body-size:   var(--text-base);

  --eyebrow-weight: var(--weight-bold);
  --eyebrow-tracking: var(--tracking-caps);
  --eyebrow-size: var(--text-xs);
}
