/* ──────────────────────────────────────────────────────────
   RobinPG · Spacing, radius, shadow, motion tokens
   The brand reads as engine tooling: geometric, mostly square
   corners, hairline grids, and a single teal glow for light.
   ────────────────────────────────────────────────────────── */
:root {
  /* ── Spacing scale (4px base) ── */
  --space-0:  0;
  --space-1:  0.25rem;  /* 4 */
  --space-2:  0.5rem;   /* 8 */
  --space-3:  0.75rem;  /* 12 */
  --space-4:  1rem;     /* 16 */
  --space-5:  1.5rem;   /* 24 */
  --space-6:  2rem;     /* 32 */
  --space-7:  2.5rem;   /* 40 */
  --space-8:  3rem;     /* 48 */
  --space-9:  4rem;     /* 64 */
  --space-10: 5rem;     /* 80 */
  --space-11: 7rem;     /* 112 */
  --space-12: 9rem;     /* 144 */

  /* ── Radius — kept tight; the mark is sharp & triangular ── */
  --radius-0:    0;
  --radius-sm:   2px;
  --radius-md:   4px;     /* default control radius */
  --radius-lg:   8px;
  --radius-xl:   14px;
  --radius-pill: 999px;

  /* ── Borders ── */
  --border-w:      1px;
  --border-w-thick:2px;

  /* ── Shadows — dark UI leans on glow, not drop shadow ── */
  --shadow-sm:   0 1px 2px rgba(0,0,0,0.4);
  --shadow-md:   0 6px 18px rgba(0,0,0,0.45);
  --shadow-lg:   0 18px 48px rgba(0,0,0,0.55);
  --glow-teal:   0 0 0 1px rgba(57,204,206,0.4), 0 0 24px rgba(57,204,206,0.28);
  --glow-soft:   0 0 32px rgba(57,204,206,0.16);
  --inset-hair:  inset 0 0 0 1px var(--white-08);

  /* ── Z-index ── */
  --z-base:   0;    /* @kind other */
  --z-raised: 10;   /* @kind other */
  --z-sticky: 100;  /* @kind other */
  --z-overlay:200;  /* @kind other */
  --z-modal:  300;  /* @kind other */
  --z-toast:  400;  /* @kind other */

  /* ── Motion ── */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);    /* @kind other */
  --ease-in-out:cubic-bezier(0.65, 0, 0.35, 1);    /* @kind other */
  --ease-snap:  cubic-bezier(0.34, 1.56, 0.64, 1); /* @kind other */
  --dur-fast:   120ms;  /* @kind other */
  --dur-base:   200ms;  /* @kind other */
  --dur-slow:   360ms;  /* @kind other */

  /* ── Layout ── */
  --container:  1100px;      /* @kind spacing */
  --container-wide: 1320px;  /* @kind spacing */
  --gutter:     2rem;        /* @kind spacing */
}
