/* ============================================================
   Fyld — Typography
   One engineered family. Geist for display/UI/body; Geist Mono
   for every number, ID, score and metric. Display is tight
   (Geist 800, −0.03em); data is tabular mono.
   ============================================================ */

:root {
  /* ---- Families ---- */
  --font-ui:   "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* ---- Weights ---- */
  --fw-regular:  400; /* @kind font */
  --fw-medium:   500; /* @kind font */
  --fw-semibold: 600; /* @kind font */
  --fw-bold:     700; /* @kind font */
  --fw-black:    800; /* @kind font */ /* display / wordmark */

  /* ---- Type scale (px) ----
     Display & Section use clamp() in components; these are the anchors. */
  --fs-display:  64px;  /* hero, big stats        (Geist 800) */
  --fs-section:  44px;  /* section titles         (Geist 800) */
  --fs-title:    28px;  /* card / panel titles    (Geist 700) */
  --fs-subtitle: 20px;  /* sub-heads              (Geist 600) */
  --fs-lede:     19px;  /* intro lines            (Geist 500) */
  --fs-body:     16px;  /* body, controls         (Geist 400-500) */
  --fs-sm:       14px;  /* dense body, table cells*/
  --fs-data:     13px;  /* scores, metrics        (Geist Mono) */
  --fs-label:    11px;  /* eyebrows, tracking     (Geist Mono) */
  --fs-micro:    10px;  /* finest captions */

  /* ---- Line heights ---- */
  --lh-display:  0.95; /* @kind font */
  --lh-tight:    1.1; /* @kind font */
  --lh-snug:     1.3; /* @kind font */
  --lh-body:     1.6; /* @kind font */
  --lh-relaxed:  1.65; /* @kind font */

  /* ---- Letter spacing ---- */
  --ls-display: -0.03em; /* @kind font */ /* big Geist 800 */
  --ls-title:   -0.01em; /* @kind font */
  --ls-normal:   0; /* @kind font */
  --ls-label:    0.14em; /* @kind font */ /* mono eyebrows */
  --ls-data:     0.04em; /* @kind font */ /* mono data rows */

  /* ---- Tabular numerals (always-on for data) ---- */
  --num-tabular: "tnum" 1, "cv01" 1; /* @kind font */
}

/* Utility: every number in the system is tabular mono */
.fyld-data,
.fyld-tnum {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
