/* ============================================================
   SCIGENIX · Spacing, radii, shadows, borders, 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 ----
     Scigenix product UI is crisp: small-to-medium radii, never
     pill-soft on containers. Tags / pills use full rounding. */
  --radius-xs:   3px;
  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-pill: 999px;

  /* ---- Borders ---- */
  --border-hairline: 1px;
  --border-thin:     1.5px;

  /* ---- Shadows ----
     On dark surfaces depth comes mostly from hairline borders +
     subtle ambient shadow. A green glow is the signature focus/CTA. */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.25);
  --shadow-sm:  0 2px 6px rgba(0,0,0,0.30);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg:  0 18px 48px rgba(0,0,0,0.45);
  --shadow-glow:      0 0 0 1px var(--accent-soft-bd), 0 6px 24px rgba(34,197,94,0.22);
  --shadow-glow-soft: 0 8px 30px rgba(34,197,94,0.18);
  --shadow-focus:     0 0 0 3px var(--ring);

  /* ---- Layout ---- */
  --container-max: 1200px; /* @kind other */
  --container-wide: 1320px; /* @kind other */
  --header-h: 64px; /* @kind other */
  --sidebar-w: 248px; /* @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:  360ms; /* @kind other */
}
