/* The legal pages (legal notice, privacy policy, terms of use): long text in one readable column, set in the sizes
   the subpages already use for item headings and body copy. */
.legal {
  padding-top: 8px;
  padding-bottom: var(--page-end);
}
.legal-text {
  max-width: 72ch;
}
.legal-text h2 {
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 22px;
  line-height: 30px;
  font-weight: 400;
  letter-spacing: -0.012em;
}
.legal-text h3 {
  margin-top: 28px;
  color: var(--ink);
  font-size: 17px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.legal-text p,
.legal-text li,
.legal-text dd {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 26px;
  text-wrap: pretty;
}
.legal-text p,
.legal-text ul {
  margin-top: 12px;
}
.legal-text ul {
  padding-left: 1.25em;
  list-style: disc;
}
.legal-text li + li {
  margin-top: 6px;
}
.legal-text li::marker {
  color: var(--muted-2);
}
.legal-text a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.1s;
}
.legal-text a:hover {
  text-decoration-color: currentColor;
}
.legal-text strong {
  color: var(--ink);
  font-weight: 500;
}
.legal-text .legal-updated {
  margin-top: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}
/* The company details: label and value side by side from tablet width on, one under the other on phones. */
.legal-facts {
  display: grid;
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}
.legal-facts div {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.legal-facts dt {
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}
.legal-facts dd {
  margin: 0;
}
@media (min-width: 640px) {
  .legal-facts div {
    grid-template-columns: 14em minmax(0, 1fr);
    gap: 24px;
  }
  .legal-facts dt {
    font-size: 16px;
    line-height: 26px;
  }
}
/* German legal titles are single long words ("Nutzungsbedingungen."), which can't wrap without hyphenation and are
   wider than the sub-hero's sizing allows for: set them a little smaller, so they stay inside the column. */
html[lang='de'] .legal-hero .hp-copy h1 {
  font-size: min(var(--hero-size), 9.5cqi);
}
