:root {
  
  --color-bg: #ffffff;
  --color-surface: #f7f7f7;
  --color-surface-raised: #efefef;
  --color-border: #e0e0e0;
  --color-border-subtle: #f0f0f0;

  --color-primary: #313131;
  --color-primary-fg: #ffffff;
  --color-on-surface: #1a1a1a;
  --color-muted: #666666;
  --color-muted-2: #999999;

  --color-accent: #222222;
  --color-accent-dim: rgba(0, 0, 0, 0.05);

  --color-danger: #dc2626;


  --color-pro: #e0ffd6;
  --color-pro-fg: #aefc7e;

  --always-black: #0a0a0a;
  --always-white: #ffffff;


  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.25rem;

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --space-1: 0.25rem;
  --space-1-2: 0.375rem;
  --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;
  --space-16: 4rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --font-brand: 'Comfortaa', sans-serif;
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;

  --navbar-height: 60px;
  --container-max: 1080px;
  --container-code-max: 1280px;
  --container-padding: 1.5rem;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-muted);
}

@media (max-width: 640px) {
  :root {
    --container-padding: 1rem;
  }
}


html.dark, body.dark {
  --color-bg: #0a0a0a;
  --color-surface: #111111;
  --color-surface-raised: #181818;
  --color-border: #222222;
  --color-border-subtle: #161616;

  --color-primary: #ffffff;
  --color-primary-fg: #0a0a0a;
  --color-on-surface: #f0f0f0;
  --color-muted: #777777;
  --color-muted-2: #444444;

  --color-accent: #e9e9e9;
  --color-accent-dim: rgba(110, 231, 183, 0.1);

  --color-danger: #f87171;
}