:root {
  --paper: #f8f7f2;
  --white: #ffffff;
  --ink: #17201d;
  --muted: #61706a;
  --line: #cbd3cf;
  --green: #078a67;
  --green-dark: #05664e;
  --mint: #c9f3e2;
  --coral: #df5668;
  --yellow: #f3ca63;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 247, 242, .96);
  border-bottom: 1px solid var(--ink);
}
.header-inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-weight: 900; font-size: 19px; }
.brand img, .footer-brand img { border: 1px solid var(--ink); border-radius: 7px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; padding: 24px 0 21px; font-weight: 700; font-size: 15px; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 3px; background: transparent; }
.site-nav a.active::after, .site-nav a:hover::after { background: var(--coral); }
.header-download { justify-self: end; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 27px; padding: 8px; cursor: pointer; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 26px;
  color: var(--white);
  background: var(--green);
  border: 1px solid var(--ink);
  border-radius: 4px;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); background: var(--green-dark); }
.button-small { min-height: 40px; padding: 7px 18px; box-shadow: 3px 3px 0 var(--ink); }
.button-light { color: var(--ink); background: var(--white); box-shadow: 4px 4px 0 var(--yellow); }
.button-light:hover { color: var(--white); }

.hero { border-bottom: 1px solid var(--ink); overflow: hidden; }
.hero-inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: 70px;
  padding: 42px 0 38px;
}
.eyebrow, .section-kicker, .step-tag, .panel-label {
  display: inline-block;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 900;
  color: var(--green-dark);
  text-transform: uppercase;
}
.hero h1 { max-width: 600px; margin: 18px 0 20px; font-size: 56px; line-height: 1.14; font-weight: 950; }
.hero-copy > p { max-width: 590px; margin: 0 0 26px; color: #43524d; font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.text-link { color: var(--green-dark); font-weight: 800; border-bottom: 1px solid currentColor; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.hero-facts div { padding: 14px 14px 0 0; }
.hero-facts dt { color: var(--muted); font-size: 12px; font-weight: 800; }
.hero-facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 800; }
.hero-media { position: relative; min-height: 550px; display: grid; place-items: center; }
.phone-frame { position: relative; z-index: 3; width: 281px; margin: 0; padding: 9px; background: var(--ink); border: 2px solid var(--ink); border-radius: 20px; box-shadow: 18px 20px 0 rgba(23, 32, 29, .14); }
.phone-frame img { width: 100%; max-width: 400px; border-radius: 12px; }
.media-step { position: absolute; width: 306px; height: 442px; border: 1px solid var(--ink); }
.media-step-back { transform: translate(54px, -24px); background: var(--yellow); }
.media-step-mid { transform: translate(28px, -12px); background: var(--mint); }
.media-index { position: absolute; top: 18px; left: 0; padding: 7px 11px; border: 1px solid var(--ink); background: var(--white); font-weight: 900; font-size: 12px; z-index: 4; }
.bookmark { position: absolute; right: 0; bottom: 58px; z-index: 4; padding: 8px 12px; color: var(--white); background: var(--coral); border: 1px solid var(--ink); font-size: 13px; font-weight: 900; }

.section { padding: 86px 0; }
.section-inner { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section h2 { margin: 8px 0 34px; font-size: 36px; line-height: 1.25; }
.preview-section { background: var(--white); }
.preview-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; align-items: start; }
.preview-item { position: relative; margin: 0; padding: 20px; background: var(--paper); border: 1px solid var(--ink); }
.preview-item img { width: 100%; max-width: 400px; margin: 0 auto; border: 1px solid var(--line); }
.preview-item figcaption { display: grid; gap: 4px; padding-top: 18px; }
.preview-item figcaption strong { font-size: 18px; }
.preview-item figcaption span { color: var(--muted); font-size: 14px; }
.preview-number { position: absolute; top: -14px; right: 16px; min-width: 44px; padding: 4px 9px; background: var(--coral); color: var(--white); border: 1px solid var(--ink); text-align: center; font-weight: 900; }
.preview-featured { margin-top: 28px; }

