:root {
  --paper: #f7f5ef;
  --white: #ffffff;
  --ink: #17201e;
  --muted: #60706b;
  --line: #cdd4cf;
  --teal: #0c7a6d;
  --teal-dark: #075c52;
  --yellow: #f2c94c;
  --red: #b64231;
  --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; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
[id] { scroll-margin-top: 88px; }

.site-header { position: sticky; top: 0; z-index: 50; width: 100%; border-bottom: 1px solid var(--line); background: rgba(247, 245, 239, .96); }
.header-inner { width: min(var(--max), calc(100% - 40px)); min-height: 72px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.brand img { width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 4px; }
.site-nav { justify-self: center; display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
.site-nav a { position: relative; padding: 22px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 17px; height: 3px; background: var(--teal); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--ink); background: var(--paper); padding: 10px; border-radius: 4px; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 4px; color: #fff; background: var(--teal); box-shadow: 4px 4px 0 var(--ink); font-weight: 800; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); background: var(--teal-dark); }
.button-small { min-height: 40px; padding: 0 18px; box-shadow: 3px 3px 0 var(--ink); font-size: 14px; }
.button-light { color: var(--ink); background: var(--yellow); }
.button-light:hover { background: #ffdc69; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; border-bottom: 2px solid var(--teal); }
.text-link span { color: var(--red); }

.hero { overflow: hidden; border-bottom: 1px solid var(--ink); background: var(--paper); }
.hero-inner { width: min(var(--max), calc(100% - 40px)); min-height: 510px; margin: 0 auto; padding: 42px 0 32px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr); align-items: center; gap: 58px; }
.index-label, .eyebrow { display: flex; align-items: center; gap: 12px; color: var(--teal-dark); font-size: 12px; font-weight: 850; letter-spacing: 0; text-transform: uppercase; }
.index-label span { display: inline-grid; place-items: center; width: 34px; height: 28px; color: var(--ink); background: var(--yellow); border: 1px solid var(--ink); font-variant-numeric: tabular-nums; }
.hero h1 { max-width: 8.8em; margin: 18px 0 18px; font-size: clamp(42px, 4.5vw, 68px); line-height: 1.08; letter-spacing: 0; }
.hero-copy > p { max-width: 590px; margin: 0; color: #3d4d48; font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0 0; border-top: 1px solid var(--line); }
.hero-facts div { padding: 12px 12px 0 0; }
.hero-facts dt { color: var(--muted); font-size: 12px; }
.hero-facts dd { margin: 2px 0 0; font-size: 13px; font-weight: 750; }
.hero-media { position: relative; height: 420px; display: grid; grid-template-columns: 36px 1fr .72fr; grid-template-rows: 1fr .74fr; align-items: center; gap: 14px; }
.locator-rail { grid-row: 1 / 3; align-self: stretch; display: flex; flex-direction: column; justify-content: space-around; align-items: center; border: 1px solid var(--ink); background: var(--yellow); }
.locator-rail span { writing-mode: vertical-rl; font-size: 9px; font-weight: 900; }
.hero-media figure { position: relative; margin: 0; border: 1px solid var(--ink); background: var(--white); box-shadow: 5px 5px 0 var(--ink); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.hero-media figcaption { position: absolute; left: 0; bottom: 0; padding: 4px 8px; color: #fff; background: var(--ink); font-size: 10px; font-weight: 800; }
.media-main { grid-row: 1 / 3; width: min(100%, 234px); height: 384px; justify-self: end; }
.media-secondary { width: 170px; height: 250px; align-self: end; }
.media-shelf { width: 188px; height: 142px; align-self: start; border-color: var(--red) !important; box-shadow: 5px 5px 0 var(--red) !important; }
.collection-ledger { min-height: 54px; border-top: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; gap: 18px; color: #fff; background: var(--ink); font-size: 12px; font-weight: 750; }
.collection-ledger i { width: 38px; height: 1px; background: var(--yellow); }

.section { padding: 84px 0; border-bottom: 1px solid var(--line); }
.section-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; border-bottom: 1px solid var(--ink); }
.section-heading span { padding-bottom: 10px; color: var(--teal-dark); font-size: 11px; font-weight: 850; }
.section-heading h2 { margin: 0; padding-bottom: 8px; font-size: 34px; line-height: 1.2; letter-spacing: 0; }
.showcase { background: var(--white); }
.showcase-grid { display: grid; grid-template-columns: 1.15fr .9fr .95fr; gap: 22px; align-items: stretch; }
.showcase-item { margin: 0; min-width: 0; display: grid; grid-template-rows: 360px auto; border-left: 1px solid var(--ink); border-top: 1px solid var(--ink); background: var(--paper); }
.showcase-item img { width: 100%; height: 360px; max-width: 400px; margin: 0 auto; padding: 18px; object-fit: contain; }
.showcase-item figcaption { padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.showcase-item figcaption b, .showcase-item figcaption span { display: block; }
.showcase-item figcaption b { margin-bottom: 5px; }
.showcase-item figcaption span { color: var(--muted); font-size: 13px; }
.shelf-view { border-top-color: var(--red); }

.workflow-section { background: var(--yellow); }
.workflow-layout { display: grid; grid-template-columns: 230px 1fr; gap: 62px; }
.section-heading.vertical { display: block; margin: 0; border: 0; }
.section-heading.vertical span { display: block; }
.section-heading.vertical h2 { margin-top: 8px; font-size: 44px; }
.workflow-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.workflow-list li { display: grid; grid-template-columns: 62px 1fr; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--ink); }
.workflow-list > li > span { font-weight: 900; color: var(--red); }
.workflow-list h3 { margin: 0 0 4px; font-size: 19px; }
.workflow-list p { margin: 0; font-size: 14px; }

.feature-section { background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); }
.feature-grid article { min-height: 220px; padding: 24px; border-right: 1px solid var(--ink); }
.feature-grid article:last-child { border-right: 0; }
.feature-grid article > span { color: var(--red); font-size: 12px; font-weight: 900; }
.feature-grid h3 { margin: 42px 0 8px; font-size: 21px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.routes-section { background: var(--ink); color: #fff; }
.routes-grid { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 1px; background: #50605b; border: 1px solid #50605b; }
.route-intro, .route-link { min-height: 270px; padding: 30px; background: var(--ink); }
.route-intro h2 { margin: 12px 0 14px; font-size: 35px; }
.route-intro p, .route-link p { color: #bac7c3; font-size: 14px; }
.route-link { position: relative; transition: background .2s ease, color .2s ease; }
.route-link > span { color: var(--yellow); font-size: 11px; font-weight: 850; }
.route-link h3 { margin: 52px 0 8px; font-size: 23px; }
.route-link b { position: absolute; right: 26px; bottom: 24px; font-size: 24px; }
.route-link:hover { color: var(--ink); background: var(--yellow); }
.route-link:hover p, .route-link:hover > span { color: var(--ink); }
.route-link.accent:hover { color: #fff; background: var(--red); }
.route-link.accent:hover p, .route-link.accent:hover > span { color: #fff; }

.faq-preview { background: var(--white); }
.faq-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.faq-preview-grid article { padding: 24px 0; border-top: 4px solid var(--teal); }
.faq-preview-grid b { color: var(--red); font-size: 12px; }
.faq-preview-grid h3 { min-height: 58px; margin: 24px 0 8px; font-size: 18px; }
.faq-preview-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.more-link { margin-top: 26px; }

.final-action { padding: 46px 0; color: #fff; background: var(--teal-dark); }
.final-action-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.final-action span { color: var(--yellow); font-size: 11px; font-weight: 900; }
.final-action h2 { margin: 5px 0 0; font-size: 32px; }

.inner-hero { padding: 72px 0 58px; border-bottom: 1px solid var(--ink); }
.inner-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 90px; align-items: end; }
.inner-hero h1 { max-width: 850px; margin: 18px 0; font-size: clamp(42px, 5vw, 66px); line-height: 1.1; letter-spacing: 0; }
.inner-hero p { max-width: 720px; margin: 0; color: var(--muted); font-size: 17px; }
.guide-index, .faq-key { border: 1px solid var(--ink); background: var(--yellow); box-shadow: 5px 5px 0 var(--ink); }
.guide-index span { display: block; padding: 12px 18px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 750; }
.guide-index span:last-child { border: 0; }
.faq-key { padding: 20px; background: var(--white); }
.faq-key ol { margin: 12px 0 0; padding-left: 20px; }
.faq-key li { padding: 3px 0; }

.article-section, .faq-section { padding: 76px 0 96px; background: var(--white); }
.article-layout { display: grid; grid-template-columns: 210px minmax(0, 780px); justify-content: space-between; gap: 80px; }
.article-nav { position: sticky; top: 104px; align-self: start; display: grid; border-top: 4px solid var(--teal); }
.article-nav strong { padding: 14px 0 8px; }
.article-nav a { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.article-nav a:hover { color: var(--teal-dark); }
.prose section { position: relative; padding: 0 0 54px 70px; }
.prose section + section { padding-top: 4px; border-top: 1px solid var(--line); }
.prose .step-number { position: absolute; left: 0; top: 5px; display: grid; place-items: center; width: 42px; height: 34px; color: var(--ink); background: var(--yellow); border: 1px solid var(--ink); font-size: 12px; font-weight: 900; }
.prose h2 { margin: 0 0 18px; font-size: 30px; }
.prose p { margin: 0 0 16px; color: #34423e; }
.prose a { color: var(--teal-dark); font-weight: 800; border-bottom: 1px solid var(--teal); }
.prose code { padding: 2px 5px; background: #eef2ef; border: 1px solid var(--line); border-radius: 3px; }
.notice { margin-top: 24px; padding: 20px 22px; border-left: 6px solid var(--red); background: var(--paper); }
.notice p { margin: 6px 0 0; }

.faq-layout { display: grid; grid-template-columns: 270px minmax(0, 790px); justify-content: space-between; gap: 72px; }
.faq-sidebar { position: sticky; top: 104px; align-self: start; }
.faq-sidebar > span { color: var(--teal-dark); font-size: 11px; font-weight: 900; }
.faq-sidebar h2 { margin: 10px 0 14px; font-size: 36px; }
.faq-sidebar p { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.faq-group { margin-bottom: 52px; }
.faq-group > h2 { margin: 0 0 12px; font-size: 22px; }
.faq-list details { border-top: 1px solid var(--ink); }
.faq-list details:last-child { border-bottom: 1px solid var(--ink); }
.faq-list summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; min-height: 64px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--red); font-size: 12px; }
.faq-list summary::after { content: "+"; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; }
.faq-list details[open] summary::after { content: "−"; color: #fff; background: var(--teal); }
.faq-list details > div { padding: 0 44px 22px; color: var(--muted); }
.faq-list details p { margin: 0; }

.site-footer { padding: 40px 0; color: #d9e0dd; background: #111816; text-align: center; }
.footer-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; }
.footer-brand img { width: 34px; height: 34px; border-radius: 4px; }
.site-footer nav { display: flex; gap: 24px; margin: 18px 0; font-size: 13px; }
.site-footer p { max-width: 760px; margin: 0 auto 8px; color: #aebbb7; font-size: 12px; text-align: center; }
.site-footer small { color: #7f918b; text-align: center; }

@media (max-width: 900px) {
  .header-inner { min-height: 64px; grid-template-columns: auto 1fr auto; gap: 12px; }
  .brand img { width: 38px; height: 38px; }
  .menu-toggle { display: block; justify-self: end; }
  .header-download { display: none; }
  .site-nav { position: fixed; inset: 64px 0 auto; display: none; padding: 12px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: 0 12px 20px rgba(23, 32, 30, .12); }
  .site-nav.open { display: grid; gap: 0; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .hero-inner { min-height: 0; padding: 26px 0 22px; grid-template-columns: 1fr; gap: 22px; }
  .hero h1 { max-width: 100%; margin: 12px 0; font-size: 41px; line-height: 1.12; }
  .hero-copy > p { font-size: 14px; line-height: 1.6; }
  .hero-actions { margin-top: 18px; }
  .hero-facts { display: none; }
  .hero-media { height: 238px; grid-template-columns: 24px 1fr .62fr; gap: 8px; }
  .media-main { width: 142px; height: 230px; }
  .media-secondary { width: 102px; height: 150px; }
  .media-shelf { width: 112px; height: 72px; }
  .hero-media figure { box-shadow: 3px 3px 0 var(--ink); }
  .locator-rail { font-size: 8px; }
  .collection-ledger { min-height: 46px; gap: 8px; overflow: hidden; }
  .collection-ledger i { width: 12px; }
  .section { padding: 60px 0; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-item { grid-template-rows: 300px auto; }
  .showcase-item img { height: 300px; }
  .workflow-layout, .inner-hero-grid, .article-layout, .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .workflow-list { margin-top: 8px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid article:nth-child(2) { border-right: 0; }
  .feature-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .routes-grid { grid-template-columns: 1fr; }
  .route-intro, .route-link { min-height: 220px; }
  .faq-preview-grid { grid-template-columns: 1fr; }
  .faq-preview-grid h3 { min-height: 0; }
  .inner-hero { padding: 52px 0; }
  .guide-index, .faq-key { max-width: 500px; }
  .article-nav { display: none; }
  .prose { max-width: 760px; }
  .faq-sidebar { position: static; }
}

@media (max-width: 560px) {
  .header-inner, .hero-inner, .section-inner, .footer-inner { width: min(100% - 28px, var(--max)); }
  .hero h1 { font-size: 36px; }
  .hero-actions { justify-content: space-between; gap: 14px; }
  .hero-actions .button { min-height: 44px; padding: 0 19px; }
  .hero-actions .text-link { font-size: 13px; }
  .hero-media { justify-self: center; width: min(100%, 362px); }
  .collection-ledger { font-size: 10px; }
  .section-heading { align-items: start; flex-direction: column; gap: 4px; }
  .section-heading h2 { font-size: 30px; }
  .workflow-layout { gap: 24px; }
  .section-heading.vertical h2 { font-size: 36px; }
  .workflow-list li { grid-template-columns: 42px 1fr; gap: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .feature-grid article:last-child { border-bottom: 0; }
  .feature-grid h3 { margin-top: 18px; }
  .final-action-inner { align-items: flex-start; flex-direction: column; }
  .final-action h2 { font-size: 26px; }
  .inner-hero-grid { gap: 30px; }
  .inner-hero h1 { font-size: 39px; }
  .inner-hero p { font-size: 15px; }
  .article-section, .faq-section { padding: 54px 0 70px; }
  .prose section { padding-left: 0; }
  .prose .step-number { position: static; margin-bottom: 12px; }
  .prose h2 { font-size: 26px; }
  .faq-list summary { grid-template-columns: 34px 1fr 30px; padding: 10px 0; line-height: 1.45; }
  .faq-list details > div { padding: 0 0 20px 34px; }
  .site-footer nav { flex-wrap: wrap; justify-content: center; }
}

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