:root {
  --ink: #142033;
  --muted: #5c6b80;
  --line: #e4ebf5;
  --paper: #f4f7fb;
  --blue: #2457f6;
  --blue-d: #1639c4;
  --blue-s: #eaf0ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-d); }
a:hover { text-decoration: none; }

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  padding: 0 24px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.legal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.legal-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.legal-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}
.legal-links a { color: var(--muted); text-decoration: none; }
.legal-links a:hover,
.legal-links a.is-on { color: var(--blue-d); }

.user-item-wrap { padding: 28px 20px 72px; }
.user-item-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 40px 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.user-item-content h1 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -.3px;
}
.dates { margin: 0; color: var(--muted); font-size: 13px; }
.user-item-content h2 {
  margin: 32px 0 12px;
  font-size: 20px;
  line-height: 1.4;
}
.user-item-content h3 {
  margin: 22px 0 8px;
  font-size: 16px;
  line-height: 1.4;
}
.user-item-content p { margin: 0 0 12px; overflow-wrap: anywhere; }
.user-item-content ul { margin: 0 0 12px; padding-left: 1.3em; }
.user-item-content li { margin: 4px 0; }
.user-item-content b { font-weight: 700; }

.user-item-content table {
  width: 100%;
  margin: 16px 0 24px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}
.user-item-content th {
  background: var(--blue-s);
  color: var(--blue-d);
  font-weight: 700;
  text-align: left;
}
.user-item-content th,
.user-item-content td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.legal-foot {
  padding: 0 20px 36px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.legal-foot a { color: var(--muted); text-decoration: none; }
.legal-foot a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 720px) {
  .legal-nav { height: auto; padding: 12px 16px; flex-wrap: wrap; }
  .legal-links { gap: 12px; font-size: 13px; }
  .user-item-wrap { padding: 16px 12px 48px; }
  .user-item-content { padding: 24px 16px 32px; border-radius: 16px; }
  .user-item-content h1 { font-size: 26px; }
  .user-item-content table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
