/* ============================================================
   Hili — Spacing, radius, shadow & motion tokens
   ============================================================ */

: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: 3rem;     /* 48 */
  --space-8: 4rem;     /* 64 */
  --space-9: 6rem;     /* 96 */

  /* ---- Radii ---- */
  --radius-sm: 8px;
  --radius-md: 14px;    /* default card / input rounding (soft, friendly) */
  --radius-lg: 22px;    /* large surfaces, modals */
  --radius-xl: 32px;    /* hero panels, illustration frames */
  --radius-pill: 999px; /* the signature pill / tag / capsule */

  /* ---- Pill geometry (from the brand "pill structure" blueprint) ---- */
  /* padding ≈ 0.75×cap-height L/R, 0.5×cap-height T/B */
  --pill-pad-y: 0.5em; /* @kind spacing */
  --pill-pad-x: 0.9em; /* @kind spacing */

  /* ---- Connector line thickness ---- */
  --line-app: 2px;     /* @kind spacing */ /* connector line, app + web */
  --line-poster: 4px;  /* @kind spacing */ /* posters / small billboards */
  --line-billboard: 8px; /* @kind spacing */

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

  /* ---- Shadows: soft + warm (brown-tinted, never neutral grey) ---- */
  --shadow-xs: 0 1px 2px rgba(73, 40, 36, 0.06);
  --shadow-sm: 0 2px 8px rgba(73, 40, 36, 0.08);
  --shadow-md: 0 8px 24px rgba(73, 40, 36, 0.10);
  --shadow-lg: 0 18px 48px rgba(73, 40, 36, 0.14);
  --shadow-focus: 0 0 0 3px rgba(44, 34, 72, 0.35); /* night-sky focus ring */

  /* ---- Motion: calm, no bounce ---- */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --dur-fast: 120ms; /* @kind other */
  --dur-base: 220ms; /* @kind other */
  --dur-slow: 360ms; /* @kind other */

  /* ---- Layout ---- */
  --container-max: 1200px; /* @kind other */
  --container-text: 68ch; /* @kind other */
}
