/* ============================================================
   XC Gradient — Spacing, radius, shadow, layout tokens
   Scale is a 4px base grid. The brand leans on hairline borders
   over heavy shadow (engineering / vintage-print sensibility);
   radii are restrained, never pill-round on structural elements.
   ============================================================ */

:root {
  /* ---- Spacing (4px base) ---- */
  --space-0: 0;
  --space-px: 1px;
  --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;

  /* ---- Radius (restrained) ---- */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --radius-pill: 999px;
  --radius-card: var(--radius-lg);
  --radius-input: var(--radius-sm);
  --radius-button: var(--radius-sm);

  /* ---- Shadow (warm-tinted, low elevation) ---- */
  --shadow-1: 0 1px 2px rgba(23, 19, 14, 0.06);
  --shadow-2: 0 2px 6px rgba(23, 19, 14, 0.08), 0 1px 2px rgba(23, 19, 14, 0.05);
  --shadow-3: 0 8px 24px rgba(23, 19, 14, 0.12), 0 2px 6px rgba(23, 19, 14, 0.06);
  --shadow-4: 0 18px 48px rgba(23, 19, 14, 0.16);
  --shadow-inset: inset 0 1px 2px rgba(23, 19, 14, 0.08);
  --shadow-focus: 0 0 0 3px rgba(42, 99, 166, 0.35); /* blau-400 @ 35% */

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

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

  /* ---- Z-index ---- */
  --z-base: 0;        /* @kind other */
  --z-sticky: 100;    /* @kind other */
  --z-overlay: 200;   /* @kind other */
  --z-modal: 300;     /* @kind other */
  --z-toast: 400;     /* @kind other */
}
