:root {
  --ink: #2b2620;
  --muted: #6f675c;
  --accent: #7a4f1d;
  --line: #e5ddcf;
  --bg: #fdfaf3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: "Songti SC", "Noto Serif SC", "SimSun", serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: anywhere;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 1.5rem;
}

h1 {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 1.6rem;
  padding-left: .9rem;
  border-left: 4px solid var(--accent);
}

main p { margin-bottom: 1.3rem; }

section.sources {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 1.5rem;
}

h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .7rem;
}

section.sources, nav.related {
  border-top: 1px solid var(--line);
}

section.sources ul, nav.related ul {
  list-style: none;
}

section.sources li, nav.related li {
  margin-bottom: .5rem;
  padding-left: 1.1rem;
  position: relative;
}

section.sources li::before, nav.related li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
}

nav.related {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}

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

@media (max-width: 480px) {
  body { font-size: 16px; }
  main { padding-top: 2.2rem; }
}