.path-section { background: var(--mint); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.path-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.path-heading { position: sticky; top: 110px; }
.path-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.path-list li { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 27px 0; border-bottom: 1px solid var(--ink); }
.path-list li > span { color: var(--coral); font-size: 18px; font-weight: 950; }
.path-list h3 { margin: 0 0 7px; font-size: 21px; }
.path-list p { margin: 0; color: #34423d; }

.feature-section { background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-grid article { min-height: 230px; padding: 24px; background: var(--white); border: 1px solid var(--ink); }
.feature-grid article:nth-child(2), .feature-grid article:nth-child(4) { margin-top: 30px; }
.feature-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--ink); background: var(--yellow); border: 1px solid var(--ink); font-weight: 950; }
.feature-grid article:nth-child(even) .feature-mark { color: var(--white); background: var(--coral); }
.feature-grid h3 { margin: 20px 0 10px; font-size: 20px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 15px; }

.deep-section { padding-top: 20px; background: var(--paper); }
.deep-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.deep-panel { padding: 42px; }
.deep-panel + .deep-panel { border-left: 1px solid var(--ink); }
.deep-panel h2 { margin: 12px 0; }
.panel-copy { max-width: 440px; margin: 0 0 24px; color: var(--muted); }
.guide-panel { background: var(--white); }
.faq-panel { background: var(--yellow); }
.panel-link { font-weight: 900; border-bottom: 2px solid var(--ink); }

.download-band { color: var(--white); background: var(--green-dark); border-top: 1px solid var(--ink); }
.download-inner { min-height: 230px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 0; }
.download-band .section-kicker { color: var(--yellow); }
.download-band h2 { margin: 8px 0 0; font-size: 34px; }

.site-footer { padding: 46px 0; background: var(--ink); color: #eaf0ed; text-align: center; }
.footer-inner { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; display: grid; justify-items: center; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--yellow); }
.footer-inner p { margin: 0; max-width: 850px; color: #bdc8c3; font-size: 13px; text-align: center; }
.footer-inner small { color: #8fa099; }

.inner-main { background: var(--paper); }
.inner-hero { border-bottom: 1px solid var(--ink); }
.inner-hero-grid { min-height: 390px; display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 80px; padding: 54px 0; }
.inner-hero h1 { max-width: 720px; margin: 16px 0; font-size: 48px; line-height: 1.2; }
.inner-hero p { max-width: 690px; margin: 0; color: var(--muted); font-size: 17px; }
.guide-index { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); background: var(--white); }
.guide-index span { padding: 22px 18px; font-weight: 800; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.guide-index span:nth-child(even) { border-right: 0; }
.guide-index span:nth-last-child(-n+2) { border-bottom: 0; }
.guide-index span:first-child, .guide-index span:last-child { background: var(--mint); }
.faq-summary { justify-self: end; width: 310px; min-height: 230px; padding: 30px; display: grid; align-content: center; background: var(--coral); color: var(--white); border: 1px solid var(--ink); box-shadow: 14px 14px 0 var(--yellow); }
.faq-summary strong { font-size: 76px; line-height: 1; }
.faq-summary span { font-size: 22px; font-weight: 900; }
.faq-summary em { margin-top: 18px; font-size: 13px; font-style: normal; }

.article-section { background: var(--white); }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); justify-content: space-between; gap: 70px; }
.article-nav { position: sticky; top: 105px; align-self: start; display: grid; border: 1px solid var(--ink); }
.article-nav strong { padding: 15px 18px; background: var(--ink); color: var(--white); }
.article-nav a { padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.article-nav a:last-child { border-bottom: 0; }
.article-nav a:hover { background: var(--mint); }
.prose section { padding: 0 0 50px; margin: 0 0 50px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.prose section:last-child { margin-bottom: 0; border-bottom: 0; }
.prose h2 { margin: 10px 0 20px; font-size: 30px; }
.prose p { margin: 0 0 16px; color: #3b4944; font-size: 16px; line-height: 2; }
.prose a:not(.button) { color: var(--green-dark); border-bottom: 1px solid currentColor; font-weight: 800; }
.prose code { padding: 2px 6px; background: var(--paper); border: 1px solid var(--line); }
.prose .button { margin-top: 8px; }

.faq-section { background: var(--white); }
.faq-toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.faq-filter { min-width: 74px; padding: 9px 18px; background: var(--paper); border: 1px solid var(--ink); border-radius: 0; font-weight: 800; cursor: pointer; }
.faq-filter.active, .faq-filter:hover { color: var(--white); background: var(--green); }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 14px 22px; }
.faq-item { border: 1px solid var(--ink); background: var(--paper); }
.faq-item[hidden] { display: none; }
.faq-item summary { min-height: 72px; display: grid; grid-template-columns: 1fr 28px; align-items: center; gap: 18px; padding: 16px 20px; cursor: pointer; font-weight: 850; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { display: grid; place-items: center; width: 28px; height: 28px; background: var(--yellow); border: 1px solid var(--ink); font-size: 20px; }
.faq-item[open] summary span { background: var(--coral); color: var(--white); transform: rotate(45deg); }
.faq-item div { padding: 0 20px 20px; }
.faq-item p { margin: 0; color: var(--muted); }
.faq-help { margin-top: 54px; padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--mint); border: 1px solid var(--ink); }
.faq-help h2 { margin: 0 0 6px; font-size: 26px; }
.faq-help p { margin: 0; }
.faq-help p a { color: var(--green-dark); font-weight: 900; border-bottom: 1px solid currentColor; }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: block; order: 2; }
  .header-download { order: 3; }
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 76px; padding: 10px 18px; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 4px; }
  .site-nav a::after { bottom: 6px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 44px; }
  .hero-media { min-height: 480px; }
  .preview-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .preview-item { padding: 12px; }
  .path-layout { grid-template-columns: 1fr; gap: 18px; }
  .path-heading { position: static; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid article:nth-child(2), .feature-grid article:nth-child(4) { margin-top: 0; }
  .inner-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-summary { justify-self: start; }
  .article-layout { grid-template-columns: 1fr; }
  .article-nav { position: static; grid-template-columns: repeat(3, 1fr); }
  .article-nav strong { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .header-inner, .hero-inner, .section-inner, .footer-inner { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 64px; gap: 8px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand img { width: 38px; height: 38px; }
  .header-download { display: none; }
  .site-nav { top: 64px; left: 14px; right: 14px; }
  .hero-inner { min-height: 0; gap: 18px; padding: 24px 0 20px; }
  .hero h1 { margin: 12px 0 14px; font-size: 38px; line-height: 1.16; }
  .hero-copy > p { margin-bottom: 20px; font-size: 15px; line-height: 1.8; }
  .hero-actions { gap: 20px; }
  .hero-facts { margin-top: 18px; }
  .hero-facts div { padding-top: 10px; }
  .hero-facts dd { font-size: 12px; }
  .hero-media { min-height: 325px; }
  .phone-frame { width: 171px; padding: 6px; border-radius: 14px; box-shadow: 11px 12px 0 rgba(23, 32, 29, .14); }
  .phone-frame img { border-radius: 8px; }
  .media-step { width: 188px; height: 276px; }
  .media-step-back { transform: translate(34px, -15px); }
  .media-step-mid { transform: translate(18px, -8px); }
  .media-index { top: 9px; }
  .bookmark { right: 4px; bottom: 28px; }
  .section { padding: 62px 0; }
  .preview-section { padding-top: 28px; }
  .section h2 { margin-bottom: 26px; font-size: 30px; }
  .preview-grid { grid-template-columns: 1fr; gap: 28px; }
  .preview-item, .preview-featured { margin-top: 0; }
  .preview-item img { width: min(100%, 300px); }
  .path-list li { grid-template-columns: 46px 1fr; gap: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; }
  .deep-grid { grid-template-columns: 1fr; }
  .deep-panel { padding: 30px 24px; }
  .deep-panel + .deep-panel { border-left: 0; border-top: 1px solid var(--ink); }
  .download-inner { min-height: 250px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .download-band h2 { font-size: 29px; }
  .inner-hero-grid { min-height: 0; padding: 48px 0; }
  .inner-hero h1 { font-size: 38px; }
  .guide-index { grid-template-columns: 1fr; }
  .guide-index span, .guide-index span:nth-child(even) { border-right: 0; border-bottom: 1px solid var(--ink); }
  .guide-index span:last-child { border-bottom: 0; }
  .faq-summary { width: calc(100% - 14px); }
  .article-nav { grid-template-columns: 1fr 1fr; }
  .prose h2 { font-size: 26px; }
  .faq-list { grid-template-columns: 1fr; }
  .faq-help { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
