/* ============================================================
   SPACING, RADII, SHADOWS, MOTION — Zhixiang Xu Advisory
   4px base grid. Generous, calm rhythm appropriate to a
   premium advisory presence. Shadows are deep & soft on dark;
   the accent "glow" is reserved for primary actions only.
   ============================================================ */

: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.25rem;   /* 20 */
  --space-6: 1.5rem;    /* 24 */
  --space-8: 2rem;      /* 32 */
  --space-10: 2.5rem;   /* 40 */
  --space-12: 3rem;     /* 48 */
  --space-16: 4rem;     /* 64 */
  --space-20: 5rem;     /* 80 */
  --space-24: 6rem;     /* 96 */
  --space-32: 8rem;     /* 128 */

  /* ---- Layout ---- */
  --container-max: 1180px;
  --container-pad: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --section-gap: clamp(3rem, 2rem + 3.5vw, 5rem);

  /* ---- Radii ---- */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 30px;
  --radius-pill: 999px;

  /* ---- Borders ---- */
  --border-width: 1px;

  /* ---- Shadows (soft, cool — tuned for light backgrounds) ---- */
  --shadow-sm: 0 1px 2px rgba(14, 36, 71, 0.06);
  --shadow-md: 0 6px 20px -6px rgba(14, 36, 71, 0.12);
  --shadow-lg: 0 20px 48px -16px rgba(14, 36, 71, 0.18);
  --shadow-xl: 0 32px 70px -24px rgba(14, 36, 71, 0.22);
  /* Accent glow — primary CTA only */
  --shadow-glow: 0 10px 26px -8px rgba(0, 55, 129, 0.30);
  /* Inset hairline (kept transparent on light surfaces) */
  --inset-hairline: inset 0 0 0 1px rgba(255, 255, 255, 0);

  /* ---- 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: 140ms; /* @kind other */
  --dur-base: 220ms; /* @kind other */
  --dur-slow: 420ms; /* @kind other */

  /* ---- Z-index ---- */
  --z-base: 1; /* @kind other */
  --z-sticky: 100; /* @kind other */
  --z-overlay: 1000; /* @kind other */
  --z-modal: 1100; /* @kind other */
}
