/* ========== 变量 ========== */
:root {
  --bg: #d6eaf8;    /* 浅蓝色背景 */
  --ink: #1c1c1a;   /* 主文字色 */
  --muted: #71717a; /* 次要文字色 */
  --line: #e4e4e7;  /* 分隔线 */
}

/* ========== 基础 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ========== 主内容 ========== */
.page {
  flex: 1;
  width: min(38rem, 88vw);
  margin: 0 auto;
  padding: 8rem 0 4rem;
  text-align: center;
}

.page h1 {
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
}

.rule {
  width: 2.5rem;
  height: 1px;
  border: 0;
  background: var(--line);
  margin: 2rem auto;
}

.intro {
  color: var(--muted);
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.hello {
  margin-top: 1.5rem;
  color: var(--ink);
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

/* ========== 链接 ========== */
.links {
  margin-top: 2.5rem;
}

.links a {
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.links a:hover {
  border-bottom-color: var(--ink);
}

/* ========== 页脚 ========== */
.footer {
  padding: 2rem 0 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}
