/*
 * Next Commerce — Docs & Publication Content Design Tokens
 * Typography: font stacks, type scale, line heights
 *
 * Font loading is handled per-repo:
 *   - Fumadocs repos: next/font/google (Inter) + Google Fonts link (JetBrains Mono)
 *   - guides/: Google Fonts links for both
 */

:root {
  /* ── Font Stacks ───────────────────────────────────────── */
  --ds-font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --ds-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* ── Type Scale ────────────────────────────────────────── */
  --ds-text-4xl: 48px;    /* Hero headlines */
  --ds-text-3xl: 36px;    /* Page titles */
  --ds-text-2xl: 30px;    /* Section headings (h1 in docs) */
  --ds-text-xl: 24px;     /* Subsection headings */
  --ds-text-lg: 19px;     /* Large body, card titles, h2 */
  --ds-text-base: 16px;   /* Body text */
  --ds-text-md: 15px;     /* Secondary body (guides/ default) */
  --ds-text-sm: 14px;     /* UI labels, buttons */
  --ds-text-xs: 13px;     /* Metadata, captions, code */
  --ds-text-2xs: 12px;    /* Badges, tags, breadcrumbs */
  --ds-text-3xs: 11px;    /* Fine print, nav labels */
  --ds-text-4xs: 10.5px;  /* Minimum (legal only) */

  /* ── Line Heights ──────────────────────────────────────── */
  --ds-leading-tight: 1.15;   /* Display/hero headings */
  --ds-leading-snug: 1.3;     /* UI labels, nav */
  --ds-leading-normal: 1.5;   /* Body text (Fumadocs default) */
  --ds-leading-relaxed: 1.7;  /* Body text (guides/ default) */
  --ds-leading-loose: 1.75;   /* Long-form prose */

  /* ── Font Weights ──────────────────────────────────────── */
  --ds-weight-normal: 400;
  --ds-weight-medium: 500;
  --ds-weight-semibold: 600;
  --ds-weight-bold: 700;
  --ds-weight-extrabold: 800;
}
