:root{
  --wx-bg:#f5f8fc;
  --wx-card:#fff;
  --wx-text:#0f172a;
  --wx-muted:#64748b;
  --wx-line:#e2e8f0;
  --wx-blue:#2563eb;
  --wx-cyan:#06b6d4;
  --wx-dark:#07111f;
  --wx-gold:#f59e0b;
  --wx-radius:24px;
  --wx-shadow:0 24px 70px rgba(15,23,42,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--wx-text);
  background:
    radial-gradient(circle at top left,rgba(37,99,235,.10),transparent 30%),
    linear-gradient(180deg,#f8fbff 0%,#eef5ff 52%,#f7fafc 100%);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;
}
.wx-legal-top{
  height:72px;
  background:#07111f;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  position:sticky;
  top:0;
  z-index:20;
  box-shadow:0 10px 28px rgba(2,6,23,.18);
}
.wx-legal-nav{
  width:min(1180px,calc(100% - 36px));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.wx-legal-brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:#fff;
}
.wx-legal-logo{
  width:42px;
  height:42px;
  border-radius:14px;
  background:#fff;
  color:#0f172a;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:1000;
  letter-spacing:-.04em;
}
.wx-legal-brand b{display:block;font-size:18px;line-height:1.1}
.wx-legal-brand span{display:block;font-size:12px;color:#a7b3c6;margin-top:3px}
.wx-legal-links{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.wx-legal-links a{
  color:#dbeafe;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  padding:9px 13px;
  border-radius:999px;
}
.wx-legal-links a:hover,.wx-legal-links a.active{
  color:#fff;
  background:rgba(37,99,235,.95);
}
.wx-legal-wrap{
  width:min(1180px,calc(100% - 36px));
  margin:44px auto 72px;
  display:grid;
  grid-template-columns:280px 1fr;
  gap:22px;
}
.wx-legal-side{
  position:sticky;
  top:94px;
  align-self:start;
  background:rgba(255,255,255,.86);
  border:1px solid var(--wx-line);
  border-radius:var(--wx-radius);
  box-shadow:0 18px 52px rgba(15,23,42,.08);
  padding:18px;
  backdrop-filter:blur(16px);
}
.wx-legal-side h3{
  margin:0 0 12px;
  font-size:16px;
}
.wx-legal-side a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  color:#334155;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  border:1px solid transparent;
  border-radius:14px;
  padding:10px 11px;
}
.wx-legal-side a:hover{
  color:#2563eb;
  background:#eff6ff;
  border-color:#bfdbfe;
}
.wx-legal-main{
  background:var(--wx-card);
  border:1px solid var(--wx-line);
  border-radius:30px;
  box-shadow:var(--wx-shadow);
  overflow:hidden;
}
.wx-legal-hero{
  padding:38px 42px 30px;
  background:
    linear-gradient(135deg,rgba(37,99,235,.10),rgba(6,182,212,.08)),
    #fff;
  border-bottom:1px solid var(--wx-line);
}
.wx-legal-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 11px;
  border-radius:999px;
  color:#1d4ed8;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  font-size:12px;
  font-weight:1000;
  letter-spacing:.06em;
}
.wx-legal-hero h1{
  margin:16px 0 10px;
  font-size:34px;
  line-height:1.16;
  letter-spacing:-.04em;
}
.wx-legal-hero p{
  margin:0;
  color:#475569;
  font-size:15px;
  line-height:1.9;
}
.wx-legal-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
.wx-legal-meta span{
  padding:8px 11px;
  border-radius:999px;
  background:#fff;
  border:1px solid #dbeafe;
  color:#475569;
  font-size:12px;
  font-weight:800;
}
.wx-legal-content{
  padding:28px 42px 44px;
}
.wx-legal-content section{
  padding:22px 0;
  border-bottom:1px solid #eef2f7;
  scroll-margin-top:96px;
}
.wx-legal-content section:last-child{border-bottom:0}
.wx-legal-content h2{
  margin:0 0 12px;
  font-size:22px;
  letter-spacing:-.02em;
}
.wx-legal-content h3{
  margin:18px 0 8px;
  font-size:16px;
}
.wx-legal-content p,.wx-legal-content li{
  color:#334155;
  font-size:15px;
  line-height:1.9;
}
.wx-legal-content p{margin:8px 0}
.wx-legal-content ul,.wx-legal-content ol{
  margin:8px 0 0;
  padding-left:22px;
}
.wx-legal-note{
  margin:16px 0 0;
  padding:14px 16px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#475569;
}
.wx-legal-warning{
  background:#fff7ed;
  border-color:#fed7aa;
  color:#9a3412;
}
.wx-legal-blue{
  background:#eff6ff;
  border-color:#bfdbfe;
  color:#1d4ed8;
}
.wx-legal-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}
.wx-legal-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:42px;
  padding:0 18px;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(135deg,var(--wx-blue),var(--wx-cyan));
  text-decoration:none;
  font-weight:1000;
  box-shadow:0 14px 28px rgba(37,99,235,.18);
}
.wx-legal-btn.ghost{
  color:#2563eb;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  box-shadow:none;
}
.wx-legal-footer{
  text-align:center;
  color:#64748b;
  font-size:13px;
  padding:0 18px 34px;
}
@media(max-width:980px){
  .wx-legal-top{height:auto;padding:12px 0}
  .wx-legal-nav{align-items:flex-start;flex-direction:column}
  .wx-legal-wrap{grid-template-columns:1fr;margin-top:22px}
  .wx-legal-side{position:static}
  .wx-legal-hero,.wx-legal-content{padding-left:22px;padding-right:22px}
  .wx-legal-hero h1{font-size:28px}
}
@media(max-width:560px){
  .wx-legal-wrap{width:calc(100% - 20px)}
  .wx-legal-links a{font-size:13px;padding:8px 10px}
}
