:root {
  /* hi, colors live here, plz feed them nicely */

  /* Brand palette */
  --brand-400: #4ce08d;
  --brand-500: #43CD80;
  --brand-600: #24c07d;
  --brand-700: #22B37A;
  --brand-800: #1b8b60;

  /* Base colours */
  --text-strong: #111111;
  --text: #1a1d1f;
  --text-soft: #333333;
  --muted: #6B7280;
  --muted-strong: #4b5563;
  --border: #d8dee6;
  --border-strong: #c3cad3;
  --bg: #F6F9F7;
  --bg-alt: #F9FAF9;
  --surface: #ffffff;
  --surface-subtle: #eef4f4;
  --shadow-color: rgba(17, 24, 39, 0.08);
  --shadow-elevated: 0 16px 32px rgba(34, 179, 122, 0.18);

  /* Semantic colors */
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* Typography */
  --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.375rem;
  --font-size-2xl: 1.75rem;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;

  /* Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Z-index map */
  --z-base: 1;
  --z-header: 100;
  --z-fab: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* Safe areas + layout */
  --safe-area-inset-top: env(safe-area-inset-top, 0px);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
  --wide-screen-extra-space: 0px;
  --header-height: 56px;
  --tabbar-height: 68px;
  --touch-target: 44px;

  /* Misc */
  --focus-ring: 0 0 0 3px rgba(67, 205, 128, 0.45);
  --fab-size: 64px;
  --fab-gap: 14px;
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
}

@media (min-width: 768px) {
  :root {
    --header-height: 64px;
    --tabbar-height: 72px;
    --wide-screen-extra-space: 1rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --wide-screen-extra-space: 2rem;
  }
}
