.legal-page {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #333;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

.legal-doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.legal-doc h1 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

.legal-doc h2 {
  margin: 24px 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.legal-doc p {
  margin: 0 0 12px;
  text-align: justify;
  word-break: break-word;
}

.legal-doc p.meta {
  color: #666;
  font-size: 14px;
  text-align: center;
}

.legal-doc p.empty {
  margin: 0;
  height: 8px;
}

.legal-doc h3 {
  margin: 16px 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #444;
}

.legal-toc {
  margin: 4px 0 16px;
  padding: 0;
}

.legal-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-toc li {
  margin: 0;
  padding: 2px 0;
  line-height: 1.3;
}

.legal-toc a {
  color: #2d8cf0;
  font-size: 12px;
  text-decoration: none;
}

.legal-toc a:active,
.legal-toc a:hover {
  text-decoration: underline;
}

.legal-doc a.legal-link {
  color: #2d8cf0;
  text-decoration: none;
  word-break: break-all;
}

.legal-doc a.legal-link:active,
.legal-doc a.legal-link:hover {
  text-decoration: underline;
}

html {
  scroll-behavior: smooth;
}

.legal-doc h2 {
  scroll-margin-top: 16px;
}

.legal-doc strong {
  font-weight: 600;
}
