/* 个人数据分享 · 站点样式 */
:root {
  --main: #2b6cb0;
  --main-dark: #1f4e79;
  --light: #ebf3fb;
  --ink: #22303f;
  --muted: #5f6f7f;
  --line: #e3e9f0;
  --bg: #f7f9fc;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: #fff; line-height: 1.75; font-size: 15px;
}
a { color: var(--main); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

.topbar { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 10; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--main); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--muted); font-size: 14.5px; }
.nav a:hover, .nav a.active { color: var(--main); text-decoration: none; }

.hero { background: linear-gradient(180deg, var(--light), #f4f8fd); padding: 64px 0 56px; text-align: center; }
.hero h1 { font-size: 32px; font-weight: 700; }
.hero p { color: var(--muted); font-size: 16px; max-width: 600px; margin: 14px auto 0; }

.section { padding: 56px 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-size: 25px; font-weight: 700; }
.section-head p { color: var(--muted); margin-top: 8px; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px; }
.card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }

.rank-item { display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; }
.rank-no { width: 30px; height: 30px; border-radius: 50%; background: var(--main); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: none; }
.rank-body { flex: 1; }
.rank-body b { font-size: 15.5px; }
.rank-body span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }

.page-head { background: var(--bg); padding: 44px 0; text-align: center; }
.page-head h1 { font-size: 28px; font-weight: 700; }
.page-head p { color: var(--muted); margin-top: 8px; }

.article { max-width: 760px; margin: 0 auto; padding: 44px 20px; }
.article h2 { font-size: 21px; font-weight: 600; margin: 26px 0 12px; }
.article p { margin-bottom: 14px; }
.article ul { margin: 10px 0 14px 22px; }
.article li { margin-bottom: 8px; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 13px; }
.footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer a { color: var(--muted); }

@media (max-width: 760px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero h1 { font-size: 26px; }
}
