/* ============================================================
   SPACING, RADIUS, SHADOW, LAYOUT
   Minimal system: restrained shadows, small radii, generous
   whitespace. Elevation comes mostly from hairline borders.
   ============================================================ */

:root {
  /* Spacing scale (4px base) */
  --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: 3rem;     /* 48 */
  --space-8: 4rem;     /* 64 */
  --space-9: 6rem;     /* 96 */
  --space-10: 8rem;    /* 128 */

  /* Radii — small & crisp, government-formal */
  --radius-none: 0;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --radius-pill: 999px;

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

  /* Shadows — soft, cool-tinted, understated */
  --shadow-xs: 0 1px 2px rgba(0, 45, 98, 0.06);
  --shadow-sm: 0 1px 3px rgba(0, 45, 98, 0.08), 0 1px 2px rgba(0, 45, 98, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 45, 98, 0.08), 0 2px 4px rgba(0, 45, 98, 0.05);
  --shadow-lg: 0 12px 32px rgba(0, 45, 98, 0.12), 0 4px 8px rgba(0, 45, 98, 0.06);

  /* Layout */
  --container-max: 1200px;        /* @kind spacing */
  --container-narrow: 760px;      /* @kind spacing */
  --content-gutter: var(--space-6);

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

  /* Z-index */
  --z-sticky: 100;    /* @kind other */
  --z-overlay: 500;   /* @kind other */
  --z-modal: 600;     /* @kind other */
  --z-toast: 700;     /* @kind other */
}
