/* Monoframe — Spacing, radius, elevation, motion tokens */

:root {
  /* ---- Spacing scale (4px base) ---- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;   /* section gap (comfortable) */
  --space-section-compact: 56px;

  /* ---- Radius (squircle scale) ---- */
  --radius-sm:   10px;  /* small controls, badges */
  --radius-md:   16px;  /* inputs, small cards */
  --radius-lg:   22px;  /* cards */
  --radius-xl:   28px;  /* large panels / sections */
  --radius-pill: 36px;  /* pill token */
  --radius-full: 999px; /* fully round: buttons, chips, icon buttons */

  /* ---- Elevation (cool, low, wide; color base #14161C) ---- */
  --shadow-sm: 0 1px 2px rgba(20,22,28,.05);
  --shadow-md: 0 2px 8px rgba(20,22,28,.07), 0 1px 2px rgba(20,22,28,.04);
  --shadow-lg: 0 12px 30px -10px rgba(20,22,28,.22), 0 2px 6px rgba(20,22,28,.06);
  /* card resting shadow — barely-there top, soft far drop */
  --shadow-card:    0 1px 2px rgba(20,22,28,.04), 0 14px 30px -22px rgba(20,22,28,.18);
  --shadow-card-lg: 0 1px 2px rgba(20,22,28,.04), 0 18px 40px -26px rgba(20,22,28,.24);
  --shadow-primary: 0 4px 14px -6px rgba(20,22,28,.5);  /* graphite buttons */
  --shadow-pop:     0 10px 34px -16px rgba(20,22,28,.45); /* glass / overlays */
  --inset-glass:    inset 0 1px 0 rgba(255,255,255,.7);

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(.4, 0, .2, 1); /* @kind other */
  --ease-spring:   cubic-bezier(.34, 1.2, .4, 1); /* @kind other */
  --dur-fast:   .18s; /* @kind other */
  --dur-base:   .26s; /* @kind other */
  --dur-slow:   .34s; /* @kind other */

  /* ---- Glass ---- */
  --glass-blur:    22px;
  --glass-fill:    rgba(252,252,253,.5);
  --glass-border:  rgba(255,255,255,.65);
  --glass-fill-inverse:   rgba(38,40,46,.55);
  --glass-border-inverse: rgba(255,255,255,.12);
}
