:root {
  --bg: #fafaf7;
  --ink: #1a1a1a;
  --muted: #555;
  --accent: #c8531c;
  --rule: #e6e3dc;
}

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

html { font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

header {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}

header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

header h1 a {
  color: var(--ink);
  text-decoration: none;
}

.tagline {
  color: var(--muted);
  margin-top: 0.25rem;
  font-size: 1rem;
}

article h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

article h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

article p, article ul {
  margin-bottom: 1rem;
}

article ul {
  padding-left: 1.5rem;
}

article li {
  margin-bottom: 0.4rem;
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration: none;
}

section p {
  font-size: 1.0625rem;
  margin-top: 1rem;
  color: var(--ink);
}

footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

footer nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

footer .fine {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  .wrap { padding: 1.5rem 1rem 3rem; }
  article h2 { font-size: 1.5rem; }
}
