/* =============================================================
   ds-tokens.css — Statura shared design tokens (semantic layer)
   Maps semantic names (--bg, --text, --teal) onto canonical brand
   tokens from brand-tokens.css. Load brand-tokens.css FIRST.
   Legacy semantic names preserved so component CSS keeps working.
   ============================================================= */
:root {
  /* --- surfaces & structure --- */
  --bg: var(--surface-base);
  --surface: var(--surface-lifted);
  --surface-2: var(--surface-hover);
  --border: var(--border-default);
  --border-2: var(--border-strong);
  --easing: cubic-bezier(0.16, 1, 0.3, 1);

  /* --- text --- */
  --text: var(--text-primary);
  --text-2: var(--text-secondary);
  --text-3: var(--text-tertiary);
  --text-muted: var(--text-tertiary);

  /* --- accent (legacy names → brand gold + semantic) --- */
  --teal: var(--statura-gold);
  --teal-2: var(--statura-gold-60);
  --amber: var(--statura-gold);
  --rose: var(--semantic-danger);
  --emerald: var(--semantic-success);
  --violet: var(--industry-education);
  --on-teal: var(--text-on-accent);
  --on-amber: var(--text-on-accent);

  /* --- type scale (12px floor for real content) --- */
  --text-2xs: 12px;
  --text-xs: 13px;
  --text-sm: 14px;
  --text-base: 15px;
  --text-md: 17px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 30px;
  --text-3xl: 38px;
  --leading-tight: 1.25;
  --leading-normal: 1.55;

  /* --- spacing (4px base) --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* --- radii --- */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  /* --- shadows (flat brand: use sparingly, no glow) --- */
  --shadow-sm: 0 1px 2px rgba(20, 35, 62, 0.08);
  --shadow: 0 8px 24px rgba(20, 35, 62, 0.10);
  --shadow-lg: 0 20px 60px rgba(20, 35, 62, 0.16);
  --shadow-focus: var(--focus-ring);
}
