:root {
  --bg: #f5f2ec;
  --card: #ffffff;
  --ink: #2b2622;
  --muted: #8a8179;
  --line: #e7e0d6;
  --red: #8b1a1a;
  --red2: #a12626;
  --soft: #faf7f2;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 840px; }

.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: #2f5d62; color: #fff;
  display: grid; place-items: center;
  font-family: "STKaiti", "KaiTi", serif; font-size: 22px;
}
.logo.small { width: 28px; height: 28px; border-radius: 8px; font-size: 17px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: #5a5149; }
.nav-links a:hover { color: var(--red2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 18px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: #4a433c;
  font-size: 14px; cursor: pointer; transition: .15s;
}
.btn:hover { border-color: #c9b8a6; background: var(--soft); }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: #7a1616; }
.btn.big { height: 46px; padding: 0 26px; font-size: 15px; }
.btn.small { height: 32px; padding: 0 12px; font-size: 13px; }

.hero {
  background: linear-gradient(135deg, #fbf8f3 0%, #f0e9df 100%);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 64px;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 13px; color: var(--red2); letter-spacing: 1px; margin-bottom: 12px; }
.hero h1 { font-size: 46px; line-height: 1.25; margin: 0 0 18px; letter-spacing: 1px; }
.lead { font-size: 17px; color: #5a5149; margin: 0 0 26px; max-width: 520px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-shot img {
  width: 100%; border-radius: 14px; border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(60, 45, 30, .15);
}
.muted { color: var(--muted); }
.small { font-size: 13px; }

.section { padding: 64px 0; }
.section.alt { background: #efeae2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { font-size: 30px; margin: 0 0 8px; }
.section-head h1 { font-size: 36px; margin: 0 0 10px; }

.grid { display: grid; gap: 18px; }
.features { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px; box-shadow: 0 2px 8px rgba(60, 45, 30, .04);
}
.feature .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: #f7e9e4; color: var(--red);
  display: grid; place-items: center; font-weight: 700; margin-bottom: 14px;
}
.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; color: #6b6259; font-size: 14px; }

.steps { grid-template-columns: repeat(3, 1fr); }
.step { text-align: center; padding: 10px; }
.step-no {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: grid; place-items: center; font-size: 20px; font-weight: 700;
  margin: 0 auto 14px;
}
.step h3 { margin: 0 0 6px; }
.step p { color: #6b6259; font-size: 14px; margin: 0; }
.center { text-align: center; margin-top: 28px; }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 32px; box-shadow: 0 2px 8px rgba(60, 45, 30, .04);
}
.cta-band h2 { margin: 0 0 6px; }

.footer { background: #fff; border-top: 1px solid var(--line); margin-top: 20px; padding: 34px 0 22px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.footer-links { display: flex; gap: 18px; font-size: 14px; color: #6b6259; }
.footer-links a:hover { color: var(--red2); }
.copyright {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 12.5px;
}

.release-card {
  display: grid; grid-template-columns: 1.4fr .9fr; gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 28px; box-shadow: 0 2px 8px rgba(60, 45, 30, .04);
  margin-bottom: 26px;
}
.release-card h2 { margin: 6px 0 4px; font-size: 28px; }
.release-meta {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--soft); border: 1px dashed var(--line); border-radius: 12px; padding: 18px;
}
.release-meta .sha { word-break: break-all; font-family: Consolas, monospace; font-size: 12px; }
.notice {
  background: #fff7e8; border: 1px solid #f0dfb8; border-radius: 12px;
  padding: 24px; margin-bottom: 26px;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ordered { padding-left: 20px; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding-left: 18px; position: relative; margin: 8px 0; color: #5a5149; }
.plain li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red2);
}

.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid #f0ebe3; font-size: 14px; }
th { color: var(--muted); font-weight: 500; background: #fcfaf7; font-size: 12.5px; }
.link { color: var(--red2); font-size: 13px; }
.badge { background: #f7e9e4; color: var(--red); border-radius: 999px; padding: 1px 8px; font-size: 11px; }

.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; }
.faq p { color: #5a5149; margin: 10px 0 0; }
.faq { margin-bottom: 12px; }

.guide-step { display: flex; gap: 18px; margin-bottom: 16px; align-items: flex-start; }
.guide-step .step-no { margin: 2px 0 0; flex: none; }
.guide-step h3 { margin: 0 0 4px; }
.guide-step p { margin: 0; color: #5a5149; }
.note-card { margin-top: 22px; background: var(--soft); }

.legal h1 { font-size: 32px; margin-bottom: 6px; }
.legal h3 { margin: 26px 0 8px; font-size: 18px; }
.legal p { color: #4a433c; }

.contact-lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }

@media (max-width: 900px) {
  .hero h1 { font-size: 36px; }
  .hero-inner, .release-card, .two-col { grid-template-columns: 1fr; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .features, .steps, .contact-lines { grid-template-columns: 1fr; }
  .hero { padding: 44px 0; }
  .hero h1 { font-size: 30px; }
  .section { padding: 44px 0; }
}
