:root {
  --bg: #f7f5f8;
  --ink: #231e28;
  --accent: #5a4a75;
  --muted: #655e6c;
  --rule: #ddd8e2;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.65 Georgia, "Iowan Old Style", "Times New Roman", serif;
}
header, main, footer {
  width: min(40rem, calc(100% - 3rem));
  margin-inline: auto;
}
header {
  padding: 3.25rem 0 0;
  border-bottom: 1px solid var(--rule);
  text-align: start;
}

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.85rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font: 700 0.75rem/1 Georgia, "Iowan Old Style", "Times New Roman", serif;
  letter-spacing: 0.06em;
}
h1 {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tagline {
  margin: 0.45rem 0 0;
  color: var(--muted);
}
nav{display:flex;gap:1.25rem;font-size:0.92rem;}
nav a { color: var(--accent); text-decoration: none; }
nav a:hover, nav a:focus { text-decoration: underline; }
main { padding: 2.25rem 0 1rem; }
h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 2.2rem 0 0.8rem;
}
p { margin: 0 0 1.1rem; }
.notes {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.notes li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--rule);
  padding: 0.75rem 0;
}
.notes li:last-child { border-bottom: 1px solid var(--rule); }
.notes .when { color: var(--muted); white-space: nowrap; font-size: 0.92rem; }
footer {
  margin-top: 1.5rem;
  padding: 1.4rem 0 3.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.92rem;
}
footer p { margin: 0 0 0.35rem; }
.notfound { padding-top: 1rem; }
