/* Privacy, Terms and Support: same colours and type as the landing page, set for reading. */
.legal {
  display: block;
  place-items: initial;
  height: auto;
}

.doc {
  max-width: 680px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 5rem;
  line-height: 1.65;
  font-size: 1rem;
}

.doc .home {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.doc .home:hover { color: var(--fg); }

.doc h1 {
  margin-top: 2rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.doc .date {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.doc .lede {
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.doc h2 {
  margin-top: 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.doc p,
.doc ul,
.doc ol { margin-top: 0.75rem; }

.doc ul,
.doc ol { padding-left: 1.2rem; }

.doc li + li { margin-top: 0.4rem; }

.doc strong { font-weight: 600; }

.doc a { color: var(--fg); }

.doc footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #222;
  color: var(--muted);
  font-size: 0.9rem;
}

.doc footer a + a { margin-left: 1.25rem; }

.links {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

.links a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 0.6rem;
}

.links a:hover { color: var(--fg); }
