/* ============================================================
   GUMMI WORLD, SPACING, RADII, ELEVATION, LAYOUT
   Precision-first: a strict 4px grid, restrained radii, and
   low, tight shadows for a controlled, engineered feel.
   ============================================================ */
: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: 7.5rem;   /* 120 */

  /* Radii, engineered, not bubbly. Full only for pills/dots. */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  /* Elevation, subtle, cool-tinted, tight spread (clinical) */
  --elev-0: none;
  --elev-1: 0 1px 2px rgba(17,44,87,0.06), 0 1px 1px rgba(17,44,87,0.04);
  --elev-2: 0 2px 6px rgba(17,44,87,0.08), 0 1px 2px rgba(17,44,87,0.06);
  --elev-3: 0 8px 24px rgba(17,44,87,0.10), 0 2px 6px rgba(17,44,87,0.06);
  --elev-4: 0 18px 48px rgba(17,44,87,0.14), 0 4px 12px rgba(17,44,87,0.08);

  /* Hairline ring used on cards / cert tiles */
  --ring-hairline: inset 0 0 0 1px var(--border);

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1440px;
  --gutter: var(--space-6);

  /* Motion, measured, no bounce. Precise easing. */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);   /* @kind other */
  --dur-fast: 120ms; /* @kind other */
  --dur-med: 200ms;  /* @kind other */
  --dur-slow: 320ms; /* @kind other */
}
