:root {
  --ink: #17191b;
  --muted: #5f686d;
  --paper: #ffffff;
  --surface: #f2f5f6;
  --line: #cfd6d8;
  --red: #ef3e36;
  --cyan: #0a9fa2;
  --lime: #b5d334;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
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; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.header-inner, .hero-inner, .section-inner, .footer-inner { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.narrow-inner { width: min(calc(100% - 48px), 900px); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.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-size: 20px; font-weight: 850; line-height: 1; }
.brand img { width: 42px; height: 42px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.site-nav > a:not(.nav-download) { position: relative; padding: 24px 0; }
.site-nav > a:not(.nav-download)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 17px; height: 3px; background: var(--red); transition: right .2s ease; }
.site-nav > a:hover::after, .site-nav > a.active::after { right: 0; }
.nav-download, .primary-button { display: inline-flex; min-width: 128px; min-height: 46px; align-items: center; justify-content: center; padding: 11px 22px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font-weight: 800; line-height: 1; box-shadow: 5px 5px 0 var(--lime); transition: transform .2s ease, box-shadow .2s ease; }
.nav-download { min-width: 104px; min-height: 40px; box-shadow: 4px 4px 0 var(--cyan); }
.nav-download:hover, .primary-button:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--lime); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--ink); background: #fff; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s ease; }

