:root {
  --ink: #162338;
  --muted: #5e6a78;
  --paper: #f8fbfa;
  --white: #ffffff;
  --line: #cbd8d4;
  --green: #087f67;
  --green-dark: #075f50;
  --magenta: #d92f72;
  --sky: #49a8cf;
  --navy: #14233b;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
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; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container, .header-inner, .hero-inner, .shelf-edge-inner { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(248, 251, 250, .96); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 800; white-space: nowrap; }
.brand img { width: 42px; height: 42px; border: 1px solid #0b6f5c; border-radius: 6px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.site-nav a { position: relative; padding: 9px 0; }
.site-nav a:not(.nav-download)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--green); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a.is-current::after { right: 0; }
.site-nav .nav-download { padding: 9px 18px; border-radius: 5px; color: #fff; background: var(--green); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); padding: 10px; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.hero { background: var(--paper); overflow: hidden; }
.hero-inner { min-height: 650px; padding: 40px 0 30px; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(410px, .96fr); align-items: center; gap: 64px; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.eyebrow span { border-left: 3px solid var(--magenta); padding: 2px 10px; background: #edf4f2; font-size: 12px; font-weight: 800; color: var(--green-dark); }
.hero h1 { max-width: 640px; margin: 0; font-size: clamp(44px, 4.5vw, 64px); line-height: 1.12; letter-spacing: 0; }
.hero-copy > p { max-width: 610px; margin: 22px 0 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.button { min-height: 46px; padding: 10px 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; font-weight: 800; }
.button-primary { color: #fff; background: var(--green); box-shadow: 5px 5px 0 #8ed0c0; }
.button-primary:hover { background: var(--green-dark); }
.text-link { color: var(--green-dark); font-weight: 800; }
.text-link span { display: inline-block; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0 0; max-width: 580px; border-top: 1px solid var(--line); }
.hero-facts div { padding: 16px 18px 0 0; }
.hero-facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-facts dt { color: var(--muted); font-size: 12px; }
.hero-facts dd { margin: 2px 0 0; font-weight: 800; }
.hero-media { min-height: 570px; position: relative; display: flex; align-items: center; justify-content: center; padding-right: 42px; }
.shelf-main { position: relative; width: 330px; padding: 30px 18px 18px; border: 1px solid #9eb3ad; background: #edf4f2; box-shadow: 18px 18px 0 #badbd2; }
.shelf-main::before { content: ""; position: absolute; inset: 8px -34px auto auto; width: 33px; height: 96px; border-radius: 0 5px 5px 0; background: var(--magenta); }
.shelf-main img { width: 276px; max-width: 400px; height: auto; margin: auto; border: 6px solid var(--white); box-shadow: 0 12px 28px rgba(20,35,59,.18); }
.shelf-tab { position: absolute; left: -30px; top: 30px; writing-mode: vertical-rl; padding: 12px 6px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; }
.shelf-notes { position: absolute; right: 0; top: 100px; display: grid; gap: 8px; }
.shelf-notes span { width: 76px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 0 5px 5px 0; background: #fff; color: var(--ink); font-size: 12px; font-weight: 800; }
.shelf-notes span:nth-child(2) { border-left-color: var(--sky); }
.shelf-notes span:nth-child(3) { border-left-color: var(--magenta); }
.shelf-edge { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #edf4f2; }
.shelf-edge-inner { height: 46px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 800; color: var(--green-dark); }

.section { padding: 88px 0; }
.section-heading { margin-bottom: 36px; }
.section-kicker { display: block; margin-bottom: 7px; color: var(--green); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.section-heading h2, .download-band h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.2; letter-spacing: 0; }
.split-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
.section-note { color: var(--muted); max-width: 520px; justify-self: end; }
.library-section { background: var(--white); }
.library-grid { display: grid; grid-template-columns: 1.25fr .75fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.library-item { min-height: 230px; position: relative; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbfdfc; }
.library-item-wide { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; background: var(--navy); color: #fff; }
.library-item h3 { margin: 10px 0; font-size: 25px; }
.library-item p { margin: 0; color: var(--muted); }
.library-item-wide p { max-width: 540px; color: #cdd7e4; }
.item-index { position: absolute; top: 26px; right: 28px; color: var(--magenta); font-size: 31px; font-weight: 900; }
.item-tag { display: inline-block; align-self: flex-start; margin-top: 24px; padding: 4px 10px; border-left: 3px solid var(--sky); background: #edf4f2; color: var(--green-dark); font-size: 12px; font-weight: 800; }
.library-item-wide .item-tag { background: rgba(255,255,255,.1); color: #fff; }

.gallery-section { background: #eaf2f0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.preview-card { margin: 0; padding: 16px; border: 1px solid #afc3bd; border-radius: 5px; background: var(--white); }
.preview-mat { min-height: 410px; padding: 22px; display: flex; align-items: center; justify-content: center; background: #dfe9e6; overflow: hidden; }
.preview-mat img { width: auto; max-width: 400px; height: 390px; object-fit: contain; box-shadow: 0 10px 24px rgba(20,35,59,.16); }
.preview-card figcaption { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 15px 3px 2px; }
.preview-card figcaption span { color: var(--green); font-size: 12px; font-weight: 800; }
.preview-card figcaption strong { text-align: right; }

.features-section { background: var(--white); }
.feature-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 88px; align-items: start; }
.sticky-heading { position: sticky; top: 108px; }
.sticky-heading .text-link { display: inline-block; margin-top: 22px; }
.feature-list { border-top: 1px solid var(--line); }
.feature-list article { display: grid; grid-template-columns: 82px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.feature-number { color: var(--magenta); font-size: 13px; font-weight: 900; }
.feature-list h3 { margin: 0 0 6px; font-size: 22px; }
.feature-list p { margin: 0; color: var(--muted); }

.route-section { background: var(--paper); }
.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.route-card { min-height: 270px; padding: 34px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.route-card:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 #badbd2; }
.route-card > span { color: var(--green); font-size: 11px; font-weight: 900; }
.route-card h3 { margin: 32px 0 10px; font-size: 28px; }
.route-card p { color: var(--muted); }
.route-card strong { display: block; margin-top: 28px; color: var(--green-dark); }
.route-card-dark { color: #fff; background: var(--navy); }
.route-card-dark p { color: #cdd7e4; }
.route-card-dark strong, .route-card-dark > span { color: #7edbc2; }
.download-band { padding: 58px 0; color: #fff; background: var(--green-dark); }
.download-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.download-inner p, .download-note { margin: 10px 0 0; color: #cde7df; }
.download-band .section-kicker { color: #8ee8cf; }
.button-light { color: var(--green-dark); background: #fff; white-space: nowrap; }

.site-footer { padding: 42px 0 24px; color: #dce4ef; background: #0f1c30; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand img { border-color: #557083; }
.footer-inner nav { display: flex; gap: 24px; font-size: 13px; }
.footer-legal { padding-top: 25px; margin-top: 25px; border-top: 1px solid #2d3c51; text-align: center; color: #9ba8b9; font-size: 12px; }
.footer-legal p { margin: 4px 0; text-align: center; }

.inner-hero { padding: 72px 0; border-bottom: 1px solid var(--line); background: #eaf2f0; }
.inner-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 80px; }
.inner-hero h1 { margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.18; }
.inner-hero p { max-width: 700px; margin: 18px 0 26px; color: var(--muted); font-size: 17px; }
.guide-index { padding: 25px; border-left: 5px solid var(--magenta); background: var(--white); box-shadow: 10px 10px 0 #badbd2; }
.guide-index > span, .article-aside > span, .faq-summary > span { color: var(--green); font-size: 11px; font-weight: 900; }
.guide-index ol { margin: 18px 0 0; padding: 0; list-style-position: inside; }
.guide-index li { padding: 9px 0; border-top: 1px solid var(--line); font-weight: 800; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 74px; align-items: start; }
.article-aside { position: sticky; top: 108px; display: grid; border-top: 1px solid var(--line); }
.article-aside > span { padding: 16px 0; }
.article-aside a { padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 700; }
.article-aside a:hover { color: var(--green); }
.article-content { min-width: 0; }
.article-content section { padding: 0 0 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.article-content section:last-child { margin-bottom: 0; border-bottom: 0; }
.chapter-number { color: var(--magenta); font-size: 14px; font-weight: 900; }
.article-content h2 { margin: 5px 0 20px; font-size: 34px; line-height: 1.3; }
.article-content p { color: #455364; }
.article-content a { color: var(--green-dark); font-weight: 800; }
code { padding: 2px 5px; border-radius: 3px; color: #7f1741; background: #f9e7ee; }
.notice { margin-top: 25px; padding: 20px 24px; border-left: 4px solid var(--sky); background: #edf5f8; }
.notice p { margin: 5px 0 0; }
.article-next { padding: 28px; border: 1px solid var(--line); background: var(--white); }
.article-next span { color: var(--magenta); font-size: 12px; font-weight: 900; }
.article-next h3 { margin: 5px 0; font-size: 24px; }

.faq-hero { background: var(--navy); color: #fff; }
.faq-hero-inner { text-align: center; }
.faq-hero p { margin-inline: auto; color: #c7d2df; }
.faq-filter { margin-top: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.faq-filter button { padding: 8px 15px; border: 1px solid #637388; border-radius: 4px; color: #dbe6f2; background: transparent; cursor: pointer; }
.faq-filter button.is-active { border-color: #8ee8cf; color: var(--navy); background: #8ee8cf; }
.faq-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 70px; align-items: start; }
.faq-summary { position: sticky; top: 108px; padding: 28px; border: 1px solid var(--line); background: var(--white); }
.faq-summary h2 { margin: 6px 0 18px; font-size: 27px; line-height: 1.3; }
.faq-summary ol { padding-left: 20px; color: var(--muted); }
.faq-summary li { margin: 10px 0; }
.faq-summary .text-link { display: inline-block; margin-top: 15px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item[hidden] { display: none; }
.faq-item > button { width: 100%; padding: 22px 4px; border: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--ink); background: transparent; text-align: left; cursor: pointer; font-size: 18px; font-weight: 800; }
.faq-item small { display: block; margin-bottom: 3px; color: var(--green); font-size: 11px; }
.faq-item b { width: 30px; height: 30px; flex: 0 0 30px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--green); font-size: 20px; line-height: 1; transition: transform .2s ease; }
.faq-item.is-open b { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 46px 24px 4px; color: var(--muted); }
.faq-answer p { margin: 0; }
.faq-item.is-open .faq-answer { display: block; }

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr 390px; gap: 34px; }
  .hero h1 { font-size: 50px; }
  .hero-media { min-height: 540px; padding-right: 28px; }
  .shelf-main { width: 295px; }
  .shelf-main img { width: 242px; }
  .feature-layout { gap: 50px; }
  .faq-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 820px) {
  .container, .header-inner, .hero-inner, .shelf-edge-inner { width: min(100% - 32px, var(--max)); }
  .header-inner { height: 64px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 64px 0 auto 0; max-height: calc(100vh - 64px); overflow: auto; padding: 22px 20px 28px; border-bottom: 1px solid var(--line); display: none; align-items: stretch; gap: 4px; flex-direction: column; background: var(--paper); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav .nav-download { margin-top: 8px; text-align: center; }
  .hero-inner { min-height: auto; padding: 32px 0 24px; grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { order: 1; }
  .hero-media { order: 2; min-height: 265px; padding: 0 24px 0 0; }
  .hero h1 { max-width: 100%; font-size: 39px; line-height: 1.15; }
  .hero-copy > p { margin-top: 13px; font-size: 14px; line-height: 1.65; }
  .hero-actions { margin-top: 16px; }
  .button { min-height: 42px; padding: 8px 20px; }
  .hero-facts { display: none; }
  .shelf-main { width: 170px; padding: 19px 10px 10px; box-shadow: 10px 10px 0 #badbd2; }
  .shelf-main img { width: 145px; border-width: 4px; }
  .shelf-main::before { inset: 8px -22px auto auto; width: 21px; height: 55px; }
  .shelf-tab { left: -24px; top: 20px; padding: 8px 4px; font-size: 8px; }
  .shelf-notes { right: calc(50% - 130px); top: 46px; gap: 5px; }
  .shelf-notes span { width: 58px; padding: 4px 7px; font-size: 10px; }
  .shelf-edge-inner { height: 38px; }
  .shelf-edge-inner span:nth-child(2) { display: none; }
  .section { padding: 64px 0; }
  .split-heading, .feature-layout, .inner-hero-grid, .article-layout, .faq-layout { grid-template-columns: 1fr; }
  .split-heading { gap: 15px; }
  .section-note { justify-self: start; }
  .library-grid, .gallery-grid, .route-grid { grid-template-columns: 1fr; }
  .library-item-wide { grid-row: auto; min-height: 330px; }
  .gallery-grid { gap: 14px; }
  .preview-mat { min-height: 360px; }
  .preview-mat img { height: 340px; }
  .sticky-heading, .article-aside, .faq-summary { position: static; }
  .article-aside { display: none; }
  .inner-hero { padding: 54px 0; }
  .guide-index { display: none; }
  .inner-hero h1 { font-size: 42px; }
  .download-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .brand { font-size: 16px; }
  .brand img { width: 38px; height: 38px; }
  .hero-inner { padding-top: 24px; gap: 12px; }
  .eyebrow { margin-bottom: 10px; }
  .hero h1 { max-width: 100%; font-size: 35px; }
  .hero-copy > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .hero-actions { gap: 14px; }
  .hero-actions .text-link { font-size: 13px; }
  .hero-media { min-height: 250px; }
  .shelf-main { width: 158px; }
  .shelf-main img { width: 133px; }
  .shelf-edge-inner { font-size: 9px; }
  .section-heading h2, .download-band h2 { font-size: 34px; }
  .library-item { padding: 28px 24px; }
  .library-item-wide { min-height: 300px; }
  .preview-card { padding: 10px; }
  .preview-mat { min-height: 330px; padding: 14px; }
  .preview-mat img { height: 310px; }
  .preview-card figcaption { align-items: flex-start; flex-direction: column; gap: 2px; }
  .preview-card figcaption strong { text-align: left; }
  .feature-list article { grid-template-columns: 45px 1fr; }
  .route-card { min-height: 250px; padding: 28px 24px; }
  .download-band { padding: 46px 0; }
  .footer-inner nav { flex-wrap: wrap; gap: 12px 20px; }
  .inner-hero h1 { font-size: 38px; }
  .article-content h2 { font-size: 29px; }
  .faq-filter { justify-content: flex-start; }
  .faq-filter button { padding: 7px 11px; font-size: 13px; }
  .faq-item > button { font-size: 16px; }
  .faq-answer { padding-right: 4px; }
}
