:root {
  --primary: #a85b43;
  --primary-dark: #8a4632;
  --ink: #2f3e36;
  --green: #35664f;
  --cream: #faf6ee;
  --surface: #ffffff;
  --line: #e8e0d2;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}

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

/* 头部导航 */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 34px; }
.brand span { font-size: 19px; font-weight: 700; margin-left: 10px; }
nav.main a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
}
nav.main a:hover { color: var(--primary); }

/* 首屏 */
.hero {
  background: linear-gradient(180deg, #fdfaf3 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 56px;
  text-align: center;
}
.hero img.mark { height: 60px; margin-bottom: 16px; }
.hero h1 { font-size: 40px; margin-bottom: 8px; }
.hero .slogan { font-size: 21px; color: var(--green); margin-bottom: 18px; }
.hero p.desc { max-width: 700px; margin: 0 auto 24px; font-size: 15.5px; color: #4a5850; }
.download-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge {
  display: inline-block;
  padding: 11px 30px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: var(--primary-dark);
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
}

/* 区块 */
section.block { padding: 56px 0; }
section.block.alt { background: var(--surface); }
h2.section-title { text-align: center; font-size: 26px; margin-bottom: 8px; }
p.section-sub { text-align: center; color: #6b7a72; margin-bottom: 36px; font-size: 14.5px; }

.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (max-width: 720px) {
  .grid.cols-2 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 30px; }
}

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 22px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; color: var(--primary-dark); }
.card p { font-size: 14.5px; color: #4a5850; }

/* 截图墙：手机/电脑自适应（窄屏横向滚动，宽屏两列） */
.shots-scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 12px; }
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 225px));
  gap: 24px;
  justify-content: center;
}
.shots figure { text-align: center; margin: 0; }
.shots img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(47, 62, 54, 0.14);
}
.shots figcaption { margin-top: 10px; font-size: 13.5px; color: #6b7a72; }
@media (max-width: 720px) {
  .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-columns: unset;
    justify-content: stretch;
  }
  .shots img { width: 100%; }
}

/* 文本页（协议/隐私/联系） */
.page-title { text-align: center; padding: 48px 0 6px; }
.page-title h1 { font-size: 28px; }
.page-meta { text-align: center; color: #6b7a72; font-size: 14px; padding-bottom: 22px; }
.doc {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 44px 56px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  line-height: 1.9;
  font-size: 15px;
}
.doc h2 {
  font-size: 18px;
  margin: 30px 0 10px;
  color: var(--primary-dark);
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}
.doc ul, .doc ol { padding-left: 24px; margin: 8px 0; }
.doc li { margin: 6px 0; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; font-size: 14px; }
.doc th { background: #f4efe4; }
.doc .updated { text-align: right; color: #6b7a72; font-size: 13px; }

/* 页脚 */
footer.site-footer {
  background: #243028;
  color: #cfd8d2;
  padding: 32px 0 24px;
  font-size: 13.5px;
}
footer.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: space-between;
  align-items: flex-start;
}
footer.site-footer a { color: #cfd8d2; text-decoration: none; }
footer.site-footer a:hover { color: #fff; }
footer .icp { margin-top: 2px; }
footer .copy {
  width: 100%;
  border-top: 1px solid #3b4a41;
  padding-top: 14px;
  color: #9db0a6;
}
