:root {
  --ink: #111820;
  --paper: #f7f6f2;
  --white: #ffffff;
  --blue: #1687d9;
  --blue-dark: #0c5f9f;
  --yellow: #f4d35e;
  --red: #d9485f;
  --mint: #dff5ee;
  --line: #ccd3d8;
  --muted: #5d6872;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
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.75; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--ink); background: rgba(247, 246, 242, .96); }
.header-inner { width: min(calc(100% - 40px), var(--max)); min-height: 72px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; }
.brand img { width: 38px; height: 38px; border: 1px solid var(--ink); }
.site-nav { display: flex; align-items: stretch; align-self: stretch; margin-left: auto; }
.site-nav a { position: relative; min-width: 94px; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.site-nav a::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 4px; background: transparent; }
.site-nav a:hover::after, .site-nav a.active::after { background: var(--blue); }
.download-button { min-height: 44px; padding: 9px 23px; border: 1px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: var(--white); font-weight: 900; box-shadow: 4px 4px 0 var(--ink); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.download-button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); background: var(--blue-dark); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--ink); background: var(--white); cursor: pointer; }
.menu-toggle span { height: 2px; background: var(--ink); display: block; margin: 5px 0; }

.hero { overflow: hidden; border-bottom: 1px solid var(--ink); background: var(--white); }
.hero-inner { width: min(calc(100% - 40px), var(--max)); height: 590px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); align-items: center; gap: 64px; }
.eyebrow, .section-index { display: block; color: var(--blue-dark); font-size: 12px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.hero h1 { margin: 14px 0 18px; font-size: clamp(42px, 5.2vw, 76px); line-height: 1.02; letter-spacing: 0; }
.hero h1 span { display: block; }
.hero-copy > p { max-width: 610px; margin: 0; color: #39434c; font-size: 17px; }
.query-ledger { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--ink); width: fit-content; }
.query-ledger span { padding: 7px 14px; border-right: 1px solid var(--ink); background: var(--paper); font-size: 13px; font-weight: 800; }
.query-ledger span:last-child { border-right: 0; background: var(--yellow); }
.hero-actions { margin-top: 26px; display: flex; align-items: center; gap: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; border-bottom: 2px solid var(--blue); }
.hero-media { position: relative; height: 490px; display: flex; align-items: center; justify-content: center; }
.result-tray { position: absolute; padding: 34px 14px 14px; border: 1px solid var(--ink); background: var(--paper); box-shadow: 8px 8px 0 var(--ink); }
.result-tray img { width: auto; height: 390px; max-width: 400px; object-fit: contain; }
.result-tray-primary { left: 44px; top: 30px; z-index: 2; transform: rotate(-2deg); }
.result-tray-secondary { right: 12px; bottom: 32px; z-index: 1; transform: rotate(3deg); }
.result-tray-secondary img { height: 315px; }
.tray-label { position: absolute; inset: 0 0 auto 0; height: 32px; padding: 0 9px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); background: var(--white); font-size: 9px; font-weight: 900; }
.tray-label strong { color: var(--red); font-size: 13px; }
.filter-ruler { height: 42px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); background: var(--yellow); }
.filter-ruler span { display: grid; place-items: center; border-right: 1px solid var(--ink); font-size: 10px; font-weight: 900; }
.filter-ruler span:last-child { border-right: 0; }

