:root {
  --paper: #f4f2eb;
  --white: #fffdf8;
  --ink: #17201e;
  --muted: #5d6764;
  --line: #b9c1bd;
  --teal: #008b72;
  --teal-dark: #006653;
  --red: #d54a35;
  --blue: #235fa4;
  --yellow: #f0c84d;
  --rail: min(1180px, calc(100% - 48px));
}

* { 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 { font: inherit; }
.container { width: var(--rail); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 242, 235, .96);
  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-weight: 800; font-size: 19px; white-space: nowrap; }
.brand img { width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { min-height: 42px; display: inline-flex; align-items: center; padding: 0 16px; font-size: 15px; font-weight: 700; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: var(--teal-dark); border-color: var(--teal); }
.site-nav .download-link { margin-left: 8px; color: var(--white); background: var(--ink); border: 1px solid var(--ink); }
.site-nav .download-link:hover { color: var(--white); background: var(--teal-dark); border-color: var(--teal-dark); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--ink); cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.hero { border-bottom: 1px solid var(--ink); overflow: hidden; }
.hero-grid { min-height: 556px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 470px); align-items: center; gap: 68px; padding-block: 32px 28px; }
.hero-copy { min-width: 0; }
.eyebrow, .section-index { display: flex; align-items: center; gap: 12px; color: var(--teal-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.eyebrow span:first-child, .section-index { font-family: Consolas, "Courier New", monospace; }
.eyebrow span:first-child { padding: 3px 8px; color: var(--white); background: var(--teal-dark); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 650px; margin: 20px 0 18px; font-size: 58px; line-height: 1.08; font-weight: 900; }
.hero-accent { color: var(--red); }
.hero-copy > p { max-width: 610px; margin-bottom: 24px; color: #37413e; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid var(--ink); font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--teal-dark); border-color: var(--teal-dark); }
.button-secondary { background: transparent; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 27px 0 0; border-top: 1px solid var(--line); }
.hero-facts div { padding: 13px 10px 0 0; }
.hero-facts dt { color: var(--muted); font-size: 12px; }
.hero-facts dd { margin: 2px 0 0; font-size: 13px; font-weight: 800; }
.hero-media { position: relative; height: 496px; display: flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--ink); }
.hero-media::before { content: ""; position: absolute; inset: 46px 34px 55px; border: 1px solid var(--line); }
.map-grid { position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 34px 34px; }
.hero-media img { position: relative; z-index: 2; width: auto; max-width: 400px; height: min(405px, calc(100% - 86px)); border: 1px solid var(--ink); box-shadow: 12px 12px 0 var(--yellow); object-fit: contain; }
.coord { position: absolute; z-index: 3; font: 700 10px/1 Consolas, "Courier New", monospace; color: var(--blue); background: var(--white); }
.coord-top { top: 14px; left: 15px; padding: 3px 6px; }
.coord-side { right: 10px; top: 50%; padding: 4px 6px; writing-mode: vertical-rl; transform: translateY(-50%); }
.media-legend { position: absolute; z-index: 3; left: 15px; right: 15px; bottom: 12px; display: flex; justify-content: space-between; gap: 8px; font: 700 10px/1.2 Consolas, "Courier New", monospace; }
.media-legend span::before { content: "■"; margin-right: 5px; color: var(--red); }

.section { padding: 82px 0; }
.section-heading { margin-bottom: 34px; }
.section-heading h2 { margin: 9px 0 0; font-size: 38px; line-height: 1.2; }
.heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-note { max-width: 470px; color: var(--muted); font-size: 15px; }
.section-ink { color: var(--white); background: var(--ink); }
.section-ink .section-index { color: #53d8bd; }
.feature-table { border-top: 1px solid #66706d; }
.feature-table article { display: grid; grid-template-columns: 72px 220px 1fr; align-items: start; gap: 20px; padding: 24px 0; border-bottom: 1px solid #66706d; }
.feature-no { color: #53d8bd; font: 700 14px/1.7 Consolas, "Courier New", monospace; }
.feature-table h3 { margin: 0; font-size: 21px; }
.feature-table p { max-width: 660px; margin: 0; color: #cfd5d2; }

.gallery-section { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: 1.05fr .9fr 1fr; align-items: start; gap: 28px; }
.gallery-item { margin: 0; }
.gallery-offset { margin-top: 62px; }
.image-frame { position: relative; min-height: 360px; display: flex; align-items: center; justify-content: center; padding: 22px; border: 1px solid var(--ink); background: var(--paper); overflow: hidden; }
.image-frame::before { content: "+"; position: absolute; top: 7px; left: 9px; color: var(--red); font: 700 16px/1 monospace; }
.image-frame img { width: auto; max-width: 400px; max-height: 520px; object-fit: contain; border: 1px solid #7d8582; }
.gallery-item figcaption { padding-top: 14px; display: grid; gap: 2px; }
.gallery-item figcaption strong { font-size: 18px; }
.gallery-item figcaption span { color: var(--muted); font-size: 14px; }

.route-section { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.route-layout { display: grid; grid-template-columns: 300px 1fr; gap: 70px; }
.route-title { position: sticky; top: 105px; align-self: start; }
.route-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.route-list li { display: grid; grid-template-columns: 74px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--ink); }
.route-list > li > span { color: var(--red); font: 800 17px/1.7 Consolas, "Courier New", monospace; }
.route-list h3 { margin-bottom: 4px; font-size: 21px; }
.route-list p { margin: 0; color: var(--muted); }

.deep-links { background: #e8ece8; }
.deep-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.deep-panel { min-height: 270px; padding: 38px; background: var(--white); }
.deep-panel + .deep-panel { border-left: 1px solid var(--ink); }
.deep-panel-accent { background: #dce9f3; }
.deep-panel h2 { margin: 15px 0 12px; font-size: 32px; }
.deep-description { max-width: 470px; margin-bottom: 16px; color: #45504c; }
.text-link { display: inline-flex; gap: 9px; align-items: center; color: var(--teal-dark); font-weight: 800; border-bottom: 1px solid currentColor; }
.download-band { color: var(--white); background: var(--teal-dark); border-bottom: 1px solid var(--ink); }
.download-band-inner { min-height: 182px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.download-band .section-index { color: #a8eadc; }
.download-band h2 { margin: 8px 0 0; font-size: 32px; }
.button-light { color: var(--ink); background: var(--white); border-color: var(--white); }

.sub-hero { border-bottom: 1px solid var(--ink); background: var(--white); }
.sub-hero-grid { min-height: 350px; display: grid; grid-template-columns: 1fr 190px; align-items: center; gap: 70px; padding-block: 52px; }
.sub-hero h1 { max-width: 780px; margin: 14px 0 16px; font-size: 52px; line-height: 1.12; }
.sub-hero p { max-width: 720px; margin: 0; color: var(--muted); font-size: 17px; }
.sub-hero-mark { aspect-ratio: 1; display: grid; place-content: center; text-align: center; color: var(--white); background: var(--blue); border: 1px solid var(--ink); }
.sub-hero-mark strong { font: 900 68px/1 Consolas, "Courier New", monospace; }
.sub-hero-mark span { margin-top: 8px; font-size: 13px; }
.faq-hero .sub-hero-mark { background: var(--red); }

.guide-layout { display: grid; grid-template-columns: 250px 1fr; gap: 70px; }
.guide-aside { position: sticky; top: 104px; align-self: start; display: grid; border-top: 1px solid var(--ink); }
.guide-aside span { padding: 12px 0; color: var(--teal-dark); font: 800 12px/1.4 Consolas, "Courier New", monospace; border-bottom: 1px solid var(--ink); }
.guide-aside a { padding: 12px 4px; font-weight: 700; border-bottom: 1px solid var(--line); }
.guide-aside a:hover { color: var(--teal-dark); padding-left: 10px; }
.guide-step { scroll-margin-top: 100px; display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 0 0 45px; margin-bottom: 45px; border-bottom: 1px solid var(--ink); }
.guide-step:last-child { margin-bottom: 0; }
.step-number { color: var(--red); font: 800 17px/1.7 Consolas, "Courier New", monospace; }
.guide-step h2 { margin-bottom: 15px; font-size: 28px; }
.guide-step p { color: #46504d; }
.guide-step p a { color: var(--teal-dark); font-weight: 800; border-bottom: 1px solid currentColor; }
.check-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 16px; background: #e0e8e4; border-left: 4px solid var(--teal); }
.check-row span { color: var(--muted); font-size: 13px; }
.guide-action { display: flex; align-items: center; gap: 22px; margin-top: 26px; }

.faq-layout { display: grid; grid-template-columns: 300px 1fr; gap: 70px; align-items: start; }
.faq-intro { position: sticky; top: 104px; padding: 25px; color: var(--white); background: var(--ink); }
.faq-intro .section-index { color: #53d8bd; }
.faq-intro h2 { margin: 12px 0; font-size: 27px; }
.faq-intro ul { padding-left: 18px; color: #ced5d2; }
.faq-intro .text-link { color: #7ee5d0; }
.accordion { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--ink); }
.faq-item button { width: 100%; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 4px; color: var(--ink); background: transparent; border: 0; text-align: left; cursor: pointer; }
.faq-item button span { font-weight: 800; font-size: 17px; }
.faq-item button b { margin-right: 13px; color: var(--red); font: 800 14px/1 Consolas, "Courier New", monospace; }
.faq-item button i { flex: 0 0 32px; font: 400 29px/1 Arial, sans-serif; text-align: center; transition: transform .2s ease; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s ease; }
.faq-answer > p { min-height: 0; overflow: hidden; margin: 0; color: var(--muted); }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer > p { padding: 0 46px 23px 4px; }
.faq-item.is-open button i { transform: rotate(45deg); }

.site-footer { background: #111715; color: #c8cfcc; }
.footer-inner { min-height: 132px; display: grid; align-content: center; justify-items: center; gap: 5px; text-align: center; }
.footer-inner p { margin: 0; font-size: 13px; }

@media (max-width: 980px) {
  :root { --rail: min(100% - 36px, 760px); }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 64px; left: 0; right: 0; display: none; padding: 10px 18px 18px; background: var(--paper); border-bottom: 1px solid var(--ink); }
  .site-nav.is-open { display: grid; }
  .site-nav a { min-height: 46px; border-bottom: 1px solid var(--line); }
  .site-nav .download-link { margin: 8px 0 0; justify-content: center; }
  .header-inner { min-height: 64px; }
  .hero-grid { grid-template-columns: 1fr 380px; gap: 28px; }
  .hero h1 { font-size: 45px; }
  .hero-media { height: 460px; }
  .gallery-grid { gap: 18px; }
  .image-frame { padding: 14px; }
  .route-layout, .guide-layout, .faq-layout { grid-template-columns: 230px 1fr; gap: 38px; }
}

@media (max-width: 760px) {
  :root { --rail: calc(100% - 32px); }
  .brand img { width: 40px; height: 40px; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 24px; padding-block: 28px 26px; }
  .hero h1 { margin-block: 14px 12px; font-size: 36px; line-height: 1.14; }
  .hero-copy > p { margin-bottom: 18px; font-size: 15px; line-height: 1.65; }
  .button { min-height: 46px; padding-inline: 19px; }
  .hero-facts { margin-top: 19px; }
  .hero-facts div { padding-top: 9px; }
  .hero-media { height: 320px; }
  .hero-media::before { inset: 36px 22px 44px; }
  .hero-media img { height: 252px; max-width: 400px; box-shadow: 8px 8px 0 var(--yellow); }
  .coord-side { display: none; }
  .section { padding: 60px 0; }
  .section-heading h2 { font-size: 31px; }
  .heading-row { align-items: start; flex-direction: column; gap: 12px; }
  .feature-table article { grid-template-columns: 42px 1fr; gap: 12px; }
  .feature-table article p { grid-column: 2; }
  .gallery-grid { grid-template-columns: 1fr; gap: 34px; }
  .gallery-offset { margin-top: 0; }
  .image-frame { min-height: 350px; }
  .image-frame img { max-height: 470px; }
  .route-layout, .guide-layout, .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .route-title, .guide-aside, .faq-intro { position: static; }
  .guide-aside { grid-template-columns: repeat(2, 1fr); }
  .guide-aside span { grid-column: 1 / -1; }
  .deep-grid { grid-template-columns: 1fr; }
  .deep-panel + .deep-panel { border-left: 0; border-top: 1px solid var(--ink); }
  .download-band-inner { min-height: 180px; align-items: start; justify-content: center; flex-direction: column; }
  .download-band h2 { font-size: 27px; }
  .sub-hero-grid { min-height: auto; grid-template-columns: 1fr 108px; gap: 20px; padding-block: 38px; }
  .sub-hero h1 { font-size: 36px; }
  .sub-hero p { font-size: 15px; }
  .sub-hero-mark strong { font-size: 43px; }
  .sub-hero-mark span { font-size: 11px; }
  .guide-step { grid-template-columns: 42px 1fr; gap: 14px; }
  .guide-step h2 { font-size: 24px; }
  .check-row { align-items: start; flex-direction: column; gap: 3px; }
  .faq-item button { min-height: 70px; }
}

@media (max-width: 440px) {
  .brand { font-size: 17px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-facts dd { font-size: 12px; }
  .hero-media { height: 306px; }
  .hero-media img { height: 240px; }
  .section { padding: 52px 0; }
  .sub-hero-grid { grid-template-columns: 1fr; }
  .sub-hero-mark { width: 98px; aspect-ratio: 1; }
  .guide-aside { grid-template-columns: 1fr; }
  .guide-aside span { grid-column: auto; }
  .guide-step { grid-template-columns: 1fr; }
  .guide-action { align-items: flex-start; flex-direction: column; }
  .faq-item button span { font-size: 15px; }
  .faq-item.is-open .faq-answer > p { padding-right: 4px; }
}

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