/* ============================================================
   Kreayotoo — Spacing, radius, shadow, motion, layout
   4px base grid.
   ============================================================ */
:root {
  /* --- Spacing scale (4px base) --------------------------- */
  --space-0:  0;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* --- Radii ---------------------------------------------- */
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --radius-2xl:  28px;
  --radius-pill: 999px;

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

  /* --- Shadows — cool navy-tinted, soft -------------------- */
  --shadow-xs:  0 1px 2px rgba(2, 42, 93, 0.06);
  --shadow-sm:  0 1px 3px rgba(2, 42, 93, 0.08), 0 1px 2px rgba(2, 42, 93, 0.05);
  --shadow-md:  0 4px 12px rgba(2, 42, 93, 0.08), 0 2px 4px rgba(2, 42, 93, 0.05);
  --shadow-lg:  0 12px 28px rgba(2, 42, 93, 0.12), 0 4px 8px rgba(2, 42, 93, 0.06);
  --shadow-xl:  0 24px 56px rgba(2, 42, 93, 0.16), 0 8px 16px rgba(2, 42, 93, 0.08);
  --shadow-focus: 0 0 0 3px var(--ring);
  --shadow-focus-accent: 0 0 0 3px var(--ring-accent);

  /* --- Motion --------------------------------------------- */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);     /* @kind other */
  --ease-in-out:cubic-bezier(0.65, 0, 0.35, 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:   320ms; /* @kind other */

  /* --- Layout --------------------------------------------- */
  --container-sm:  640px;  /* @kind other */
  --container-md:  840px;  /* @kind other */
  --container-lg:  1080px; /* @kind other */
  --container-xl:  1280px; /* @kind other */
  --header-height: 72px;   /* @kind other */
}
