:root {
  --ink: #111827;
  --paper: #f8fafc;
  --white: #ffffff;
  --muted: #526071;
  --line: #cbd5e1;
  --cyan: #22d3ee;
  --cyan-dark: #0891b2;
  --red: #fb3b5b;
  --yellow: #facc15;
  --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.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: 0; }
[id] { scroll-margin-top: 88px; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 30; min-height: 72px; background: var(--paper); border-bottom: 1px solid var(--ink); }
.header-inner { height: 72px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 900; }
.brand img { width: 38px; height: 38px; border: 1px solid var(--ink); }
.site-nav { justify-self: center; display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 8px 13px; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 700; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--red); }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--ink); background: var(--white); font-size: 22px; cursor: pointer; }

.button { display: inline-flex; min-height: 48px; padding: 0 22px; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 4px; background: var(--cyan); color: var(--ink); font-weight: 900; box-shadow: 4px 4px 0 var(--ink); transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.button-small { min-height: 40px; padding-inline: 17px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; border-bottom: 1px solid var(--ink); }

.hero { overflow: hidden; background: var(--white); border-bottom: 1px solid var(--ink); }
.hero-grid { min-height: 540px; padding-block: 38px 30px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr); align-items: center; gap: 66px; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 18px; color: var(--cyan-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.eyebrow span { display: inline-block; }
.hero h1 { max-width: 600px; font-size: 56px; font-weight: 950; }
.hero-copy > p { max-width: 590px; margin-top: 20px; color: var(--muted); font-size: 17px; }
.hero-actions { margin-top: 26px; display: flex; align-items: center; gap: 24px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0 0; border-top: 1px solid var(--ink); }
.hero-facts div { padding: 13px 10px 0 0; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border-right: 0; padding-left: 10px; }
.hero-facts div:nth-child(2) { padding-left: 10px; }
.hero-facts dt { color: var(--muted); font-size: 11px; font-weight: 800; }
.hero-facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 900; }
.hero-media { position: relative; min-height: 430px; display: flex; flex-direction: column; justify-content: center; }
.hero-media::before { content: ""; position: absolute; inset: 14px 0 38px 30px; background: var(--cyan); border: 1px solid var(--ink); }
.contact-sheet { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 28px 4px; }
.screen-frame { position: relative; margin: 0; width: 186px; background: var(--white); border: 1px solid var(--ink); box-shadow: 8px 8px 0 rgba(17, 24, 39, .95); }
.screen-frame img { width: 100%; max-width: 400px; height: auto; }
.frame-one { transform: translateY(-10px); }
.frame-two { transform: translateY(12px); }
.frame-index { display: block; padding: 6px 8px; border-bottom: 1px solid var(--ink); font-size: 10px; font-weight: 900; }
.frame-two .frame-index { background: var(--red); color: var(--white); }
.chapter-timeline { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 8px; margin: 18px 24px 0 54px; padding: 8px 12px; background: var(--ink); color: var(--white); font-size: 10px; font-weight: 800; }
.chapter-timeline i { height: 1px; background: var(--cyan); }

.mode-ticker { background: var(--yellow); border-bottom: 1px solid var(--ink); }
.ticker-grid { min-height: 78px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); align-items: center; }
.ticker-grid > * { padding: 8px 18px; border-right: 1px solid var(--ink); font-size: 13px; text-align: center; }
.ticker-grid > *:first-child { padding-left: 0; text-align: left; }
.ticker-grid > *:last-child { border-right: 0; }

.section { padding-block: 78px; border-bottom: 1px solid var(--ink); }
.section-heading { display: flex; align-items: baseline; gap: 18px; margin-bottom: 34px; }
.section-heading h2 { font-size: 38px; }
.section-number, .article-code { color: var(--red); font-size: 12px; font-weight: 900; }
.gallery-section { background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.gallery-panel { min-height: 470px; margin: 0; display: grid; grid-template-columns: 1fr 205px; align-items: end; gap: 18px; padding: 28px 28px 0; border: 1px solid var(--ink); overflow: hidden; }
.gallery-panel img { width: 100%; max-width: 400px; align-self: end; }
.gallery-copy { align-self: center; padding-bottom: 28px; }
.gallery-copy > span { font-size: 12px; font-weight: 900; }
.gallery-copy h3 { margin-top: 14px; font-size: 25px; }
.gallery-copy p { margin-top: 12px; font-size: 14px; }
.gallery-dark { background: var(--ink); color: var(--white); }
.gallery-dark .gallery-copy > span { color: var(--cyan); }
.gallery-cyan { background: var(--cyan); }
.gallery-cyan .gallery-copy > span { color: #7f1d1d; }

.features-section { background: var(--white); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); }
.feature-card { position: relative; min-height: 240px; padding: 26px 22px; border-right: 1px solid var(--ink); }
.feature-card:last-child { border-right: 0; }
.feature-code { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 42px; background: var(--cyan); border: 1px solid var(--ink); font-size: 11px; font-weight: 900; }
.feature-card:nth-child(2) .feature-code, .feature-card:nth-child(4) .feature-code { background: var(--red); color: var(--white); }
.feature-card h3 { font-size: 22px; }
.feature-card p { margin-top: 12px; color: var(--muted); font-size: 14px; }

.routine-section { background: var(--cyan); }
.routine-layout { display: grid; grid-template-columns: 280px 1fr; gap: 70px; }
.section-heading-vertical { display: block; }
.section-heading-vertical h2 { margin-top: 16px; }
.routine-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.routine-list li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--ink); }
.routine-list li > span { font-weight: 950; }
.routine-list h3 { font-size: 20px; }
.routine-list p { margin-top: 7px; color: #293548; }

.routes-section { background: var(--paper); }
.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.route-block { min-height: 260px; padding: 30px; background: var(--white); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--cyan); }
.route-block > span { color: var(--cyan-dark); font-size: 11px; font-weight: 900; }
.route-block h2 { margin-top: 42px; font-size: 30px; }
.route-description { max-width: 490px; margin-top: 14px; color: var(--muted); }
.route-block strong { display: inline-block; margin-top: 24px; border-bottom: 1px solid currentColor; }
.route-block-red { box-shadow-color: var(--red); }
.route-block-red > span { color: var(--red); }

