/* ============================================================
   ATREE — Spacing, radii, shadows, motion
   4px base grid. Radii lean soft/organic to echo the rounded,
   circular logo mark. Shadows are low, warm and diffuse — never
   hard or cold — to keep the earthy, grounded feel.
   ============================================================ */

: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 */

  /* Radii */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   28px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* Border widths */
  --border-width: 1px;
  --border-width-strong: 2px;

  /* Shadows — warm, low, diffuse */
  --shadow-xs: 0 1px 2px rgba(20,30,15,0.06);
  --shadow-sm: 0 2px 6px rgba(20,30,15,0.07);
  --shadow-md: 0 6px 18px rgba(20,30,15,0.09);
  --shadow-lg: 0 14px 36px rgba(20,30,15,0.12);
  --shadow-xl: 0 28px 60px rgba(20,30,15,0.16);

  /* Layout */
  --container-sm:  640px;
  --container-md:  860px;
  --container-lg:  1100px;
  --container-xl:  1320px;

  /* Motion — gentle, natural easing; no bounce */
  --ease-standard: cubic-bezier(0.2, 0.0, 0.0, 1.0); /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --dur-fast:   140ms; /* @kind other */
  --dur-normal: 240ms; /* @kind other */
  --dur-slow:   420ms; /* @kind other */
}
