/* ============================================================
   PERMAfit — Spacing, radius, shadow, motion tokens
   Generous whitespace, large rounded corners (16–24px),
   soft shadows, calm easing.
   ============================================================ */

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

  /* ---- Layout ---- */
  --container-max:   1200px;  /* @kind other */
  --container-wide:  1320px;  /* @kind other */
  --gutter:          clamp(1.25rem, 0.5rem + 3vw, 3rem);  /* @kind spacing */
  --section-y:       clamp(4rem, 2rem + 7vw, 8rem);  /* @kind spacing */

  /* ---- Radii (the brand leans large & friendly) ---- */
  --radius-xs:   8px;
  --radius-sm:   12px;
  --radius-md:   16px;   /* default card */
  --radius-lg:   24px;   /* large card / panel */
  --radius-xl:   32px;   /* hero sheet lift */
  --radius-2xl:  40px;
  --radius-pill: 999px;  /* buttons & nav pills */
  --radius-icon: 28%;    /* logo-style squircle icon chip */

  /* ---- Shadows (soft, low-contrast, warm-neutral) ---- */
  --shadow-xs:  0 1px 2px rgba(22, 22, 26, 0.05);
  --shadow-sm:  0 2px 8px rgba(22, 22, 26, 0.06);
  --shadow-md:  0 8px 24px rgba(22, 22, 26, 0.08);
  --shadow-lg:  0 18px 48px rgba(22, 22, 26, 0.10);
  --shadow-xl:  0 30px 80px rgba(22, 22, 26, 0.14);
  /* Warm glow used behind gradient CTAs */
  --shadow-glow: 0 14px 38px rgba(255, 138, 0, 0.32);

  /* ---- Motion (calm, no bounce) ---- */
  --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:    160ms;  /* @kind other */
  --dur-base:    260ms;  /* @kind other */
  --dur-slow:    520ms;  /* @kind other */
  --dur-reveal:  720ms;  /* @kind other */
}
