:root {
  --ink: #1d2524;
  --muted: #596563;
  --paper: #fffdf9;
  --soft: #f3f1eb;
  --line: #dedbd2;
  --primary: #b63c2f;
  --teal: #0e766c;
  --white: #ffffff;
}

* { 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; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,253,249,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; }
.brand img { width: 42px; height: 42px; border-radius: 6px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.site-nav a { padding: 8px 0; color: #44504e; }
.site-nav a.active { color: var(--primary); font-weight: 700; }
.site-nav .nav-download { padding: 9px 18px; color: var(--white); background: var(--primary); border-radius: 4px; }
.menu-button { display: none; border: 0; background: transparent; font-size: 25px; color: var(--ink); }
.hero { padding: 36px 0 30px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr); align-items: center; gap: 72px; min-height: 548px; }
.eyebrow, .section-heading > span, .inner-hero > .container > span { color: var(--teal); font-weight: 800; font-size: 12px; letter-spacing: .12em; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 670px; margin: 16px 0 22px; font-size: clamp(42px, 5vw, 66px); line-height: 1.12; letter-spacing: 0; }
.hero-copy > p { max-width: 600px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border: 1px solid transparent; border-radius: 4px; font-weight: 700; }
.button.primary { color: var(--white); background: var(--primary); }
.button.secondary { border-color: #a9aeaa; background: transparent; }
.hero-index { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); color: #475350; font-size: 13px; }
.hero-index span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--teal); vertical-align: 1px; }
.hero-media { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; }
.hero-media::before { content: ""; position: absolute; inset: 32px 0 30px 70px; background: #e8eee9; border-radius: 6px; }
.media-card { position: relative; padding: 9px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(29,37,36,.12); }
.media-card img { max-width: 400px; }
.media-card.tall { width: 190px; transform: translate(-40px, -8px); z-index: 2; }
.media-card.detail { width: 230px; transform: translate(-18px, 34px); z-index: 1; }
.quick-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-grid div { display: flex; gap: 16px; align-items: center; padding: 23px 28px; border-right: 1px solid var(--line); }
.quick-grid div:last-child { border-right: 0; }
.quick-grid b { color: var(--primary); font-size: 13px; }
.section { padding: 82px 0; }
.section-heading { margin-bottom: 34px; }
.section-heading h2 { margin: 6px 0 0; font-size: 34px; line-height: 1.2; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.feature-grid article { min-height: 210px; padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid article:first-child { border-left: 1px solid var(--line); }
.feature-grid b { font-size: 17px; }
.feature-grid p { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.gallery-section { background: #edf2ef; }
.gallery-grid { display: grid; grid-template-columns: 1.25fr .72fr .8fr; gap: 22px; align-items: stretch; }
.gallery-grid figure { margin: 0; min-width: 0; padding: 18px; background: var(--white); border: 1px solid #d6ded9; display: flex; flex-direction: column; justify-content: space-between; }
.gallery-grid img { max-width: 400px; max-height: 420px; width: auto; margin: auto; object-fit: contain; }
.gallery-grid .wide-shot img { width: 100%; max-height: none; }
.gallery-grid figcaption { margin-top: 16px; color: var(--muted); font-size: 13px; }
.route-section { padding-top: 70px; }
.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.route-grid > div { padding: 42px; background: var(--paper); }
.route-no { color: var(--primary); font-size: 12px; font-weight: 800; }
.route-grid h2 { margin: 10px 0; font-size: 30px; }
.route-copy { color: var(--muted); }
.text-link { display: inline-block; margin-top: 22px; color: var(--teal); font-weight: 700; }
.download-band { padding: 42px 0; color: var(--white); background: var(--primary); }
.download-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.download-band span { font-size: 12px; font-weight: 800; }
.download-band h2 { margin: 3px 0 0; font-size: 30px; }
.button.light { background: var(--white); color: var(--primary); }
footer { padding: 30px 0; text-align: center; color: #66706e; background: #f0eee8; font-size: 13px; }
footer p { margin-bottom: 6px; }
.inner-main { min-height: 70vh; }
.inner-hero { padding: 78px 0 60px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #f5f2ec 0 64%, #e4ede9 64%); }
.inner-hero h1 { max-width: 800px; margin: 12px 0 16px; font-size: 46px; line-height: 1.2; }
.inner-lead { max-width: 760px; color: var(--muted); font-size: 17px; }
.article-section, .faq-section { padding: 66px 0 86px; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 68px; justify-content: center; align-items: start; }
.toc { position: sticky; top: 102px; display: flex; flex-direction: column; gap: 10px; padding: 20px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); font-size: 14px; }
.toc b { margin-bottom: 6px; }
.toc a { color: var(--muted); }
.prose section { padding: 0 0 34px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.prose h2 { margin: 7px 0 16px; font-size: 28px; }
.prose p { color: #414b49; }
.prose a { color: var(--primary); text-decoration: underline; }
.step-tag { color: var(--teal); font-size: 12px; font-weight: 800; }
code { padding: 1px 5px; background: var(--soft); border-radius: 3px; }
.article-cta, .faq-bottom { padding: 34px; background: #e8efeb; border-left: 4px solid var(--teal); }
.article-cta h2, .faq-bottom h2 { margin-bottom: 8px; }
.article-cta .button, .faq-bottom .button { margin-top: 18px; color: var(--white); text-decoration: none; }
.faq-hero { background: linear-gradient(90deg, #f4f0e8 0 57%, #efe1dd 57%); }
.faq-tools { display: flex; justify-content: flex-end; gap: 20px; margin-bottom: 18px; }
.faq-tools button { border: 1px solid var(--line); background: var(--white); padding: 9px 14px; color: var(--ink); cursor: pointer; }
.faq-tools a { padding: 8px 0; color: var(--teal); font-weight: 700; }
.faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 20px 42px 20px 4px; position: relative; cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 16px; color: var(--primary); font-size: 24px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 40px 20px 4px; margin: 0; color: var(--muted); }
.faq-bottom { max-width: 900px; margin: 40px auto 0; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 18px 20px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px; }
  .hero { padding-top: 34px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; min-height: 0; }
  .hero h1 { font-size: 42px; }
  .hero-media { min-height: 342px; order: 2; transform: scale(.78); transform-origin: center top; margin-bottom: -70px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-grid div:last-child { border-bottom: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .wide-shot { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; gap: 22px; }
  .toc { position: static; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 64px; }
  .site-nav { top: 64px; }
  .hero { padding: 26px 0 24px; }
  .hero h1 { margin-top: 10px; font-size: 32px; }
  .hero-copy > p { font-size: 15px; line-height: 1.65; }
  .hero-actions { margin: 18px 0; }
  .hero-index { display: none; }
  .hero-value { display: block; }
  .hero-media { height: 180px; min-height: 0; transform: scale(.46); margin: 80px -110px -108px; }
  .media-card.tall { transform: translate(-20px, -8px); }
  .media-card.detail { transform: translate(-6px, 30px); }
  .quick-grid div { padding: 14px 18px; }
  .section { padding: 54px 0; }
  .section-heading h2 { font-size: 28px; }
  .feature-grid, .gallery-grid, .route-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; border-left: 1px solid var(--line); }
  .gallery-grid .wide-shot { grid-column: auto; }
  .route-grid > div { padding: 28px; }
  .download-band .container { align-items: flex-start; flex-direction: column; }
  .download-band h2 { font-size: 25px; }
  .inner-hero { padding: 52px 0 42px; background: #f4f0e8; }
  .inner-hero h1 { font-size: 34px; }
  .article-section, .faq-section { padding: 44px 0 60px; }
  .article-cta, .faq-bottom { padding: 26px; }
}
