:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --text: #212121;
  --muted: #666666;
  --primary: #2aba66;
  --border: #e1e2e3;
  --max: 42rem;
}

* {
  box-sizing: border-box;
}

html {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

body {
  margin: 0;
}

a {
  color: var(--primary);
}

header,
main,
footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1rem;
}

header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  max-width: none;
}

header .inner,
footer .inner {
  max-width: var(--max);
  margin: 0 auto;
}

header a.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
}

nav {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.95rem;
}

h1 {
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
}

p,
li {
  color: var(--text);
}

.muted,
.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 1rem 0;
}

ul {
  padding-left: 1.25rem;
}

footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  max-width: none;
  background: var(--surface);
}

footer p {
  color: var(--muted);
  margin: 0.35rem 0;
}
