.legal-page {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 108px) 0;
}

.legal-page__header {
  padding-bottom: 38px;
  border-bottom: 1px solid var(--brand-border, #e2ebe9);
}

.legal-page__eyebrow {
  margin: 0;
  color: var(--brand-teal-deep, #11695d);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-page h1 {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 820;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.legal-page__summary {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--brand-slate-teal, #5c7a72);
  font-size: 18px;
  line-height: 1.7;
}

.legal-page__updated {
  margin: 18px 0 0;
  color: var(--brand-slate-teal, #5c7a72);
  font-size: 13px;
  font-weight: 700;
}

.legal-page__contents {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
}

.legal-page__contents a {
  padding: 8px 12px;
  border: 1px solid var(--brand-border, #e2ebe9);
  border-radius: 999px;
  color: var(--brand-teal-deep, #11695d);
  background: #fff;
  font-size: 12px;
  font-weight: 750;
}

.legal-page__section {
  padding-top: 42px;
  scroll-margin-top: 92px;
}

.legal-page__section h2 {
  margin: 0;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.legal-page__section h3 {
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.3;
}

.legal-page__section p,
.legal-page__section li {
  color: #41566d;
  font-size: 15px;
  line-height: 1.75;
}

.legal-page__section p {
  margin: 16px 0 0;
}

.legal-page__section ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding-left: 22px;
}

.legal-page__section a {
  color: var(--brand-teal-deep, #11695d);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-table-wrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--brand-border, #e2ebe9);
  border-radius: 18px;
  background: #fff;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.legal-table th,
.legal-table td {
  padding: 16px;
  border-bottom: 1px solid var(--brand-border, #e2ebe9);
  vertical-align: top;
  font-size: 13px;
  line-height: 1.6;
}

.legal-table th {
  color: var(--brand-midnight, #0b1628);
  background: var(--brand-surface, #f4f7f6);
  font-weight: 800;
}

.legal-table td {
  color: #41566d;
}

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

.legal-callout {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #bcdced;
  border-radius: 18px;
  background: #edf8fc;
}

.legal-callout p:first-child {
  margin-top: 0;
}

.legal-cookie-settings {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--brand-teal-deep, #11695d);
  background: none;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 560px) {
  .legal-page {
    width: min(100% - 28px, 900px);
  }

  .legal-page__contents {
    align-items: stretch;
    flex-direction: column;
  }

  .legal-page__contents a {
    text-align: center;
  }
}
