/* ============================================================
   KADIN — Spacing, radii, shadows, layout tokens
   ============================================================ */

:root {
  /* Spacing — 4px base grid */
  --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: 7rem;     /* 112 */

  /* Radii — institutional & composed; restrained rounding */
  --radius-xs:   3px;
  --radius-sm:   5px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   18px;
  --radius-2xl:  26px;
  --radius-pill: 999px;
  --radius-circle: 50%;

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

  /* Shadows — soft, cool-tinted (toward ink/blue, never warm gray) */
  --shadow-xs:  0 1px 2px rgba(10, 12, 24, 0.06);
  --shadow-sm:  0 1px 3px rgba(10, 12, 24, 0.08), 0 1px 2px rgba(10, 12, 24, 0.06);
  --shadow-md:  0 4px 12px rgba(15, 20, 45, 0.10), 0 2px 4px rgba(15, 20, 45, 0.06);
  --shadow-lg:  0 12px 28px rgba(15, 20, 45, 0.14), 0 4px 8px rgba(15, 20, 45, 0.06);
  --shadow-xl:  0 24px 56px rgba(11, 11, 92, 0.18), 0 8px 16px rgba(15, 20, 45, 0.08);
  /* Brand-tinted ring shadow for primary surfaces */
  --shadow-primary: 0 12px 28px rgba(0, 0, 192, 0.22);

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

  /* Motion */
  --ease-standard: cubic-bezier(0.2, 0.6, 0.2, 1); /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);  /* @kind other */
  --ease-in:       cubic-bezier(0.5, 0, 0.85, 0.3); /* @kind other */
  --duration-fast: 120ms; /* @kind other */
  --duration-base: 200ms; /* @kind other */
  --duration-slow: 360ms; /* @kind other */
}
