/* Type, links, and prose. System serif only. */

html {
  font-size: 16px;
  color-scheme: light;
}

body {
  margin: 0;
  background: #f6f1e6;
  color: #1a1714;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-weight: normal;
  line-height: 1.3;
  color: #1a1714;
}

h1 {
  font-size: 1.55rem;
  margin: 0.2rem 0 0.45rem;
}

h2 {
  font-size: 1.28rem;
  font-variant: small-caps;
  letter-spacing: 0.07em;
  margin: 1.35rem 0 0.4rem;
}

h3 {
  font-size: 1.08rem;
  font-weight: bold;
  margin: 0.95rem 0 0.3rem;
}

h4 {
  font-size: 1rem;
  font-style: italic;
  margin: 0.8rem 0 0.25rem;
}

p {
  margin: 0.5rem 0;
}

ul, ol {
  margin: 0.4rem 0 0.7rem;
  padding-left: 1.3rem;
}

li {
  margin: 0.22rem 0;
}

a {
  color: #0000ee;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

a:visited {
  color: #551a8b;
}

a:hover {
  background: #fff4c2;
}

a:active {
  color: #cc0000;
}

a:focus {
  outline: 2px solid #0000ee;
  outline-offset: 2px;
}

blockquote {
  margin: 0.8rem 0 0.8rem 0.4rem;
  padding: 0.1rem 0 0.1rem 0.9rem;
  border-left: 2px solid #b5aa98;
  color: #2c2824;
  font-style: italic;
}

blockquote p {
  margin: 0.35rem 0;
}

code, .mono, .meta, .tags, .status, .kind, .sample-flag, .ornament, .now, .crumbs {
  font-family: "Courier New", Courier, monospace;
}

code {
  font-size: 0.92em;
}

sup {
  font-size: 0.72em;
  line-height: 0;
}

sup a {
  text-decoration: none;
}

sup a:hover {
  text-decoration: underline;
}

::selection {
  background: #f3e2a4;
  color: #1a1714;
}
