/* Spacing tokens — NOT from Figma (yet). Kit first, Figma later
   (Santiago, 2026-09-30): once settled, these get mirrored into a Spacing
   collection in PR27 Library. tokens.css stays a pure Figma mirror, so they
   live here, like radius.css.

   The scale is what the kit already used (audit 2026-09-30): 2 · 4 · 6 · 8 ·
   12 · 16 · 24 · 32, plus 40 for page-level gaps. Named by value, so a
   variable always says what it is. Use them for gap / padding / margin.
   Geometry-driven values (7.5 = 6 + a 1.5px line, 2.5 between tick and
   number, a sticky offset) stay literal: they're calculations, not rhythm. */

:root {
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-56: 56px; /* added 2026-10-02 (Tutor stat row); Figma needs it too */

  /* Text trim (2026-10-02): stacked text (a name over "2 days ago", a label
     over its value) trims each line's leading to the letters, cap height to
     baseline, so a gap token is the real visible gap. Without it a gap of 0
     still looks open: each line carries ~2–3px of invisible leading above and
     below. Browsers without text-box ignore it and keep the old look. */
  --text-trim: trim-both cap alphabetic;
}
