:root {
  --bg: #fcfcfb;
  --card: #ffffff;
  --text: #1f1f1d;
  --muted: #77766f;
  --line: #ebe9e3;
  --accent: #1a5fb4;
  --accent-soft: #eaf1fb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161615;
    --card: #1f1f1e;
    --text: #eceae5;
    --muted: #9a988f;
    --line: #2e2e2c;
    --accent: #7fb0ea;
    --accent-soft: #1e2836;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

::selection { background: var(--accent-soft); color: var(--text); }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--accent);
}

.wrap {
  max-width: 660px;
  margin: 0 auto;
  padding: 72px 24px 40px;
}

.hero { text-align: center; padding-bottom: 44px; border-bottom: 1px solid var(--line); }

.avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 30px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 0 0 6px var(--accent-soft);
}

h1 { font-size: 30px; font-weight: 600; letter-spacing: 3px; }

.role { font-size: 15px; margin-top: 10px; }

.muted { color: var(--muted); font-size: 14px; margin-top: 2px; }

.links { margin-top: 20px; display: flex; gap: 14px; justify-content: center; }

.links a {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 16px;
  transition: opacity 0.15s;
}

.links a:hover { opacity: 0.75; }

.block { padding: 40px 0; border-bottom: 1px solid var(--line); }

h2 {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; }

.tags span {
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 6px;
  padding: 3px 12px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  transition: transform 0.15s, border-color 0.15s;
}

.card:hover { transform: translateY(-3px); border-color: var(--accent); }

.card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }

.card p { font-size: 13px; color: var(--muted); line-height: 1.65; }

.more { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--accent); }

footer {
  padding-top: 28px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  justify-content: center;
}

.dot { opacity: 0.5; }

@media (max-width: 600px) {
  .wrap { padding: 48px 18px 32px; }
  h1 { font-size: 25px; letter-spacing: 2px; }
}
