/* ============================================================
   FILUM — SPACING, RADII, SHADOWS, MOTION
   8px base grid. Soft generous radii (matches the rounded logo
   and the palette card corners). Diffuse, low-contrast shadows.
   ============================================================ */

:root {
  /* Spacing scale (8px grid, with 4px half-steps) */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Radii — the brand reads "rounded": chips are pills, cards are soft */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;     /* default card / input radius */
  --radius-lg: 24px;     /* large cards, feature blocks */
  --radius-xl: 32px;
  --radius-pill: 999px;  /* buttons, badges, tags */
  --radius-circle: 50%;

  /* Shadows — soft, cool, low-opacity (tinted with the ink) */
  --shadow-xs: 0 1px 2px rgba(32, 2, 73, 0.06);
  --shadow-sm: 0 2px 8px rgba(32, 2, 73, 0.07);
  --shadow-md: 0 8px 24px rgba(32, 2, 73, 0.09);
  --shadow-lg: 0 18px 48px rgba(32, 2, 73, 0.12);
  --shadow-focus: 0 0 0 3px rgba(92, 18, 167, 0.30);
  --shadow-focus-danger: 0 0 0 3px rgba(228, 1, 1, 0.25);

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

  /* Motion — calm, confident, never bouncy. Matches the brand tone. */
  --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 */

  /* Layout */
  --container-max: 1200px; /* @kind spacing */
  --container-narrow: 760px; /* @kind spacing */
}
