/* ===========================================================================
   RTKconnect — Spacing, radii, shadows, layout, motion
   8px base grid. Cards are crisp and lightly rounded — a practical, technical
   product feel (not playful, not sharp/brutalist).
   =========================================================================== */
:root {
  /* Spacing scale (8px grid, with 4px half-steps) */
  --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:  6rem;     /* 96 */

  /* Radii */
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   10px;   /* default — buttons, inputs */
  --radius-lg:   14px;   /* cards */
  --radius-xl:   20px;   /* large feature panels */
  --radius-pill: 999px;  /* chips, badges, status pills */
  --radius-full: 50%;

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

  /* Shadows — soft, cool-tinted, low spread (clean SaaS) */
  --shadow-xs: 0 1px 2px rgba(14, 35, 57, 0.06);
  --shadow-sm: 0 1px 3px rgba(14, 35, 57, 0.08), 0 1px 2px rgba(14, 35, 57, 0.04);
  --shadow-md: 0 4px 12px rgba(14, 35, 57, 0.08), 0 2px 4px rgba(14, 35, 57, 0.05);
  --shadow-lg: 0 12px 28px rgba(14, 35, 57, 0.12), 0 4px 10px rgba(14, 35, 57, 0.06);
  --shadow-xl: 0 24px 56px rgba(14, 35, 57, 0.16);
  --shadow-focus: 0 0 0 3px rgba(64, 147, 207, 0.45);
  --shadow-brand: 0 8px 24px rgba(20, 112, 173, 0.28);
  --shadow-accent: 0 8px 22px rgba(98, 193, 56, 0.32);

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 880px;
  --gutter: var(--space-5);
  --header-height: 72px;

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);   /* @kind other */
  --ease-in-out:cubic-bezier(0.65, 0, 0.35, 1);  /* @kind other */
  --dur-fast:   120ms;  /* @kind other */
  --dur-base:   200ms;  /* @kind other */
  --dur-slow:   320ms;  /* @kind other */
}
