/* ===========================================================================
   Optimus High Tech — Spacing, radii, shadows, motion
   =========================================================================== */

: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;
  --space-32: 128px;

  /* Radii — the brand leans on soft, generous rounding */
  --radius-xs:  6px;
  --radius-sm:  10px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-2xl: 36px;
  --radius-pill: 999px;
  --radius-app-icon: 22.5%; /* logo squircle ratio (260/2000 → ~13%/scaled) */

  /* Shadows — cool, blue-tinted elevation (never neutral grey) */
  --shadow-xs: 0 1px 2px rgba(6, 9, 30, 0.06);
  --shadow-sm: 0 2px 6px rgba(6, 9, 30, 0.08);
  --shadow-md: 0 8px 20px rgba(6, 9, 30, 0.10);
  --shadow-lg: 0 18px 40px rgba(6, 9, 30, 0.14);
  --shadow-xl: 0 30px 70px rgba(6, 9, 30, 0.20);
  --shadow-brand: 0 14px 30px rgba(23, 95, 207, 0.28);
  --shadow-focus: 0 0 0 3px rgba(56, 132, 250, 0.35);

  /* Layout */
  --container-max: 1200px; /* @kind spacing */
  --container-wide: 1320px; /* @kind spacing */
  --sidebar-w: 264px; /* @kind spacing */

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