/* ============================================================
   OGOPOGO EXTREME — Spacing, radii, borders, shadows, motion
   Athletic + rugged: tight radii, decisive borders, low-lift
   shadows on dark (elevation comes from lighter surfaces).
   ============================================================ */

: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:  2.5rem;   /* 40 */
  --space-8:  3rem;     /* 48 */
  --space-9:  4rem;     /* 64 */
  --space-10: 5rem;     /* 80 */
  --space-11: 6rem;     /* 96 */
  --space-12: 8rem;     /* 128 */

  /* ---- Radii — sharp & purposeful ---- */
  --radius-xs:  3px;
  --radius-sm:  5px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  18px;
  --radius-2xl: 26px;
  --radius-pill: 999px;
  --radius-card: var(--radius-lg);

  /* ---- Borders ---- */
  --border-width: 1px; /* @kind other */
  --border-width-bold: 2px; /* @kind other */
  --border-width-heavy: 3px; /* @kind other */
  --hairline: 1px solid var(--border);
  --rule: 1px solid var(--border-strong);

  /* ---- Shadows (tuned for dark surfaces) ---- */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.40);
  --shadow-sm:  0 2px 6px rgba(0,0,0,0.45);
  --shadow-md:  0 8px 22px rgba(0,0,0,0.50);
  --shadow-lg:  0 18px 48px rgba(0,0,0,0.58);
  --shadow-xl:  0 34px 80px rgba(0,0,0,0.62);
  /* accent glows — used sparingly on primary CTAs / live states */
  --glow-green: 0 0 0 1px rgba(63,174,90,0.35), 0 8px 26px rgba(31,106,51,0.45);
  --glow-red:   0 0 0 1px rgba(229,37,31,0.40), 0 8px 26px rgba(209,18,18,0.45);
  --inset-hairline: inset 0 0 0 1px rgba(244,236,214,0.06);

  /* ---- Layout ---- */
  --container: 1200px;
  --container-wide: 1440px;
  --container-text: 68ch;
  --gutter: clamp(1rem, 4vw, 4rem); /* @kind spacing */
  --header-h: 76px;

  /* ---- Motion ---- */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --ease-snap:  cubic-bezier(0.34, 1.56, 0.64, 1); /* @kind other */
  --dur-fast:   120ms; /* @kind other */
  --dur-base:   220ms; /* @kind other */
  --dur-slow:   420ms; /* @kind other */

  /* ---- Z-index ---- */
  --z-base: 1; /* @kind other */
  --z-raised: 10; /* @kind other */
  --z-sticky: 100; /* @kind other */
  --z-overlay: 1000; /* @kind other */
  --z-modal: 1100; /* @kind other */
  --z-toast: 1200; /* @kind other */
}
