:root {
  --bg:         #0f0f0f;
  --border:     #222222;
  --text:       #e8e8e8;
  --text-muted: #666666;
  --accent:     #bf5700;
  --font:       'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* NAV */
nav {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.back-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.back-link:hover { color: var(--text); }

/* ARTICLE */
article {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.article-header { margin-bottom: 3rem; }

.article-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.article-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.article-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* BODY */
.article-body { font-size: 1.05rem; line-height: 1.8; }

.article-body p { margin-bottom: 1.4rem; color: var(--text); }

.article-body p:last-child { margin-bottom: 0; }

.article-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 2.5rem 0 0.9rem;
}

.article-body code {
  font-family: 'Courier New', monospace;
  font-size: 0.88em;
  background: #1c1c1c;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.1em 0.4em;
  color: #ccc;
}

@media (max-width: 600px) {
  article { padding: 2.5rem 1.25rem 4rem; }
  nav { padding: 1.25rem; }
}
