.legal-paper {
  min-height: 100vh;
}

.legal-index {
  padding: clamp(42px, 6vw, 88px) clamp(24px, 5.5vw, 84px) clamp(64px, 8vw, 112px);
}

.legal-heading {
  width: min(820px, 100%);
  margin: 0 auto;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line, #e7e7e7);
}

.legal-eyebrow,
.legal-section-label {
  margin: 0 0 10px;
  color: var(--blue, #33a8e6);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.legal-title {
  max-width: 820px;
  margin: 0;
  color: var(--ink, #222);
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: .98;
  text-wrap: balance;
}

.legal-date {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-top: 20px;
  padding: 0 13px;
  border: 1px solid var(--line, #e7e7e7);
  border-radius: 999px;
  color: var(--muted, #777);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.legal-layout {
  width: min(820px, 100%);
  margin: 0 auto;
  padding-top: 16px;
}

.legal-content {
  min-width: 0;
  max-width: 820px;
  color: #303030;
  font-size: 16px;
  line-height: 1.72;
}

.legal-content>p:first-child {
  margin-top: 0;
  color: var(--ink, #222);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.58;
}

.legal-content h2 {
  margin: 44px 0 14px;
  padding-top: 8px;
  color: var(--ink, #222);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.18;
}

.legal-content h3 {
  margin: 28px 0 9px;
  color: var(--ink, #222);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  margin: 0 0 18px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
}

.legal-content li+li {
  margin-top: 8px;
}

.legal-content a,
.legal-footer a,
.legal-footer button {
  color: var(--blue, #33a8e6);
  text-underline-offset: 3px;
}

.legal-content a:hover,
.legal-content a:focus-visible,
.legal-footer a:hover,
.legal-footer a:focus-visible,
.legal-footer button:hover,
.legal-footer button:focus-visible {
  text-decoration: underline;
}

.legal-note {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--blue, #33a8e6);
  background: #f7fbfd;
  color: #3a3a3a;
  font-size: 14px;
}

.legal-table-wrap {
  width: 100%;
  margin: 22px 0 28px;
  overflow-x: auto;
  border-top: 1px solid var(--ink, #222);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.55;
}

.legal-table th,
.legal-table td {
  min-width: 125px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line, #e7e7e7);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--ink, #222);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-table code {
  color: var(--ink, #222);
  font-size: 12px;
}

.cookie-settings-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 4px 0 24px;
  padding: 0 18px;
  border: 1px solid var(--ink, #222);
  border-radius: 0;
  background: #fff;
  color: var(--ink, #222);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.cookie-settings-button:hover,
.cookie-settings-button:focus-visible {
  border-color: var(--blue, #33a8e6);
  background: var(--blue, #33a8e6);
  color: #fff;
  outline: 0;
  text-decoration: none;
}

.legal-footer {
  gap: 22px;
  flex-wrap: wrap;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
}

.footer-legal-links a {
  color: inherit;
  text-decoration: none;
}

.footer-cookie-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 650px) {
  .legal-index {
    padding: 34px 20px 64px;
  }

  .legal-heading {
    padding-bottom: 24px;
  }

  .legal-layout {
    gap: 34px;
    padding-top: 28px;
  }

  .legal-content {
    font-size: 15px;
  }

  .legal-content h2 {
    margin-top: 44px;
  }

  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal-links {
    justify-content: flex-start;
  }
}
