:root {
  --paper: #f4f5f2;
  --white: #ffffff;
  --ink: #121716;
  --muted: #5f6865;
  --line: #c9cfca;
  --cyan: #12a8a0;
  --red: #ff5a45;
  --yellow: #f2d447;
  --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; 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; }
code { padding: 2px 5px; background: #e7ebe7; font-family: Consolas, monospace; font-size: .92em; }
.section-inner, .header-inner, .hero-inner { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(244,245,242,.96); border-bottom: 1px solid var(--ink); backdrop-filter: blur(12px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.site-nav a { position: relative; padding: 8px 0; }
.site-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; background: var(--cyan); }
.site-nav .nav-download { padding: 9px 16px; color: var(--white); background: var(--ink); border: 1px solid var(--ink); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--ink); background: transparent; font-size: 22px; cursor: pointer; }

.hero { border-bottom: 1px solid var(--ink); overflow: hidden; }
.hero-inner { min-height: 700px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(470px, .98fr); align-items: center; gap: 64px; padding: 52px 0 44px; }
.proof-kicker, .inner-kicker { display: flex; gap: 14px; margin-bottom: 20px; color: var(--muted); font: 700 12px/1.2 Consolas, monospace; }
.proof-kicker span:first-child, .inner-kicker { color: var(--red); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: none; margin-bottom: 20px; font-size: 38px; line-height: 1.08; letter-spacing: 0; white-space: nowrap; }
.hero-copy > p { max-width: 620px; margin-bottom: 26px; color: #39413f; font-size: 17px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border: 1px solid var(--ink); font-weight: 800; }
.button.primary { color: var(--white); background: var(--red); border-color: var(--red); box-shadow: 6px 6px 0 var(--ink); }
.button.primary:hover { transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--ink); }
.text-link { font-weight: 800; border-bottom: 1px solid var(--ink); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 36px 0 0; border-top: 1px solid var(--line); }
.hero-facts div { padding: 14px 12px 0 0; }
.hero-facts dt { color: var(--muted); font-size: 12px; }
.hero-facts dd { margin: 3px 0 0; font-size: 14px; font-weight: 800; }
.hero-media { position: relative; height: 570px; }
.proof-index { position: absolute; right: -54px; top: 180px; transform: rotate(90deg); color: var(--muted); font: 700 11px/1 Consolas, monospace; }
.proof-frame { position: absolute; margin: 0; background: var(--white); border: 1px solid var(--ink); box-shadow: 9px 9px 0 rgba(18,23,22,.14); }
.proof-frame img { width: auto; max-width: 100%; height: auto; }
.proof-frame figcaption { padding: 7px 10px; border-top: 1px solid var(--ink); background: var(--white); font: 700 11px/1.3 Consolas, monospace; }
.frame-main { left: 116px; top: 8px; width: 249px; z-index: 3; }
.frame-side { left: 4px; top: 100px; width: 170px; transform: rotate(-3deg); z-index: 2; }
.frame-corner { right: 4px; bottom: 10px; width: 164px; transform: rotate(2deg); z-index: 4; }
.crop-mark { position: absolute; width: 24px; height: 24px; z-index: 5; }
.crop-mark::before, .crop-mark::after { content: ""; position: absolute; background: var(--red); }
.crop-mark::before { width: 24px; height: 2px; }
.crop-mark::after { width: 2px; height: 24px; }
.top-left { left: -13px; top: -13px; }
.bottom-right { right: -13px; bottom: -13px; transform: rotate(180deg); }

.context-band { background: var(--ink); color: var(--white); }
.context-grid { min-height: 88px; display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); align-items: center; gap: 24px; font-size: 13px; }
.context-grid strong { color: var(--yellow); font-size: 16px; }
.context-grid span { padding-left: 18px; border-left: 1px solid #59605e; }
.section { padding: 88px 0; border-bottom: 1px solid var(--ink); }
.section-heading { display: flex; align-items: baseline; gap: 16px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-size: 34px; line-height: 1.2; letter-spacing: 0; }
.section-no { color: var(--red); font: 700 12px/1 Consolas, monospace; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); }
.feature-item { min-height: 250px; padding: 24px; background: var(--white); border-right: 1px solid var(--ink); }
.feature-item:last-child { border-right: 0; }
.feature-code { color: var(--cyan); font: 700 11px/1 Consolas, monospace; }
.feature-item h3 { margin: 36px 0 12px; font-size: 19px; }
.feature-item p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.gallery-section { background: #e7ebe7; }
.storyboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.storyboard figure { margin: 0; }
.image-mat { height: 460px; display: flex; align-items: center; justify-content: center; padding: 26px; background: var(--white); border: 1px solid var(--ink); }
.image-mat img { max-width: min(100%, 280px); max-height: 100%; object-fit: contain; }
.storyboard figcaption { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ink); }
.storyboard figcaption b { color: var(--red); }
.storyboard figcaption span { color: var(--muted); font-size: 13px; }
.safety-layout { display: grid; grid-template-columns: .7fr 1.6fr .7fr; gap: 36px; align-items: start; }
.safety-layout .section-heading { display: block; }
.safety-layout .section-no { display: block; margin-bottom: 12px; }
.checklist { border-top: 1px solid var(--ink); }
.checklist > div { display: grid; grid-template-columns: 34px 170px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.checklist span { color: var(--cyan); font: 700 12px/1.7 Consolas, monospace; }
.checklist h3 { margin: 0; font-size: 16px; }
.checklist p { margin: 0; color: var(--muted); font-size: 14px; }
.route-card { padding: 22px; background: var(--yellow); border: 1px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); }
.route-card span, .route-card em { display: block; font-size: 12px; font-style: normal; }
.route-card strong { display: block; margin: 28px 0; font-size: 22px; line-height: 1.3; }
.question-links { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.question-links a { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); font-weight: 800; }
.question-links a:nth-child(odd) { padding-right: 28px; }
.question-links a:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.question-links span { color: var(--red); font: 700 12px/1 Consolas, monospace; }
.download-band { padding: 46px 0; color: var(--white); background: var(--cyan); border-bottom: 1px solid var(--ink); }
.download-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.download-inner span { font: 700 11px/1 Consolas, monospace; }
.download-inner h2 { margin: 8px 0 0; font-size: 30px; }
.download-title { display: flex; align-items: center; gap: 10px; }
.download-title img { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 8px; }
.download-inner .button { gap: 8px; }
.android-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.download-inner .primary { background: var(--ink); border-color: var(--ink); box-shadow: 6px 6px 0 var(--yellow); }

