/* ============================================================
   VINDICOR — Spacing, radius, elevation, motion
   Base unit: 4px. Geometry is precise and squared — radii stay
   tight (security/technical, not soft/consumer).
   ============================================================ */
:root {
  /* ---- Spacing (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;     /* section rhythm */
  --space-32: 128px;

  /* ---- Radius (tight, technical) ---- */
  --radius-xs: 2px;
  --radius-sm: 4px;     /* inputs, chips, small buttons */
  --radius-md: 6px;     /* buttons, tiles */
  --radius-lg: 10px;    /* cards, panels */
  --radius-xl: 16px;    /* marquee containers */
  --radius-pill: 9999px;
  --radius-full: 9999px;

  /* ---- Border widths ---- */
  --border-hairline: 1px;
  --border-emphasis: 2px;
  --border-bar: 3px;    /* left signal bars, active tab underline */

  /* ---- Elevation ----
     Light context: precise low shadows. Dark context: depth via
     surface contrast + subtle inset hairlines, shadows kept minimal. */
  --shadow-xs: 0 1px 2px rgba(12,20,32,0.06);
  --shadow-sm: 0 1px 3px rgba(12,20,32,0.10), 0 1px 2px rgba(12,20,32,0.06);
  --shadow-md: 0 4px 12px rgba(12,20,32,0.10), 0 2px 4px rgba(12,20,32,0.06);
  --shadow-lg: 0 12px 32px rgba(12,20,32,0.14), 0 4px 8px rgba(12,20,32,0.08);
  --shadow-dark: 0 16px 40px rgba(0,0,0,0.45);
  --shadow-inset-top: inset 0 1px 0 rgba(255,255,255,0.04);

  /* Red glow — reserve for primary CTA emphasis / live signal */
  --glow-red: 0 0 0 1px rgba(181,35,47,0.30), 0 6px 20px rgba(181,35,47,0.22);

  /* ---- 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.4, 0, 1, 1);            /* @kind other */
  --dur-fast: 120ms;   /* @kind other */
  --dur-base: 180ms;   /* @kind other */
  --dur-slow: 280ms;   /* @kind other */

  /* ---- Layout ---- */
  --container-max: 1200px;  /* @kind other */
  --container-wide: 1320px; /* @kind other */
  --container-text: 720px;  /* @kind other */
}
