:root {
  color-scheme: light dark;
  --bg: #f7f5f2;
  --surface: #fffcf7;
  --ink: #1c1917;
  --muted: #57534e;
  --accent: #9a3412;
  --accent-soft: rgba(154, 52, 18, 0.06);
  --border: rgba(28, 25, 23, 0.09);
  --shadow: 0 12px 32px rgba(28, 25, 23, 0.06);
  font-family: "Segoe UI", system-ui, -apple-system, "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0e0d;
    --surface: #1a1816;
    --ink: #f5f5f4;
    --muted: #a8a29e;
    --accent: #fbbf24;
    --accent-soft: rgba(251, 191, 36, 0.06);
    --border: rgba(250, 250, 249, 0.09);
    --shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(
      900px circle at 15% -10%,
      var(--accent-soft),
      transparent 55%
    ),
    var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

.page {
  max-width: 38rem;
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 3.5rem) clamp(1.25rem, 4vw, 1.75rem) 2.5rem;
}

.hero {
  margin-bottom: 2rem;
}

.eyebrow {
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.title {
  font-size: clamp(1.65rem, 4.8vw, 2.1rem);
  font-weight: 620;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  line-height: 1.28;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 36ch;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.card-inner {
  padding: 1.25rem 1.35rem 1.4rem;
}

h2 {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: baseline;
}

.post-date {
  font-size: 0.85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.post-title {
  font-weight: 450;
}

.links {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 480px) {
  .links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.link-tile {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: border-color 130ms ease, background 130ms ease;
}

.link-tile:hover {
  border-color: rgba(154, 52, 18, 0.25);
  background: var(--accent-soft);
}

@media (prefers-color-scheme: dark) {
  .link-tile:hover {
    border-color: rgba(251, 191, 36, 0.22);
  }
}

.link-label {
  font-weight: 600;
}

.link-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-line {
  margin: 0 0 0.4rem;
}

.footer-domain {
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.footer-beian {
  margin: 0;
}

.footer-beian a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}

.footer-beian a:hover {
  color: var(--accent);
  border-bottom-color: currentColor;
}
