:root {
  --ink: #16181a;
  --muted: #6b7075;
  --rule: #e2e2df;
  --bg: #fbfbf9;
  --accent: #2f5d8a;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 19px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

main {
  max-width: 39rem;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 6rem;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

h2 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 3.5rem 0 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--rule);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.lede {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.muted { color: var(--muted); }

.pieces {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pieces li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
}

.pieces li:last-child { border-bottom: 0; }

.piece-title { font-size: 1.05rem; }

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.meta {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

footer a {
  border-bottom: 1px solid var(--rule);
}

.sep { margin: 0 0.5rem; color: var(--rule); }

@media (max-width: 480px) {
  body { font-size: 17px; }
  main { padding: 3rem 1.25rem 4rem; }
  h1 { font-size: 1.6rem; }
  .pieces li { flex-direction: column; gap: 0.25rem; }
}
