/* ============================================================
   PharmaZen — Spacing, radii, shadows, layout
   4px base grid. Soft, clinical shadows. Modest rounding.
   ============================================================ */
: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-12: 7rem;     /* 112 */

  /* ---- Radii ---- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --radius-pill: 999px;

  /* ---- Borders ---- */
  --border-hairline: 1px solid var(--color-border);
  --border-strong:   1.5px solid var(--color-border-strong);

  /* ---- Shadows (cool, soft — clinical not glossy) ---- */
  --shadow-xs: 0 1px 2px rgba(16, 42, 69, 0.06);
  --shadow-sm: 0 2px 6px rgba(16, 42, 69, 0.08);
  --shadow-md: 0 8px 20px rgba(16, 42, 69, 0.10);
  --shadow-lg: 0 18px 44px rgba(16, 42, 69, 0.14);
  --shadow-focus: 0 0 0 3px var(--color-focus-ring);

  /* ---- Layout ---- */
  --container-max: 1200px;
  --container-narrow: 760px;
  --gutter: var(--space-5);
  --section-y: var(--space-12);

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --dur-fast: 140ms; /* @kind other */
  --dur-base: 220ms; /* @kind other */
  --dur-slow: 360ms; /* @kind other */
}
