:root {
  --bg: #FAF8F5;
  --surface: #FFFFFF;
  --ink: #1F2A2E;
  --ink-soft: #4B5A60;
  --ink-mute: #7A8A90;
  --line: #E4E0D8;
  --brand: #0F766E;
  --brand-soft: #E6F2F0;
  --accent: #C2703B;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(31, 42, 46, .04), 0 8px 24px rgba(31, 42, 46, .06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .5px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.brand span small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-mute); letter-spacing: 1px; }

.nav-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--brand); text-decoration: none; }

/* ---------- 通用容器 ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 14px;
}

h2 { font-size: 26px; line-height: 1.4; margin-bottom: 12px; letter-spacing: .5px; }
h3 { font-size: 17px; margin-bottom: 6px; }
.lead { font-size: 16px; color: var(--ink-soft); max-width: 760px; }
.muted { color: var(--ink-mute); font-size: 14px; }

/* ---------- 首屏 ---------- */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 40px; line-height: 1.25; letter-spacing: 1px; margin-bottom: 14px; }
.hero .sub { font-size: 15px; color: var(--ink-mute); letter-spacing: 2px; margin-bottom: 18px; }
.hero p.desc { font-size: 16px; color: var(--ink-soft); margin-bottom: 20px; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.badge {
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--brand);
  color: #fff;
  background: var(--brand);
}
.btn:hover { text-decoration: none; opacity: .92; }
.btn.ghost { background: transparent; color: var(--brand); }

.phone-shot {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.phone-shot img { width: 100%; border-radius: 14px; display: block; }

/* ---------- 功能卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}
.card .ico { font-size: 22px; display: block; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 截图画廊 ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.gallery figure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
}
.gallery img { width: 100%; border-radius: 8px; display: block; }
.gallery figcaption { font-size: 13px; color: var(--ink-soft); text-align: center; padding: 10px 4px 4px; }

/* ---------- 信息块 ---------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow);
  margin-top: 22px;
}
.panel ul { padding-left: 20px; }
.panel li { font-size: 15px; color: var(--ink-soft); margin-bottom: 8px; }
.panel p { font-size: 15px; color: var(--ink-soft); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }

table.info { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
table.info th, table.info td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
table.info th { width: 150px; color: var(--ink-mute); font-weight: 500; background: #FCFBF9; }
table.info tr:last-child th, table.info tr:last-child td { border-bottom: none; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #F4F1EC;
  padding: 40px 0 48px;
  font-size: 13px;
  color: var(--ink-mute);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h4 { font-size: 14px; color: var(--ink); margin-bottom: 10px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.copyright { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); line-height: 2; }

/* ---------- 文档页 ---------- */
.doc { max-width: 820px; margin: 0 auto; padding: 48px 24px 72px; }
.doc h1 { font-size: 28px; margin-bottom: 8px; }
.doc .meta { font-size: 13px; color: var(--ink-mute); margin-bottom: 32px; }
.doc h2 { font-size: 19px; margin: 34px 0 10px; }
.doc h3 { font-size: 16px; margin: 22px 0 8px; }
.doc p, .doc li { font-size: 15px; color: var(--ink-soft); margin-bottom: 8px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li strong, .doc p strong { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  section { padding: 44px 0; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 30px; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .nav { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  table.info th { width: 110px; }
}
