/* ============================================================
   CUSTOM · SPACING, RADIUS, SHADOW, MOTION TOKENS
   ============================================================ */
:root {
  /* Spacing scale (4px base) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;

  /* Radii — app uses soft, generous rounding */
  --radius-xs:  6px;
  --radius-sm:  10px;
  --radius-md:  14px;  /* default card */
  --radius-lg:  18px;
  --radius-pill: 999px;
  --radius-chip: 8px;

  /* Elevation — light, diffuse shadows on white surfaces */
  --shadow-sm:  0 1px 2px rgba(29, 27, 60, 0.06);
  --shadow-card: 0 2px 10px rgba(29, 27, 60, 0.07);
  --shadow-md:  0 6px 20px rgba(29, 27, 60, 0.10);
  --shadow-lg:  0 16px 40px rgba(29, 27, 60, 0.16);
  --shadow-focus: 0 0 0 3px rgba(39, 131, 221, 0.28);

  /* Control heights (44px min touch target) */
  --control-sm: 36px; /* @kind spacing */
  --control-md: 44px; /* @kind spacing */
  --control-lg: 52px; /* @kind spacing */

  /* Motion */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1); /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --dur-fast:  120ms; /* @kind other */
  --dur-med:   200ms; /* @kind other */
  --dur-slow:  320ms; /* @kind other */
}
