:root {
  --bg-deep: #050508;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --color-ink: #f0f4ff;
  --color-muted: #8892a8;
  --color-accent: #00ff88;
  --gradient-main: linear-gradient(135deg, #00ff88 0%, #00d4ff 50%, #a855f7 100%);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Segoe UI", sans-serif;
  background: var(--bg-deep);
  color: var(--color-ink);
  line-height: 1.75;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 10% 10%, rgba(0, 255, 136, 0.08), transparent),
    radial-gradient(ellipse 50% 50% at 90% 80%, rgba(0, 212, 255, 0.06), transparent);
  pointer-events: none;
  z-index: 0;
}

.legal-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(16px);
}

.legal-topbar a {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-topbar a:hover {
  color: var(--color-accent);
}

.legal-topbar .brand {
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.card {
  padding: 24px 22px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

.card:first-of-type h1 {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.4;
}

h2 {
  margin: 0 0 14px;
  color: var(--color-accent);
  font-size: 18px;
  line-height: 1.5;
}

p {
  margin: 0;
  font-size: 15px;
  color: var(--color-muted);
}

p + p {
  margin-top: 10px;
}

.meta {
  color: var(--color-muted);
  font-size: 14px;
  opacity: 0.8;
}
