/* SPACING & LAYOUT — Non Xero Sum
   Exact handoff spacing scale (tokens/nxs-tokens.json, 2026-06-17).
   Steps are named by their token key; values in px. */

:root {
  --space-0:  0;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-6:  24px;
  --space-8:  32px;
  --space-12: 48px;
  --space-16: 64px;
  /* larger editorial rhythm (extensions beyond the token set) */
  --space-24: 96px;
  --space-32: 128px;

  /* Layout — handoff sizing tokens */
  --measure:        680px;   /* content-width */
  --measure-wide:   860px;   /* wide-width */
  --gutter:         24px;
  --page-margin:    48px;

  /* Control sizing */
  --control-h-sm: 32px;
  --control-h:    40px;
  --control-h-lg: 48px;
}
