/* 法律文档页共享样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #333;
  background: #f3f5f9;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #9b6ff5;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #7c4ef0;
}

/* 顶部导航 */
.legal-header {
  background: #fff;
  border-bottom: 1px solid #ececf2;
  position: sticky;
  top: 0;
  z-index: 10;
}

.legal-header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.legal-brand img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
}

.legal-back {
  font-size: 14px;
  color: #9b6ff5;
  font-weight: 500;
}

/* 正文 */
.legal-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.legal-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 13px;
  color: #999;
  margin-bottom: 32px;
}

.legal-intro {
  background: #fff;
  border-left: 3px solid #9b6ff5;
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 32px;
  font-size: 14px;
  color: #555;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.legal-section {
  background: #fff;
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.legal-section h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-section h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background: #9b6ff5;
  border-radius: 2px;
}

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

.legal-section p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.legal-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 10px;
}

.legal-section ul li {
  font-size: 14px;
  color: #555;
  padding: 4px 0 4px 18px;
  position: relative;
}

.legal-section ul li::before {
  content: "·";
  position: absolute;
  left: 6px;
  top: 2px;
  color: #9b6ff5;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

.legal-section strong {
  color: #333;
  font-weight: 600;
}

/* 底部 */
.legal-footer {
  background: #2d3748;
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 20px;
  text-align: center;
  font-size: 13px;
  line-height: 1.9;
}

.legal-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.legal-footer a:hover {
  color: #fff;
}

.legal-footer .footer-links {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-footer .footer-company {
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

@media (max-width: 600px) {
  .legal-title {
    font-size: 24px;
  }

  .legal-section {
    padding: 18px 18px;
  }

  .legal-header-inner {
    padding: 12px 16px;
  }
}
