/* ============================================================
   TEMBO — Spacing, radius, shadow, motion tokens
   System feel: hard-edged, engineered, minimal rounding.
   ============================================================ */

:root {
  /* ---- Spacing scale (4px base) -------------------------- */
  --space-0:  0;
  --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-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* ---- Radius — small & purposeful. The brand reads hard
     and mechanical; corners stay tight. ------------------- */
  --radius-none: 0;
  --radius-xs:  2px;
  --radius-sm:  4px;   /* default control radius */
  --radius-md:  6px;
  --radius-lg:  10px;  /* cards / panels */
  --radius-xl:  14px;
  --radius-pill: 999px;

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

  /* ---- Elevation — deep, neutral, no coloured glow ------- */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.30);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.35);
  --shadow-lg: 0 18px 48px rgba(0,0,0,0.45);
  --shadow-inset: inset 0 1px 0 rgba(239,229,210,0.06);
  /* Accent ring for focus / active charge state */
  --ring-accent: 0 0 0 3px rgba(217,165,32,0.35);
  --ring-focus:  0 0 0 3px rgba(217,165,32,0.55);

  /* ---- Layout -------------------------------------------- */
  --container-max: 1280px;    /* @kind spacing */
  --container-wide: 1440px;   /* @kind spacing */
  --gutter: var(--space-6);   /* @kind spacing */

  /* ---- Motion — fast, mechanical, minimal bounce -------- */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);   /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);     /* @kind other */
  --ease-in: cubic-bezier(0.4, 0, 1, 1);         /* @kind other */
  --dur-fast: 120ms;   /* @kind other */
  --dur-base: 200ms;   /* @kind other */
  --dur-slow: 360ms;   /* @kind other */
}
