:root {
  --ink: #202522;
  --muted: #626963;
  --paper: #f7f6f1;
  --white: #ffffff;
  --line: #c8cbc5;
  --soft-line: #e2e4de;
  --action: #d84a36;
  --action-dark: #a82f20;
  --mint: #66c6a3;
  --mint-soft: #dff4eb;
  --yellow: #f0c85a;
  --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.75; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; letter-spacing: 0; }
.content-rail, .header-inner, .hero-inner { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; min-height: 68px; background: rgba(247, 246, 241, .96); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 68px; 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; line-height: 1; }
.brand img { width: 40px; height: 40px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.site-nav a { position: relative; padding: 22px 0; }
.site-nav a:not(.nav-download)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 2px; background: var(--action); transform: scaleX(0); transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav .nav-download { padding: 9px 18px; color: var(--white); background: var(--ink); border: 1px solid var(--ink); }
.site-nav .nav-download:hover { background: var(--action); border-color: var(--action); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.hero { border-bottom: 1px solid var(--line); background: var(--paper); }
.hero-inner { min-height: 620px; padding: 42px 0 34px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr); gap: 62px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 12px; line-height: 1.2; }
.eyebrow span, .page-index, .section-heading > span, .deep-kicker, .download-inner > div > span { font-family: Consolas, "Courier New", monospace; color: var(--action); font-weight: 800; }
.eyebrow strong { padding: 4px 8px; background: var(--mint-soft); border-left: 3px solid var(--mint); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 520px; margin-bottom: 20px; font-size: 48px; line-height: 1.16; letter-spacing: 0; }
.hero h1 span { display: block; }
.hero-copy > p { max-width: 570px; margin-bottom: 24px; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 24px; border: 1px solid transparent; font-weight: 800; line-height: 1.2; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--action); border-color: var(--action); }
.button-primary:hover { background: var(--action-dark); }
.text-link { display: inline-flex; align-items: center; gap: 7px; padding-bottom: 2px; border-bottom: 1px solid var(--ink); font-weight: 800; }
.text-link span { color: var(--action); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 520px; margin: 0; border-top: 1px solid var(--line); }
.hero-facts div { padding: 13px 10px 0 0; }
.hero-facts dt { color: var(--action); font-family: Consolas, "Courier New", monospace; font-size: 11px; font-weight: 800; }
.hero-facts dd { margin: 1px 0 0; font-size: 13px; font-weight: 700; }

