:root {
  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --blue-50: #eff6ff;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --header: 72px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(860px, calc(100% - 40px)); margin: 0 auto; }
.header {
  position: sticky; top: 0; z-index: 20;
  height: var(--header);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.header-nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.header-nav a {
  font-size: 14px; color: var(--text); padding: 8px 12px; border-radius: 999px;
}
.header-nav a:hover, .header-nav a.is-on { color: var(--blue); background: var(--blue-50); }
.btn {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
  border-radius: 10px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600;
}
.btn:hover { background: var(--blue-600); }
main { padding: 40px 0 72px; }
.paper {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px 36px;
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.paper h1 { font-size: 28px; color: var(--ink); letter-spacing: -.02em; margin-bottom: 8px; }
.sub { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.paper h2 {
  font-size: 16px; color: var(--ink); margin: 24px 0 8px; font-weight: 700;
}
.paper h2:first-of-type { margin-top: 0; }
.paper p { font-size: 15px; margin-bottom: 10px; color: var(--text); }
footer { background: #0f172a; color: #94a3b8; padding: 28px 0; font-size: 13px; }
.foot {
  width: min(1180px, calc(100% - 40px)); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
footer a { color: #e2e8f0; }
footer a:hover { color: #fff; }
@media (max-width: 640px) {
  .paper { padding: 24px 18px; }
  .header-nav a:not(.btn) { display: none; }
  .foot { flex-direction: column; }
}
