:root {
  --paper: #f7f4ee;
  --paper-deep: #e9e5dc;
  --ink: #17211c;
  --muted: #5f6863;
  --line: #c9c5bb;
  --red: #ef4b37;
  --red-dark: #c93626;
  --teal: #0b7d76;
  --yellow: #f2bd3d;
  --white: #ffffff;
  --shell: 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;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; letter-spacing: 0; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 238, .97);
  border-bottom: 1px solid var(--ink);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 800; }
.brand img { width: 42px; height: 42px; border-radius: 6px; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { padding: 9px 13px; font-size: 14px; font-weight: 700; border: 1px solid transparent; }
.site-nav a:hover, .site-nav a.is-current { border-color: var(--ink); background: var(--white); }
.site-nav .download-link { margin-left: 8px; color: var(--white); background: var(--red); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--ink); background: var(--white); cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.hero { border-bottom: 1px solid var(--ink); }
.hero-inner { min-height: 620px; padding-block: 38px 44px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr); gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.eyebrow span, .section-index, .download-band span, .article-aside > span, .faq-aside > span {
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}
.eyebrow span { padding: 7px 8px; border: 1px solid var(--ink); background: var(--white); }
.eyebrow span:nth-child(2) { background: var(--yellow); }
.hero h1 { margin: 0; font-size: 64px; line-height: 1.04; font-weight: 900; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--red); }
.hero-copy > p { max-width: 600px; margin: 20px 0 24px; color: #35413b; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 46px; padding: 10px 19px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); font-weight: 800; line-height: 1.2; cursor: pointer; }
.button-primary { color: var(--white); background: var(--red); box-shadow: 4px 4px 0 var(--ink); }
.button-primary:hover { background: var(--red-dark); }
.button-quiet { background: var(--white); }
.hero-facts { margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.hero-facts div { min-width: 0; padding: 13px 10px 13px 0; }
.hero-facts div + div { padding-left: 14px; border-left: 1px solid var(--ink); }
.hero-facts dt { color: var(--muted); font-size: 11px; font-weight: 700; }
.hero-facts dd { margin: 1px 0 0; font-size: 13px; font-weight: 800; }

.preview-desk { height: 514px; border: 1px solid var(--ink); background: var(--white); box-shadow: 9px 9px 0 var(--teal); overflow: hidden; }
.desk-topline, .desk-status { height: 38px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: var(--white); font: 700 11px/1 Consolas, "Courier New", monospace; }
.desk-topline strong { color: var(--yellow); }
.preview-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--ink); }
.preview-tab { min-height: 44px; padding: 6px; color: var(--ink); background: var(--paper); border: 0; border-right: 1px solid var(--ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.preview-tab:last-child { border-right: 0; }
.preview-tab.is-active { background: var(--red); color: var(--white); }
.preview-stage { position: relative; height: 394px; overflow: hidden; background: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; }
.preview-sheet { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; }
.preview-sheet[hidden] { display: none; }
.preview-sheet img { width: auto; max-width: 400px; height: 358px; object-fit: contain; border: 1px solid var(--ink); box-shadow: 5px 5px 0 rgba(23, 33, 28, .25); }
.preview-sheet figcaption { position: absolute; right: 12px; bottom: 10px; padding: 5px 7px; color: var(--white); background: var(--teal); font: 700 11px/1 Consolas, "Courier New", monospace; }
.desk-status { height: 38px; color: var(--ink); background: var(--yellow); border-top: 1px solid var(--ink); }

.section { padding: 82px 0; border-bottom: 1px solid var(--ink); }
.section-heading { margin-bottom: 34px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-index { color: var(--teal); }
.section-heading h2 { margin: 0; font-size: 38px; line-height: 1.1; }
.section-preview { background: var(--paper-deep); }
.interface-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: end; }
.interface-strip figure { margin: 0; }
.shot-frame { min-height: 430px; padding: 22px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ink); background: var(--white); }
.interface-strip figure:nth-child(2) .shot-frame { background: var(--yellow); }
.interface-strip figure:nth-child(3) .shot-frame { background: #cfe6df; }
.shot-frame img { max-width: 400px; width: auto; max-height: 390px; object-fit: contain; border: 1px solid #8d958f; }
.interface-strip figcaption { min-height: 72px; padding: 12px 2px 0; display: flex; justify-content: space-between; gap: 12px; border-top: 4px solid var(--ink); }
.interface-strip figcaption b { font-size: 16px; }
.interface-strip figcaption span { max-width: 210px; color: var(--muted); font-size: 13px; text-align: right; }

.section-features { background: var(--white); }
.feature-ledger { border-top: 1px solid var(--ink); }
.feature-ledger article { display: grid; grid-template-columns: 72px minmax(200px, .65fr) minmax(0, 1fr); gap: 26px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--ink); }
.feature-ledger article > span { color: var(--red); font: 700 15px/1 Consolas, "Courier New", monospace; }
.feature-ledger h3 { margin: 0; font-size: 23px; }
.feature-ledger p { margin: 0; color: var(--muted); }

.section-routes { background: var(--ink); color: var(--white); }
.route-layout .section-heading { border-bottom: 1px solid #59605c; padding-bottom: 26px; }
.route-layout .section-index { color: var(--yellow); }
.route-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.route-links a { min-height: 190px; padding: 26px; display: flex; flex-direction: column; border: 1px solid #777d79; background: #202c26; }
.route-links a:hover { border-color: var(--yellow); }
.route-links span { color: var(--yellow); font: 700 12px/1 Consolas, "Courier New", monospace; }
.route-links strong { margin: 22px 0 10px; font-size: 24px; }
.route-links small { margin-top: auto; color: #bfc6c1; font-size: 14px; }
.section-faq { background: var(--paper); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--ink); }
.faq-list summary { position: relative; padding: 20px 44px 20px 0; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 7px; top: 50%; transform: translateY(-50%); font-size: 24px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > p, .faq-list details > div { margin: 0; padding: 0 58px 20px 0; color: var(--muted); }
.text-link { display: inline-block; margin-top: 24px; padding-bottom: 3px; color: var(--teal); border-bottom: 1px solid currentColor; font-weight: 800; }

.download-band { padding: 42px 0; color: var(--white); background: var(--red); border-bottom: 1px solid var(--ink); }
.download-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.download-band h2 { margin: 5px 0 0; font-size: 30px; line-height: 1.2; }
.button-light { background: var(--white); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.site-footer { padding: 48px 0; background: var(--ink); color: var(--white); }
.footer-inner { text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; }
.footer-brand img { border-radius: 5px; }
.site-footer nav { margin: 22px 0 18px; display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.site-footer nav a { color: #dce0dd; font-size: 14px; }
.site-footer p { max-width: 720px; margin: 0 auto 12px; color: #b9bfbb; font-size: 13px; text-align: center; }
.site-footer small { color: #8e9691; text-align: center; }

.inner-hero { border-bottom: 1px solid var(--ink); background: var(--paper-deep); }
.inner-hero-grid { min-height: 420px; padding-block: 54px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: 70px; align-items: center; }
.inner-hero h1 { margin: 0; font-size: 50px; line-height: 1.12; }
.inner-hero p { max-width: 660px; margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.guide-index { border-top: 1px solid var(--ink); }
.guide-index a { padding: 13px 4px; display: flex; gap: 16px; align-items: center; border-bottom: 1px solid var(--ink); font-weight: 700; }
.guide-index a:hover { padding-left: 10px; background: var(--yellow); }
.guide-index span { color: var(--red); font: 700 12px/1 Consolas, "Courier New", monospace; }
.article-section { padding: 72px 0 92px; background: var(--white); }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 72px; justify-content: center; align-items: start; }
.article-aside { position: sticky; top: 106px; padding: 20px; border: 1px solid var(--ink); background: var(--yellow); }
.article-aside strong { display: block; margin: 12px 0 8px; font-size: 21px; }
.article-aside p { margin: 0; font-size: 13px; }
.guide-content > section { position: relative; padding: 0 0 56px 62px; scroll-margin-top: 100px; }
.guide-content > section::before { content: ""; position: absolute; left: 18px; top: 38px; bottom: 0; width: 1px; background: var(--line); }
.guide-content > section:last-child::before { display: none; }
.step-number { position: absolute; left: 0; top: 1px; width: 38px; height: 38px; display: grid; place-items: center; background: var(--red); color: var(--white); border: 1px solid var(--ink); font: 700 12px/1 Consolas, "Courier New", monospace; }
.guide-content h2 { margin: 0 0 16px; font-size: 28px; }
.guide-content p { margin: 0 0 14px; color: #45504a; }
.guide-content a { color: var(--teal); font-weight: 800; border-bottom: 1px solid currentColor; }
.action-box { margin: 22px 0; display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--ink); }
.action-box b { grid-column: 1 / -1; padding: 10px 14px; background: var(--ink); color: var(--white); }
.action-box span { padding: 10px 14px; border-top: 1px solid var(--ink); }
.action-box span:nth-child(even) { border-right: 1px solid var(--ink); }
.article-shot { width: min(100%, 410px); margin: 26px 0 10px; padding: 18px; background: var(--paper); border: 1px solid var(--ink); }
.article-shot img { width: auto; max-width: 400px; max-height: 470px; margin: auto; object-fit: contain; border: 1px solid var(--line); }
.article-shot figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; text-align: center; }

.faq-hero { background: var(--ink); color: var(--white); }
.faq-hero-inner { min-height: 400px; padding-block: 54px; }
.faq-hero .eyebrow span { color: var(--ink); }
.faq-hero h1 { max-width: 780px; }
.faq-hero p { color: #c1c7c3; }
.faq-search { max-width: 720px; margin-top: 28px; display: grid; grid-template-columns: 120px 1fr; align-items: center; border: 1px solid var(--white); background: var(--white); color: var(--ink); }
.faq-search span { padding: 13px 16px; font-weight: 800; border-right: 1px solid var(--ink); }
.faq-search input { min-width: 0; padding: 13px 16px; border: 0; outline: none; background: transparent; }
.faq-search:focus-within { box-shadow: 0 0 0 3px var(--yellow); }
.faq-catalog { padding: 72px 0 92px; background: var(--paper); }
.faq-catalog-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.faq-aside { position: sticky; top: 106px; padding: 20px; border: 1px solid var(--ink); background: var(--white); }
.faq-aside strong { display: block; margin: 12px 0 8px; font-size: 22px; }
.faq-aside p { margin: 0 0 15px; color: var(--muted); font-size: 13px; }
.faq-aside a { color: var(--teal); font-size: 13px; font-weight: 800; border-bottom: 1px solid currentColor; }
.full-faq summary { display: flex; gap: 18px; font-size: 18px; }
.full-faq summary span { width: 28px; flex: 0 0 auto; color: var(--red); font: 700 13px/1.8 Consolas, "Courier New", monospace; }
.full-faq details > div p { margin: 0; }
.faq-empty { padding: 42px 16px; text-align: center; border-bottom: 1px solid var(--ink); color: var(--muted); }

@media (max-width: 900px) {
  .shell { width: min(100% - 32px, var(--shell)); }
  .menu-toggle { display: block; margin-left: auto; }
  .site-nav { position: fixed; inset: 73px 0 auto 0; padding: 20px 16px 26px; display: none; flex-direction: column; align-items: stretch; gap: 6px; background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: 0 12px 0 rgba(23, 33, 28, .12); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; text-align: center; border-color: var(--line); background: var(--white); }
  .site-nav .download-link { margin: 4px 0 0; }
  .hero-inner { min-height: 0; padding-block: 30px 38px; grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 50px; }
  .preview-desk { width: min(100%, 560px); height: 414px; margin-inline: auto; }
  .preview-stage { height: 294px; }
  .preview-sheet img { height: 264px; }
  .interface-strip { grid-template-columns: 1fr; }
  .shot-frame { min-height: 390px; }
  .interface-strip figcaption span { max-width: 300px; }
  .inner-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .article-layout, .faq-catalog-grid { grid-template-columns: 1fr; gap: 34px; }
  .article-aside, .faq-aside { position: static; }
}

@media (max-width: 600px) {
  .header-inner { min-height: 64px; }
  .site-nav { top: 65px; }
  .brand img { width: 38px; height: 38px; }
  .hero-inner { padding-block: 22px 18px; gap: 24px; }
  .eyebrow { margin-bottom: 13px; }
  .eyebrow span { padding: 6px; font-size: 10px; }
  .hero h1 { font-size: 42px; }
  .hero-copy > p { margin: 14px 0 18px; font-size: 15px; line-height: 1.62; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, 1fr); }
  .button { min-width: 0; padding-inline: 12px; font-size: 14px; }
  .hero-facts { margin-top: 22px; }
  .hero-facts dt { font-size: 10px; }
  .hero-facts dd { font-size: 11px; }
  .preview-desk { height: 302px; box-shadow: 6px 6px 0 var(--teal); }
  .desk-topline, .desk-status { height: 28px; }
  .preview-tabs { height: 38px; }
  .preview-tab { min-height: 38px; font-size: 10px; }
  .preview-stage { height: 208px; }
  .preview-sheet img { height: 192px; }
  .preview-sheet figcaption { font-size: 9px; }
  .section { padding: 58px 0; }
  .section-preview { padding-top: 24px; }
  .section-heading { margin-bottom: 26px; align-items: start; flex-direction: column; gap: 10px; }
  .section-heading h2 { font-size: 31px; }
  .shot-frame { min-height: 350px; }
  .shot-frame img { max-height: 320px; }
  .interface-strip figcaption { min-height: 66px; }
  .interface-strip figcaption span { max-width: 190px; }
  .feature-ledger article { grid-template-columns: 38px 1fr; gap: 12px; }
  .feature-ledger p { grid-column: 2; }
  .feature-ledger h3 { font-size: 20px; }
  .route-links { grid-template-columns: 1fr; }
  .route-links a { min-height: 160px; }
  .download-band-inner { align-items: stretch; flex-direction: column; }
  .download-band h2 { font-size: 25px; }
  .inner-hero-grid, .faq-hero-inner { min-height: 0; padding-block: 40px; }
  .inner-hero h1 { font-size: 38px; }
  .inner-hero p { font-size: 15px; }
  .guide-content > section { padding-left: 48px; }
  .guide-content h2 { font-size: 24px; }
  .action-box { grid-template-columns: 1fr; }
  .action-box span:nth-child(even) { border-right: 0; }
  .faq-search { grid-template-columns: 1fr; }
  .faq-search span { padding: 9px 13px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .faq-search input { padding: 11px 13px; font-size: 14px; }
  .faq-catalog { padding-block: 52px 72px; }
  .full-faq summary { padding-right: 36px; font-size: 16px; }
  .faq-list details > p, .faq-list details > div { padding-right: 34px; }
  .site-footer { padding-block: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
