:root {
  --ink: #1f2933;
  --muted: #5b6570;
  --line: #e5e7eb;
  --bg: #ffffff;
  --soft: #f7f7f5;
  --brand: #111827;
  --accent: #c2410c;
  --accent-soft: #fff7ed;
  --radius: 14px;
  --maxw: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
  color: var(--brand);
  font-size: 18px;
}

.brand small {
  font-weight: 500;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--ink);
  font-size: 15px;
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 600;
}

/* 首屏 */
.hero {
  padding: 84px 0 72px;
  text-align: center;
  background: linear-gradient(180deg, var(--soft) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero .eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #fed7aa;
  border-radius: 999px;
}

.hero h1 {
  margin: 0 auto 18px;
  max-width: 760px;
  font-size: 40px;
  line-height: 1.25;
  color: var(--brand);
  letter-spacing: -0.01em;
}

.hero p.lead {
  margin: 0 auto;
  max-width: 680px;
  font-size: 18px;
  color: var(--muted);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  text-decoration: none;
  background: #000;
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  text-decoration: none;
  border-color: var(--muted);
}

/* 通用区块 */
.section {
  padding: 68px 0;
}

.section.alt {
  background: var(--soft);
}

.section h2 {
  margin: 0 0 12px;
  font-size: 28px;
  color: var(--brand);
  text-align: center;
}

.section .sub {
  margin: 0 auto 40px;
  max-width: 720px;
  text-align: center;
  color: var(--muted);
}

/* 能力卡片 */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.section.alt .card {
  background: #fff;
}

.card .ico {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--brand);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* 工作流步骤 */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* 联系条 */
.contact-band {
  text-align: center;
}

.contact-band p {
  color: var(--muted);
}

/* 法律文档正文 */
.legal {
  padding: 56px 0 72px;
}

.legal .doc-head {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.legal h1 {
  margin: 0 0 10px;
  font-size: 30px;
  color: var(--brand);
}

.legal .updated {
  color: var(--muted);
  font-size: 14px;
}

.legal h2 {
  margin: 34px 0 12px;
  font-size: 20px;
  color: var(--brand);
}

.legal h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

.legal p,
.legal li {
  color: #374151;
  font-size: 15.5px;
}

.legal ul,
.legal ol {
  padding-left: 22px;
}

/* 页脚 */
.site-footer {
  background: var(--brand);
  color: #d1d5db;
  padding: 48px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-col h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
}

.footer-col a {
  color: #d1d5db;
  display: block;
  margin-bottom: 8px;
}

.footer-col p {
  margin: 0 0 8px;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 22px;
  color: #9ca3af;
  line-height: 2;
}

.footer-bottom a {
  color: #9ca3af;
}

/* 移动端 */
@media (max-width: 640px) {
  .hero {
    padding: 60px 0 52px;
  }

  .hero h1 {
    font-size: 29px;
  }

  .hero p.lead {
    font-size: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section h2 {
    font-size: 23px;
  }

  .nav {
    padding: 10px 0;
  }
}
