:root {
  --ink: #0a0a0a;
  --paper: #fafafa;
  --muted: #6a6a6a;
  --rule: #e6e6e6;
  --measure: 36rem;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}

header {
  margin-bottom: 4rem;
}

.wordmark {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}

.lede {
  margin-bottom: 3.5rem;
}

.lede p {
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
  letter-spacing: -0.005em;
}

.lede p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.block {
  margin-bottom: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.block h2 {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

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

ul.plain li {
  padding: 0.35rem 0;
  font-size: 1.0625rem;
}

ul.plain .title {
  font-weight: 500;
}

ul.plain .note {
  color: var(--muted);
}

footer {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

footer p {
  margin: 0 0 0.35rem;
}

footer a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

footer a:hover {
  border-bottom-color: var(--ink);
}

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.links { margin-top: 1rem; }
.links a { color: var(--muted); border-bottom: none; }
.links a:hover { color: var(--ink); }

/* Legal pages */
.legal h1 {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.legal .updated {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0 0 2.5rem;
}

.legal h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
}

.legal p, .legal li {
  font-size: 1rem;
  line-height: 1.6;
}

.legal a {
  color: var(--ink);
}

.back {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
}

.back:hover { color: var(--ink); }

@media (max-width: 480px) {
  main { padding: 4rem 1.25rem 3rem; }
  .lede p { font-size: 1.125rem; }
}
