/* Legal and support pages: one readable column on the landing page's paper. */
.legal {
  background: var(--paper);
  color: var(--ink);
}
.doc {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem var(--gutter) 6rem;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}
.doc h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin: 1rem 0 1.5rem;
  overflow-wrap: break-word;
}
.doc h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 2.75rem 0 0.75rem;
}
.doc p,
.doc ul {
  margin: 0 0 1rem;
}
.doc ul {
  padding-left: 1.25rem;
}
.doc li {
  margin-bottom: 0.4rem;
}
.doc a {
  color: inherit;
  text-decoration-color: var(--lilac-deep);
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}
.doc code {
  font-size: 0.9em;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  padding: 0.05em 0.3em;
}
.doc .table {
  overflow-x: auto;
  margin: 0 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--white);
}
.doc table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
}
.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
}
.doc tr:last-child td {
  border-bottom: 0;
}
.doc th {
  font-weight: 600;
  color: var(--ink-soft);
}
.legal .top {
  flex-wrap: wrap;
}
.legal .top nav a {
  white-space: nowrap;
}
@media (max-width: 40rem) {
  .legal .top nav {
    width: 100%;
    flex-wrap: wrap;
    border-radius: 1.25rem;
  }
  .legal .top nav a {
    padding-inline: 0.55rem;
  }
}
/* Support Q&A: white cards on the paper, question bold on its own line. */
.doc ul.qa {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 2rem;
  padding: 0;
  list-style: none;
}
.doc ul.qa li {
  margin: 0;
  padding: 1.15rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--white);
  color: var(--ink-soft);
}
.doc ul.qa li strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--ink);
  font-weight: 600;
}
/* A card whose bold words start the sentence keeps them inline, so the sentence reads straight through. */
.doc ul.qa li.inline strong {
  display: inline;
  margin: 0;
}
