:root {
  --text: #1a1a1a;
  --muted: #6a6a6a;
  --link: #0a4d8c;
  --bg: #fafaf7;
  --rule: #e5e3dc;
}

* {
  box-sizing: border-box;
}

body {
  font-family:
    "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia,
    serif;
  max-width: 38rem;
  margin: 4rem auto;
  padding: 0 1.5rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

h1 {
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 1.25rem 0;
}

h2 {
  font-weight: 600;
  font-size: 1.05rem;
  margin: 2.5rem 0 0.75rem 0;
}

p {
  margin: 0 0 1rem 0;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

li {
  margin-bottom: 0.5rem;
}

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

.back {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.essay-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: -0.5rem 0 2rem 0;
}

.note {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.essay-body {
  line-height: 1.75;
}
.essay-body p {
  margin: 0 0 1.25rem 0;
}

.essay-body .tldr {
  border-left: 2px solid var(--rule);
  padding: 0.1rem 0 0.1rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 2.5rem 0;
}
.essay-body .tldr p {
  margin: 0;
}

.essay-body hr {
  border: 0;
  border-top: 1px solid var(--rule);
  width: 25%;
  margin: 2.5rem auto;
}

@media (max-width: 480px) {
  body {
    margin: 2rem auto;
    font-size: 16px;
  }
}
