.legal-document {
  max-width: 900px;
  margin: 0 auto;
  color: var(--landing-text);
}

.legal-document__intro {
  margin-bottom: 28px;
}

.legal-document__eyebrow {
  margin: 0 0 10px;
  color: var(--landing-text-secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-document__intro h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.legal-document__paper {
  padding: clamp(24px, 6vw, 72px);
  border: 1px solid var(--landing-border);
  border-radius: 4px;
  background: var(--landing-card);
  box-shadow: 0 12px 32px rgba(24, 39, 75, .08);
  font-family: "Times New Roman", Times, serif;
  font-size: 17px;
  font-weight: 400;
  font-variant-numeric: lining-nums;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.legal-document__paper p {
  margin: 0 0 1.05em;
  text-align: left;
  hyphens: none;
}

.legal-document__paper p:last-child {
  margin-bottom: 0;
}

.legal-document__title {
  margin: 0 0 1.4em;
  font-size: 24px;
  line-height: 1.35;
  text-align: center;
}

.legal-document__title + .legal-document__title {
  margin-top: -1em;
  color: var(--landing-text-secondary);
  font-size: 16px;
  font-weight: 400;
}

.legal-document__section {
  margin: 1.9em 0 .8em;
  font-size: 18px;
  line-height: 1.4;
  page-break-after: avoid;
}

.legal-document__paper p + .legal-document__section {
  margin-top: 2em;
}

.legal-document__paper p.legal-document__version {
  color: var(--landing-text-secondary);
  font-family: Geometria, system-ui, sans-serif;
  font-size: 13px;
  text-align: right;
}

.legal-document__table-wrap {
  overflow-x: auto;
  margin: 0 0 1.5em;
  border: 1px solid var(--landing-border);
}

.legal-document__table-wrap:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.legal-document__prices {
  width: 100%;
  min-width: 590px;
  border-collapse: collapse;
  font-family: Geometria, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.legal-document__prices th,
.legal-document__prices td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--landing-border);
  text-align: left;
  vertical-align: top;
}

.legal-document__prices thead {
  background: var(--landing-page-mid);
}

.legal-document__prices tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 599px) {
  .legal-document__paper {
    font-size: 16px;
  }

  .legal-document__paper p {
    text-align: left;
  }
}

@media print {
  .legal-document {
    max-width: none;
    color: #000;
  }

  .legal-document__intro {
    display: none;
  }

  .legal-document__paper {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: #fff;
    color: #000;
    font-size: 12pt;
  }
}