.download-band { padding-block: 54px; background: var(--ink); color: var(--white); }
.download-layout { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.download-layout h2 { max-width: 780px; font-size: 34px; }
.eyebrow-light { color: var(--cyan); }
.button-light { min-width: 140px; background: var(--white); box-shadow: 4px 4px 0 var(--cyan); }
.compact-band { margin-top: 0; }

.site-footer { padding-block: 28px; background: var(--paper); border-top: 1px solid var(--ink); }
.footer-inner { text-align: center; }
.footer-inner p { color: var(--muted); font-size: 12px; }
.footer-inner p + p { margin-top: 8px; color: var(--ink); font-weight: 700; }

.inner-hero { padding-block: 66px; background: var(--white); border-bottom: 1px solid var(--ink); }
.inner-hero-grid { display: grid; grid-template-columns: 1fr 390px; align-items: center; gap: 80px; }
.inner-hero h1 { max-width: 720px; font-size: 48px; }
.inner-hero p { max-width: 720px; margin: 20px 0 28px; color: var(--muted); font-size: 17px; }
.inner-index { display: grid; border: 1px solid var(--ink); background: var(--cyan); }
.inner-index span { padding: 16px 18px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 900; }
.inner-index span:last-child { border-bottom: 0; background: var(--red); color: var(--white); }

.article-section { padding-block: 70px; background: var(--paper); }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 780px); justify-content: space-between; gap: 70px; }
.article-nav { position: sticky; top: 102px; align-self: start; display: grid; border-top: 3px solid var(--ink); }
.article-nav strong { padding: 14px 0; color: var(--red); font-size: 12px; }
.article-nav a { padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.article-content > section { padding-bottom: 58px; margin-bottom: 58px; border-bottom: 1px solid var(--ink); }
.article-content > section:last-child { margin-bottom: 0; border-bottom: 0; }
.article-content h2 { margin: 10px 0 22px; font-size: 34px; }
.article-content p { color: #344256; font-size: 16px; }
.article-content p + p { margin-top: 16px; }
.article-content a { color: #0369a1; font-weight: 800; border-bottom: 1px solid currentColor; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.check-grid article { padding: 18px; background: var(--white); border: 1px solid var(--ink); }
.check-grid h3 { font-size: 17px; }
.check-grid p { margin-top: 9px; font-size: 13px; }
.numbered-steps { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.numbered-steps li { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.numbered-steps span { color: var(--muted); }
.notice { margin-top: 24px !important; padding: 16px 18px; background: #fff7ed; border-left: 4px solid var(--red); color: var(--ink) !important; }
.inline-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; }

.faq-hero { background: var(--cyan); }
.question-map { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.question-map span { min-height: 100px; display: grid; place-items: center; background: var(--white); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 950; }
.question-map span:nth-child(2n) { border-right: 0; }
.question-map span:nth-child(n+3) { border-bottom: 0; }
.question-map span:nth-child(2) { background: var(--red); color: var(--white); }
.question-map span:nth-child(3) { background: var(--yellow); }
.faq-section { padding-block: 72px; background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: 310px 1fr; gap: 70px; align-items: start; }
.faq-intro { position: sticky; top: 102px; }
.faq-intro h2 { margin: 12px 0 18px; font-size: 34px; }
.faq-intro p { margin-bottom: 22px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--ink); }
.faq-item h3 { margin: 0; }
.faq-item button { width: 100%; display: grid; grid-template-columns: 42px 1fr 28px; align-items: center; gap: 12px; padding: 20px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font-size: 17px; font-weight: 850; cursor: pointer; }
.faq-item button > span { color: var(--red); font-size: 11px; }
.faq-item button i { width: 28px; height: 28px; display: grid; place-items: center; background: var(--cyan); border: 1px solid var(--ink); font-style: normal; }
.faq-answer { padding: 0 40px 22px 54px; color: var(--muted); }

@media (max-width: 980px) {
  .shell { width: min(calc(100% - 36px), var(--max)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr); gap: 30px; }
  .hero h1 { font-size: 46px; }
  .screen-frame { width: 155px; }
  .gallery-panel { grid-template-columns: 1fr 165px; padding-inline: 20px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:nth-child(2) { border-right: 0; }
  .feature-card:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .routine-layout { grid-template-columns: 220px 1fr; gap: 40px; }
  .inner-hero-grid { grid-template-columns: 1fr 310px; gap: 40px; }
  .article-layout, .faq-layout { grid-template-columns: 220px 1fr; gap: 42px; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .site-header { min-height: 64px; }
  .header-inner { height: 64px; grid-template-columns: 1fr auto auto; gap: 10px; }
  .brand { font-size: 18px; }
  .brand img { width: 34px; height: 34px; }
  .menu-button { display: grid; place-items: center; order: 2; }
  .header-download { order: 3; min-height: 42px; padding-inline: 12px; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; padding: 10px 14px 14px; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--paper); border-bottom: 1px solid var(--ink); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 10px; background: var(--white); border: 1px solid var(--line); text-align: center; }
  .site-nav a[aria-current="page"] { border-color: var(--red); }
  .hero-grid { min-height: 0; padding-block: 22px 18px; grid-template-columns: 1fr; gap: 20px; }
  .eyebrow { margin-bottom: 10px; }
  .hero h1 { font-size: 34px; }
  .hero-copy > p { margin-top: 12px; font-size: 14px; line-height: 1.55; }
  .hero-actions { margin-top: 17px; gap: 18px; }
  .button { min-height: 44px; padding-inline: 17px; }
  .hero-facts { margin-top: 18px; }
  .hero-facts div { padding-top: 8px; }
  .hero-media { min-height: 250px; }
  .hero-media::before { inset: 8px 0 28px 18px; }
  .contact-sheet { gap: 12px; padding: 7px 22px 0; }
  .screen-frame { width: 118px; box-shadow: 5px 5px 0 var(--ink); }
  .frame-one { transform: translateY(-4px); }
  .frame-two { transform: translateY(5px); }
  .frame-index { padding: 4px 5px; font-size: 8px; }
  .chapter-timeline { margin: 9px 12px 0 28px; padding: 6px 8px; font-size: 8px; }
  .ticker-grid { min-height: 58px; grid-template-columns: 1fr 1fr 1fr; }
  .ticker-grid > * { padding: 5px; font-size: 10px; border-right: 1px solid var(--ink); }
  .ticker-grid strong { grid-column: 1 / -1; padding: 4px 0; border-right: 0; border-bottom: 1px solid var(--ink); text-align: center; }
  .ticker-grid span:nth-child(4) { border-right: 0; }
  .ticker-grid span:last-child { display: none; }
  .section { padding-block: 54px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2 { font-size: 30px; }
  .gallery-grid, .route-grid { grid-template-columns: 1fr; }
  .gallery-panel { min-height: 390px; grid-template-columns: 1fr 150px; padding: 22px 20px 0; }
  .gallery-copy h3 { font-size: 21px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--ink); }
  .feature-card:last-child { border-bottom: 0; }
  .feature-code { margin-bottom: 22px; }
  .routine-layout { grid-template-columns: 1fr; gap: 8px; }
  .section-heading-vertical { margin-bottom: 18px; }
  .routine-list li { grid-template-columns: 50px 1fr; }
  .route-block { min-height: 230px; padding: 24px; }
  .route-block h2 { margin-top: 32px; font-size: 26px; }
  .download-layout { display: grid; }
  .download-layout h2 { font-size: 27px; }
  .button-light { width: 140px; }
  .inner-hero { padding-block: 42px; }
  .inner-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .inner-hero h1 { font-size: 36px; }
  .inner-hero p { font-size: 15px; }
  .inner-index { grid-template-columns: 1fr 1fr; }
  .inner-index span { border-right: 1px solid var(--ink); }
  .inner-index span:nth-child(2n) { border-right: 0; }
  .inner-index span:nth-child(n+3) { border-bottom: 0; }
  .article-section, .faq-section { padding-block: 48px; }
  .article-layout, .faq-layout { grid-template-columns: 1fr; gap: 38px; }
  .article-nav, .faq-intro { position: static; }
  .article-nav { display: none; }
  .article-content > section { padding-bottom: 42px; margin-bottom: 42px; }
  .article-content h2 { font-size: 29px; }
  .check-grid { grid-template-columns: 1fr; }
  .numbered-steps li { grid-template-columns: 1fr; gap: 7px; }
  .faq-answer { padding-left: 0; padding-right: 10px; }
}

@media (max-width: 390px) {
  .shell { width: calc(100% - 24px); }
  .header-download { font-size: 13px; }
  .brand span { display: none; }
  .hero h1 { font-size: 32px; }
  .hero-actions { justify-content: space-between; }
  .hero-facts dt { font-size: 10px; }
  .hero-facts dd { font-size: 12px; }
  .gallery-panel { grid-template-columns: 1fr 130px; }
  .gallery-copy p { font-size: 13px; }
  .question-map span { min-height: 82px; }
}

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