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

:root {
  --bg: #faf7f2;
  --surface: #f0eae0;
  --surface-alt: #e8e0d4;
  --dark: #2c1a0e;
  --orange: #cc4400;
  --orange-light: #ffa05c;
  --muted: #7a6055;
  --text-primary: #2c1a0e;
  --text-muted: #7a6055;
  --text-light: #a89080;
  --white: #ffffff;
  --card-border: #e0d8ce;

  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
}

html {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
}
body {
  min-height: 100vh;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}

/* code blocks — mono font + surface bg so they feel warm not cold */
pre,
code {
  font-family: var(--font-mono);
  font-size: 0.875em;
}
pre {
  background: var(--dark);
  color: #f0eae0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 1.5rem 0;
}
code:not(pre code) {
  background: var(--surface-alt);
  color: var(--orange);
  padding: 2px 6px;
  border-radius: 4px;
}
