/* 法律页通用样式 — 沿用主站 design tokens */
:root {
  --bg-black: #0C0403;
  --card: #111015;
  --cream: #FFF5CC;
  --cream-pale: #FFFDE8;
  --cream-deep: #EADEAA;
  --cream-mid: #AA9745;
  --magenta: #F780EE;
  --lavender: #AFA7F0;
  --text-primary: rgba(255,255,255,0.92);
  --text-body: rgba(255,255,255,0.78);
  --text-secondary: rgba(255,255,255,0.55);
  --text-tertiary: rgba(255,255,255,0.35);
  --border: rgba(255,255,255,0.08);
  --cream-glow-soft: rgba(255,245,204,0.18);
  --radius-pill: 90px;
  --font-zh: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-zh);
  background: var(--bg-black);
  color: var(--text-body);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before, body::after {
  content: ""; position: fixed; pointer-events: none; z-index: 0;
  border-radius: 50%; filter: blur(140px); opacity: 0.35;
  mix-blend-mode: screen;
}
body::before {
  top: -20vh; left: -10vw; width: 60vw; height: 60vw;
  background: radial-gradient(circle, var(--lavender) 0%, transparent 70%);
}
body::after {
  bottom: -25vh; right: -10vw; width: 60vw; height: 60vw;
  background: radial-gradient(circle, var(--magenta) 0%, transparent 70%);
  opacity: 0.25;
}

.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  background: rgba(12,4,3,0.55);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; max-width: 880px; margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--text-primary); letter-spacing: 0.02em;
  text-decoration: none;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand-name { font-size: 15px; }
.brand-cn { color: var(--text-secondary); font-size: 13px; margin-left: 2px; }
.nav-back {
  padding: 8px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text-primary); font-size: 13px;
  text-decoration: none;
  transition: background .2s ease;
}
.nav-back:hover { background: rgba(255,255,255,0.08); }

.legal {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto; padding: 80px 28px 80px;
}
.legal-eyebrow {
  display: inline-block; font-size: 12px; color: var(--cream-deep);
  letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 14px;
}
.legal h1 {
  font-size: clamp(32px, 4.5vw, 44px); margin: 0 0 8px; color: var(--text-primary);
  font-weight: 600; letter-spacing: -0.005em;
}
.legal .meta {
  color: var(--text-tertiary); font-size: 13.5px; margin: 0 0 56px;
  padding-bottom: 28px; border-bottom: 1px solid var(--border);
}
.legal h2 {
  font-size: 20px; margin: 56px 0 16px; color: var(--text-primary);
  font-weight: 600; letter-spacing: 0.005em;
}
.legal h3 {
  font-size: 16px; margin: 32px 0 10px; color: var(--cream-pale);
  font-weight: 500;
}
.legal p, .legal li {
  font-size: 15px; color: var(--text-body); margin: 0 0 12px;
}
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text-primary); font-weight: 600; }
.legal a {
  color: var(--cream-pale); text-decoration: underline;
  text-decoration-color: rgba(255,245,204,0.35);
  text-underline-offset: 3px;
}
.legal table {
  width: 100%; border-collapse: collapse; margin: 16px 0 24px;
  font-size: 14px;
}
.legal th, .legal td {
  border: 1px solid var(--border); padding: 12px 14px; text-align: left;
  vertical-align: top;
}
.legal th { background: rgba(255,255,255,0.03); color: var(--text-primary); font-weight: 600; }
.legal blockquote {
  margin: 24px 0; padding: 16px 20px;
  background: rgba(255,245,204,0.04);
  border-left: 3px solid rgba(255,245,204,0.35);
  border-radius: 4px;
  color: var(--text-body);
}
.legal hr { border: 0; border-top: 1px solid var(--border); margin: 48px 0; }

footer {
  position: relative; z-index: 1;
  padding: 32px 28px 48px;
  border-top: 1px solid var(--border);
  color: var(--text-tertiary); font-size: 13px; text-align: center;
}
footer a { color: var(--text-secondary); text-decoration: none; margin: 0 12px; }
footer a:hover { color: var(--cream-pale); }

@media (max-width: 720px) {
  .legal { padding: 56px 22px 64px; }
  .nav-inner { padding: 12px 22px; }
  .brand-cn { display: none; }
}
