:root {
  --ink: #151716;
  --muted: #60645f;
  --paper: #ffffff;
  --field: #f2f4ef;
  --line: #cdd2ca;
  --lime: #b9ef2e;
  --cobalt: #2855ee;
  --coral: #ff6658;
  --teal: #087f73;
  --rail: min(1180px, calc(100% - 48px));
  --radius: 6px;
}

* { 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;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; letter-spacing: 0; }
.content-rail { width: var(--rail); 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 { width: var(--rail); height: 72px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 800; }
.brand-lockup img { border-radius: 5px; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 700; }
.site-nav > a:not(.download-link) { padding-block: 25px 23px; border-bottom: 3px solid transparent; }
.site-nav > a.is-current:not(.download-link) { border-bottom-color: var(--cobalt); }
.download-link, .primary-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 22px; color: #fff; background: var(--cobalt); border: 1px solid var(--cobalt); border-radius: var(--radius); font-weight: 800; }
.download-link { min-height: 40px; padding-inline: 18px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 4px; background: #fff; padding: 10px; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.hero { background: var(--field); border-bottom: 1px solid var(--ink); }
.hero-inner { width: var(--rail); min-height: 608px; margin-inline: auto; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 64px; padding: 36px 0 38px; }
.eyebrow, .section-code { color: var(--cobalt); font-size: 12px; line-height: 1.2; font-weight: 900; }
.eyebrow { margin-bottom: 18px; }
.hero h1 { margin: 0; max-width: 620px; font-size: 58px; line-height: 1.04; font-weight: 900; }
.hero h1 span { display: block; }
.hero h1 span:first-child { color: var(--cobalt); }
.hero-copy > p { max-width: 610px; margin: 23px 0 20px; color: #3e433f; font-size: 17px; line-height: 1.85; }
.capability-row { display: flex; flex-wrap: wrap; gap: 8px; }
.capability-row span { padding: 6px 9px; border: 1px solid var(--ink); border-radius: 3px; background: #fff; font-size: 12px; font-weight: 800; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 25px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.text-link span { color: var(--cobalt); }
.hero-media { display: flex; min-width: 0; align-items: center; justify-content: center; }
.switchboard { width: min(100%, 500px); border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; box-shadow: 14px 14px 0 var(--lime); overflow: hidden; }
.switchboard-head { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--ink); }
.switchboard-head span { font-size: 11px; color: var(--muted); font-weight: 900; }
.switchboard-head strong { font-size: 14px; }
.screen-stage { height: 412px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #e8ebe4; }
.screen-stage::before { content: ""; position: absolute; inset: 24px; border: 1px solid #9ea49c; }
.screen-stage img { position: relative; z-index: 2; width: auto; height: 370px; max-width: 400px; border: 6px solid var(--ink); border-radius: 8px; box-shadow: 10px 10px 0 rgba(21, 23, 22, .14); }
.screen-index { position: absolute; z-index: 3; left: 14px; top: 14px; padding: 8px; color: #fff; background: var(--cobalt); font-size: 11px; line-height: 1.2; font-weight: 900; }
.readout { position: absolute; z-index: 3; right: 10px; bottom: 12px; display: grid; gap: 4px; }
.readout span { padding: 4px 6px; color: #fff; background: var(--ink); font-size: 9px; font-weight: 900; }
.mode-selector { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.mode-selector span { min-height: 45px; display: grid; place-items: center; border-right: 1px solid var(--ink); font-size: 12px; font-weight: 800; }
.mode-selector span:last-child { border-right: 0; }
.mode-selector .is-active { background: var(--coral); color: #fff; }

.mode-band { background: var(--ink); color: #fff; }
.mode-band-inner { display: grid; grid-template-columns: 250px 1fr; gap: 55px; padding: 34px 0; }
.mode-band h2 { margin: 8px 0 0; font-size: 30px; }
.mode-band .section-code { color: var(--lime); }
.mode-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mode-notes article { border-left: 1px solid #727773; padding-left: 16px; }
.mode-notes strong { color: var(--lime); font-size: 14px; }
.mode-notes p { margin: 8px 0 0; color: #d6dad5; font-size: 13px; line-height: 1.65; }

.gallery-section, .features-section, .faq-preview, .faq-section { padding: 90px 0; }
.section-heading { margin-bottom: 40px; }
.section-heading h2, .deep-links h2 { margin: 9px 0 0; font-size: 39px; line-height: 1.15; }
.section-heading-wide { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-note { max-width: 520px; color: var(--muted); line-height: 1.75; }
.gallery-grid { display: grid; grid-template-columns: 1.1fr .9fr 1fr; align-items: start; gap: 28px; }
.gallery-item { margin: 0; }
.gallery-item-offset { margin-top: 74px; }
.gallery-frame { height: 520px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ink); background: var(--field); overflow: hidden; }
.gallery-frame img { width: auto; max-width: 400px; max-height: 470px; object-fit: contain; border: 4px solid var(--ink); border-radius: 7px; box-shadow: 9px 9px 0 rgba(21, 23, 22, .12); }
.gallery-item-tall .gallery-frame img { max-height: 480px; }
.gallery-item figcaption { display: grid; grid-template-columns: 34px 1fr; gap: 3px 10px; padding-top: 17px; }
.gallery-item figcaption > span { grid-row: 1 / span 2; color: var(--cobalt); font-size: 12px; font-weight: 900; }
.gallery-item figcaption strong { font-size: 17px; }
.gallery-item figcaption p { margin: 3px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.features-section { background: var(--field); border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); background: #fff; }
.feature-item { min-height: 250px; padding: 25px; border-right: 1px solid var(--ink); }
.feature-item:last-child { border-right: 0; }
.feature-item > span { display: inline-grid; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--cobalt); font-size: 11px; font-weight: 900; }
.feature-item:nth-child(2) > span { background: var(--teal); }
.feature-item:nth-child(3) > span { color: var(--ink); background: var(--lime); }
.feature-item:nth-child(4) > span { background: var(--coral); }
.feature-item h3 { margin: 42px 0 12px; font-size: 20px; }
.feature-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.deep-links { padding: 80px 0; background: var(--cobalt); color: #fff; }
.deep-links-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 24px; }
.deep-links .section-code { color: var(--lime); }
.deep-links-note { max-width: 360px; margin-top: 16px; color: #dfe5ff; line-height: 1.75; }
.route-link { min-height: 220px; position: relative; padding: 25px; border: 1px solid #9db0ff; background: #fff; color: var(--ink); }
.route-link > span { color: var(--cobalt); font-size: 11px; font-weight: 900; }
.route-link strong { display: block; max-width: 240px; margin-top: 50px; font-size: 22px; line-height: 1.4; }
.route-link em { position: absolute; right: 24px; bottom: 18px; color: var(--cobalt); font-size: 28px; font-style: normal; }

.faq-preview-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.faq-preview-list details { border-top: 1px solid var(--ink); }
.faq-preview-list summary { cursor: pointer; padding: 20px 0; font-weight: 800; }
.faq-preview-list details p { margin: -5px 0 20px; color: var(--muted); line-height: 1.75; }
.faq-preview-list .text-link { margin-top: 24px; }
.final-action { background: var(--lime); border-top: 1px solid var(--ink); }
.final-action-inner { min-height: 176px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.final-action-inner span { font-size: 11px; font-weight: 900; }
.final-action h2 { margin: 8px 0 0; font-size: 34px; }
.primary-button-dark { color: #fff; background: var(--ink); border-color: var(--ink); }
.site-footer { padding: 34px 0; background: #0f1110; color: #fff; }
.footer-inner { display: grid; grid-template-columns: 180px 1fr 220px; align-items: center; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { border-radius: 4px; }
.footer-inner p { margin: 0; text-align: center; color: #c8ccc8; font-size: 12px; line-height: 1.7; }
.footer-inner small { text-align: center; color: #929792; }

.page-hero { background: var(--field); border-bottom: 1px solid var(--ink); }
.page-hero-inner { min-height: 390px; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 60px; }
.page-hero h1 { max-width: 800px; margin: 0; font-size: 52px; line-height: 1.12; }
.page-hero p { max-width: 700px; margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.page-index { height: 185px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid var(--ink); background: var(--lime); box-shadow: 12px 12px 0 var(--cobalt); }
.page-index strong { font-size: 68px; line-height: 1; }
.page-index span { margin-top: 10px; font-size: 11px; font-weight: 900; }
.article-section { padding: 78px 0 96px; }
.article-layout { display: grid; grid-template-columns: 250px 1fr; gap: 75px; align-items: start; }
.article-nav { position: sticky; top: 100px; display: grid; border-top: 2px solid var(--ink); }
.article-nav strong { padding: 17px 0; }
.article-nav a { padding: 13px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.article-content { min-width: 0; }
.article-content > section:not(.article-action) { padding: 0 0 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.step-no { color: var(--cobalt); font-size: 11px; font-weight: 900; }
.article-content h2 { margin: 10px 0 22px; font-size: 30px; }
.article-content p { color: #454a46; font-size: 16px; line-height: 1.95; }
.check-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.check-row > * { padding: 8px 11px; border: 1px solid var(--ink); border-radius: 3px; font-size: 12px; }
.check-row strong { color: #fff; background: var(--ink); }
.inline-route { display: inline-flex; margin-top: 12px; color: var(--cobalt); font-weight: 800; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.article-action { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 30px; background: var(--field); border-left: 7px solid var(--lime); }
.article-action h2 { margin-bottom: 8px; }
.article-action p { margin: 0; font-size: 14px; }

.support-meter { display: grid; grid-template-columns: repeat(2, 1fr); border: 2px solid var(--ink); background: #fff; box-shadow: 12px 12px 0 var(--coral); }
.support-meter span { min-height: 75px; display: grid; place-items: center; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: 11px; font-weight: 900; }
.support-meter span:nth-child(even) { border-right: 0; }
.support-meter span:nth-child(n+3) { border-bottom: 0; }
.support-meter span:first-child { background: var(--lime); }
.faq-tools { display: grid; grid-template-columns: 120px minmax(260px, 600px) 1fr; align-items: center; gap: 18px; margin-bottom: 48px; }
.faq-tools label { font-weight: 900; }
.search-control { position: relative; }
.search-control input { width: 100%; min-height: 50px; padding: 0 48px 0 15px; border: 1px solid var(--ink); border-radius: 4px; background: #fff; }
.search-control span { position: absolute; right: 15px; top: 8px; font-size: 28px; }
.faq-tools p { margin: 0; text-align: right; color: var(--muted); font-size: 13px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--ink); }
.faq-button { width: 100%; min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.faq-button span { display: flex; align-items: center; gap: 23px; font-size: 17px; font-weight: 800; }
.faq-button em { color: var(--cobalt); font-size: 11px; font-style: normal; }
.faq-button b { width: 34px; height: 34px; display: grid; flex: 0 0 auto; place-items: center; color: #fff; background: var(--ink); font-size: 21px; font-weight: 400; }
.faq-button[aria-expanded="true"] b { color: var(--ink); background: var(--lime); transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s ease; }
.faq-answer > p { min-height: 0; overflow: hidden; margin: 0; max-width: 850px; color: var(--muted); line-height: 1.85; }
.faq-button[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }
.faq-button[aria-expanded="true"] + .faq-answer > p { padding: 0 0 24px 44px; }
.faq-item[hidden] { display: none; }
.faq-empty { padding: 35px 0; color: var(--muted); }
.final-action-links { display: flex; align-items: center; gap: 28px; }
.light-link { color: var(--ink); }
.light-link span { color: var(--ink); }

@media (max-width: 960px) {
  :root { --rail: min(100% - 36px, 760px); }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero h1 { font-size: 45px; }
  .screen-stage { height: 390px; }
  .screen-stage img { height: 345px; }
  .mode-band-inner { grid-template-columns: 180px 1fr; gap: 28px; }
  .gallery-grid { gap: 15px; }
  .gallery-frame { height: 450px; }
  .gallery-frame img { max-height: 410px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2) { border-right: 0; }
  .feature-item:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .deep-links-grid { grid-template-columns: 1fr 1fr; }
  .deep-links-intro { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 140px 1fr; }
  .footer-inner small { grid-column: 1 / -1; text-align: center; }
}

@media (max-width: 720px) {
  :root { --rail: calc(100% - 28px); }
  .header-inner { height: 64px; }
  .brand-lockup img { width: 38px; height: 38px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 64px 0 auto; max-height: 0; display: grid; gap: 0; overflow: hidden; background: #fff; border-bottom: 1px solid var(--ink); transition: max-height .22s ease; }
  .site-nav.is-open { max-height: 330px; }
  .site-nav > a:not(.download-link) { padding: 17px 20px; border-bottom: 1px solid var(--line); }
  .site-nav > a.is-current:not(.download-link) { border-bottom-color: var(--line); border-left: 5px solid var(--cobalt); }
  .site-nav .download-link { margin: 14px; }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 20px; padding: 22px 0 18px; }
  .hero h1 { max-width: none; font-size: 39px; line-height: 1.08; }
  .hero-copy > p { margin: 17px 0 15px; font-size: 14px; line-height: 1.75; }
  .hero-actions { margin-top: 18px; }
  .primary-button { min-height: 42px; padding-inline: 18px; }
  .switchboard { width: min(100% - 14px, 380px); box-shadow: 8px 8px 0 var(--lime); }
  .switchboard-head { height: 40px; }
  .screen-stage { height: 245px; }
  .screen-stage::before { inset: 15px; }
  .screen-stage img { height: 215px; border-width: 4px; box-shadow: 6px 6px 0 rgba(21, 23, 22, .14); }
  .screen-index { left: 8px; top: 8px; padding: 5px; }
  .readout { right: 7px; bottom: 7px; }
  .mode-selector span { min-height: 38px; font-size: 11px; }
  .mode-band-inner { grid-template-columns: 1fr; gap: 22px; padding: 27px 0; }
  .mode-band h2 { font-size: 27px; }
  .mode-notes { gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .mode-notes article { min-width: 220px; scroll-snap-align: start; }
  .gallery-section, .features-section, .faq-preview, .faq-section { padding: 60px 0; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2, .deep-links h2 { font-size: 31px; }
  .section-heading-wide { display: block; }
  .section-note { margin-top: 14px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 45px; }
  .gallery-item-offset { margin-top: 0; }
  .gallery-frame { height: 400px; }
  .gallery-frame img, .gallery-item-tall .gallery-frame img { max-height: 365px; max-width: 400px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .feature-item:nth-child(2) { border-right: 0; }
  .feature-item:last-child { border-bottom: 0; }
  .feature-item h3 { margin-top: 28px; }
  .deep-links { padding: 56px 0; }
  .deep-links-grid { grid-template-columns: 1fr; }
  .deep-links-intro { grid-column: auto; }
  .route-link { min-height: 180px; }
  .route-link strong { margin-top: 35px; }
  .faq-preview-grid { grid-template-columns: 1fr; gap: 10px; }
  .final-action-inner { min-height: 195px; display: grid; align-content: center; }
  .final-action h2 { font-size: 28px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
  .footer-inner small { grid-column: auto; }
  .page-hero-inner { min-height: 390px; grid-template-columns: 1fr; gap: 30px; padding: 42px 0; }
  .page-hero h1 { font-size: 38px; }
  .page-hero p { font-size: 15px; }
  .page-index { width: 100%; height: 110px; flex-direction: row; gap: 18px; box-shadow: 8px 8px 0 var(--cobalt); }
  .page-index strong { font-size: 48px; }
  .page-index span { margin-top: 0; }
  .article-section { padding: 55px 0 70px; }
  .article-layout { grid-template-columns: 1fr; gap: 45px; }
  .article-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .article-nav strong { grid-column: 1 / -1; }
  .article-nav a { padding-right: 8px; }
  .article-content h2 { font-size: 27px; }
  .article-content p { font-size: 15px; }
  .article-action { display: grid; padding: 24px; }
  .support-meter { min-height: 150px; box-shadow: 8px 8px 0 var(--coral); }
  .faq-tools { grid-template-columns: 1fr; gap: 10px; }
  .faq-tools p { text-align: left; }
  .faq-button span { align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; }
  .faq-button[aria-expanded="true"] + .faq-answer > p { padding-left: 0; }
  .final-action-links { align-items: flex-start; flex-direction: column; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