.hero-media { position: relative; height: 466px; display: grid; grid-template-columns: 1.15fr .85fr 34px; grid-template-rows: 38px 1fr; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; }
.media-index { grid-column: 1 / 3; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border-bottom: 1px solid var(--ink); font-family: Consolas, "Courier New", monospace; font-size: 11px; text-transform: uppercase; }
.media-index b { color: var(--action); }
.primary-shot { grid-column: 1; grid-row: 2; margin: 0; display: grid; place-items: center; padding: 14px; border-right: 1px solid var(--ink); background: var(--white); min-width: 0; }
.primary-shot img { width: auto; max-width: 100%; max-height: 398px; object-fit: contain; }
.side-shots { grid-column: 2; grid-row: 2; display: grid; grid-template-rows: 144px 1fr; min-width: 0; background: #eef0eb; }
.side-shots figure { margin: 0; min-width: 0; display: grid; place-items: center; padding: 10px; overflow: hidden; }
.side-shots figure + figure { border-top: 1px solid var(--ink); }
.side-shots img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.status-rail { grid-column: 3; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: center; justify-content: space-around; border-left: 1px solid var(--ink); background: var(--ink); color: var(--white); font-size: 11px; }
.status-rail span { writing-mode: vertical-rl; }

.utility-band { background: var(--ink); color: var(--white); }
.utility-inner { min-height: 120px; display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); align-items: stretch; }
.utility-inner > * { display: flex; flex-direction: column; justify-content: center; padding: 14px 24px; border-right: 1px solid #444a46; }
.utility-inner > *:first-child { padding-left: 0; }
.utility-inner > *:last-child { border-right: 0; }
.utility-label { color: var(--yellow); font-weight: 800; }
.utility-inner b { font-size: 15px; }
.utility-inner small { color: #bfc4c0; font-size: 12px; }

.section { padding: 88px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.section-heading > span { order: 2; font-size: 12px; }
.section-heading h2 { margin: 0; font-size: 32px; line-height: 1.2; }
.gallery-section { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.gallery-item { margin: 0; min-width: 0; min-height: 480px; display: grid; grid-template-rows: 1fr auto; background: var(--paper); }
.gallery-item > img { align-self: center; justify-self: center; width: auto; max-width: 400px; max-height: 400px; padding: 20px; object-fit: contain; }
.gallery-item figcaption { padding: 17px 20px; border-top: 1px solid var(--line); }
.gallery-item figcaption b, .gallery-item figcaption span { display: block; }
.gallery-item figcaption span { color: var(--muted); font-size: 13px; }

.feature-section { background: var(--paper); }
.feature-ledger { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.feature-ledger article { min-height: 210px; display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.feature-number { color: var(--action); font-family: Consolas, "Courier New", monospace; font-weight: 800; }
.feature-ledger h3 { margin-bottom: 8px; font-size: 19px; }
.feature-ledger p { margin: 0; color: var(--muted); font-size: 14px; }

.deep-section { padding-top: 0; }
.deep-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.deep-block { min-height: 300px; padding: 42px; }
.deep-block + .deep-block { border-left: 1px solid var(--ink); }
.deep-guide { background: var(--mint-soft); }
.deep-faq { background: var(--yellow); }
.deep-kicker { font-size: 12px; }
.deep-block h2 { margin: 18px 0 16px; font-size: 31px; }
.deep-copy { max-width: 480px; margin-bottom: 16px; color: #444a46; }

.download-band { background: var(--action); color: var(--white); }
.download-inner { min-height: 180px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.download-inner > div > span { color: var(--yellow); font-size: 12px; }
.download-inner h2 { margin: 5px 0 0; font-size: 30px; }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { background: var(--yellow); }

.site-footer { color: #d8ddd9; background: #171b18; }
.footer-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid #3b403c; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.footer-brand img { width: 34px; height: 34px; }
.footer-inner nav { display: flex; gap: 24px; font-size: 13px; }
.footer-inner a:hover { color: var(--yellow); }
.footer-bottom { min-height: 105px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 12px; }
.footer-bottom p { margin: 2px 0; }

.inner-hero { padding: 70px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.inner-hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: center; }
.page-index { display: block; margin-bottom: 13px; font-size: 12px; }
.inner-hero h1 { max-width: 760px; margin-bottom: 18px; font-size: 45px; line-height: 1.2; }
.inner-hero p { max-width: 760px; color: var(--muted); }
.inner-hero .button { margin-top: 8px; }
.check-panel { padding: 25px 0 25px 28px; border-left: 5px solid var(--mint); }
.check-panel b { font-size: 18px; }
.check-panel ul { margin: 13px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.guide-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 70px; align-items: start; }
.step-nav { position: sticky; top: 96px; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.step-nav a { padding: 12px 5px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.step-nav a:hover { color: var(--action); }
.steps { width: 100%; min-width: 0; max-width: 790px; }
.steps article { min-width: 0; scroll-margin-top: 95px; padding: 0 0 55px 54px; position: relative; border-left: 1px solid var(--line); }
.steps article:last-child { padding-bottom: 0; }
.steps article > span { position: absolute; left: -42px; top: 2px; width: 82px; padding: 4px 6px; color: var(--white); background: var(--ink); text-align: center; font-family: Consolas, "Courier New", monospace; font-size: 11px; }
.steps h2 { margin-bottom: 15px; font-size: 26px; }
.steps p { color: var(--muted); }
.steps a { color: var(--action); text-decoration: underline; }
.inline-preview { width: min(340px, 100%); margin: 22px 0; padding: 18px; background: var(--white); border: 1px solid var(--line); }
.inline-preview img { width: auto; max-width: 400px; max-height: 500px; margin: 0 auto; object-fit: contain; }
.inline-preview figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; text-align: center; }
.inline-wide { width: min(540px, 100%); }

.faq-hero { background: #eef0eb; }
.faq-search { padding: 25px; background: var(--white); border: 1px solid var(--ink); }
.faq-search label, .faq-search span { display: block; font-size: 13px; font-weight: 800; }
.faq-search input { width: 100%; margin: 10px 0 8px; padding: 12px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--paper); }
.faq-search input:focus { outline: 2px solid var(--mint); outline-offset: 1px; }
.faq-search span { color: var(--action); }
.faq-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 60px; align-items: start; }
.faq-aside { position: sticky; top: 96px; padding: 24px; color: var(--white); background: var(--ink); }
.faq-aside ol { padding-left: 20px; color: #cbd0cc; font-size: 13px; }
.faq-aside a { display: inline-block; margin-top: 12px; color: var(--yellow); font-size: 13px; font-weight: 800; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--ink); }
.faq-item button { width: 100%; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 16px 8px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font-weight: 800; }
.faq-item button b { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; color: var(--white); background: var(--action); font-size: 20px; }
.faq-answer { padding: 0 50px 18px 8px; color: var(--muted); font-size: 14px; }
.faq-answer p { margin: 0; }
.faq-empty { padding: 40px 0; color: var(--muted); text-align: center; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding-top: 46px; }
  .hero-copy { order: 1; }
  .hero-media { order: 2; width: min(650px, 100%); margin-inline: auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:last-child { grid-column: 1 / -1; }
  .inner-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .guide-layout, .faq-layout { grid-template-columns: 1fr; gap: 38px; }
  .step-nav, .faq-aside { position: static; }
  .step-nav { display: grid; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .content-rail, .header-inner, .hero-inner { width: min(100% - 32px, var(--max)); }
  .site-header, .header-inner { min-height: 64px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 64px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: 0 14px 28px rgba(20, 24, 21, .14); }
  .site-nav.open { display: flex; }
  .site-nav a, .site-nav .nav-download { width: 100%; padding: 13px 4px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); }
  .site-nav a:not(.nav-download)::after { display: none; }
  .site-nav .nav-download { margin-top: 6px; color: var(--white); background: var(--action); text-align: center; }
  .hero-inner { min-height: 0; padding: 34px 0 24px; gap: 25px; }
  .hero h1 { font-size: 35px; line-height: 1.18; }
  .hero-copy > p { font-size: 14px; line-height: 1.7; }
  .hero-actions { margin-bottom: 20px; }
  .hero-facts { display: none; }
  .hero-media { height: 300px; grid-template-columns: 1.2fr .8fr 28px; grid-template-rows: 32px 1fr; }
  .primary-shot { padding: 8px; }
  .primary-shot img { max-height: 250px; }
  .side-shots { grid-template-rows: 92px 1fr; }
  .side-shots figure { padding: 6px; }
  .status-rail { font-size: 10px; }
  .utility-inner { min-height: 78px; grid-template-columns: 1fr 1fr; }
  .utility-inner > * { padding: 10px 12px; border-bottom: 1px solid #444a46; }
  .utility-inner > *:first-child { padding-left: 12px; }
  .utility-inner > *:nth-child(n+4) { display: none; }
  .section { padding: 62px 0; }
  .section-heading { margin-bottom: 26px; }
  .section-heading h2 { font-size: 27px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:last-child { grid-column: auto; min-height: 410px; }
  .gallery-item > img { max-width: 100%; max-height: 330px; }
  .feature-ledger { grid-template-columns: 1fr; }
  .feature-ledger article { min-height: 0; padding: 24px 18px; grid-template-columns: 42px 1fr; }
  .deep-grid { grid-template-columns: 1fr; }
  .deep-block { min-height: 0; padding: 31px 24px; }
  .deep-block + .deep-block { border-left: 0; border-top: 1px solid var(--ink); }
  .download-inner { min-height: 170px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .download-inner h2 { font-size: 24px; }
  .footer-inner { padding: 26px 0; flex-direction: column; justify-content: center; }
  .footer-bottom { min-height: 125px; }
  .inner-hero { padding: 48px 0; }
  .inner-hero h1 { font-size: 34px; }
  .check-panel { padding-left: 20px; }
  .step-nav { grid-template-columns: 1fr 1fr; }
  .steps article { padding-left: 28px; }
  .steps article > span { position: static; display: inline-block; width: auto; margin: 0 0 12px -28px; }
  .steps h2 { font-size: 23px; }
  .inline-preview img { max-width: 100%; }
  .faq-search { padding: 20px; }
  .faq-aside { padding: 20px; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 32px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero-media { height: 278px; }
  .primary-shot img { max-height: 230px; }
  .side-shots { grid-template-rows: 86px 1fr; }
  .section-heading > span { display: none; }
  .inner-hero h1 { font-size: 31px; }
  .footer-inner nav { gap: 14px; }
}

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