:root {
  --bg: #fafbf9;
  --surface: #ffffff;
  --text: #14221a;
  --text-secondary: #3d5247;
  --muted: #5c6f64;
  --border: rgba(20, 34, 26, 0.08);
  --accent: #1b4332;
  --accent-mid: #2d6a4f;
  --accent-light: #40916c;
  --accent-soft: rgba(45, 106, 79, 0.09);
  --hero-glow: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(64, 145, 108, 0.22), transparent 70%);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: var(--font);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(20, 34, 26, 0.04), 0 8px 32px rgba(20, 34, 26, 0.06);
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1210;
    --surface: #141c18;
    --text: #e8f0eb;
    --text-secondary: #b8c9bf;
    --muted: #8a9d92;
    --border: rgba(232, 240, 235, 0.1);
    --accent: #95d5b2;
    --accent-mid: #74c69d;
    --accent-light: #52b788;
    --accent-soft: rgba(82, 183, 136, 0.12);
    --hero-glow: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(82, 183, 136, 0.18), transparent 70%);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-mid); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) {
  a { color: var(--accent-light); }
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--accent-mid); }
.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-mid), #3d5a80);
  display: grid;
  place-items: center;
}
.brand__mark svg { width: 18px; height: 18px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  text-decoration: none;
}
.nav-links a:hover {
  background: var(--accent-soft);
  color: var(--accent-mid);
  text-decoration: none;
}
.nav-links a.is-active {
  color: var(--accent-mid);
  background: var(--accent-soft);
}
@media (max-width: 720px) {
  .nav-links { display: none; }
}
.footer-nav {
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 14px;
}
.footer-nav a { color: var(--muted); }

.hero {
  position: relative;
  padding: 72px 0 88px;
  background: var(--hero-glow);
}
.hero--compact { padding: 48px 0 56px; }
.hero__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}
.hero__gradient {
  background: linear-gradient(105deg, var(--accent-mid) 0%, #2c5282 45%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.hero__lead {
  margin: 0 0 36px;
  max-width: 40em;
  font-size: 1.05rem;
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent-mid), #1b4332);
  color: #fff;
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.35);
}
@media (prefers-color-scheme: dark) {
  .btn--primary {
    background: linear-gradient(135deg, #40916c, #2d6a4f);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  }
}
.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.btn--ghost {
  background: transparent;
  color: var(--accent-mid);
  border: 1px solid var(--border);
}

.section { padding: 72px 0; }
.section--alt {
  background: color-mix(in srgb, var(--surface) 70%, var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section__head {
  max-width: 40rem;
  margin-bottom: 48px;
}
.section__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin: 0 0 12px;
}
.section__title {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.section__desc {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  height: 100%;
}
.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 22px;
}
.card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 700;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}
.list-check {
  margin: 0;
  padding: 0;
  list-style: none;
}
.list-check li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 15px;
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.link-tile {
  display: block;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.link-tile:hover {
  border-color: var(--accent-mid);
  background: var(--accent-soft);
  text-decoration: none;
}
.link-tile__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-mid);
  margin-bottom: 6px;
}
.link-tile__url {
  font-size: 13px;
  color: var(--muted);
  word-break: break-all;
  line-height: 1.5;
}

.site-footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}
.site-footer__legal {
  margin: 0 0 12px;
  max-width: 48rem;
  line-height: 1.7;
}
.site-footer__copy {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* 内页：长文 */
.page-prose {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 0 64px;
}
.page-prose h2 {
  margin: 48px 0 16px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.page-prose h2:first-child { margin-top: 0; }
.page-prose h3 {
  margin: 28px 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
}
.page-prose p, .page-prose li {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
}
.page-prose ul { margin: 0 0 16px; padding-left: 1.25rem; }
.page-prose li { margin-bottom: 8px; }
.page-prose .note {
  margin: 24px 0;
  padding: 16px 18px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}
.faq-item {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 16px;
}
