/* -- Support and Privacy ------- */
/* The site's "Glass, neutral" design: each language is a white card on the grey page, and the
   header is the one translucent layer. */
.legal-page {
  font-family: var(--body);
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.legal-shell {
  width: min(780px, calc(100% - 40px));
  margin-inline: auto;
}
.legal-header,
.legal-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  isolation: isolate;
  justify-content: space-between;
  padding-block: 12px;
}
/* The header is as wide as the text; the glass reaches the screen's edges behind it. */
.legal-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  inset-inline: calc(50% - 50vw);
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  box-shadow:
    inset 0 -1px 0 var(--glass-edge),
    0 1px 0 var(--glass-hairline);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .legal-header::before {
    background: var(--glass-solid);
  }
}
.legal-header img {
  width: 96px;
  height: auto;
}
.legal-page a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(29, 29, 31, 0.35);
  text-underline-offset: 4px;
}
.legal-page a:hover {
  text-decoration-color: currentColor;
}
.legal-header a,
.legal-nav a {
  text-decoration: none;
}
.legal-nav a {
  color: var(--muted);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.legal-nav a:hover {
  color: var(--ink);
}
.legal-page main {
  padding-block: 24px 16px;
}
.legal-page h1,
.legal-page h2 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.022em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.legal-page h1 {
  font-size: clamp(1.9rem, 6vw, 2.8rem);
  line-height: 1.1;
  margin-block: 0 16px;
}
.legal-page h2 {
  font-size: 1.2rem;
  margin-top: 32px;
}
/* Each language is a card of its own. */
.legal-page section {
  scroll-margin-top: 84px;
  padding: 40px 48px 44px;
  border-radius: 32px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(29, 29, 31, 0.04);
}
.legal-page section + section {
  margin-top: 20px;
}
.legal-page .legal-date {
  color: var(--muted);
}
/* The landing page zeroes paragraph margins; legal prose needs them back to stay readable. */
.legal-page section p {
  margin-block: 0 12px;
}
.legal-page .contact-card {
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--fill-soft);
  overflow-wrap: anywhere;
}
.legal-page footer {
  padding-block: 24px 32px;
  font-size: 0.92rem;
}
/* Who takes the money, set apart from the prose that explains it: three parties, each with the
   registration a reader can check. */
.legal-page .legal-requisites {
  margin: 20px 0 0;
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--fill-soft);
  overflow-wrap: anywhere;
}
.legal-page .legal-requisites dt {
  font-weight: 600;
  margin-top: 16px;
}
.legal-page .legal-requisites dt:first-child {
  margin-top: 0;
}
.legal-page .legal-requisites dd {
  margin: 4px 0 0;
}
@media (max-width: 560px) {
  .legal-page main.legal-shell {
    width: calc(100% - 24px);
  }
  .legal-page section {
    padding: 28px 20px 32px;
    border-radius: 26px;
  }
  .legal-page .contact-card,
  .legal-page .legal-requisites {
    padding: 16px 18px;
  }
}
