/* ============================================================
   Protodeal — Spacing, radii, shadows, borders, motion
   Spacing is a 4px base grid. Radii are small & functional
   (6px is the workhorse on buttons/inputs). Shadows are subtle
   and cool-tinted — the product reads flat, with hairline borders
   doing most of the separation work.
   ============================================================ */
:root {
  /* ---- Spacing (4px grid) ---- */
  --space-0: 0;
  --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;
  --space-16: 64px;
  --space-20: 80px;

  /* ---- Radii ---- */
  --radius-xs: 4px;
  --radius-sm: 6px;  /* buttons, inputs, dropdowns */
  --radius-md: 8px;  /* cards, ghost buttons, tiles */
  --radius-lg: 12px; /* large surfaces, modals */
  --radius-xl: 16px;
  --radius-pill: 999px;

  /* ---- Borders ---- */
  --border-hairline: 1px;
  --border-accent: 3px; /* selected nav left rail */

  /* ---- Shadows (cool, low) ---- */
  --shadow-xs: 0 1px 2px rgba(0, 14, 28, 0.06);
  --shadow-sm: 0 1px 3px rgba(0, 14, 28, 0.08), 0 1px 2px rgba(0, 14, 28, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 14, 28, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 14, 28, 0.12);
  --shadow-focus: 0 0 0 3px rgba(39, 60, 135, 0.18); /* primary focus ring */
  --shadow-focus-danger: 0 0 0 3px rgba(139, 12, 18, 0.18);

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --duration-fast: 120ms; /* @kind other */
  --duration-base: 180ms; /* @kind other */
  --duration-slow: 260ms; /* @kind other */

  /* ---- Layout ---- */
  --sidebar-width: 309px;
  --topbar-height: 64px;
  --content-max: 1200px;
}
