:root {
  --ink: #11151a;
  --paper: #ffffff;
  --mist: #f2f4f3;
  --line: #d9dddc;
  --muted: #5b6468;
  --lime: #b9ff39;
  --cyan: #24c7d9;
  --blue: #4f8ff7;
  --max: 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;
  letter-spacing: 0;
  line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container, .header-inner, .hero-inner { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 50; height: 72px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 800; text-transform: lowercase; }
.brand img { width: 36px; height: 36px; border-radius: 6px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
.site-nav > a:not(.header-download) { position: relative; padding: 22px 0; color: #394146; }
.site-nav > a:not(.header-download)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 17px; height: 2px; background: var(--ink); transition: right .2s ease; }
.site-nav > a:hover::after, .site-nav > a.active::after { right: 0; }
.header-download { min-width: 92px; padding: 9px 16px; text-align: center; color: var(--ink); background: var(--lime); border: 1px solid var(--ink); border-radius: 4px; box-shadow: 3px 3px 0 var(--ink); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); background: var(--paper); border-radius: 4px; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.hero { background: var(--mist); border-bottom: 1px solid var(--line); }
.hero-inner { min-height: 666px; padding: 44px 0 36px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(450px, .95fr); align-items: center; gap: 64px; }
.hero-copy { min-width: 0; }
.eyebrow, .section-index, .chapter-label { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; line-height: 1.3; font-weight: 800; color: #394146; }
.signal-dot { width: 9px; height: 9px; background: var(--lime); border: 1px solid var(--ink); box-shadow: 3px 0 0 var(--cyan); }
.hero h1 { margin: 17px 0 22px; font-size: 60px; line-height: 1.02; font-weight: 850; letter-spacing: 0; }
.hero h1 span { display: block; }
.hero h1 span:first-child { color: var(--blue); font-size: .68em; text-transform: lowercase; margin-bottom: 8px; }
.hero-copy > p { max-width: 620px; margin: 0; font-size: 17px; color: #3f484d; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 28px; }
.button { display: inline-flex; min-width: 126px; min-height: 46px; align-items: center; justify-content: center; padding: 10px 22px; font-size: 15px; font-weight: 800; border-radius: 4px; border: 1px solid var(--ink); }
.button-primary { background: var(--lime); box-shadow: 4px 4px 0 var(--ink); }
.button-dark { color: #fff; background: var(--ink); border-color: var(--ink); }
.button:hover { transform: translate(-1px,-1px); }
.text-link { font-size: 14px; font-weight: 750; border-bottom: 1px solid currentColor; }
.hero-facts { margin: 36px 0 0; padding: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #c8cdcb; }
.hero-facts div { padding-right: 18px; }
.hero-facts dt { font-size: 11px; color: var(--muted); }
.hero-facts dd { margin: 4px 0 0; font-size: 13px; font-weight: 800; }

.hero-media { position: relative; height: 574px; display: flex; align-items: center; justify-content: center; }
.hero-media > img { width: 304px; max-width: 400px; border: 1px solid var(--ink); box-shadow: 12px 12px 0 var(--cyan); }
.metric-rail { position: absolute; width: 116px; z-index: 2; display: grid; gap: 2px; padding: 13px; background: var(--paper); border: 1px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.metric-rail span { font-size: 9px; color: var(--muted); }
.metric-rail strong { font-size: 15px; line-height: 1.2; }
.metric-rail i { display: block; height: 4px; margin-top: 5px; background: var(--lime); }
.metric-rail-left { left: 0; top: 118px; }
.metric-rail-right { right: 0; bottom: 108px; }
.metric-rail-right i { background: var(--cyan); }

.status-strip { background: var(--ink); color: #fff; }
.status-grid { min-height: 118px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.status-grid > div { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 15px; align-content: center; padding: 20px 30px; border-right: 1px solid #3b4247; }
.status-grid > div:first-child { border-left: 1px solid #3b4247; }
.status-grid span { grid-row: 1 / span 2; color: var(--lime); font: 800 13px/1.4 monospace; }
.status-grid strong { font-size: 15px; }
.status-grid small { color: #aeb6b8; font-size: 12px; }

.section { padding: 92px 0; }
.section-heading { margin-bottom: 40px; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-heading h2 { margin: 8px 0 0; font-size: 38px; line-height: 1.15; }
.section-note { max-width: 440px; padding-left: 18px; border-left: 3px solid var(--lime); font-size: 14px; color: var(--muted); }

.gallery-section { overflow: hidden; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
.screen-figure { margin: 0; }
.screen-figure-offset { margin-top: 48px; }
.screen-frame { position: relative; min-height: 520px; display: flex; align-items: flex-start; justify-content: center; padding: 20px 20px 0; background: var(--mist); border: 1px solid var(--line); overflow: hidden; }
.screen-frame::before { content: ""; position: absolute; top: 0; left: 0; width: 52px; height: 6px; background: var(--lime); }
.screen-figure:nth-child(2) .screen-frame::before { background: var(--cyan); }
.screen-figure:nth-child(3) .screen-frame::before { background: var(--blue); }
.screen-frame img { width: 280px; max-width: 400px; border: 1px solid #cfd4d3; }
.screen-figure figcaption { display: grid; grid-template-columns: 34px 1fr; margin-top: 16px; }
.screen-figure figcaption span { grid-row: 1 / span 2; color: var(--blue); font: 800 12px/1.4 monospace; }
.screen-figure figcaption strong { font-size: 16px; }
.screen-figure figcaption small { color: var(--muted); font-size: 13px; }

.feature-section { background: var(--ink); color: #fff; }
.section-heading-light .section-index, .section-heading-light .section-note { color: #b9c0c2; }
.feature-layout { display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid #3b4247; }
.feature-primary { min-height: 440px; padding: 42px; border-right: 1px solid #3b4247; display: flex; flex-direction: column; }
.feature-code, .feature-list article > span { color: var(--lime); font: 800 11px/1.4 monospace; }
.feature-primary h3 { max-width: 420px; margin: 56px 0 16px; font-size: 34px; line-height: 1.2; }
.feature-primary p, .feature-list p { color: #b9c0c2; }
.mini-bars { height: 100px; margin-top: auto; display: flex; align-items: end; gap: 10px; border-bottom: 1px solid #5f676b; }
.mini-bars i { flex: 1; background: var(--cyan); border: 1px solid #7ee8f2; }
.feature-list article { min-height: 146px; padding: 25px 30px; border-bottom: 1px solid #3b4247; }
.feature-list article:last-child { border-bottom: 0; }
.feature-list h3 { margin: 7px 0 5px; font-size: 19px; }
.feature-list p { margin: 0; font-size: 13px; }

.route-section { background: var(--mist); }
.route-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 58px; align-items: stretch; }
.route-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.route-steps li { min-height: 104px; display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: center; border-bottom: 1px solid var(--line); }
.route-steps li > span { font: 800 13px/1 monospace; color: var(--blue); }
.route-steps strong, .route-steps small { display: block; }
.route-steps strong { font-size: 17px; }
.route-steps small { color: var(--muted); }
.route-panel { padding: 38px; background: var(--paper); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--cyan); }
.route-panel > span { font: 800 11px/1.4 monospace; color: var(--blue); }
.route-panel h3 { margin: 34px 0 13px; font-size: 27px; line-height: 1.25; }
.route-panel p { color: var(--muted); }
.route-panel .button { margin-top: 14px; }

.faq-preview-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.faq-preview-grid article { min-height: 220px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-preview-grid article > span { color: var(--blue); font: 800 12px/1 monospace; }
.faq-preview-grid h3 { margin: 38px 0 10px; font-size: 18px; }
.faq-preview-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.download-band { padding: 54px 0; background: var(--cyan); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.download-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.download-band span { font: 800 11px/1.4 monospace; }
.download-band h2 { max-width: 760px; margin: 7px 0 0; font-size: 28px; line-height: 1.28; }

.site-footer { padding: 44px 0; color: #c0c6c7; background: var(--ink); }
.footer-inner { text-align: center; }
.footer-brand { color: #fff; }
.footer-inner nav { display: flex; justify-content: center; gap: 28px; margin: 22px 0; font-size: 13px; }
.footer-inner nav a:hover { color: var(--lime); }
.footer-inner p { max-width: 720px; margin: 0 auto 10px; font-size: 13px; text-align: center; }
.footer-inner small { display: block; text-align: center; color: #7d878a; }

.inner-hero { padding: 64px 0 58px; background: var(--mist); border-bottom: 1px solid var(--line); }
.inner-hero-grid { min-height: 300px; display: grid; grid-template-columns: 1fr 250px; align-items: center; gap: 60px; }
.inner-hero h1 { margin: 15px 0 18px; font-size: 48px; line-height: 1.12; }
.inner-hero p { max-width: 700px; margin: 0; color: var(--muted); font-size: 16px; }
.inner-index { height: 210px; padding: 24px; display: flex; align-items: end; justify-content: space-between; background: var(--lime); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.inner-index strong { font: 850 74px/.8 monospace; }
.inner-index span { font: 800 11px/1.45 monospace; text-align: right; }
.faq-hero .inner-index { background: var(--cyan); }

.guide-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); justify-content: space-between; gap: 70px; align-items: start; }
.guide-toc { position: sticky; top: 104px; display: grid; border-top: 1px solid var(--ink); }
.guide-toc > span, .faq-aside > span { padding: 14px 0; font: 800 11px/1.4 monospace; color: var(--blue); }
.guide-toc > a:not(.button) { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.guide-toc .button { margin-top: 22px; }
.guide-content > section { padding: 0 0 62px; margin-bottom: 62px; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.guide-content h2 { margin: 8px 0 20px; font-size: 30px; line-height: 1.3; }
.guide-content p { margin: 0 0 17px; color: #394146; }
.guide-content a:not(.button) { color: #1467c7; border-bottom: 1px solid currentColor; }
.check-row { margin-top: 25px; display: grid; grid-template-columns: 110px 1fr; border: 1px solid var(--ink); }
.check-row span, .check-row strong { padding: 14px 18px; }
.check-row span { color: #fff; background: var(--ink); }
.mode-table { margin: 24px 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.mode-row { display: grid; grid-template-columns: 110px 1.4fr 1fr; }
.mode-row > * { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.mode-head { color: #fff; background: var(--ink); font-weight: 800; }
.warning-block { margin-top: 26px; padding: 22px; display: grid; grid-template-columns: 70px 1fr; background: #efffd5; border-left: 5px solid var(--lime); }
.guide-next { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 20px; padding: 25px; background: var(--mist); border: 1px solid var(--line); }
.guide-next > span { color: var(--blue); font: 800 11px/1 monospace; }
.guide-next p { margin: 2px 0 0; font-size: 13px; }
.guide-next > a { font-size: 13px; font-weight: 800; }

.faq-layout { display: grid; grid-template-columns: 250px minmax(0, 790px); justify-content: space-between; gap: 70px; align-items: start; }
.faq-aside { position: sticky; top: 104px; padding-top: 3px; border-top: 1px solid var(--ink); }
.faq-aside ol { margin: 0 0 28px; padding: 0; list-style-position: inside; color: var(--muted); font-size: 13px; }
.faq-aside li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 82px; padding: 20px 0; display: grid; grid-template-columns: 46px 1fr 24px; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--blue); font: 800 12px/1 monospace; }
.faq-list summary strong { font-size: 17px; }
.faq-list summary i { position: relative; width: 18px; height: 18px; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; background: var(--ink); }
.faq-list summary i::before { width: 18px; height: 2px; left: 0; top: 8px; }
.faq-list summary i::after { width: 2px; height: 18px; left: 8px; top: 0; transition: transform .2s ease; }
.faq-list details[open] summary i::after { transform: rotate(90deg); }
.faq-list details > div { padding: 0 42px 25px 58px; }
.faq-list details p { margin: 0; color: var(--muted); }
.faq-list details a { color: #1467c7; border-bottom: 1px solid currentColor; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr 410px; gap: 30px; }
  .hero h1 { font-size: 50px; }
  .metric-rail { width: 104px; }
  .route-grid, .feature-layout { grid-template-columns: 1fr 1fr; }
  .guide-layout, .faq-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 42px; }
}

@media (max-width: 760px) {
  .container, .header-inner, .hero-inner { width: min(100% - 32px, var(--max)); }
  .site-header { height: 64px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 64px; left: 0; right: 0; display: none; padding: 12px 16px 18px; background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: 0 12px 24px rgba(17,21,26,.1); }
  .site-nav.is-open { display: grid; }
  .site-nav > a:not(.header-download) { padding: 10px 2px; border-bottom: 1px solid var(--line); }
  .site-nav > a:not(.header-download)::after { display: none; }
  .header-download { margin-top: 6px; }
  .hero-inner { min-height: auto; padding: 34px 0 28px; grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { margin: 13px 0 16px; font-size: 44px; }
  .hero-copy > p { font-size: 15px; }
  .hero-actions { margin-top: 22px; }
  .hero-facts { display: none; }
  .hero-media { height: 280px; order: 2; }
  .hero-media > img { width: 154px; box-shadow: 7px 7px 0 var(--cyan); }
  .metric-rail { width: 94px; padding: 10px; box-shadow: 3px 3px 0 var(--ink); }
  .metric-rail-left { left: 2px; top: 50px; }
  .metric-rail-right { right: 2px; bottom: 42px; }
  .metric-rail strong { font-size: 13px; }
  .status-grid { grid-template-columns: 1fr; padding: 7px 0; }
  .status-grid > div, .status-grid > div:first-child { min-height: 70px; padding: 12px 4px; border-left: 0; border-right: 0; border-bottom: 1px solid #3b4247; }
  .status-grid > div:last-child { border-bottom: 0; }
  .section { padding: 64px 0; }
  .section-heading { margin-bottom: 28px; align-items: start; flex-direction: column; gap: 15px; }
  .section-heading h2 { font-size: 31px; }
  .section-note { max-width: none; }
  .gallery-grid { grid-template-columns: 1fr; gap: 42px; }
  .screen-figure-offset { margin-top: 0; }
  .screen-frame { min-height: 470px; }
  .screen-frame img { width: 256px; }
  .feature-layout { grid-template-columns: 1fr; }
  .feature-primary { min-height: 370px; padding: 28px; border-right: 0; border-bottom: 1px solid #3b4247; }
  .feature-primary h3 { margin-top: 40px; font-size: 29px; }
  .route-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-preview-grid { grid-template-columns: 1fr; }
  .faq-preview-grid article { min-height: 180px; }
  .download-band-inner { align-items: flex-start; flex-direction: column; }
  .download-band h2 { font-size: 23px; }
  .inner-hero { padding: 42px 0; }
  .inner-hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 30px; }
  .inner-hero h1 { font-size: 38px; }
  .inner-index { width: 100%; height: 128px; }
  .inner-index strong { font-size: 58px; }
  .guide-layout, .faq-layout { grid-template-columns: 1fr; gap: 38px; }
  .guide-toc, .faq-aside { position: static; }
  .guide-toc { grid-template-columns: repeat(2, 1fr); }
  .guide-toc > span, .guide-toc .button { grid-column: 1 / -1; }
  .mode-row { grid-template-columns: 84px 1fr; }
  .mode-row > *:last-child { grid-column: 2; }
  .mode-head > *:last-child { display: none; }
  .guide-next { grid-template-columns: 45px 1fr; }
  .guide-next > a { grid-column: 2; }
  .faq-list summary { grid-template-columns: 36px 1fr 20px; }
  .faq-list summary strong { font-size: 15px; }
  .faq-list details > div { padding-left: 48px; padding-right: 12px; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 38px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-facts dd { font-size: 11px; }
  .hero-media { height: 270px; }
  .hero-media > img { width: 148px; }
  .metric-rail { width: 87px; }
  .metric-rail-left { top: 43px; }
  .metric-rail-right { bottom: 37px; }
}
