/* ===== HeyD Page — Spacing, Radius, Shadow, Layout =====
   4px base grid. Generous whitespace — the brand reads as "clean, no clutter". */

:root {
  /* ---- Spacing (4px base) ---- */
  --sp-0: 0; /* @kind spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;
  --sp-40: 160px;

  /* ---- Radius ---- */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;      /* default card / input */
  --r-lg: 16px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;   /* buttons, chips, badges */
  --r-icon-tile: 16px; /* squircle icon tiles (floating app-icon motif) — ~25% of tile size */

  /* ---- Shadow — soft, cool, low-contrast. Never harsh. ---- */
  --shadow-xs: 0 1px 2px rgba(20, 24, 33, 0.05);
  --shadow-sm: 0 2px 8px rgba(20, 24, 33, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 24, 33, 0.08);
  --shadow-lg: 0 18px 48px rgba(20, 24, 33, 0.10);
  --shadow-brand: 0 12px 32px rgba(1, 57, 238, 0.28);   /* glow under blue tiles/buttons */
  --shadow-brand-lg: 0 20px 50px rgba(1, 57, 238, 0.32);

  /* ---- Layout ---- */
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: 24px;

  /* ---- 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: 240ms; /* @kind other */
  --dur-slow: 420ms; /* @kind other */
}
