:root {
  --bg: #f6f4ef;
  --ink: #1c2430;
  --muted: #5b6573;
  --line: #d8d3c8;
  --accent: #1e3a5f;
  --card: #fffcf7;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  line-height: 1.65;
  font-size: 18px;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

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

.brand {
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 600;
  margin: 0.4rem 0 0;
}

h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.6rem;
}

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

.lede, .meta {
  color: var(--muted);
}

.meta {
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

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

ul {
  padding-left: 1.25rem;
}

li { margin: 0.35rem 0; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem 1.35rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
}

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

footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
