:root {
  --ink: #1f1a15;
  --paper: #faf6ef;
  --accent: #6b2e2a;
  --muted: #6d655a;
  --rule: #d8cfc0;
  --max: 780px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: underline; }
a:hover { text-decoration: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

header.site {
  border-bottom: 1px solid var(--rule);
  padding: 1rem 1.25rem;
}
header.site .wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
header.site .brand {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}
header.site nav a {
  margin-left: 1rem;
  font-size: 0.95rem;
}

h1 { font-size: 2rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.35rem; margin: 2rem 0 0.5rem; border-bottom: 1px solid var(--rule); padding-bottom: 0.25rem; }
h3 { font-size: 1.1rem; margin: 1.25rem 0 0.5rem; }

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

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: bold;
  margin: 1rem 0;
}
.btn:hover { background: #532320; text-decoration: none; }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  border: 1px solid var(--rule);
  padding: 1rem;
  background: #fff;
}
.card h3 { margin-top: 0; }
.card p { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.95rem; }

footer.site {
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  padding: 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
footer.site a { color: var(--muted); }
footer.site .links { margin-top: 0.25rem; }
footer.site .links a { margin: 0 0.5rem; }

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