:root {
  --ink: #111518;
  --paper: #f7f8f5;
  --white: #ffffff;
  --red: #e64b3c;
  --cyan: #24b6c7;
  --lime: #b7d843;
  --muted: #687177;
  --line: #cfd5d1;
  --max: 1160px;
}

* { 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; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip-link:focus { top: 12px; }

.site-header { height: 72px; background: rgba(247,248,245,.96); border-bottom: 1px solid var(--ink); position: sticky; top: 0; z-index: 50; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 800; }
.brand img { width: 38px; height: 38px; border-radius: 2px; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 700; padding: 8px 12px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--red); }
.download-link { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 20px; color: #fff; background: var(--ink); border: 1px solid var(--ink); text-decoration: none; font-weight: 800; }
.download-link:hover { background: var(--red); border-color: var(--red); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--ink); background: transparent; padding: 0; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.hero { border-bottom: 1px solid var(--ink); overflow: hidden; }
.hero-grid { min-height: 610px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr); align-items: center; gap: 64px; padding-block: 34px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 5px; background: var(--lime); border: 1px solid var(--ink); }
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 0; max-width: 690px; font-size: clamp(40px, 5vw, 68px); line-height: 1.08; }
.h1-suffix { white-space: nowrap; }
.hero-copy > p { max-width: 620px; margin: 20px 0 24px; font-size: 17px; color: #3e474c; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 800; text-underline-offset: 5px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-notes span { border: 1px solid var(--ink); padding: 5px 9px; font-size: 12px; background: #fff; }

.hero-atlas { position: relative; height: 500px; display: grid; grid-template-columns: 88px 1fr; align-items: center; }
.filter-spine { z-index: 3; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.filter-spine span { display: block; padding: 8px 6px; border: 1px solid var(--ink); background: var(--paper); font-size: 11px; font-weight: 800; text-align: center; }
.filter-spine span:nth-child(2) { background: var(--lime); transform: translateX(10px); }
.filter-spine span:nth-child(3) { background: var(--cyan); transform: translateX(-6px); }
.screen-aperture { position: absolute; background: #e9ece9; border: 1px solid var(--ink); box-shadow: 12px 12px 0 var(--ink); overflow: hidden; }
.screen-aperture img { width: 100%; height: 100%; object-fit: contain; background: #f2f3ef; }
.screen-aperture.primary { width: 265px; height: 442px; right: 14px; top: 20px; clip-path: polygon(0 0, 100% 0, 100% 91%, 90% 100%, 0 100%); }
.screen-aperture.secondary { width: 176px; height: 240px; left: 76px; bottom: 10px; z-index: 2; border-color: var(--ink); box-shadow: 8px 8px 0 var(--red); clip-path: polygon(0 9%, 12% 0, 100% 0, 100% 100%, 0 100%); }
.atlas-index { position: absolute; top: 12px; left: 106px; z-index: 4; font-size: 11px; font-weight: 900; writing-mode: vertical-rl; }

section { padding-block: 82px; }
.hero { padding-block: 0; }
.section-head { display: grid; grid-template-columns: 180px 1fr; gap: 36px; align-items: end; margin-bottom: 34px; }
.section-head h2, .plain-heading { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; }
.section-kicker { font-size: 12px; font-weight: 900; text-transform: uppercase; border-top: 5px solid var(--cyan); padding-top: 9px; }
.section-intro { max-width: 680px; color: var(--muted); margin-left: auto; }
.feature-map { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.feature { min-height: 230px; padding: 24px 20px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: #fff; }
.feature:nth-child(2) { background: #eef9f7; }
.feature:nth-child(3) { background: #f8fbe9; }
.feature-number { display: block; margin-bottom: 36px; font-size: 13px; font-weight: 900; color: var(--red); }
.feature h3 { margin: 0 0 10px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); }

.gallery-section { background: var(--ink); color: #fff; }
.gallery-section .section-intro { color: #bbc3c5; }
.gallery-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 18px; align-items: end; }
.shot { margin: 0; border: 1px solid #646c70; background: #20272a; padding: 16px; }
.shot:nth-child(2) { transform: translateY(-22px); }
.shot img { width: 100%; max-width: 400px; height: 395px; object-fit: contain; margin: auto; }
.shot figcaption { display: flex; justify-content: space-between; gap: 14px; margin-top: 14px; font-size: 13px; color: #d7dddd; }
.shot strong { color: var(--lime); }

.route-section { position: relative; }
.route-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 58px; }
.route-list { counter-reset: route; border-top: 1px solid var(--ink); }
.route-item { counter-increment: route; display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.route-item::before { content: "0" counter(route); font-weight: 900; color: var(--red); }
.route-item h3, .route-item p { margin: 0; }
.route-item p { color: var(--muted); margin-top: 4px; }
.deep-links { display: grid; gap: 12px; }
.deep-card { display: block; min-height: 150px; padding: 24px; border: 1px solid var(--ink); text-decoration: none; background: #fff; position: relative; }
.deep-card::after { content: "↗"; position: absolute; right: 20px; top: 14px; font-size: 28px; }
.deep-card.guide { border-left: 10px solid var(--cyan); }
.deep-card.faq { border-left: 10px solid var(--lime); }
.deep-card h3 { margin: 28px 0 6px; }
.deep-card p { margin: 0; color: var(--muted); }

.faq-preview { border-top: 1px solid var(--ink); }
.faq-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini-faq { padding: 22px 0; border-top: 5px solid var(--red); }
.mini-faq h3 { font-size: 18px; }
.mini-faq p { color: var(--muted); }
.final-action { padding-block: 54px; background: var(--lime); border-block: 1px solid var(--ink); }
.final-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.final-inner h2 { margin: 0; font-size: clamp(28px, 4vw, 48px); }

.page-hero { padding-block: 62px; border-bottom: 1px solid var(--ink); }
.page-hero .container { display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: end; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); }
.page-hero p { margin: 18px 0 0; max-width: 720px; color: var(--muted); }
.page-mark { border: 1px solid var(--ink); padding: 18px; background: var(--cyan); font-weight: 900; text-transform: uppercase; }
.content-band { padding-block: 72px; }
.content-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 54px; }
.side-index { position: sticky; top: 100px; align-self: start; border-top: 5px solid var(--red); padding-top: 16px; }
.side-index a { display: block; padding: 8px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.prose { max-width: 800px; }
.prose section { padding: 0 0 58px; scroll-margin-top: 100px; }
.prose h2 { font-size: 30px; line-height: 1.25; margin: 0 0 20px; }
.prose h3 { margin: 28px 0 8px; }
.prose p { color: #3f484d; }
.step-list { display: grid; gap: 12px; padding: 0; list-style: none; counter-reset: step; }
.step-list li { counter-increment: step; padding: 18px 18px 18px 62px; border: 1px solid var(--line); background: #fff; position: relative; }
.step-list li::before { content: counter(step); position: absolute; left: 16px; top: 15px; width: 30px; height: 30px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; }
.notice { padding: 20px; border-left: 8px solid var(--lime); background: #fff; }
.inline-action { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 24px; }

.faq-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-button { min-height: 40px; padding: 8px 15px; border: 1px solid var(--ink); background: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.filter-button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-item { border: 1px solid var(--ink); background: #fff; }
.faq-item summary { min-height: 64px; padding: 18px 52px 18px 18px; font-weight: 800; cursor: pointer; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 14px; font-size: 25px; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 18px 20px; color: var(--muted); }
.faq-answer p { margin: 0; }
.faq-item[hidden] { display: none; }

.site-footer { padding-block: 34px; background: var(--ink); color: #eef1ef; text-align: center; }
.footer-inner { display: grid; justify-items: center; gap: 14px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.footer-links a { color: #fff; }
.disclaimer, .copyright { margin: 0; max-width: 900px; text-align: center; font-size: 13px; color: #aeb7ba; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 72px 0 auto 0; display: none; padding: 18px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: 0 12px 0 rgba(17,21,24,.12); }
  .site-nav.open { display: grid; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
  .site-nav .download-link { color: #fff; }
  .hero-grid { grid-template-columns: 1fr 390px; gap: 22px; }
  .feature-map { grid-template-columns: 1fr 1fr; }
  .route-grid, .page-hero .container { grid-template-columns: 1fr; }
  .page-mark { max-width: 480px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header { height: 64px; }
  .site-nav { inset-block-start: 64px; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 18px; padding-block: 28px 20px; }
  h1 { font-size: clamp(36px, 12vw, 48px); }
  .hero-copy > p { margin: 14px 0 18px; font-size: 15px; line-height: 1.65; }
  .hero-notes { margin-top: 14px; }
  .hero-atlas { height: 290px; grid-template-columns: 66px 1fr; }
  .filter-spine { gap: 4px; }
  .filter-spine span { padding: 5px 3px; font-size: 10px; }
  .screen-aperture.primary { width: 166px; height: 262px; right: 8px; top: 4px; box-shadow: 7px 7px 0 var(--ink); }
  .screen-aperture.secondary { width: 112px; height: 154px; left: 56px; bottom: 4px; box-shadow: 5px 5px 0 var(--red); }
  .atlas-index { left: 82px; top: 0; }
  section { padding-block: 58px; }
  .section-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
  .section-intro { margin: 0; }
  .feature-map, .gallery-grid, .faq-preview-grid, .faq-list { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
  .feature-number { margin-bottom: 18px; }
  .shot:nth-child(2) { transform: none; }
  .shot img { height: 360px; }
  .route-grid { gap: 30px; }
  .final-inner { align-items: flex-start; flex-direction: column; }
  .page-hero { padding-block: 42px; }
  .page-hero .container { gap: 26px; }
  .content-layout { grid-template-columns: 1fr; gap: 28px; }
  .side-index { position: static; display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .prose h2 { font-size: 26px; }
}

@media (max-width: 390px) {
  .brand { font-size: 16px; }
  .brand img { width: 34px; height: 34px; }
  .hero-copy > p { font-size: 14px; }
  .hero-actions .download-link { min-width: 132px; }
  .hero-notes span { padding: 3px 7px; }
  .hero-atlas { height: 276px; }
  .screen-aperture.primary { height: 250px; width: 158px; }
  .screen-aperture.secondary { height: 145px; width: 105px; }
}

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