/* RIALMA — spacing, radii, shadows, motion, layout.
   Minimal & clinical: small radii, restrained shadows, calm motion. */

: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: 3rem;      /* 48 */
  --space-8: 4rem;      /* 64 */
  --space-9: 6rem;      /* 96 */
  --space-10: 8rem;     /* 128 */

  /* Radii — small, architectural. Rialma is not bubbly. */
  --radius-none: 0;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-pill: 999px;
  --radius-card: var(--radius-md);

  /* Borders */
  --border-width: 1px;
  --border-width-strong: 1.5px;

  /* Shadows — soft, low, cool. Used sparingly. */
  --shadow-none: none;
  --shadow-xs: 0 1px 2px rgba(21, 22, 22, 0.06);
  --shadow-sm: 0 2px 8px rgba(21, 22, 22, 0.06);
  --shadow-md: 0 8px 24px rgba(21, 22, 22, 0.08);
  --shadow-lg: 0 18px 48px rgba(21, 22, 22, 0.12);
  --shadow-focus: 0 0 0 3px rgba(143, 160, 226, 0.35);

  /* Motion — calm, no bounce. */
  --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 */
  --ease-in: cubic-bezier(0.4, 0, 1, 1); /* @kind other */
  --duration-fast: 120ms; /* @kind other */
  --duration-base: 200ms; /* @kind other */
  --duration-slow: 360ms; /* @kind other */

  /* Layout */
  --container-sm: 640px;
  --container-md: 880px;
  --container-lg: 1120px;
  --container-xl: 1320px;
  --gutter: var(--space-5);
}
