:root {
  --bg: #fdfbf7;
  --paper: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --line: #e8e4dc;
  --yellow: #f0b90b;
  --yellow-hover: #d9a507;
  --dark: #181a20;
  --accent: #b8860b;
  --max: 1100px;
  --toc-w: 220px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3 { font-family: "Songti SC", "STSong", "SimSun", "PingFang SC", serif; font-weight: 700; line-height: 1.3; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
code { font-size: 0.9em; background: #f3f0ea; padding: 2px 6px; border-radius: 4px; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 0;
  text-decoration: none;
  white-space: nowrap;
}

.btn-yellow { background: var(--yellow); color: var(--dark); }
.btn-yellow:hover { background: var(--yellow-hover); text-decoration: none; }
.btn-outline { background: transparent; border: 2px solid var(--dark); color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: rgba(0,0,0,0.05); text-decoration: none; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--dark);
  color: #fff;
  padding: 12px 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}

.sticky-cta.visible { transform: translateY(0); }

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 15px;
}

.sticky-cta .btn-outline { border-color: #fff; color: #fff; }
.sticky-cta .btn-outline:hover { background: #fff; color: var(--dark); }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img { height: 32px; width: 32px; }

.guide-tag {
  font-size: 13px;
  color: var(--muted);
  padding: 4px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.header-actions { display: flex; gap: 8px; margin-left: auto; }

.guide-hero {
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 16px; }

.guide-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 20px;
}

.intro { color: var(--muted); margin-bottom: 28px; max-width: 520px; }
.intro strong { color: var(--text); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.meta { font-size: 14px; color: var(--muted); }

.hero-fig img { border-radius: 16px; border: 1px solid var(--line); }

.guide-layout {
  display: grid;
  grid-template-columns: var(--toc-w) 1fr;
  gap: 48px;
  padding: 48px 0 80px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 88px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.toc strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 16px;
}

.toc nav { display: flex; flex-direction: column; gap: 4px; }

.toc a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 6px;
  border-left: 3px solid transparent;
  text-decoration: none;
}

.toc a:hover { color: var(--text); background: var(--bg); }
.toc a.active { color: var(--text); border-left-color: var(--yellow); background: rgba(240,185,11,0.1); font-weight: 600; }

.content { min-width: 0; }

.block { margin-bottom: 56px; }

.block h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--yellow);
}

.block-sub { color: var(--muted); margin-bottom: 24px; font-size: 15px; }

.check-list { margin: 20px 0; padding-left: 0; list-style: none; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 700;
}

.callout {
  margin-top: 24px;
  padding: 20px 24px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
}

.callout strong { display: block; margin-bottom: 8px; color: #92400e; }
.callout p { font-size: 15px; color: #78350f; margin: 0; }

.prep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.prep-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.prep-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 12px;
  font-size: 14px;
}

.prep-card h3 { font-size: 17px; margin-bottom: 8px; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
.prep-card p { font-size: 15px; color: var(--muted); }

.steps { list-style: none; counter-reset: step; }

.step {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px dashed var(--line);
}

.step:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.step-head { margin-bottom: 12px; }

.step-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--yellow);
  background: var(--dark);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.step h3 { font-size: 1.25rem; }

.step p { color: var(--muted); margin-bottom: 12px; }

.inline-cta {
  display: inline-block;
  font-weight: 600;
  color: var(--dark);
  background: rgba(240,185,11,0.2);
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}

.inline-cta:hover { background: rgba(240,185,11,0.35); text-decoration: none; }

.step-fig { margin: 20px 0; }
.step-fig img { border-radius: 12px; border: 1px solid var(--line); }
.step-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }

.stock-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }

.stock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--paper);
}

.stock-table th, .stock-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.stock-table th { background: var(--bg); font-weight: 600; font-size: 13px; color: var(--muted); }
.stock-table tr:last-child td { border-bottom: 0; }

.tips-list { padding-left: 20px; }
.tips-list li { margin-bottom: 12px; color: var(--muted); font-size: 15px; }
.tips-list strong { color: var(--text); }

.faq {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  background: var(--paper);
  overflow: hidden;
}

.faq summary {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq p {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 15px;
}

.cta-block {
  text-align: center;
  padding: 48px 32px;
  background: var(--dark);
  color: #fff;
  border-radius: 16px;
  margin-bottom: 56px;
}

.cta-block h2 { color: #fff; border: 0; padding: 0; margin-bottom: 12px; }
.cta-block p { color: #848e9c; margin-bottom: 24px; max-width: 480px; margin-inline: auto; }

.download-block { padding-top: 16px; }

.download-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.download-grid h2 { border: 0; padding: 0; margin-bottom: 12px; font-size: 1.35rem; }
.download-grid p { color: var(--muted); margin-bottom: 24px; font-size: 15px; }

.store-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.store-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--dark);
  color: #fff;
  border: 0;
  border-radius: 10px;
  min-width: 148px;
  cursor: pointer;
  text-decoration: none;
}

.store-btn:hover { color: #fff; text-decoration: none; }

.store-btn svg { flex-shrink: 0; }
.store-btn strong { font-size: 16px; font-weight: 600; }

.footer {
  padding: 32px 0 100px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-fig { order: -1; max-width: 480px; }
  .guide-layout { grid-template-columns: 1fr; }
  .toc { position: static; display: none; }
  .prep-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; text-align: center; }
  .download-grid img { margin: 0 auto; max-width: 280px; }
  .store-btns { justify-content: center; }
}

@media (max-width: 640px) {
  .guide-tag { display: none; }
  .header-actions .btn-ghost { display: none; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
