:root {
  --bg: #0b0b0c;
  --text: #d7d7d2;
  --muted: #8d8d88;
  --accent: #c6a46b;
  --accent-soft: rgba(198, 164, 107, 0.12);
  --border: rgba(255, 255, 255, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.75;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem;
}

main.container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

h1,
h2,
h3 {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 12ch;
}

h2 {
  font-size: 1.35rem;
}

h3 {
  font-size: 1.1rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.8rem;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease,
    text-decoration-thickness 0.2s ease;
}

a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.brand a {
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links a {
  color: rgba(215, 215, 210, 0.72);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.footer-container {
  border-top: 1px solid var(--border);
  margin-top: 6rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
  font-size: 0.9rem;
}

.muted {
  color: var(--muted);
}

.muted a {
  color: var(--muted);
}

blockquote {
  margin: 2rem 0;
  border-left: 2px solid var(--accent);
  padding: 1rem 1.5rem;
  background: var(--accent-soft);
  color: var(--muted);
  font-style: italic;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
}

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

ul,
ol {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.6rem;
}

code {
  font-family: 'IBM Plex Mono', monospace;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  font-size: 0.9em;
}

pre {
  overflow-x: auto;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
}

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

@media (max-width: 768px) {
  body {
    font-size: 17px;
  }

  .container {
    padding: 1.5rem;
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-links a {
    margin-left: 0;
    margin-right: 1rem;
  }

  h1 {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
```
