/* Mobile-first, serif body, readable line-height, ~720px container */
:root {
  --ink: #1a1a1a;
  --muted: #555;
  --rule: #d9d9d9;
  --link: #1b4d7e;
  --link-hover: #0d2f52;
  --bg: #ffffff;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 1.25rem;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Times New Roman", Times, serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

main, header, footer {
  max-width: var(--max-width);
  margin: 0 auto;
}

header {
  padding: 1.5rem 0 1rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}

header .site-title {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

header h1 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.25;
}

h1, h2, h3 {
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

h2 {
  font-size: 1.3rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.3rem;
}

h3 {
  font-size: 1.1rem;
}

p, ul, ol {
  margin: 0 0 1rem;
}

ul, ol {
  padding-left: 1.4rem;
}

li + li {
  margin-top: 0.35rem;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover, a:focus {
  color: var(--link-hover);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

footer {
  margin-top: 3rem;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

footer a {
  color: var(--muted);
}

.docs-list {
  list-style: none;
  padding: 0;
}

.docs-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
}

.docs-list a {
  font-size: 1.1rem;
}

@media (min-width: 600px) {
  body {
    padding: 2rem 1.5rem;
    font-size: 1.125rem;
  }
  header h1 {
    font-size: 2rem;
  }
}
