/* ── Giga typography ───────────────────────────────────────────────────
   DM Sans for display/headlines (heavy — 700 baseline, up to 900), Inter
   for body & UI, Roboto Mono for code/terminals/metrics, Baloo 2 for the
   rounded logo-style wordmark. Headlines run tight & confident; tracking
   opens up wide for small uppercase eyebrows. */

:root {
  /* Families */
  --font-display: 'DM Sans', 'Inter', system-ui, sans-serif;  /* headlines */
  --font-body: 'Inter', system-ui, sans-serif;                /* body / UI */
  --font-mono: 'Roboto Mono', ui-monospace, monospace;        /* code */
  --font-logo: 'Baloo 2', 'DM Sans', sans-serif;              /* wordmark */

  /* Weights — display defaults heavy; body stays 400/500 */
  --fw-regular: 400;   /* @kind font */
  --fw-medium: 500;    /* @kind font */
  --fw-semibold: 600;  /* @kind font */
  --fw-bold: 700;      /* @kind font */
  --fw-extrabold: 800; /* @kind font */
  --fw-black: 900;     /* @kind font */

  /* Display / headline scale (DM Sans, tight tracking, leading ~1.05–1.1) */
  --text-display-2xl: 4.5rem;   /* 72px — hero h1 */
  --text-display-xl: 3.75rem;   /* 60px */
  --text-display-lg: 3rem;      /* 48px — section h2 */
  --text-display-md: 2.25rem;   /* 36px */
  --text-display-sm: 1.875rem;  /* 30px */

  /* Heading scale */
  --text-h1: 2rem;       /* 32px */
  --text-h2: 1.5rem;     /* 24px */
  --text-h3: 1.25rem;    /* 20px */

  /* Body scale (Inter) */
  --text-xl: 1.25rem;    /* 20px — lead paragraph */
  --text-lg: 1.125rem;   /* 18px */
  --text-base: 1rem;     /* 16px — default body */
  --text-sm: 0.875rem;   /* 14px — UI text, nav */
  --text-xs: 0.75rem;    /* 12px — captions */
  --text-eyebrow: 0.75rem; /* 12px uppercase eyebrow */

  /* Line heights */
  --leading-display: 1.05;  /* hero headlines */
  --leading-tight: 1.1;     /* section headings */
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;  /* body paragraphs */

  /* Letter spacing */
  --tracking-display: -0.02em;  /* tight headlines */
  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-eyebrow: 0.25em;   /* wide uppercase eyebrow */
  --tracking-eyebrow-wide: 0.3em;
}

/* Convenience classes used by specimen cards + kits */
.giga-display { font-family: var(--font-display); font-weight: var(--fw-bold); letter-spacing: var(--tracking-display); line-height: var(--leading-display); color: var(--text-primary); }
.giga-heading { font-family: var(--font-display); font-weight: var(--fw-bold); letter-spacing: var(--tracking-tight); line-height: var(--leading-tight); color: var(--text-primary); }
.giga-body { font-family: var(--font-body); font-weight: var(--fw-regular); line-height: var(--leading-relaxed); color: var(--text-secondary); }
.giga-mono { font-family: var(--font-mono); font-weight: var(--fw-regular); }
.giga-eyebrow {
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
}
.giga-logo { font-family: var(--font-logo); font-weight: var(--fw-extrabold); letter-spacing: -0.02em; }
