/* Legal documents: a single reading column. Serif, because these are written for people to read. */
.doc-page {
  padding: 152px 0 112px;
}
.doc {
  max-width: 720px;
}
.doc h1 {
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 14px 0 12px;
}
.doc .updated {
  color: var(--ink-3);
  font-size: 13px;
}

.toc {
  list-style: none;
  padding: 0 0 32px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  columns: 2;
  column-gap: 32px;
}
.toc li {
  break-inside: avoid;
  margin-bottom: 6px;
}
.toc a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
}
.toc a:hover {
  color: var(--accent-text);
}
.toc span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-decorative);
  margin-right: 8px;
}

.doc section {
  padding-top: 40px;
  scroll-margin-top: 24px;
}
.doc h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.doc h2 span {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-decorative);
  margin-right: 10px;
}
.doc .prose {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-document);
}
.doc .prose p + p {
  margin-top: 12px;
}
.doc .prose a {
  color: var(--accent-text);
}

@media (max-width: 560px) {
  .doc-page {
    padding: 112px 0 80px;
  }
  .toc {
    columns: 1;
  }
}
