/* ============================================================
   RARE GENETICS — 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;

  /* —— Layout —— */
  --page-max: 430px;       /* mobile-first canvas width */
  --page-gutter: 20px;     /* default horizontal page padding */

  /* —— Radii —— */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;       /* strain cards */
  --radius-lg: 20px;       /* form blocks / large cards */
  --radius-xl: 28px;
  --radius-pill: 999px;    /* buttons, chips, "In stock" pills */

  /* —— Borders —— */
  --border-w-hair: 1px;
  --border-w-card: 2px;    /* selected strain card outline */
  --border-w-pill: 2px;
  --border-w-heavy: 3px;   /* circular icon-button outline */

  /* —— Shadows —— */
  --shadow-pill: 0 1px 4px 0 rgba(0,0,0,0.35);    /* floating glass "In stock" pill */
  --shadow-card: 0 1px 3px 0 rgba(0,0,0,0.08), 0 1px 2px 0 rgba(0,0,0,0.06);
  --shadow-pop: 0 8px 24px 0 rgba(0,0,0,0.18);
  --glass-blur: blur(3px);     /* @kind other */

  /* —— Motion —— */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);          /* @kind other */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);        /* @kind other */
  --dur-fast: 120ms;   /* @kind other */
  --dur: 200ms;        /* @kind other */
  --dur-slow: 320ms;   /* @kind other */
}
