html {
  height: auto;
  min-height: 100%;
  background-color: #07070c;
}

body.legal-page {
  height: auto;
  min-height: 100vh;
  background: #07070c;
  color: #f4f5f7;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.legal-page header {
  background: #171629;
}

.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.legal-back,
.legal-wrap a.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.legal-back:hover,
.legal-wrap a.legal-back:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  text-decoration: none;
}

.legal-wrap h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

.legal-wrap .legal-updated {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  margin-bottom: 28px;
}

.legal-wrap h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
}

.legal-wrap p,
.legal-wrap li {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.legal-wrap p + p {
  margin-top: 12px;
}

.legal-wrap ul {
  margin: 8px 0 0 20px;
}

.legal-wrap li {
  list-style: disc;
  margin: 6px 0;
}

.legal-wrap a {
  color: #7ed4ff;
  text-decoration: underline;
}

@media (max-width: 650px) {
  .legal-wrap h1 {
    font-size: 26px;
  }
}
