/* ============================================================
   Lancephase — Spacing, radii, shadows, motion, layout
   Base unit: 4px. The brandbook uses a 20px margin grid for layout.
   ============================================================ */
:root {
  /* ---- Spacing scale (4px base) ---- */
  --space-0:   0;
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   20px;   /* brand grid margin */
  --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 (functional, restrained — the brand reads precise) ---- */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-pill: 999px;

  /* ---- Borders ---- */
  --border-hairline: 1px; /* @kind spacing */
  --border-width:    1.5px; /* @kind spacing */

  /* ---- Shadows (cool-tinted, soft; cards sit close to the page) ---- */
  --shadow-xs:  0 1px 2px rgba(11, 18, 32, 0.06);
  --shadow-sm:  0 2px 6px rgba(11, 18, 32, 0.06);
  --shadow-md:  0 8px 24px rgba(11, 18, 32, 0.08);
  --shadow-lg:  0 18px 48px rgba(11, 18, 32, 0.12);
  --shadow-accent: 0 12px 30px rgba(18, 145, 249, 0.30); /* blue glow on CTAs */
  --ring-focus: 0 0 0 3px rgba(18, 145, 249, 0.35);

  /* ---- 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 */
  --dur-fast:   120ms; /* @kind other */
  --dur-base:   200ms; /* @kind other */
  --dur-slow:   360ms; /* @kind other */

  /* ---- Layout ---- */
  --container-max:  1200px; /* @kind spacing */
  --container-wide: 1360px; /* @kind spacing */
  --gutter:         24px; /* @kind spacing */
}
