:root {
  --ink: #1c2430;
  --ink-soft: #3d4a5c;
  --muted: #6b7888;
  --paper: #f7f3eb;
  --card: #fffdf8;
  --line: rgba(28, 36, 48, 0.1);
  --accent: #0f766e;
  --accent-deep: #115e59;
  --glow: #d97706;
  --font: "Source Han Serif SC", "Noto Serif SC", "Songti SC", Georgia, serif;
  --sans: "DM Sans", "Noto Sans SC", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(15, 118, 110, 0.18), transparent 55%),
    radial-gradient(900px 420px at 0% 0%, rgba(217, 119, 6, 0.14), transparent 50%),
    linear-gradient(180deg, #eef5f3 0%, var(--paper) 38%, #f3ebe0 100%);
  line-height: 1.7;
}

a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--glow); }

.wrap {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 80px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
  animation: rise 0.55s ease both;
}

.brand {
  font-family: var(--font);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.15;
}
.brand a { color: inherit; text-decoration: none; }
.tagline {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
}
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--accent); }

.hero {
  margin-bottom: 34px;
  animation: rise 0.65s ease 0.05s both;
}
.hero h2 {
  font-family: var(--font);
  font-size: clamp(26px, 4vw, 34px);
  margin: 0 0 10px;
  font-weight: 700;
}
.hero p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 38em;
}

.list {
  display: grid;
  gap: 16px;
  animation: rise 0.7s ease 0.1s both;
}

.card {
  background: color-mix(in srgb, var(--card) 92%, white);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 10px 28px rgba(28, 36, 48, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(28, 36, 48, 0.09);
}
.card .meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.card h3 {
  font-family: var(--font);
  font-size: 22px;
  margin: 0 0 8px;
  line-height: 1.35;
}
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.card .more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.article {
  background: color-mix(in srgb, var(--card) 94%, white);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 12px 32px rgba(28, 36, 48, 0.06);
  animation: rise 0.55s ease both;
}
.article .meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.article h1 {
  font-family: var(--font);
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.25;
  margin: 0 0 18px;
}
.article .lead {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.article h2 {
  font-family: var(--font);
  font-size: 22px;
  margin: 28px 0 10px;
}
.article p, .article li {
  color: var(--ink-soft);
  font-size: 16px;
}
.article ul { padding-left: 1.2em; }
.article .source {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.back {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-deep);
  text-decoration: none;
}

.site-footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  animation: rise 0.7s ease 0.15s both;
}

.site-footer .foot-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer .beian {
  color: var(--muted);
  text-decoration: none;
}

.site-footer .beian:hover {
  color: var(--accent);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .site-header { flex-direction: column; align-items: flex-start; }
  .wrap { width: min(920px, calc(100% - 28px)); padding-top: 24px; }
}
