/* ============================================================
   Thiago Liguori — Spacing, radii, shadows, layout
   4px base grid. Generous whitespace, pill controls, soft
   navy-tinted shadows, comfortable card rounding.
   ============================================================ */

:root {
  /* Spacing — 4px grid */
  --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-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;   /* cards */
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-pill: 999px;  /* buttons, inputs, badges */

  /* Borders */
  --border-width: 1px; /* @kind spacing */
  --border-width-strong: 1.5px; /* @kind spacing */

  /* Shadows — cool navy tint */
  --shadow-xs: 0 1px 2px rgba(0, 14, 51, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 14, 51, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 14, 51, 0.10);
  --shadow-lg: 0 20px 48px rgba(0, 14, 51, 0.14);
  --shadow-xl: 0 32px 64px rgba(0, 14, 51, 0.18);
  --shadow-primary: 0 12px 30px rgba(36, 97, 255, 0.30); /* blue button/CTA glow */
  --shadow-inset-hairline: inset 0 0 0 1px rgba(0, 14, 51, 0.06);

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

  /* Controls */
  --control-h-sm: 36px; /* @kind spacing */
  --control-h-md: 44px;  /* min hit target  @kind spacing */
  --control-h-lg: 54px; /* @kind spacing */

  /* 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: 120ms; /* @kind other */
  --dur-base: 200ms; /* @kind other */
  --dur-slow: 360ms; /* @kind other */
}