.inner-hero { padding: 70px 0 58px; background: var(--white); border-bottom: 1px solid var(--ink); }
.inner-hero .section-inner { max-width: 980px; margin-left: max(20px, calc((100% - var(--max)) / 2)); }
.inner-hero h1 { max-width: 780px; margin-bottom: 20px; font-size: clamp(38px, 5vw, 62px); line-height: 1.08; letter-spacing: 0; }
.inner-hero p { max-width: 760px; color: var(--muted); font-size: 17px; }
.guide-grid { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 70px; justify-content: space-between; }
.guide-nav { position: sticky; top: 100px; align-self: start; display: grid; border-top: 4px solid var(--ink); }
.guide-nav strong { padding: 14px 0; }
.guide-nav a { padding: 10px 0; color: var(--muted); border-top: 1px solid var(--line); font-size: 14px; }
.guide-content article { scroll-margin-top: 100px; padding-bottom: 54px; margin-bottom: 54px; border-bottom: 1px solid var(--ink); }
.guide-content article:last-child { margin-bottom: 0; }
.guide-content h2 { margin: 12px 0 18px; font-size: 30px; }
.guide-content p { color: #39413f; }
.guide-content a { font-weight: 800; border-bottom: 1px solid var(--ink); }
.step-tag { color: var(--red); font: 700 11px/1 Consolas, monospace; }
.notice { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px; background: var(--yellow); border: 1px solid var(--ink); }
.faq-hero { background: var(--yellow); }
.faq-layout { display: grid; grid-template-columns: 300px minmax(0, 760px); gap: 70px; justify-content: space-between; }
.faq-intro { position: sticky; top: 100px; align-self: start; padding: 22px; color: var(--white); background: var(--ink); }
.faq-intro > span { color: var(--cyan); font: 700 11px/1 Consolas, monospace; }
.faq-intro h2 { margin: 16px 0; font-size: 25px; }
.faq-intro ol { padding-left: 20px; margin-bottom: 0; color: #d9ddda; font-size: 14px; }
.faq-item { scroll-margin-top: 100px; border-top: 1px solid var(--ink); }
.faq-item:last-child { border-bottom: 1px solid var(--ink); }
.faq-item button { width: 100%; min-height: 68px; display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; gap: 12px; padding: 12px 0; border: 0; color: var(--ink); background: transparent; font: 800 16px/1.5 inherit; text-align: left; cursor: pointer; }
.faq-item button span { color: var(--red); font: 700 12px/1 Consolas, monospace; }
.faq-item button b { font-size: 24px; font-weight: 400; text-align: center; transition: transform .2s ease; }
.faq-item button[aria-expanded="true"] b { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 36px 22px 56px; color: var(--muted); }
.faq-answer p { margin: 0; }
.faq-item button[aria-expanded="true"] + .faq-answer { display: block; }
.site-footer { padding: 32px 0; color: #cfd4d1; background: var(--ink); text-align: center; }
.site-footer p { margin: 4px auto; font-size: 12px; text-align: center; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 430px; gap: 30px; }
  .hero h1 { font-size: 38px; }
  .frame-main { left: 100px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item { border-bottom: 1px solid var(--ink); }
  .feature-item:nth-child(2) { border-right: 0; }
  .feature-item:nth-last-child(-n+2) { border-bottom: 0; }
  .safety-layout { grid-template-columns: 1fr 2fr; }
  .route-card { grid-column: 2; }
}

@media (max-width: 760px) {
  .section-inner, .header-inner, .hero-inner { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 64px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .site-nav { position: absolute; left: 14px; right: 14px; top: 64px; display: none; padding: 12px; background: var(--paper); border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
  .site-nav.open { display: grid; gap: 4px; }
  .site-nav a { padding: 11px 12px; }
  .site-nav a.active::after { left: 12px; right: auto; width: 26px; }
  .site-nav .nav-download { margin-top: 4px; text-align: center; }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 24px; padding: 34px 0 24px; }
  .hero h1 { max-width: none; margin-bottom: 14px; font-size: 22px; }
  .hero-copy > p { margin-bottom: 18px; font-size: 15px; }
  .proof-kicker { margin-bottom: 14px; }
  .hero-actions { gap: 16px; }
  .hero-facts { margin-top: 24px; }
  .hero-media { height: 280px; order: 2; }
  .proof-index { display: none; }
  .frame-main { left: 50%; top: 0; width: 126px; transform: translateX(-50%); }
  .frame-side { left: 25px; top: 42px; width: 80px; }
  .frame-corner { right: 25px; bottom: 4px; width: 82px; }
  .proof-frame figcaption { padding: 5px 7px; font-size: 9px; }
  .context-grid { min-height: 70px; grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 12px 0; font-size: 11px; }
  .context-grid strong { font-size: 13px; }
  .context-grid span { padding-left: 10px; }
  .context-grid span:last-child { display: none; }
  .section { padding: 58px 0; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2 { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item { min-height: auto; border-right: 0; border-bottom: 1px solid var(--ink) !important; }
  .feature-item:last-child { border-bottom: 0 !important; }
  .feature-item h3 { margin-top: 18px; }
  .storyboard { grid-template-columns: 1fr; }
  .image-mat { height: 390px; }
  .storyboard figcaption { grid-template-columns: 100px 1fr; }
  .safety-layout { grid-template-columns: 1fr; gap: 24px; }
  .route-card { grid-column: auto; }
  .checklist > div { grid-template-columns: 30px 1fr; }
  .checklist p { grid-column: 2; }
  .question-links { grid-template-columns: 1fr; }
  .question-links a:nth-child(n) { padding: 17px 0; border-left: 0; }
  .download-inner { align-items: flex-start; flex-direction: column; }
  .download-inner h2 { font-size: 25px; }
  .inner-hero { padding: 44px 0 40px; }
  .inner-hero .section-inner { width: min(calc(100% - 28px), var(--max)); margin: 0 auto; }
  .inner-hero h1 { font-size: 38px; }
  .guide-grid, .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .guide-nav, .faq-intro { position: static; }
  .guide-nav { grid-template-columns: 1fr 1fr; }
  .guide-nav strong { grid-column: 1 / -1; }
  .guide-nav a { padding-right: 8px; }
  .guide-content h2 { font-size: 26px; }
  .notice { grid-template-columns: 1fr; gap: 4px; }
  .faq-item button { grid-template-columns: 34px 1fr 24px; font-size: 15px; }
  .faq-answer { padding-left: 46px; padding-right: 4px; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 22px; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts div:last-child { display: none; }
  .hero-media { height: 270px; }
  .frame-main { width: 122px; }
  .frame-side { width: 76px; }
  .frame-corner { width: 78px; }
}