.hero { border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.hero-inner { min-height: 648px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); align-items: center; gap: 74px; padding-block: 44px 38px; }
.eyebrow, .section-kicker { display: block; margin-bottom: 14px; color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.hero h1 { max-width: 650px; margin: 0 0 22px; font-size: clamp(48px, 5.1vw, 76px); line-height: 1.04; letter-spacing: 0; }
.hero h1 span { display: block; }
.hero-copy > p { max-width: 630px; margin: 0; color: #3f484c; font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; border-bottom: 2px solid var(--red); }
.text-link span { color: var(--red); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.hero-facts div { padding: 15px 14px 0 0; }
.hero-facts dt { color: var(--muted); font-size: 12px; }
.hero-facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 800; }
.hero-media { min-height: 520px; position: relative; display: flex; align-items: center; justify-content: center; padding: 0 54px 0 0; }
.arch-frame { width: min(100%, 326px); height: 500px; position: relative; display: flex; align-items: center; justify-content: center; padding: 36px 30px 24px; border: 2px solid var(--ink); border-radius: 158px 158px 8px 8px; background: #fff; box-shadow: 14px 14px 0 var(--cyan); overflow: hidden; }
.arch-frame::before { content: ""; position: absolute; inset: 17px; border: 1px solid var(--line); border-radius: 145px 145px 4px 4px; pointer-events: none; }
.arch-frame img { width: auto; max-width: 100%; height: 420px; object-fit: contain; position: relative; z-index: 1; }
.frame-index { position: absolute; top: 28px; left: 50%; z-index: 2; transform: translateX(-50%); white-space: nowrap; padding: 2px 7px; background: #fff; color: var(--muted); font-size: 10px; font-weight: 900; }
.bookmark-ribbon { position: absolute; right: 0; bottom: 34px; width: 132px; margin: 0; padding: 0; list-style: none; border: 2px solid var(--ink); background: #fff; }
.bookmark-ribbon li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 7px 10px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 800; }
.bookmark-ribbon li:last-child { border-bottom: 0; }
.bookmark-ribbon span { color: var(--red); font-size: 11px; }

.route-section, .showcase-section, .features-section, .deep-links-section, .faq-preview { padding: 92px 0; }
.route-section { background: var(--ink); color: #fff; }
.route-section .section-kicker { color: var(--lime); }
.route-layout > h2 { max-width: 760px; margin: 0 0 48px; font-size: clamp(34px, 4.3vw, 58px); line-height: 1.14; }
.route-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #4f5559; }
.route-steps article { padding: 28px 32px 0 0; border-right: 1px solid #4f5559; }
.route-steps article + article { padding-left: 32px; }
.route-steps article:last-child { border-right: 0; }
.route-steps article > span { color: var(--red); font-size: 13px; font-weight: 900; }
.route-steps h3 { margin: 10px 0 8px; font-size: 22px; }
.route-steps p { margin: 0; color: #cbd0d2; font-size: 15px; }

.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 42px; }
.section-heading-row h2, .features-section h2, .deep-links-section h2, .faq-preview h2 { margin: 0; font-size: clamp(34px, 4.3vw, 58px); line-height: 1.1; }
.section-note { max-width: 340px; margin: 0; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: stretch; }
.gallery-grid figure { margin: 0; display: grid; grid-template-columns: minmax(240px, .8fr) minmax(180px, .55fr); gap: 26px; align-items: center; min-height: 590px; padding: 34px; border: 1px solid var(--line); background: var(--surface); }
.gallery-grid .gallery-secondary { grid-template-columns: 1fr; align-content: center; background: #fff; border-top: 7px solid var(--red); }
.screen-shell { min-height: 500px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--ink); background: #202426; box-shadow: 9px 9px 0 var(--lime); }
.screen-shell img { width: auto; max-width: 400px; max-height: 520px; object-fit: contain; }
.gallery-secondary .screen-shell { min-height: 420px; box-shadow: 9px 9px 0 var(--cyan); }
.gallery-secondary .screen-shell img { max-height: 400px; }
.gallery-grid figcaption > span { color: var(--red); font-size: 13px; font-weight: 900; }
.gallery-grid figcaption p { margin: 10px 0 0; color: var(--muted); }

.features-section { border-block: 1px solid var(--line); }
.feature-board { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border: 1px solid var(--ink); }
.feature-board article { min-height: 300px; padding: 30px 26px; border-right: 1px solid var(--ink); }
.feature-board article:last-child { border-right: 0; }
.feature-no { display: inline-grid; width: 38px; height: 38px; place-items: center; background: var(--ink); color: #fff; font-size: 12px; font-weight: 900; }
.feature-board article:nth-child(2) .feature-no { background: var(--red); }
.feature-board article:nth-child(3) .feature-no { background: var(--cyan); }
.feature-board article:nth-child(4) .feature-no { background: var(--lime); color: var(--ink); }
.feature-board h3 { margin: 52px 0 12px; font-size: 21px; line-height: 1.35; }
.feature-board p { margin: 0; color: var(--muted); font-size: 15px; }

.deep-links-section { background: var(--surface); }
.deep-link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.deep-link-grid a { position: relative; min-height: 260px; padding: 30px; border: 2px solid var(--ink); background: #fff; transition: transform .2s ease; }
.deep-link-grid a:hover { transform: translateY(-4px); }
.deep-link-grid a:first-child { box-shadow: 10px 10px 0 var(--red); }
.deep-link-grid a:last-child { box-shadow: 10px 10px 0 var(--cyan); }
.deep-link-grid a > span { font-size: 12px; font-weight: 900; color: var(--muted); }
.deep-link-grid h3 { max-width: 450px; margin: 52px 0 10px; font-size: 27px; line-height: 1.3; }
.deep-link-grid p { max-width: 500px; margin: 0; color: var(--muted); }
.deep-link-grid b { position: absolute; right: 28px; bottom: 22px; font-size: 32px; color: var(--red); }

.accordion-list { max-width: 900px; margin-top: 38px; border-top: 2px solid var(--ink); }
.accordion-item { border-bottom: 1px solid var(--ink); }
.accordion-item button { width: 100%; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font-size: 18px; font-weight: 800; cursor: pointer; }
.accordion-item button b { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border: 1px solid var(--ink); font-size: 20px; line-height: 1; }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.accordion-panel p { overflow: hidden; margin: 0; color: var(--muted); }
.accordion-item.open .accordion-panel { grid-template-rows: 1fr; }
.accordion-item.open .accordion-panel p { padding: 0 48px 22px 0; }
.faq-more { margin-top: 30px; }

.final-action { padding: 60px 0; background: var(--red); color: #fff; }
.final-action-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-action .section-kicker { color: #fff; }
.final-action h2 { margin: 0; font-size: clamp(31px, 4vw, 50px); line-height: 1.15; }
.final-action .action-note { max-width: 650px; margin-top: 12px; }
.primary-button.inverse { flex: 0 0 auto; background: #fff; color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }

.site-footer { padding: 56px 0 34px; background: var(--ink); color: #fff; }
.footer-inner { text-align: center; }
.footer-brand { justify-content: center; }
.footer-inner nav { display: flex; justify-content: center; gap: 26px; margin-top: 28px; font-size: 14px; }
.disclaimer { max-width: 760px; margin: 30px auto 0; color: #bdc4c7; font-size: 13px; text-align: center; }
.copyright { margin: 9px 0 0; color: #858e92; font-size: 12px; text-align: center; }

.inner-hero { padding: 94px 0 80px; background: var(--surface); border-bottom: 1px solid var(--line); }
.inner-hero h1 { max-width: 800px; margin: 0 0 22px; font-size: clamp(44px, 6vw, 72px); line-height: 1.08; }
.inner-hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: 18px; }
.guide-content, .faq-content { padding: 80px 0 100px; }
.guide-layout { display: grid; grid-template-columns: 210px minmax(0, 760px); justify-content: space-between; gap: 80px; }
.guide-index { position: sticky; top: 100px; align-self: start; display: grid; border-top: 2px solid var(--ink); }
.guide-index > span { padding: 16px 0 11px; color: var(--cyan); font-size: 11px; font-weight: 900; }
.guide-index a { padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.guide-articles article { padding: 0 0 68px; scroll-margin-top: 100px; }
.guide-articles article + article { padding-top: 64px; border-top: 1px solid var(--line); }
.chapter-no { display: inline-block; margin-bottom: 12px; color: var(--red); font-size: 13px; font-weight: 900; }
.guide-articles h2 { margin: 0 0 20px; font-size: 34px; line-height: 1.25; }
.guide-articles p { margin: 0 0 18px; color: #424b4f; font-size: 17px; }
.note-box { display: grid; grid-template-columns: 84px 1fr; gap: 16px; margin-top: 26px; padding: 20px; border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--lime); }
.note-box b { color: var(--red); }
.chapter-links { display: flex; gap: 16px; margin-top: 30px; }
.chapter-links a { flex: 1; padding: 18px; border: 1px solid var(--ink); font-weight: 800; }
.chapter-links span { float: right; color: var(--red); }

.faq-hero { padding-bottom: 56px; }
.faq-hero h1 span { display: block; }
.faq-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.faq-filters button { min-width: 78px; min-height: 40px; padding: 8px 16px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-weight: 800; cursor: pointer; }
.faq-filters button.active { background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--cyan); }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); border-left: 1px solid var(--line); }
.faq-card { min-height: 260px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-card[hidden] { display: none; }
.faq-card > span { color: var(--cyan); font-size: 12px; font-weight: 900; }
.faq-card h2 { margin: 28px 0 12px; font-size: 21px; line-height: 1.4; }
.faq-card p { margin: 0; color: var(--muted); font-size: 15px; }
.faq-empty { padding: 40px 0; text-align: center; color: var(--muted); }
.faq-help { margin-top: 64px; padding: 34px; border: 2px solid var(--ink); box-shadow: 9px 9px 0 var(--lime); }
.faq-help h2 { margin: 0; font-size: 30px; }
.faq-help p { max-width: 680px; margin: 10px 0 18px; color: var(--muted); }

@media (max-width: 980px) {
  .site-nav { gap: 18px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 34px; }
  .hero-media { padding-right: 28px; }
  .bookmark-ribbon { width: 116px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gallery-secondary { grid-template-columns: minmax(220px,.55fr) 1fr; }
  .feature-board { grid-template-columns: 1fr 1fr; }
  .feature-board article { border-bottom: 1px solid var(--ink); }
  .feature-board article:nth-child(2) { border-right: 0; }
  .feature-board article:nth-child(3), .feature-board article:nth-child(4) { border-bottom: 0; }
  .guide-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 42px; }
}

@media (max-width: 760px) {
  .header-inner, .hero-inner, .section-inner, .footer-inner, .narrow-inner { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 66px; }
  .brand img { width: 38px; height: 38px; }
  .menu-toggle { display: block; z-index: 32; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 66px 0 auto; display: grid; gap: 0; padding: 12px 16px 20px; background: #fff; border-bottom: 2px solid var(--ink); transform: translateY(-130%); visibility: hidden; transition: transform .22s ease, visibility .22s ease; }
  .site-nav.open { transform: translateY(0); visibility: visible; }
  .site-nav > a:not(.nav-download) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .site-nav > a:not(.nav-download)::after { display: none; }
  .nav-download { margin-top: 14px; }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 20px; padding-block: 36px 30px; }
  .hero-copy { order: 1; }
  .hero-media { order: 2; min-height: 300px; padding: 0 32px 0 0; }
  .hero h1 { margin-bottom: 14px; font-size: clamp(42px, 13vw, 56px); }
  .hero-copy > p { font-size: 15px; line-height: 1.7; }
  .hero-actions { gap: 18px; margin-top: 20px; }
  .hero-actions .text-link { font-size: 14px; }
  .hero-facts { display: none; }
  .arch-frame { width: 224px; height: 292px; padding: 30px 20px 16px; border-radius: 110px 110px 7px 7px; box-shadow: 9px 9px 0 var(--cyan); }
  .arch-frame::before { inset: 11px; border-radius: 100px 100px 4px 4px; }
  .arch-frame img { height: 244px; }
  .frame-index { top: 18px; }
  .bookmark-ribbon { right: 2px; bottom: 18px; width: 100px; }
  .bookmark-ribbon li { min-height: 36px; padding: 4px 7px; font-size: 11px; }
  .route-section, .showcase-section, .features-section, .deep-links-section, .faq-preview { padding: 64px 0; }
  .route-section { padding-top: 32px; }
  .route-layout > h2 { margin-bottom: 34px; font-size: 36px; }
  .route-steps { grid-template-columns: 1fr; }
  .route-steps article, .route-steps article + article { padding: 22px 0; border-right: 0; border-bottom: 1px solid #4f5559; }
  .route-steps article:last-child { border-bottom: 0; }
  .section-heading-row { display: block; margin-bottom: 28px; }
  .section-note { margin-top: 16px; }
  .gallery-grid figure, .gallery-grid .gallery-secondary { grid-template-columns: 1fr; min-height: 0; padding: 22px; }
  .screen-shell, .gallery-secondary .screen-shell { min-height: 360px; }
  .screen-shell img, .gallery-secondary .screen-shell img { max-width: 100%; max-height: 340px; }
  .feature-board { grid-template-columns: 1fr; }
  .feature-board article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--ink) !important; }
  .feature-board article:last-child { border-bottom: 0 !important; }
  .feature-board h3 { margin-top: 30px; }
  .deep-link-grid { grid-template-columns: 1fr; }
  .deep-link-grid a { min-height: 230px; }
  .final-action-inner { align-items: flex-start; flex-direction: column; }
  .inner-hero { padding: 62px 0 54px; }
  .inner-hero h1 { font-size: 43px; }
  .inner-hero p { font-size: 16px; }
  .guide-content, .faq-content { padding: 58px 0 76px; }
  .guide-layout { grid-template-columns: 1fr; gap: 46px; }
  .guide-index { position: static; grid-template-columns: 1fr 1fr; }
  .guide-index > span { grid-column: 1 / -1; }
  .guide-index a { border-right: 1px solid var(--line); }
  .guide-articles h2 { font-size: 29px; }
  .chapter-links { flex-direction: column; }
  .faq-list { grid-template-columns: 1fr; }
  .faq-card { min-height: 0; }
}

@media (max-width: 420px) {
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero .primary-button { width: 100%; }
  .hero h1 { font-size: 42px; }
  .route-layout > h2, .section-heading-row h2, .features-section h2, .deep-links-section h2, .faq-preview h2 { font-size: 33px; }
  .guide-index { grid-template-columns: 1fr; }
  .guide-index > span { grid-column: auto; }
  .note-box { grid-template-columns: 1fr; }
  .faq-filters button { flex: 1 1 calc(33.333% - 10px); min-width: 0; }
}
