:root {
  --paper: #f6efe4;
  --paper-deep: #efe4d2;
  --ink: #2b1c10;
  --ink-soft: #5c4632;
  --gold: #c89642;
  --gold-deep: #8d6424;
  --line: rgba(61, 42, 20, 0.12);
  --card: rgba(255, 251, 244, 0.86);
  --shadow: 0 18px 50px rgba(61, 42, 20, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Songti SC", "STSong", "Microsoft YaHei", serif;
  background: #e9dfcf;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button, a.btn { font: inherit; }

.paper {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(200, 150, 66, 0.2), transparent 55%),
    radial-gradient(700px 400px at 100% 0%, rgba(141, 100, 36, 0.12), transparent 50%),
    linear-gradient(180deg, #f8f1e6 0%, #efe4d2 48%, #e8dcc8 100%);
}
.paper:after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: linear-gradient(rgba(61, 42, 20, 0.04) 1px, transparent 1px);
  background-size: 100% 28px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 6vw;
  backdrop-filter: blur(16px);
  background: rgba(246, 239, 228, 0.78);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(61, 42, 20, 0.18);
}
.nav { display: flex; gap: 22px; color: var(--ink-soft); font-size: 14px; }
.top-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #f8f1e6;
  font-size: 13px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 6vw 40px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-deep);
  letter-spacing: 0.18em;
  font-size: 12px;
  text-transform: uppercase;
}
h1, h2 { font-weight: 700; letter-spacing: 0.01em; line-height: 1.25; }
h1 { margin: 0 0 18px; font-size: clamp(32px, 5vw, 56px); }
h2 { margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 40px); }
.lead, .desc { color: var(--ink-soft); max-width: 46em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 13px;
}
.hero-meta li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: #f8f1e6; }
.btn-ghost, .btn-line {
  background: transparent;
  border-color: rgba(61, 42, 20, 0.24);
}
.btn-disabled {
  background: #ddd4c6;
  color: #8a7b68;
  cursor: not-allowed;
}

.hero-stage { position: relative; min-height: 520px; }
.phone {
  width: min(300px, 72vw);
  margin: 0 auto;
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(180deg, #4a3420, #2b1c10);
  box-shadow: var(--shadow);
}
.phone-notch {
  width: 92px;
  height: 10px;
  margin: 6px auto 10px;
  border-radius: 999px;
  background: #1a110a;
}
.phone-screen {
  min-height: 460px;
  padding: 16px 14px 12px;
  border-radius: 28px;
  background: #f7f1e8;
}
.fake-nav { font-weight: 700; text-align: center; }
.fake-search {
  margin: 12px 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  color: #9a8b78;
  font-size: 12px;
}
.fake-banner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 88px;
  padding: 16px;
  border-radius: 16px;
  color: #f8f1e6;
  background: linear-gradient(135deg, #8d6424, #c89642);
}
.fake-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0 18px;
}
.fake-book {
  height: 86px;
  border-radius: 8px;
  background: linear-gradient(180deg, #d8c4a0, #b08958);
}
.fake-book:nth-child(2) { background: linear-gradient(180deg, #c9b08a, #8d6424); }
.fake-book:nth-child(3) { background: linear-gradient(180deg, #e6d3b2, #a67c3d); }
.fake-tab {
  display: flex;
  justify-content: space-between;
  padding: 8px 6px 0;
  font-size: 11px;
  color: #8a7b68;
}
.fake-tab .on { color: var(--gold-deep); font-weight: 700; }
.orbit {
  position: absolute;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fffaf3;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 13px;
}
.o1 { top: 36px; left: 0; }
.o2 { top: 58%; right: 0; }
.o3 { bottom: 28px; left: 8%; }

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 10px 6vw 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}
.strip div {
  padding: 18px 16px;
  background: var(--card);
  text-align: center;
  font-size: 14px;
}

.section { padding: 64px 6vw; }
.section.alt { background: rgba(255, 251, 244, 0.45); }
.section-head { max-width: 720px; margin-bottom: 28px; }

.platform-grid, .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plat, .feature-grid article, .access-card, .faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.plat, .feature-grid article { padding: 22px; }
.plat-top, .faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plat h3, .feature-grid h3 { margin: 0 0 8px; font-size: 20px; }
.plat p, .feature-grid p, .faq-list p { color: var(--ink-soft); }
.badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: #efe4d2;
  color: var(--gold-deep);
  font-size: 12px;
}
.plat.ready .badge { background: #2b1c10; color: #f8f1e6; }
.weixin-tip {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(200, 150, 66, 0.16);
  color: var(--gold-deep);
}

.access-card {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 24px;
  padding: 28px;
}
.access-card ol { margin: 16px 0 0; padding-left: 18px; color: var(--ink-soft); }
.qr-box { text-align: center; }
.qr-box img {
  width: 168px;
  height: 168px;
  background: #f7f1e8;
  border-radius: 16px;
}
.qr-box p { margin: 10px 0 0; color: var(--ink-soft); font-size: 13px; }

.faq-list { display: grid; gap: 12px; }
.faq-list summary { padding: 16px 18px; cursor: pointer; font-weight: 650; }
.faq-list p { margin: 0; padding: 0 18px 16px; }

.footer {
  padding: 36px 6vw 108px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-brand img { border-radius: 8px; }
.footer-brand span, .copy { display: block; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 8px 0 12px; }

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(246, 239, 228, 0.92);
  border-top: 1px solid var(--line);
}
.dock .btn { width: 100%; }

.wx-guide {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.wx-guide[hidden] { display: none; }
.wx-guide-mask {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(20, 12, 6, 0.72);
  cursor: pointer;
}
.wx-guide-arrow {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 88px;
  height: 92px;
  animation: wx-point 1.1s ease-in-out infinite;
}
.wx-guide-arrow svg { width: 100%; height: 100%; display: block; }
.wx-guide-card {
  position: absolute;
  top: 102px;
  right: 16px;
  left: 16px;
  max-width: 360px;
  margin-left: auto;
  padding: 20px 18px 16px;
  border-radius: 18px;
  background: #2b1c10;
  color: #f8f1e6;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.wx-guide-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.wx-guide-text {
  margin: 0 0 16px;
  color: rgba(248, 241, 230, 0.78);
  font-size: 14px;
}
.wx-guide-text strong { color: #e4c27a; }
.wx-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wx-guide .btn-primary { background: #f8f1e6; color: #2b1c10; }
.wx-guide .btn-ghost { border-color: rgba(248, 241, 230, 0.28); color: #f8f1e6; }

@keyframes wx-point {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6px, -6px); }
}

@media (max-width: 980px) {
  .nav, .top-cta { display: none; }
  .hero, .access-card, .strip, .platform-grid, .feature-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 36px; }
  .hero-stage { min-height: auto; }
  .orbit { display: none; }
  .dock { display: block; }
}
