:root {
  --ink: #171a22;
  --paper: #f7f9fc;
  --white: #ffffff;
  --line: #cfd5df;
  --blue: #2557d6;
  --orange: #ff6a2a;
  --mint: #39c9a7;
  --muted: #626b7b;
  --max: 1160px;
}

* { 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", "Microsoft YaHei", Arial, sans-serif; line-height: 1.65; letter-spacing: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header { position: sticky; top: 0; z-index: 30; width: 100%; background: rgba(247,249,252,.96); border-bottom: 1px solid var(--line); }
.header-inner { width: min(calc(100% - 40px), var(--max)); height: 70px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; font-size: 21px; }
.brand img { width: 42px; height: 42px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.site-nav a { position: relative; padding: 8px 0; }
.site-nav a:not(.nav-download)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--orange); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a.is-current::after { right: 0; }
.site-nav .nav-download { padding: 9px 18px; color: var(--white); background: var(--blue); border: 1px solid var(--blue); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--line); background: var(--white); }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.section-inner, .hero-inner, .footer-inner { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.hero { background-color: var(--paper); background-image: linear-gradient(#dfe4ec 1px, transparent 1px), linear-gradient(90deg, #dfe4ec 1px, transparent 1px); background-size: 38px 38px; border-bottom: 1px solid var(--line); }
.hero-inner { min-height: 676px; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr); gap: 72px; align-items: center; padding: 44px 0 46px; }
.hero-copy { max-width: 610px; }
.eyebrow { display: flex; align-items: center; width: fit-content; margin-bottom: 22px; border: 1px solid var(--ink); background: var(--white); font-size: 12px; }
.eyebrow span { padding: 6px 10px; color: var(--white); background: var(--ink); font-weight: 800; }
.eyebrow strong { padding: 6px 12px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 600px; margin-bottom: 20px; font-size: clamp(42px, 4.15vw, 64px); line-height: 1.08; font-weight: 950; }
.hero-copy > p { max-width: 580px; margin-bottom: 28px; color: #454d5b; font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { display: inline-flex; min-width: 136px; min-height: 46px; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid transparent; font-weight: 800; }
.button-primary { color: var(--white); background: var(--blue); border-color: var(--blue); box-shadow: 6px 6px 0 var(--ink); }
.button-light { color: var(--ink); background: var(--white); box-shadow: 6px 6px 0 var(--orange); }
.text-link { font-weight: 800; border-bottom: 1px solid var(--ink); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 38px 0 0; border: 1px solid var(--line); background: var(--white); }
.hero-facts div { padding: 12px 14px; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border-right: 0; }
.hero-facts dt { color: var(--blue); font: 900 12px/1.2 Consolas, monospace; }
.hero-facts dd { margin: 5px 0 0; font-size: 13px; font-weight: 800; }

.hero-media { position: relative; min-height: 516px; padding: 34px 42px 46px 58px; background: var(--white); border: 2px solid var(--ink); box-shadow: 14px 14px 0 var(--orange); }
.hero-media::before, .hero-media::after { content: ""; position: absolute; background: var(--line); }
.hero-media::before { left: 26px; top: 0; bottom: 0; width: 1px; }
.hero-media::after { top: 24px; left: 0; right: 0; height: 1px; }
.axis { position: absolute; display: flex; font: 800 10px/1 Consolas, monospace; text-transform: uppercase; }
.axis-x { left: 58px; right: 42px; bottom: 17px; justify-content: space-between; color: var(--muted); }
.screen-stage { position: relative; height: 412px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #e8edf4; border: 1px solid var(--ink); }
.screen-stage img { width: auto; max-width: 400px; height: auto; max-height: 380px; border: 1px solid #9ea7b5; }
.calibration-mark { position: absolute; z-index: 2; width: 26px; height: 26px; display: grid; place-items: center; color: var(--white); background: var(--blue); border: 1px solid var(--ink); font: 900 11px/1 Consolas, monospace; }
.mark-a { top: 12px; left: 12px; }.mark-b { right: 12px; bottom: 12px; background: var(--mint); color: var(--ink); }
.media-note { position: absolute; top: 76px; right: -20px; width: 130px; padding: 10px; color: var(--white); background: var(--ink); border-left: 5px solid var(--orange); font-size: 10px; line-height: 1.45; }
.media-note b, .media-note span { display: block; }

.section-heading { margin-bottom: 34px; }
.section-index { display: block; margin-bottom: 8px; color: var(--blue); font: 900 12px/1.2 Consolas, monospace; }
.section-heading h2, .route-intro h2 { margin-bottom: 0; font-size: 36px; line-height: 1.2; }
.heading-inline { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-note { max-width: 460px; color: var(--muted); font-size: 14px; }
.control-band { padding: 72px 0 80px; background: var(--white); }
.control-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); }
.control-grid article { min-height: 230px; padding: 24px; border-right: 1px solid var(--ink); }
.control-grid article:last-child { border-right: 0; }
.control-code { display: inline-block; margin-bottom: 35px; padding: 4px 8px; color: var(--white); background: var(--blue); font: 800 11px/1.2 Consolas, monospace; }
.control-grid article:nth-child(2) .control-code { color: var(--ink); background: var(--mint); }
.control-grid article:nth-child(3) .control-code { background: var(--orange); }
.control-grid h3 { margin-bottom: 12px; font-size: 18px; line-height: 1.45; }
.control-grid p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.gallery-section { padding: 78px 0 88px; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; align-items: start; }
.gallery-item { margin: 0; }
.gallery-item.item-b { margin-top: 48px; }.gallery-item.item-c { margin-top: 96px; }
.image-well { height: 430px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #e5eaf2; border: 1px solid var(--ink); }
.image-well img { width: auto; max-width: 400px; height: auto; max-height: 398px; }
.gallery-item figcaption { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding-top: 14px; }
.gallery-item figcaption > span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--white); background: var(--blue); font: 800 12px/1 Consolas, monospace; }
.gallery-item b, .gallery-item small { display: block; }.gallery-item small { margin-top: 3px; color: var(--muted); }

.route-section { padding: 78px 0; color: var(--white); background: var(--ink); }
.route-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.route-intro { padding-right: 28px; }.route-copy { margin-top: 16px; color: #bdc5d2; }
.route-link { position: relative; min-height: 230px; padding: 28px; color: var(--ink); background: var(--mint); border: 1px solid var(--white); }
.route-link.route-dark { color: var(--white); background: var(--blue); }
.route-link span, .route-link b, .route-link small { display: block; }.route-link span { font: 900 11px/1 Consolas, monospace; }.route-link b { margin-top: 54px; font-size: 20px; line-height: 1.4; }.route-link small { margin-top: 9px; }.route-link i { position: absolute; right: 24px; top: 22px; font-size: 24px; font-style: normal; }
.faq-preview { padding: 78px 0; background: var(--white); }
.preview-list { border-top: 1px solid var(--ink); }
.preview-list a { display: grid; grid-template-columns: 58px 1fr 30px; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }.preview-list span { color: var(--blue); font: 900 12px/1 Consolas, monospace; }.preview-list i { font-style: normal; font-size: 20px; }
.download-band { padding: 38px 0; color: var(--white); background: var(--blue); border-top: 8px solid var(--orange); }
.download-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }.download-inner span { font: 900 11px/1 Consolas, monospace; }.download-inner h2 { margin: 7px 0 0; font-size: 28px; }
.site-footer { padding: 28px 0; color: #656d7c; background: #edf0f5; border-top: 1px solid var(--line); text-align: center; }.footer-inner p { margin: 4px 0; font-size: 12px; text-align: center; }

.page-hero { padding: 76px 0 70px; background: var(--white); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 70px; align-items: center; }
.page-hero h1 { max-width: 760px; margin-bottom: 20px; font-size: clamp(38px, 4.4vw, 62px); line-height: 1.1; }.page-hero p { max-width: 720px; color: var(--muted); font-size: 16px; }
.guide-meter { padding: 22px; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--mint); }.guide-meter > span { font: 900 11px/1 Consolas, monospace; }.guide-meter > b { display: block; color: var(--blue); font-size: 74px; line-height: 1; }.guide-meter > small { display: block; margin-bottom: 16px; }.guide-meter ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 0; padding: 0; list-style: none; }.guide-meter li { padding: 5px; background: #e8edf5; text-align: center; font-size: 11px; }
.article-section { padding: 72px 0 88px; }.article-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 80px; justify-content: center; align-items: start; }.article-nav { position: sticky; top: 96px; display: grid; border: 1px solid var(--line); background: var(--white); }.article-nav b { padding: 14px; color: var(--white); background: var(--ink); }.article-nav a { padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }.article-content > section { margin-bottom: 70px; scroll-margin-top: 92px; }.article-content h2 { margin-bottom: 20px; font-size: 30px; }.article-content p { color: #3f4755; }.step-no { float: right; color: #d4dae4; font: 900 54px/1 Consolas, monospace; }.check-row { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }.check-row span { padding: 11px; border-right: 1px solid var(--ink); text-align: center; font-size: 13px; font-weight: 800; }.check-row span:last-child { border: 0; }.article-callout { margin: 24px 0; padding: 20px; background: #fff2eb; border-left: 5px solid var(--orange); }.article-callout p { margin-bottom: 0; }.article-figure { display: grid; grid-template-columns: 210px 1fr; gap: 24px; align-items: center; margin: 28px 0; padding: 22px; border: 1px solid var(--line); background: var(--white); }.article-figure img { width: auto; max-width: 400px; height: auto; max-height: 430px; margin: auto; }.article-figure figcaption { color: var(--muted); font-size: 14px; }
.faq-console { padding: 24px; color: var(--white); background: var(--ink); border-bottom: 8px solid var(--orange); }.faq-console label, .faq-console small { display: block; }.faq-console label { margin-bottom: 10px; font-weight: 800; }.search-box { display: flex; background: var(--white); }.search-box input { width: 100%; min-width: 0; padding: 11px; border: 0; outline: 0; }.search-box span { width: 44px; display: grid; place-items: center; color: var(--ink); font-size: 24px; }.faq-console small { margin-top: 10px; color: #c6ceda; }
.faq-section { padding: 70px 0 88px; }.faq-list { max-width: 920px; margin: auto; border-top: 1px solid var(--ink); }.faq-item { border-bottom: 1px solid var(--line); }.faq-item button { width: 100%; display: grid; grid-template-columns: 52px 1fr 30px; gap: 15px; align-items: center; padding: 19px 0; color: var(--ink); background: transparent; border: 0; text-align: left; cursor: pointer; }.faq-item button span { color: var(--blue); font: 900 12px/1 Consolas, monospace; }.faq-item button b { font-size: 17px; }.faq-item button i { font-size: 24px; font-style: normal; transition: transform .2s; }.faq-item button[aria-expanded="true"] i { transform: rotate(45deg); }.faq-answer { padding: 0 46px 22px 67px; }.faq-answer p { margin: 0; color: var(--muted); }.no-results { max-width: 920px; margin: 30px auto; padding: 20px; text-align: center; border: 1px solid var(--line); }.faq-next { max-width: 920px; margin: 60px auto 0; padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 30px; background: var(--white); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--mint); }.faq-next span { color: var(--blue); font: 900 11px/1 Consolas, monospace; }.faq-next h2 { margin: 8px 0 0; font-size: 24px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav { position: fixed; top: 70px; left: 20px; right: 20px; display: none; padding: 14px; background: var(--white); border: 1px solid var(--ink); box-shadow: 7px 7px 0 var(--orange); }
  .site-nav.is-open { display: grid; gap: 4px; }
  .site-nav a { padding: 10px; }
  .site-nav .nav-download { margin-top: 5px; text-align: center; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; min-height: 0; padding: 48px 0 54px; }
  .hero-copy { max-width: none; }
  .hero-media { width: min(100%, 520px); min-height: 410px; margin: 0 auto; padding: 28px 32px 42px 46px; }
  .screen-stage { height: 330px; }.screen-stage img { max-height: 305px; }.axis-x { left: 46px; right: 32px; }
  .control-grid { grid-template-columns: 1fr 1fr; }.control-grid article:nth-child(2) { border-right: 0; }.control-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .gallery-grid { gap: 14px; }.image-well { height: 360px; }.image-well img { max-height: 330px; }
  .route-grid { grid-template-columns: 1fr 1fr; }.route-intro { grid-column: 1 / -1; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 38px; }.guide-meter { max-width: 420px; }
  .article-layout { grid-template-columns: 1fr; gap: 35px; }.article-nav { position: static; grid-template-columns: repeat(3, 1fr); }.article-nav b { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .header-inner, .section-inner, .hero-inner, .footer-inner { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { height: 62px; }.site-nav { top: 62px; left: 14px; right: 14px; }.brand img { width: 38px; height: 38px; }
  .hero-inner { gap: 24px; padding: 29px 0 33px; }
  .eyebrow { margin-bottom: 15px; }.hero h1 { max-width: 350px; margin-bottom: 13px; font-size: 39px; line-height: 1.12; }.hero-copy > p { margin-bottom: 20px; font-size: 14px; }.hero-actions { gap: 16px; }.button { min-height: 43px; }
  .hero-facts { margin-top: 24px; }.hero-facts div { padding: 8px; }.hero-facts dd { font-size: 11px; }
  .hero-media { min-height: 255px; padding: 24px 30px 36px 42px; box-shadow: 8px 8px 0 var(--orange); }.screen-stage { height: 200px; }.screen-stage img { max-height: 184px; }.media-note { display: none; }.axis-x { left: 42px; right: 30px; bottom: 13px; }
  .section-heading { margin-bottom: 24px; }.section-heading h2, .route-intro h2 { font-size: 29px; }.control-band, .gallery-section, .route-section, .faq-preview { padding: 54px 0; }
  .control-grid { grid-template-columns: 1fr; }.control-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--ink); }.control-grid article:last-child { border-bottom: 0; }.control-code { margin-bottom: 18px; }
  .heading-inline { display: block; }.section-note { margin-top: 12px; }
  .gallery-grid { grid-template-columns: 1fr; }.gallery-item.item-b, .gallery-item.item-c { margin-top: 22px; }.image-well { height: 380px; }.image-well img { max-height: 350px; }
  .route-grid { grid-template-columns: 1fr; }.route-link { min-height: 200px; }.route-link b { margin-top: 42px; }
  .download-inner { align-items: flex-start; flex-direction: column; }.download-inner h2 { font-size: 23px; }
  .page-hero { padding: 48px 0 46px; }.page-hero h1 { font-size: 39px; }.article-section, .faq-section { padding: 52px 0 68px; }.article-nav { grid-template-columns: 1fr 1fr; }.article-content > section { margin-bottom: 55px; }.article-content h2 { font-size: 26px; }.step-no { font-size: 42px; }.check-row { grid-template-columns: 1fr; }.check-row span { border-right: 0; border-bottom: 1px solid var(--ink); }.check-row span:last-child { border-bottom: 0; }.article-figure { grid-template-columns: 1fr; }.article-figure img { max-height: 360px; }
  .faq-item button { grid-template-columns: 36px 1fr 22px; gap: 8px; }.faq-item button b { font-size: 15px; }.faq-answer { padding: 0 30px 20px 44px; }.faq-next { align-items: flex-start; flex-direction: column; }.faq-next h2 { font-size: 21px; }
}

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