/* ===========================================================================
   VISUM — Spacing, Radius, Shadow, Border, Motion
   8px-based spacing. Visum geometry rule: radii cap at 8px in dense product UI
   (cards/marketing can go to 12–24px). Soft, low-contrast shadows.
   =========================================================================== */

:root {
  /* ---- Spacing (8px base) ------------------------------------------------- */
  --space-0:  0;
  --space-2:  2px;
  --space-4:  4px;
  --space-8:  8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;

  /* ---- Radius ------------------------------------------------------------- */
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   8px;    /* the Visum default — buttons, inputs, tiles */
  --radius-lg:   12px;   /* product cards */
  --radius-xl:   16px;   /* large surfaces */
  --radius-2xl:  24px;   /* marketing cards / hero frames */
  --radius-full: 9999px;

  /* ---- Shadow (soft, neutral) -------------------------------------------- */
  --shadow-xs: 0 1px 2px 0 rgba(8,11,18,0.05);
  --shadow-sm: 0 1px 2px 0 rgba(8,11,18,0.06), 0 1px 3px 0 rgba(8,11,18,0.04);
  --shadow-md: 0 4px 6px -1px rgba(8,11,18,0.08), 0 2px 4px -1px rgba(8,11,18,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(8,11,18,0.08), 0 4px 6px -2px rgba(8,11,18,0.04);
  --shadow-xl: 0 20px 40px -8px rgba(8,11,18,0.12), 0 8px 16px -8px rgba(8,11,18,0.06);
  --shadow-brand: 0 8px 24px -6px rgba(123,43,252,0.35);

  /* ---- Border ------------------------------------------------------------- */
  --border-width: 1px;
  --border:        1px solid var(--border-subtle); /* @kind other */
  --border-on-brand: 1px solid rgba(255,255,255,0.16); /* @kind other */

  /* ---- Focus ring --------------------------------------------------------- */
  --ring-brand: 0 0 0 3px rgba(123,43,252,0.30); /* @kind shadow */

  /* ---- Motion ------------------------------------------------------------- */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* @kind other */
  --dur-fast:    120ms; /* @kind other */
  --dur-base:    200ms; /* @kind other */
  --dur-slow:    400ms; /* @kind other */

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