:root {
  --color-bg: #f4f4f4;
  --color-surface: #ffffff;
  --color-text: #000000;
  --color-text-secondary: #555555;
  --color-text-muted: #888888;
  --color-brand: #000000;
  --color-accent: #000000;
  --color-border: #d1d1d1;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;

  --text-xs: 0.7rem;
  --text-sm: 0.8rem;
  --text-base: 1rem;
  --text-lg: 1.1rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.875rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;
  --text-5xl: 4rem;

  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.6;

  --space-sidebar: 240px;
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;

  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-text-secondary);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: var(--leading-tight);
  color: var(--color-brand);
}

h1 { font-size: var(--text-5xl); line-height: 0.9; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-base); }

code, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

code {
  background: var(--color-border);
  padding: 0.15em 0.3em;
}

pre {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  overflow-x: auto;
}

pre code {
  background: none;
  padding: 0;
}

::selection {
  background: var(--color-text);
  color: var(--color-surface);
}