.section-band { padding: 82px 0; border-bottom: 1px solid var(--ink); }
.section-inner { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section-heading { margin-bottom: 34px; }
.section-heading h2 { margin: 4px 0 0; font-size: clamp(30px, 4vw, 52px); line-height: 1.15; letter-spacing: 0; }
.section-note { max-width: 720px; margin-top: 12px; color: var(--muted); font-size: 15px; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.workflow-grid article { min-height: 190px; padding: 26px; border-right: 1px solid var(--ink); background: var(--white); }
.workflow-grid article:last-child { border-right: 0; }
.workflow-grid article > span, .article-number { color: var(--red); font-size: 12px; font-weight: 900; }
.workflow-grid h3, .feature-grid h3, .setup-list h3 { margin: 18px 0 8px; font-size: 20px; }
.workflow-grid p, .feature-grid p, .setup-list p { margin: 0; color: var(--muted); }
.dark-band { color: var(--white); background: var(--ink); }
.light-heading .section-index, .dark-band .section-note { color: #9dccef; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #5d6872; border-left: 1px solid #5d6872; }
.feature-grid article { min-height: 250px; padding: 26px; border-right: 1px solid #5d6872; border-bottom: 1px solid #5d6872; }
.feature-grid p { color: #bfc6cc; }
.feature-code { display: inline-grid; place-items: center; width: 42px; height: 30px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 900; }
.heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.preview-tabs, .faq-filters { display: flex; border: 1px solid var(--ink); background: var(--white); }
.preview-tab, .faq-filter { min-width: 72px; height: 42px; padding: 0 14px; border: 0; border-right: 1px solid var(--ink); background: var(--white); font-weight: 800; cursor: pointer; }
.preview-tab:last-child, .faq-filter:last-child { border-right: 0; }
.preview-tab.active, .faq-filter.active { background: var(--blue); color: var(--white); }
.preview-stage { min-height: 560px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.preview-copy { padding: 50px 8vw 50px 0; }
.preview-counter { display: inline-block; padding: 4px 10px; background: var(--yellow); font-size: 11px; font-weight: 900; }
.preview-copy h3 { margin: 22px 0 12px; font-size: 30px; }
.preview-copy p { margin: 0 0 24px; color: var(--muted); }
.preview-figure { min-height: 560px; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border-left: 1px solid var(--ink); background: var(--mint); }
.preview-figure img { width: auto; height: 460px; max-width: 400px; object-fit: contain; border: 1px solid var(--ink); box-shadow: 10px 10px 0 rgba(17, 24, 32, .18); }
.preview-figure figcaption { margin-top: 16px; font-size: 11px; font-weight: 900; }
.pale-band { background: #eaf4fb; }
.split-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.setup-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.setup-list li { display: grid; grid-template-columns: 58px 1fr; padding: 22px 0; border-bottom: 1px solid var(--ink); }
.setup-list li > span { color: var(--red); font-size: 12px; font-weight: 900; }
.setup-list h3 { margin: 0 0 4px; }
.route-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.route-grid a { min-height: 180px; padding: 26px; border: 1px solid var(--ink); display: flex; flex-direction: column; background: var(--white); box-shadow: 6px 6px 0 var(--ink); }
.route-grid a:hover { background: var(--yellow); }
.route-grid span { color: var(--red); font-size: 11px; font-weight: 900; }
.route-grid strong { margin-top: auto; font-size: 25px; }
.route-grid small { color: var(--muted); }
.final-action { padding: 52px 0; background: var(--blue); color: var(--white); border-bottom: 1px solid var(--ink); }
.final-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.final-inner h2 { margin: 4px 0 0; font-size: clamp(26px, 3.5vw, 42px); }
.final-action .section-index { color: var(--yellow); }
.inverse-button { background: var(--yellow); color: var(--ink); }

.inner-hero { padding: 92px 0 66px; border-bottom: 1px solid var(--ink); background: var(--white); }
.inner-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; }
.inner-hero h1 { margin: 9px 0 16px; font-size: clamp(40px, 5vw, 68px); line-height: 1.08; }
.inner-hero p { max-width: 700px; margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.guide-index { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--ink); background: var(--yellow); }
.guide-index span { padding: 16px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 900; }
.guide-index span:nth-child(2n) { border-right: 0; }
.guide-index span:nth-last-child(-n+2) { border-bottom: 0; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 70px; justify-content: center; align-items: start; }
.article-nav { position: sticky; top: 104px; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.article-nav strong, .article-nav a { padding: 11px 6px; border-bottom: 1px solid var(--line); }
.article-nav strong { color: var(--blue-dark); font-size: 11px; }
.article-nav a { font-size: 14px; font-weight: 700; }
.guide-article > section { padding: 0 0 52px; margin: 0 0 50px; border-bottom: 1px solid var(--ink); }
.guide-article h2 { margin: 4px 0 18px; font-size: 30px; line-height: 1.25; }
.guide-article p { color: #38434c; }
.guide-article a { color: var(--blue-dark); font-weight: 800; }
.check-band { margin-top: 24px; display: flex; flex-wrap: wrap; border: 1px solid var(--ink); }
.check-band > * { padding: 7px 12px; border-right: 1px solid var(--ink); }
.check-band > *:last-child { border-right: 0; }
.check-band strong { background: var(--yellow); }
.guide-article .article-next { border: 0; margin-bottom: 0; padding-bottom: 0; }

.faq-status { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--ink); }
.faq-status span { min-height: 132px; padding: 22px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--ink); background: var(--yellow); font-weight: 800; }
.faq-status span:last-child { border-right: 0; background: var(--mint); }
.faq-status strong { font-size: 44px; line-height: 1; }
.faq-tools { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.faq-tools .section-heading { margin: 0; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--ink); }
.faq-item[hidden] { display: none; }
.faq-item button { width: 100%; min-height: 78px; padding: 16px 4px; display: grid; grid-template-columns: 58px 1fr 32px; align-items: center; gap: 12px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.faq-item button span { color: var(--red); font-size: 12px; font-weight: 900; }
.faq-item button strong { font-size: 18px; }
.faq-item button i { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--ink); font-style: normal; font-size: 20px; }
.faq-item.open button i { background: var(--blue); color: var(--white); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-answer p { margin: 0; padding: 0 46px 26px 74px; color: var(--muted); }
.faq-note { margin-top: 46px; padding: 26px; border-left: 8px solid var(--yellow); background: var(--white); }
.faq-note strong { font-size: 20px; }
.faq-note p { margin: 8px 0 14px; color: var(--muted); }

.site-footer { padding: 42px 0; background: var(--ink); color: #c8ced3; }
.footer-inner { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--white); font-size: 20px; font-weight: 900; }
.footer-brand img { width: 34px; height: 34px; }
.site-footer nav { margin: 18px 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.site-footer p { max-width: 760px; margin: 8px auto; font-size: 13px; text-align: center; }

@media (max-width: 900px) {
  .header-inner { width: min(calc(100% - 28px), var(--max)); min-height: 64px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-download { display: none; }
  .site-nav { display: none; position: fixed; top: 64px; left: 0; right: 0; height: auto; padding: 10px 14px 16px; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--ink); }
  .site-nav.open { display: flex; }
  .site-nav a { min-height: 48px; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .hero-inner { width: min(calc(100% - 28px), var(--max)); height: auto; min-height: 730px; padding: 38px 0 28px; grid-template-columns: 1fr; gap: 16px; align-content: start; }
  .hero h1 { font-size: 46px; }
  .hero-copy > p { font-size: 15px; line-height: 1.65; }
  .query-ledger { margin-top: 16px; }
  .hero-actions { margin-top: 18px; }
  .hero-media { height: 276px; margin-top: 4px; }
  .result-tray { padding: 28px 9px 9px; box-shadow: 5px 5px 0 var(--ink); }
  .result-tray img { height: 230px; }
  .result-tray-primary { left: 17%; top: 0; }
  .result-tray-secondary { display: none; }
  .tray-label { height: 27px; }
  .filter-ruler { height: 34px; }
  .filter-ruler span:nth-child(n+4) { display: none; }
  .filter-ruler { grid-template-columns: repeat(3, 1fr); }
  .section-band { padding: 60px 0; }
  .section-inner, .footer-inner { width: min(calc(100% - 28px), var(--max)); }
  .workflow-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-grid article:nth-child(2) { border-right: 0; }
  .workflow-grid article:last-child { border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); }
  .feature-grid article { min-height: 220px; }
  .preview-stage { min-height: 520px; grid-template-columns: .8fr 1.2fr; }
  .preview-copy { padding-right: 30px; }
  .preview-figure, .preview-figure img { min-height: 0; }
  .preview-figure { min-height: 520px; }
  .preview-figure img { height: 400px; }
  .split-section, .inner-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .article-nav { position: static; display: grid; grid-template-columns: repeat(3, 1fr); }
  .article-nav strong { grid-column: 1 / -1; }
  .inner-hero { padding: 62px 0 48px; }
}

@media (max-width: 620px) {
  .hero-inner { min-height: 0; padding: 24px 0 10px; gap: 10px; }
  .eyebrow { font-size: 10px; }
  .hero h1 { margin: 10px 0 14px; font-size: 40px; }
  .hero-actions { gap: 20px; }
  .hero-actions .download-button { min-width: 126px; }
  .query-ledger span { padding: 5px 9px; font-size: 11px; }
  .hero-media { height: 235px; margin-top: 0; }
  .result-tray img { height: 200px; }
  .result-tray-primary { left: 21%; }
  .filter-ruler { height: 32px; }
  .section-heading h2 { font-size: 34px; }
  .workflow-grid, .feature-grid, .route-grid { grid-template-columns: 1fr; }
  .workflow-grid article, .workflow-grid article:nth-child(2), .workflow-grid article:last-child { min-height: 0; border-right: 0; border-top: 0; border-bottom: 1px solid var(--ink); }
  .workflow-grid article:last-child { border-bottom: 0; }
  .feature-grid article { min-height: 0; }
  .heading-row, .faq-tools { align-items: stretch; flex-direction: column; }
  .preview-tabs, .faq-filters { width: 100%; overflow-x: auto; }
  .preview-tab, .faq-filter { flex: 1 0 auto; }
  .preview-stage { min-height: 0; grid-template-columns: 1fr; }
  .preview-copy { padding: 32px 0; }
  .preview-figure { min-height: 480px; border-left: 0; border-top: 1px solid var(--ink); }
  .preview-figure img { height: 390px; }
  .split-section { gap: 10px; }
  .final-inner { align-items: flex-start; flex-direction: column; }
  .inner-hero h1 { font-size: 42px; }
  .guide-index, .faq-status { grid-template-columns: 1fr; }
  .guide-index span, .guide-index span:nth-child(2n), .guide-index span:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--ink); }
  .guide-index span:last-child { border-bottom: 0; }
  .faq-status span { min-height: 100px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .faq-status span:last-child { border-bottom: 0; }
  .article-nav { grid-template-columns: repeat(2, 1fr); }
  .guide-article h2 { font-size: 25px; }
  .check-band > * { width: 100%; border-right: 0; border-bottom: 1px solid var(--ink); }
  .check-band > *:last-child { border-bottom: 0; }
  .faq-item button { grid-template-columns: 34px 1fr 32px; }
  .faq-answer p { padding-left: 46px; padding-right: 8px; }
}

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