:root {
  --bg: #1b1f22;
  --bg-soft: #202529;
  --bg-card: #22272b;
  --ink: #f1f0ea;
  --ink-2: #c9cecd;
  --muted: #8d969a;
  --line: rgba(241, 240, 234, 0.14);
  --line-strong: rgba(241, 240, 234, 0.3);
  --accent: #a6bfdc;
  --accent-2: #6fa8c9;
  --paper: #f1f0ea;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.35; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }
table { border-collapse: collapse; width: 100%; }
time { font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--paper); color: var(--bg); padding: 10px 16px;
}
.skip-link:focus { left: 16px; top: 16px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(27, 31, 34, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-seal {
  width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-size: 21px; color: var(--paper);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-cn { font-family: var(--serif); font-size: 16px; letter-spacing: .06em; }
.brand-en { font-size: 10px; letter-spacing: .22em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.nav-toggle {
  display: none; background: transparent; color: var(--ink); border: 1px solid var(--line-strong);
  border-radius: 4px; padding: 8px 12px; font-size: 13px; cursor: pointer; font-family: var(--sans);
}

.eyebrow {
  font-size: 11px; letter-spacing: .28em; color: var(--accent); text-transform: uppercase;
  margin: 0 0 20px;
}
.tag-invert {
  display: inline-block; background: var(--paper); color: var(--bg);
  font-size: 11px; letter-spacing: .18em; padding: 6px 12px; margin-bottom: 24px;
}
.hero { border-bottom: 1px solid var(--line); padding: 84px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); letter-spacing: .04em; margin-bottom: 22px; }
.hero-slogan { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 27px); color: var(--accent); line-height: 1.6; margin-bottom: 22px; }
.hero-lead { color: var(--ink-2); font-size: 16px; max-width: 620px; margin-bottom: 26px; }
.hero-tags { font-size: 13px; letter-spacing: .12em; color: var(--muted); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; font-size: 14px; border: 1px solid var(--line-strong);
  transition: background .2s, color .2s, border-color .2s; cursor: pointer;
  font-family: var(--sans); background: transparent; color: var(--ink);
}
.btn-primary { background: var(--paper); color: var(--bg); border-color: var(--paper); }
.btn-primary:hover { background: transparent; color: var(--paper); }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary:hover { color: var(--accent); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; font-size: 13px; color: var(--muted); }
.hero-meta strong { color: var(--ink); font-weight: 500; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; height: 560px; object-fit: cover; object-position: center top; }
.hero-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid var(--line); }

.section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 48px; max-width: 780px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.section-lead { color: var(--ink-2); margin: 0; }
.rule { height: 1px; background: var(--line); margin: 0 0 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.card {
  background: var(--bg-card); border: 1px solid var(--line); padding: 28px 26px;
  display: flex; flex-direction: column; min-height: 100%;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card-num { font-size: 12px; letter-spacing: .2em; color: var(--accent); margin-bottom: 18px; }
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 14px; margin-bottom: 16px; }
.card .card-meta { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; }
.card-link { font-size: 13px; color: var(--accent); margin-top: auto; padding-top: 14px; }
.card-link::after { content: " →"; }
.card ul { font-size: 14px; color: var(--ink-2); margin: 0; padding-left: 1.15em; }

.stat { border-left: 1px solid var(--line-strong); padding-left: 22px; }
.stat-num { font-family: var(--serif); font-size: 42px; line-height: 1.2; color: var(--paper); margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.stat-src { font-size: 12px; color: var(--muted); line-height: 1.6; }

.data-table { font-size: 14px; border-top: 1px solid var(--line-strong); }
.data-table caption { text-align: left; font-size: 13px; color: var(--muted); padding-bottom: 14px; }
.data-table th, .data-table td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { font-weight: 500; color: var(--accent); font-size: 12px; letter-spacing: .1em; white-space: nowrap; width: 22%; }
.data-table td { color: var(--ink-2); }
.data-table tr:hover td { background: rgba(255, 255, 255, .02); }
.table-scroll { overflow-x: auto; }
.table-scroll .data-table { min-width: 620px; }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.step { padding: 26px 18px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step-key { font-family: var(--serif); font-size: 30px; color: var(--accent); margin-bottom: 12px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--muted); margin: 0; }
.guarantees { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.guarantees span { border: 1px solid var(--line); padding: 8px 16px; font-size: 13px; color: var(--ink-2); }
.guarantees b { font-family: var(--serif); font-size: 18px; color: var(--accent); margin-right: 8px; font-weight: 500; }

.callout { border-left: 2px solid var(--accent); padding: 4px 0 4px 22px; color: var(--ink-2); margin: 28px 0 0; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.pill-list li { border: 1px solid var(--line); padding: 7px 14px; font-size: 13px; color: var(--ink-2); margin: 0; }

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--serif); font-size: 18px; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 18px; color: var(--accent); font-family: var(--sans); font-size: 20px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-a { padding: 0 60px 22px 0; color: var(--ink-2); font-size: 15px; }
.faq-a p:last-child { margin-bottom: 0; }

.cta-band {
  position: relative; padding: 96px 0; border-bottom: 1px solid var(--line);
  background-image: linear-gradient(rgba(27, 31, 34, .82), rgba(27, 31, 34, .92)), url("../img/ridge.png");
  background-size: cover; background-position: center;
}
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.cta-band p { color: var(--ink-2); max-width: 620px; margin-bottom: 28px; }

.crumb { font-size: 12px; color: var(--muted); padding: 26px 0 0; }
.crumb a { color: var(--ink-2); }
.crumb span { margin: 0 8px; }
.page-head { padding: 44px 0 56px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 22px; }
.page-head .lead { font-size: 17px; color: var(--ink-2); max-width: 820px; margin: 0; }
.page-head .eyebrow { margin-bottom: 18px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 26px; margin: 44px 0 16px; }
.prose h3 { font-size: 19px; margin: 28px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.note { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 36px; }

.site-footer { padding: 68px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; color: var(--accent); font-weight: 500; margin-bottom: 18px; }
.footer-col p, .footer-col a { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.footer-col a:hover { color: var(--accent); }
.footer-brand { font-family: var(--serif); font-size: 24px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.copy-btn { margin-left: 10px; font-size: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-2); padding: 4px 10px; cursor: pointer; font-family: var(--sans); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual img { height: 380px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step:nth-child(3) { border-right: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .header-inner { min-height: 64px; flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 0 18px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 8px 0; width: 100%; }
  .hero { padding: 56px 0 64px; }
  .hero-visual img { height: 300px; }
  .hero-meta { flex-direction: column; gap: 8px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 34px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2n) { border-right: 0; }
  .step { border-bottom: 1px solid var(--line); }
  .data-table th { width: auto; }
  .cta-band { padding: 68px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-head { padding: 32px 0 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
