:root {
  --ink: #111318;
  --paper: #f7f8fa;
  --white: #ffffff;
  --muted: #626773;
  --line: #cfd3da;
  --blue: #0b6cff;
  --pink: #e63c9b;
  --yellow: #f7d43a;
  --green: #0a8f7a;
  --container: 1180px;
}

* { 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; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.16; letter-spacing: 0; }

.site-header { position: sticky; top: 0; z-index: 50; width: 100%; background: rgba(247,248,250,.96); border-bottom: 1px solid var(--ink); }
.header-inner { width: min(var(--container), calc(100% - 48px)); min-height: 72px; margin: 0 auto; 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: 21px; }
.brand img { width: 40px; height: 40px; border-radius: 7px; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.main-nav a { position: relative; padding: 22px 0; }
.main-nav a:not(.nav-download)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 17px; height: 3px; background: var(--blue); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav .nav-download { padding: 10px 18px; color: var(--white); background: var(--ink); border: 1px solid var(--ink); }
.main-nav .nav-download:hover { color: var(--ink); background: var(--yellow); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--ink); background: var(--white); cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.section-inner, .hero-inner { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.hero { overflow: hidden; background: var(--white); border-bottom: 1px solid var(--ink); }
.hero-inner { min-height: 554px; padding: 50px 0 42px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr); align-items: center; gap: 54px; }
.edition-tag, .section-no { display: inline-block; margin-bottom: 17px; font-size: 12px; font-weight: 850; letter-spacing: 0; color: var(--blue); }
.hero h1 { max-width: 650px; margin-bottom: 20px; font-size: clamp(46px, 4.5vw, 64px); font-weight: 900; }
.hero-copy > p { max-width: 620px; margin-bottom: 27px; color: #40444d; font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; }
.button { min-height: 46px; padding: 10px 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); font-size: 15px; font-weight: 800; transition: transform .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 6px 6px 0 var(--ink); }
.button-primary:hover { color: var(--ink); background: var(--yellow); }
.button-light { background: var(--white); color: var(--ink); box-shadow: 5px 5px 0 var(--yellow); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; border-bottom: 2px solid var(--ink); }
.text-link span { color: var(--pink); }
.signal-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.signal-list li { padding: 7px 11px; background: var(--paper); border: 1px solid var(--line); font-size: 12px; font-weight: 750; }
.signal-list span { margin-right: 7px; color: var(--pink); }

.hero-media { position: relative; height: 425px; display: flex; align-items: center; justify-content: center; }
.screen-window { position: absolute; padding: 28px 8px 8px; overflow: hidden; background: var(--white); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.screen-window img { width: 100%; max-width: 400px; height: 100%; object-fit: cover; object-position: top; }
.screen-caption { position: absolute; top: 4px; left: 8px; font-size: 10px; font-weight: 850; }
.screen-window-back { width: 184px; height: 326px; left: 8%; top: 52px; transform: rotate(-3deg); }
.screen-window-front { width: 222px; height: 395px; right: 8%; top: 9px; transform: rotate(2deg); z-index: 2; }
.media-index { position: absolute; right: 1%; bottom: 4px; padding: 4px 9px; color: var(--white); background: var(--pink); font-size: 11px; font-weight: 850; z-index: 3; }
.category-marquee { width: 100%; overflow: hidden; color: var(--white); background: var(--ink); border-top: 1px solid var(--ink); }
.marquee-track { min-height: 47px; display: flex; align-items: center; justify-content: space-around; gap: 22px; padding: 0 24px; white-space: nowrap; font-size: 13px; font-weight: 800; }
.marquee-track i { width: 9px; height: 9px; background: var(--yellow); transform: rotate(45deg); }

.section-space { padding: 86px 0; }
.section-heading { margin-bottom: 40px; }
.section-heading h2, .guide-band h2, .final-action h2 { margin-bottom: 0; font-size: clamp(32px, 4vw, 52px); }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.heading-note { max-width: 450px; color: var(--muted); font-size: 15px; }
.route-section { background: var(--paper); }
.route-ledger { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.route-ledger article { min-height: 245px; padding: 28px; border-right: 1px solid var(--ink); }
.route-ledger article:last-child { border-right: 0; }
.ledger-no { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; margin-bottom: 35px; color: var(--white); background: var(--blue); font-weight: 850; }
.route-ledger article:nth-child(2) .ledger-no { background: var(--pink); }
.route-ledger article:nth-child(3) .ledger-no { color: var(--ink); background: var(--yellow); }
.route-ledger h3 { font-size: 22px; }
.route-ledger p { margin-bottom: 0; color: var(--muted); }

.preview-section { background: var(--white); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.preview-ledger { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.preview-item { margin: 0; }
.preview-frame { height: 410px; display: flex; align-items: flex-start; justify-content: center; padding: 22px; overflow: hidden; background: var(--paper); border: 1px solid var(--ink); }
.preview-item:nth-child(2) .preview-frame { background: #e8f2ff; }
.preview-item:nth-child(3) .preview-frame { background: #fff3cc; }
.preview-frame img { width: auto; max-width: 400px; height: 100%; object-fit: contain; }
.preview-item figcaption { padding: 18px 0; display: grid; grid-template-columns: 36px 1fr; gap: 2px 8px; color: var(--muted); font-size: 14px; }
.preview-item figcaption span { grid-row: 1 / 3; color: var(--pink); font-weight: 850; }
.preview-item figcaption strong { color: var(--ink); font-size: 17px; }
.preview-offset { margin-top: 48px; }

.features-section { background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--ink); }
.feature-block { min-height: 230px; padding: 30px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.feature-block:nth-child(2n) { border-right: 0; }
.feature-block:nth-child(n+3) { border-bottom: 0; }
.feature-code { display: inline-block; margin-bottom: 38px; padding: 3px 9px; border: 1px solid currentColor; font-size: 11px; font-weight: 850; }
.feature-block h3 { font-size: 24px; }
.feature-block p { max-width: 480px; margin-bottom: 0; color: var(--muted); }
.accent-blue { box-shadow: inset 8px 0 0 var(--blue); }
.accent-pink { box-shadow: inset 8px 0 0 var(--pink); }
.accent-yellow { box-shadow: inset 8px 0 0 var(--yellow); }
.accent-dark { box-shadow: inset 8px 0 0 var(--ink); }

.guide-link-section { padding-top: 0; background: var(--paper); }
.guide-band { padding: 46px; display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 50px; color: var(--white); background: var(--ink); }
.light { color: var(--yellow); }
.heading-note.light { margin-top: 14px; color: #d6d8de; }
.guide-steps { margin: 0; padding: 0; list-style: none; }
.guide-steps li { padding: 8px 0; border-bottom: 1px solid #42454d; font-size: 14px; }
.guide-steps span { display: inline-block; width: 24px; color: var(--pink); font-weight: 850; }

.faq-preview { background: var(--white); border-top: 1px solid var(--ink); }
.faq-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--ink); }
.faq-preview-grid article { min-height: 220px; padding: 25px; border-right: 1px solid var(--ink); }
.faq-preview-grid article:last-child { border-right: 0; }
.faq-preview-grid > article > span { color: var(--blue); font-size: 12px; font-weight: 850; }
.faq-preview-grid h3 { margin: 28px 0 12px; font-size: 20px; }
.faq-preview-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.final-action { padding: 48px 0; background: var(--yellow); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.final-action-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }

.site-footer { padding: 50px 0; color: #dedfe3; background: var(--ink); }
.footer-inner { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 19px; }
.footer-brand img { border-radius: 6px; }
.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-bottom: 18px; font-size: 14px; }
.site-footer nav a:hover { color: var(--yellow); }
.site-footer p { margin: 0 auto 10px; max-width: 760px; text-align: center; color: #b8bbc3; font-size: 13px; }
.site-footer small { color: #8f939e; }

.inner-main { background: var(--white); }
.inner-hero { border-bottom: 1px solid var(--ink); background: var(--paper); }
.inner-hero-grid { min-height: 455px; padding: 70px 0; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; }
.inner-hero h1 { margin-bottom: 20px; font-size: clamp(40px, 5vw, 66px); }
.inner-hero p { max-width: 700px; color: var(--muted); font-size: 17px; }
.guide-index { border-top: 1px solid var(--ink); }
.guide-index a { display: flex; align-items: center; gap: 18px; padding: 13px 4px; border-bottom: 1px solid var(--ink); font-weight: 750; }
.guide-index a:hover { color: var(--blue); padding-left: 12px; }
.guide-index span { color: var(--pink); font-size: 12px; }
.article-layout { background: var(--white); }
.article-grid { display: grid; grid-template-columns: 220px minmax(0, 760px); justify-content: space-between; gap: 80px; }
.article-aside { position: sticky; top: 98px; align-self: start; display: grid; border-top: 1px solid var(--ink); }
.article-aside strong, .article-aside a { padding: 11px 6px; border-bottom: 1px solid var(--line); font-size: 13px; }
.article-aside a:hover { color: var(--blue); }
.guide-article > section { padding: 0 0 68px; margin: 0 0 68px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.guide-article > section:last-child { margin-bottom: 0; }
.article-no { color: var(--pink); font-size: 12px; font-weight: 850; }
.guide-article h2 { margin: 10px 0 22px; font-size: 32px; }
.guide-article p { color: #454a54; }
.check-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border: 1px solid var(--ink); }
.check-strip span { padding: 12px; text-align: center; border-right: 1px solid var(--ink); font-size: 13px; font-weight: 750; }
.check-strip span:last-child { border-right: 0; }
.article-figure { margin: 32px 0 0; padding: 28px; display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 30px; background: #e8f2ff; border: 1px solid var(--ink); }
.article-figure img { max-width: 180px; max-height: 320px; object-fit: contain; border: 1px solid var(--ink); }
.article-figure figcaption { font-weight: 750; }
.article-action { padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--yellow); border: 1px solid var(--ink); }
.article-action strong, .article-action span { display: block; }
.article-action span { margin-top: 5px; font-size: 13px; }

.faq-hero { padding: 66px 0 0; text-align: center; background: var(--ink); color: var(--white); }
.faq-hero-inner h1 { margin-bottom: 18px; font-size: clamp(40px, 5vw, 66px); }
.faq-hero-inner p { margin: 0 auto 40px; color: #c9cbd1; }
.faq-filter { display: inline-flex; flex-wrap: wrap; justify-content: center; transform: translateY(1px); }
.faq-filter button { min-width: 112px; padding: 13px 17px; border: 1px solid #5b5e67; border-bottom-color: var(--ink); color: var(--white); background: transparent; cursor: pointer; }
.faq-filter button.active, .faq-filter button:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.faq-section { background: var(--white); }
.faq-list { max-width: 960px; }
.faq-item { border-top: 1px solid var(--ink); }
.faq-item:last-child { border-bottom: 1px solid var(--ink); }
.faq-item[hidden] { display: none; }
.faq-item summary { position: relative; padding: 22px 48px 22px 0; display: flex; gap: 18px; align-items: center; list-style: none; cursor: pointer; font-size: 18px; font-weight: 800; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 8px; top: 16px; font-size: 26px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary span { color: var(--pink); font-size: 12px; }
.faq-item div { padding: 0 48px 22px 30px; color: var(--muted); }
.faq-item p { margin-bottom: 0; }
.faq-help-band { padding: 54px 0; color: var(--white); background: var(--blue); }
.faq-help-band .section-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 22px; }
.faq-help-band h2 { margin-bottom: 8px; font-size: 30px; }
.faq-help-band p { margin-bottom: 0; color: #e7efff; }

@media (max-width: 900px) {
  .header-inner, .section-inner, .hero-inner, .footer-inner { width: min(100% - 32px, var(--container)); }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 72px 0 auto 0; max-height: calc(100vh - 72px); padding: 22px 16px 28px; display: none; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; background: var(--paper); border-bottom: 1px solid var(--ink); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav .nav-download { margin-top: 14px; text-align: center; }
  .hero-inner { min-height: 0; padding: 40px 0 30px; grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { order: 1; }
  .hero-media { order: 2; height: 278px; }
  .hero h1 { font-size: clamp(39px, 11vw, 54px); }
  .screen-window-back { width: 142px; height: 252px; left: calc(50% - 145px); top: 18px; }
  .screen-window-front { width: 154px; height: 270px; right: calc(50% - 145px); top: 0; }
  .media-index { right: calc(50% - 160px); }
  .section-space { padding: 62px 0; }
  .split-heading { align-items: start; flex-direction: column; gap: 16px; }
  .route-ledger { grid-template-columns: 1fr; }
  .route-ledger article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .route-ledger article:last-child { border-bottom: 0; }
  .ledger-no { margin-bottom: 18px; }
  .preview-ledger { grid-template-columns: 1fr; }
  .preview-offset { margin-top: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-block, .feature-block:nth-child(2n), .feature-block:nth-child(n+3) { border-right: 0; border-bottom: 1px solid var(--ink); }
  .feature-block:last-child { border-bottom: 0; }
  .guide-band { padding: 34px 24px; grid-template-columns: 1fr; gap: 28px; }
  .faq-preview-grid { grid-template-columns: 1fr; }
  .faq-preview-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .faq-preview-grid article:last-child { border-bottom: 0; }
  .final-action-inner { align-items: start; flex-direction: column; }
  .inner-hero-grid { min-height: 0; padding: 54px 0; grid-template-columns: 1fr; gap: 42px; }
  .article-grid { grid-template-columns: 1fr; gap: 38px; }
  .article-aside { position: static; grid-template-columns: repeat(3, 1fr); }
  .article-aside strong { grid-column: 1 / -1; }
  .article-aside a { text-align: center; }
  .faq-help-band .section-inner { grid-template-columns: 1fr; justify-items: start; }
}

@media (max-width: 560px) {
  .header-inner { min-height: 64px; }
  .main-nav { top: 64px; }
  .brand img { width: 36px; height: 36px; }
  .brand { font-size: 18px; }
  .hero-inner { padding-top: 28px; gap: 16px; }
  .edition-tag { margin-bottom: 11px; }
  .hero h1 { margin-bottom: 14px; font-size: 40px; }
  .hero-copy > p { margin-bottom: 19px; font-size: 14px; line-height: 1.65; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 18px; }
  .signal-list { display: none; }
  .hero-media { height: 236px; }
  .screen-window-back { width: 126px; height: 220px; left: calc(50% - 130px); }
  .screen-window-front { width: 138px; height: 232px; right: calc(50% - 130px); }
  .media-index { right: calc(50% - 143px); bottom: 0; }
  .marquee-track { justify-content: flex-start; overflow: hidden; font-size: 11px; }
  .section-space { padding: 52px 0; }
  .section-heading { margin-bottom: 28px; }
  .preview-frame { height: 360px; }
  .feature-block { min-height: 0; padding: 25px 22px; }
  .feature-code { margin-bottom: 24px; }
  .guide-band h2, .section-heading h2, .final-action h2 { font-size: 34px; }
  .inner-hero h1, .faq-hero-inner h1 { font-size: 40px; }
  .inner-hero-grid { padding: 42px 0; }
  .article-aside { grid-template-columns: repeat(2, 1fr); }
  .guide-article h2 { font-size: 27px; }
  .check-strip { grid-template-columns: 1fr; }
  .check-strip span { border-right: 0; border-bottom: 1px solid var(--ink); }
  .check-strip span:last-child { border-bottom: 0; }
  .article-figure { grid-template-columns: 1fr; }
  .article-figure img { margin: 0 auto; }
  .article-action { align-items: flex-start; flex-direction: column; }
  .faq-hero { padding-top: 48px; }
  .faq-filter { width: 100%; }
  .faq-filter button { flex: 1 1 33%; min-width: 0; font-size: 13px; }
  .faq-item summary { padding-right: 38px; font-size: 16px; }
  .faq-item div { padding-left: 0; padding-right: 34px; }
  .site-footer { padding: 40px 0; }
}

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