.legal-page {
  max-width: 1040px;
  margin: 48px auto 80px;
  padding: 0 22px;
  color: var(--text-primary, #17212b);
  line-height: 1.68;
}

.legal-page h1 {
  margin: 0 0 8px;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.08;
}

.legal-page h2 {
  margin: 42px 0 10px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.25;
}

.legal-page h3 { margin: 26px 0 8px; }
.legal-page p, .legal-page li { max-width: 78ch; }
.legal-page ul { padding-left: 22px; }
.legal-page a { text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { color: #586674; }

.legal-publication-blocker {
  margin: 26px 0;
  padding: 18px 20px;
  border: 2px solid #a66b00;
  border-radius: 10px;
  background: #fff8e6;
  color: #382500;
}

.legal-table-wrap {
  width: 100%;
  margin: 18px 0 28px;
  overflow-x: auto;
  border: 1px solid #cbd3da;
  border-radius: 10px;
}

.legal-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: .94rem;
}

.legal-table th,
.legal-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #dce2e7;
  text-align: left;
  vertical-align: top;
}

.legal-table th { background: #111d28; color: #fff; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table tbody tr:nth-child(even) { background: #f6f8fa; }

.legal-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 22px 0; }
.legal-button {
  min-height: 48px;
  padding: 11px 17px;
  border: 2px solid #111d28;
  border-radius: 8px;
  background: #111d28;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 600px) {
  .legal-page { margin-top: 32px; padding: 0 16px; }
  .legal-page h2 { margin-top: 34px; }
}
