/* Capitalist Systems — base styles */

:root {
  --bg: #1a1a1a;
  --bg-card: #1e1e1e;
  --bg-dark: #111;
  --text: #f0ede8;
  --text-muted: #a0978a;
  --text-dim: #6b6560;
  --text-xdim: #4a4540;
  --border: #2a2a2a;
  --red: #dc2626;
  --red-dark: #b91c1c;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* Smooth hover transitions */
a {
  transition: color 0.15s ease;
}

/* Responsive media */
img, video {
  max-width: 100%;
  height: auto;
}

/* Prose code */
code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: #252525;
  padding: 2px 6px;
  border-radius: 3px;
  color: #dc2626;
}

/* Article body blockquote */
blockquote {
  border-left: 3px solid var(--red);
  margin: 1.5rem 0;
  padding: 0.5rem 0 0.5rem 1.25rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Print */
@media print {
  body {
    background: white;
    color: black;
  }
}
