/* ============================================================
   Spacing & layout — Zacks Connect AI
   8px base grid. Use the scale for padding, gaps, margins.
   ============================================================ */

:root {
  /* ---- Spacing scale (8px 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: 2.5rem;    /* 40 */
  --space-8: 3rem;      /* 48 */
  --space-9: 4rem;      /* 64 */
  --space-10: 5rem;     /* 80 */
  --space-12: 6rem;     /* 96 — section rhythm */
  --space-14: 8rem;     /* 128 */

  /* ---- Layout -------------------------------------------- */
  --maxw: 1120px;            /* brief content max width */
  --maxw-narrow: 720px;      /* prose / FAQ column */
  --maxw-wide: 1280px;       /* full-bleed wrappers */
  --gutter: 1.5rem;          /* page side padding (mobile) */
  --gutter-lg: 2rem;         /* page side padding (desktop) */
  --section-y: clamp(4rem, 2rem + 8vw, 6rem); /* @kind spacing */

  /* ---- Border radii -------------------------------------- */
  --radius-xs: 6px;
  --radius-sm: 10px;     /* brief --radius-sm */
  --radius: 14px;        /* brief --radius — cards, buttons */
  --radius-lg: 20px;     /* large panels, hero card */
  --radius-xl: 28px;
  --radius-pill: 999px;  /* pills, chips, avatar */

  /* ---- Control sizing ------------------------------------ */
  --control-h-sm: 36px;
  --control-h: 44px;     /* default button / input height (a11y) */
  --control-h-lg: 52px;  /* hero CTA */
  --tap-min: 44px;       /* minimum hit target */
}
