/* ============================================================
   Rocketronics — Spacing, radius, shadow, layout tokens
   Industrial / technical product: crisp corners, restrained
   shadows, a tidy 4px-based spacing grid.
   ============================================================ */
:root {
  /* ---- Spacing scale (4px base) ---- */
  --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;
  --space-24: 96px;

  /* ---- Radii — modest. Hardware/CAM software reads "engineered",
     not bubbly. Pills reserved for badges & tags. ---- */
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  /* ---- Borders ---- */
  --border-width: 1px;
  --border-width-thick: 2px;

  /* ---- Shadows — soft, cool-tinted, low spread ---- */
  --shadow-xs: 0 1px 2px rgba(20, 49, 92, 0.06);
  --shadow-sm: 0 1px 3px rgba(20, 49, 92, 0.10), 0 1px 2px rgba(20, 49, 92, 0.06);
  --shadow-md: 0 4px 10px rgba(20, 49, 92, 0.10), 0 1px 3px rgba(20, 49, 92, 0.07);
  --shadow-lg: 0 12px 28px rgba(20, 49, 92, 0.14), 0 4px 10px rgba(20, 49, 92, 0.08);
  --shadow-xl: 0 24px 50px rgba(20, 49, 92, 0.18);
  --shadow-inset: inset 0 1px 2px rgba(20, 49, 92, 0.10);
  /* colored glow for primary CTAs */
  --shadow-accent: 0 4px 14px color-mix(in srgb, var(--blue-500) 35%, transparent);

  /* ---- Layout ---- */
  --container-sm: 720px;  /* @kind other */
  --container-md: 960px;  /* @kind other */
  --container-lg: 1200px; /* @kind other */
  --container-xl: 1360px; /* @kind other */

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

  /* ---- Z layers ---- */
  --z-base: 1;       /* @kind other */
  --z-sticky: 100;   /* @kind other */
  --z-overlay: 500;  /* @kind other */
  --z-modal: 1000;   /* @kind other */
  --z-toast: 1500;   /* @kind other */
}
