:root {
  --bg: #fbfbf9;
  --fg: #2a2a28;
  --muted: #8f8f8a;
  --accent: #0f9d8f;
  --line: #e8e8e4;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

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

/* ===== 顶部导航 ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 40px 0 0;
}
nav .brand {
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.06em;
}
nav .links a, nav .links span {
  margin-left: 22px;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}
nav .links a:hover { color: var(--accent); }
nav .links .soon { cursor: default; }
nav .links .soon small { font-size: 0.72rem; }

/* ===== 首页 hero ===== */
header.hero { padding: 96px 0 72px; }
header.hero h1 {
  font-size: 2.3rem;
  font-weight: 650;
  letter-spacing: 0.1em;
}
header.hero h1 small {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-left: 10px;
}
header.hero p.tagline {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}
header.hero p.intro {
  margin-top: 28px;
  color: var(--fg);
  max-width: 560px;
}

/* ===== 分区 ===== */
section { padding: 40px 0; border-top: 1px solid var(--line); }
section h2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.3em;
  margin-bottom: 32px;
}

/* ===== 项目列表 ===== */
ul.projects { list-style: none; }
ul.projects li { margin-bottom: 28px; }
ul.projects li:last-child { margin-bottom: 0; }
ul.projects .name { font-weight: 600; }
ul.projects .desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 4px;
}

/* ===== 联系 ===== */
.contact p { color: var(--fg); }
.contact .wechat {
  font-family: ui-monospace, Consolas, monospace;
  background: #f1f1ec;
  border-radius: 6px;
  padding: 2px 10px;
  letter-spacing: 0.05em;
}
.contact .note { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }

/* ===== 大事记时间线 ===== */
header.page { padding: 88px 0 56px; }
header.page h1 { font-size: 1.7rem; font-weight: 650; letter-spacing: 0.15em; }
header.page p { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }

.timeline {
  list-style: none;
  border-left: 1px solid var(--line);
  margin: 8px 0 48px 6px;
  padding-left: 32px;
}
.timeline li { position: relative; padding-bottom: 44px; }
.timeline li:last-child { padding-bottom: 8px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.timeline .date {
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  font-family: ui-monospace, Consolas, monospace;
}
.timeline .event { font-weight: 600; margin-top: 4px; }
.timeline .note { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* ===== 页脚 ===== */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 56px;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

@media (max-width: 480px) {
  header.hero { padding: 64px 0 48px; }
  header.hero h1 { font-size: 1.9rem; }
  nav .links a, nav .links span { margin-left: 14px; }
}
