:root {
  --bg: #fdfcf9;
  --ink: #23211d;
  --muted: #6f6a61;
  --rule: #e6e2d8;
  --accent: #4a6b3f;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14150f;
    --ink: #e9e7df;
    --muted: #9d998e;
    --rule: #2a2b23;
    --accent: #9ec48d;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.7 Georgia, "Iowan Old Style", "Times New Roman", serif;
}
a { color: var(--accent); }

header {
  display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap;
  max-width: 720px; margin: 0 auto; padding: 30px 22px 18px;
  border-bottom: 1px solid var(--rule);
}
.wordmark {
  font-size: 21px; letter-spacing: .02em; color: var(--ink);
  text-decoration: none; font-weight: 700;
}
header nav { display: flex; gap: 18px; margin-left: auto; font-size: 15px; }
header nav a { color: var(--muted); text-decoration: none; }
header nav a[aria-current] { color: var(--ink); text-decoration: underline; }

main { max-width: 720px; margin: 0 auto; padding: 26px 22px 60px; }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 34px; }

.route { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--rule); }
.route:last-child { border-bottom: 0; }
.route h2 { font-size: 22px; margin: 16px 0 4px; letter-spacing: -.01em; }
.stats {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; color: var(--muted); margin: 0 0 12px;
}
.route p:last-child { margin-bottom: 0; }

.profile {
  height: 54px; border-radius: 4px;
  background:
    linear-gradient(to top, var(--rule) 0 100%) bottom/100% 1px no-repeat,
    linear-gradient(105deg, transparent 0 8%, var(--accent) 26%, transparent 44%,
                    var(--accent) 62%, transparent 78%);
  opacity: .32;
}
.profile.alt { background-position: bottom, 40% 0; opacity: .22; }

.prose h1 { font-size: 27px; margin: 6px 0 14px; }
.prose h2 { font-size: 19px; margin: 30px 0 6px; }
.prose li { margin-bottom: 6px; }
.prose ul { padding-left: 20px; }

footer {
  border-top: 1px solid var(--rule); color: var(--muted);
  font-size: 14px; padding: 18px 22px 34px;
}
footer p { max-width: 720px; margin: 0 auto; }
