/* Miso — Spacing, radii, shadows, motion.
   The system is generous and airy: lots of whitespace, hairline keylines rather
   than heavy fills, soft low shadows, gentle radii, calm easing (no bounce). */

: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 */
  --space-10: 8rem;     /* 128 */

  /* Radii — soft but restrained; the symbol geometry favours full pills for chips */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* Border widths — the crisp keyline is core to the mark */
  --border-w-hair: 1px;
  --border-w-key:  1.5px;
  --border-w-bold: 2px;

  /* Shadows — soft, cool-tinted, low-contrast. Avoid harsh drop shadows. */
  --shadow-xs: 0 1px 2px rgba(46, 61, 74, 0.06);
  --shadow-sm: 0 2px 8px rgba(46, 61, 74, 0.06);
  --shadow-md: 0 6px 20px rgba(46, 61, 74, 0.08);
  --shadow-lg: 0 16px 40px rgba(46, 61, 74, 0.10);
  --shadow-focus: 0 0 0 3px rgba(46, 134, 188, 0.25);  /* ciel-600 @ 25% */

  /* Motion — smooth fades and eases, never bouncy. The logo animation is a
     calm draw-on / fade, matching this register. */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);   /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 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 */

  /* Layout */
  --container-max: 1200px;
  --container-prose: 68ch;
}
