:root {
  --ink: #121715;
  --muted: #5f6965;
  --paper: #f7f8f4;
  --white: #ffffff;
  --forest: #0b5d4b;
  --mint: #d9f0e6;
  --signal: #e74b35;
  --line: #c9d0cc;
  --dark: #14201c;
  --rail: min(1160px, calc(100% - 48px));
}

* { 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;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header { height: 72px; background: rgba(247, 248, 244, 0.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { width: var(--rail); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 800; }
.brand img { border-radius: 4px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.site-nav a.active { color: var(--forest); border-color: var(--forest); }
.site-nav .download-link { min-height: 42px; padding: 0 22px; color: var(--white); background: var(--forest); border: 1px solid var(--forest); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; font-size: 22px; cursor: pointer; }

.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-inner { width: var(--rail); min-height: 636px; margin: 0 auto; padding: 40px 0 32px; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr); gap: 58px; align-items: center; }
.signal-line, .section-code { font-family: Consolas, "Courier New", monospace; font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.signal-line { color: var(--forest); display: flex; align-items: center; gap: 9px; }
.signal-dot { width: 9px; height: 9px; background: var(--signal); display: inline-block; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 560px; margin: 16px 0 18px; font-size: 56px; line-height: 1.1; letter-spacing: 0; }
.hero-copy > p { max-width: 590px; margin-bottom: 24px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-bottom: 26px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; min-width: 132px; min-height: 48px; padding: 0 24px; background: var(--forest); color: var(--white); border: 1px solid var(--forest); font-weight: 800; }
.primary-button:hover { background: #074637; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-weight: 800; border-bottom: 1px solid currentColor; }
.hero-ledger { margin: 0; border-top: 1px solid var(--line); }
.hero-ledger div { display: grid; grid-template-columns: 72px 1fr; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hero-ledger dt { color: var(--muted); font-size: 13px; }
.hero-ledger dd { margin: 0; font-size: 13px; font-weight: 800; }

.hero-media { min-width: 0; }
.reel-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font-family: Consolas, "Courier New", monospace; font-size: 12px; font-weight: 700; }
.reel-head b { color: var(--signal); font-size: 24px; }
.screen-reel { height: 466px; display: grid; grid-template-columns: 1.12fr 0.88fr 0.62fr; gap: 10px; align-items: end; padding: 14px 0 10px; overflow: hidden; }
.screen-frame { margin: 0; min-width: 0; height: 100%; padding: 28px 7px 7px; position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--ink); }
.frame-side { height: 89%; }
.frame-launch { height: 72%; }
.frame-index { position: absolute; top: 5px; left: 7px; right: 7px; padding-bottom: 4px; border-bottom: 1px solid var(--line); font-family: Consolas, "Courier New", monospace; font-size: 10px; font-weight: 700; }
.screen-frame img { width: 100%; height: 100%; max-width: 400px; object-fit: cover; object-position: top center; }
.frame-launch img { object-fit: cover; }
.reel-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; border-top: 1px solid var(--ink); padding-top: 7px; }
.reel-track span { height: 5px; background: var(--line); }
.reel-track span:first-child, .reel-track span:nth-child(4) { background: var(--signal); }

.band { padding: 76px 0; border-bottom: 1px solid var(--line); }
.section-inner { width: var(--rail); margin: 0 auto; }
.section-heading { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: end; margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-size: 36px; line-height: 1.2; }
.section-note { max-width: 620px; justify-self: end; color: var(--muted); font-size: 15px; }
.workflow-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: repeat(4, 1fr); }
.workflow-list li { min-height: 210px; padding: 22px 20px 10px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.workflow-list li + li { padding-left: 20px; }
.workflow-list li:last-child { border-right: 0; }
.step-no { font: 700 13px/1 Consolas, "Courier New", monospace; color: var(--signal); }
.workflow-list h3 { margin-bottom: 7px; font-size: 20px; }
.workflow-list p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.band-dark { color: var(--white); background: var(--dark); border-color: #36423e; }
.heading-light .section-code { color: #8fc7b7; }
.heading-light .section-note { color: #b6c6c0; }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.showcase-item { margin: 0; min-width: 0; }
.showcase-image { height: 480px; display: flex; justify-content: center; align-items: flex-start; overflow: hidden; background: #eef2ed; border: 1px solid #52615c; }
.showcase-image img { width: auto; max-width: 400px; height: 100%; object-fit: contain; }
.showcase-image.launch-image { align-items: center; background: #ffe70b; }
.showcase-item figcaption { padding-top: 14px; display: grid; grid-template-columns: 36px 1fr; gap: 2px 10px; }
.showcase-item figcaption span { grid-row: span 2; color: #8fc7b7; font: 700 12px/1.6 Consolas, "Courier New", monospace; }
.showcase-item figcaption strong { font-size: 18px; }
.showcase-item figcaption small { color: #aebcb7; }

.feature-layout { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: start; }
.sticky-heading { display: block; position: sticky; top: 112px; }
.sticky-heading h2 { margin-top: 12px; }
.feature-rows { border-top: 2px solid var(--ink); }
.feature-rows article { display: grid; grid-template-columns: 80px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.feature-rows b { color: var(--signal); font: 700 16px/1.5 Consolas, "Courier New", monospace; }
.feature-rows h3 { margin-bottom: 8px; font-size: 22px; }
.feature-rows p { margin-bottom: 0; color: var(--muted); }

.band-mint { background: var(--mint); }
.split-links { display: grid; grid-template-columns: 1fr 1fr; }
.split-links article { min-height: 270px; padding: 0 56px 0 0; }
.split-links article + article { border-left: 1px solid #9dbbae; padding: 0 0 0 56px; }
.split-links h2 { margin: 14px 0; font-size: 36px; }
.split-links .link-copy { max-width: 440px; margin-bottom: 16px; color: #385048; }
.download-band { padding: 54px 0; background: var(--forest); color: var(--white); }
.download-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.download-inner h2 { margin: 6px 0 0; font-size: 34px; }
.inverse { color: var(--forest); background: var(--white); border-color: var(--white); }
.inverse:hover { color: var(--white); background: transparent; }

.inner-hero { padding: 68px 0 58px; background: var(--dark); color: var(--white); border-bottom: 1px solid #36423e; }
.inner-hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 70px; align-items: center; }
.inner-hero h1 { max-width: 780px; margin: 14px 0 18px; font-size: 42px; line-height: 1.2; }
.faq-hero h1 { font-size: 40px; }
.inner-hero p { max-width: 720px; color: #c3cec9; font-size: 17px; }
.inner-hero .primary-button { background: var(--signal); border-color: var(--signal); }
.guide-index, .faq-status { border-top: 2px solid #8fc7b7; padding-top: 12px; }
.guide-index > span, .faq-status > span { color: #8fc7b7; font: 700 12px/1 Consolas, "Courier New", monospace; }
.guide-index ol, .faq-status ul { list-style: none; margin: 16px 0 0; padding: 0; }
.guide-index li, .faq-status li { border-top: 1px solid #43514c; }
.guide-index a, .faq-status li { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; }
.guide-index a::after { content: "↘"; color: #8fc7b7; }
.faq-status b { color: #8fc7b7; margin-right: 12px; font-family: Consolas, "Courier New", monospace; }

.article-layout { display: grid; grid-template-columns: 290px 1fr; gap: 70px; align-items: start; }
.article-aside { position: sticky; top: 112px; }
.article-aside h2 { margin: 12px 0; font-size: 30px; }
.article-aside p { color: var(--muted); }
.step-list { border-top: 2px solid var(--ink); }
.step-list article { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.step-list h2 { margin-bottom: 12px; font-size: 26px; }
.step-list p { color: #4d5853; }
.step-list p:last-child { margin-bottom: 0; }
.step-list a { color: var(--forest); border-bottom: 1px solid currentColor; }
.safety-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 80px; }
.safety-grid h2 { margin: 12px 0 0; font-size: 34px; }
.safety-grid ul { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.safety-grid li { padding: 13px 0; border-bottom: 1px solid #9dbbae; }

.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: 70px; align-items: start; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 18px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 17px; font-size: 25px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary span { color: var(--signal); margin-right: 15px; font: 700 13px/1 Consolas, "Courier New", monospace; }
.faq-list details div { padding: 0 48px 22px 41px; color: var(--muted); }
.faq-list details p { margin-bottom: 0; }
.faq-list a { color: var(--forest); border-bottom: 1px solid currentColor; }
.support-route p { color: #385048; }

.site-footer { padding: 38px 0 30px; background: var(--paper); }
.footer-inner { width: var(--rail); margin: 0 auto; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; }
.footer-brand img { border-radius: 3px; }
.footer-links { display: flex; justify-content: center; gap: 28px; margin: 20px 0; font-size: 14px; font-weight: 700; }
.disclaimer, .copyright { margin: 6px auto 0; color: var(--muted); text-align: center; font-size: 13px; }

@media (max-width: 900px) {
  :root { --rail: min(100% - 32px, 720px); }
  .site-header { height: 64px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; position: absolute; top: 63px; left: 0; right: 0; padding: 12px 16px 18px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { justify-content: center; }
  .site-nav .download-link { margin-top: 8px; }
  .hero-inner { min-height: 0; padding: 28px 0 24px; grid-template-columns: 1fr; gap: 20px; }
  .hero h1 { font-size: 38px; margin: 10px 0 12px; }
  .hero-copy > p { margin-bottom: 16px; font-size: 15px; }
  .hero-actions { margin-bottom: 18px; }
  .hero-ledger { display: none; }
  .screen-reel { height: 245px; grid-template-columns: 1.05fr 0.9fr 0.6fr; gap: 7px; }
  .screen-frame { padding: 24px 4px 4px; }
  .frame-side, .frame-launch { height: 100%; }
  .frame-index { left: 4px; right: 4px; font-size: 8px; }
  .band { padding: 54px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 8px; }
  .section-heading h2, .split-links h2 { font-size: 30px; }
  .section-note { justify-self: start; }
  .workflow-list { grid-template-columns: 1fr 1fr; }
  .workflow-list li { min-height: 180px; border-bottom: 1px solid var(--line); }
  .workflow-list li:nth-child(2) { border-right: 0; }
  .workflow-list li:nth-child(3) { padding-left: 0; }
  .showcase-grid { overflow-x: auto; grid-template-columns: repeat(3, minmax(230px, 1fr)); padding-bottom: 12px; }
  .showcase-image { height: 410px; }
  .feature-layout, .article-layout, .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .sticky-heading, .article-aside { position: static; }
  .split-links { grid-template-columns: 1fr; gap: 44px; }
  .split-links article { min-height: 0; padding: 0; }
  .split-links article + article { padding: 44px 0 0; border-left: 0; border-top: 1px solid #9dbbae; }
  .inner-hero { padding: 48px 0; }
  .inner-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .inner-hero h1 { font-size: 38px; }
  .faq-hero h1 { font-size: 38px; }
  .safety-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  :root { --rail: calc(100% - 28px); }
  .brand span { font-size: 17px; }
  .hero-inner { padding-top: 22px; gap: 14px; }
  .hero h1 { max-width: 350px; font-size: 34px; }
  .hero-copy > p { line-height: 1.6; }
  .hero-actions { gap: 18px; }
  .primary-button { min-height: 44px; min-width: 120px; padding: 0 18px; }
  .screen-reel { height: 230px; padding-top: 10px; }
  .reel-head { padding-bottom: 4px; }
  .reel-head b { font-size: 18px; }
  .reel-track { padding-top: 4px; }
  .workflow-list { grid-template-columns: 1fr; }
  .workflow-list li, .workflow-list li + li { min-height: 0; padding: 22px 0; border-right: 0; }
  .workflow-list li { flex-direction: row; gap: 22px; justify-content: flex-start; }
  .workflow-list .step-no { padding-top: 6px; }
  .feature-rows article { grid-template-columns: 45px 1fr; gap: 12px; }
  .download-inner { align-items: flex-start; flex-direction: column; }
  .download-inner h2 { font-size: 28px; }
  .inner-hero h1 { max-width: 300px; font-size: 34px; }
  .faq-hero h1 { max-width: 300px; font-size: 32px; }
  .step-list article { grid-template-columns: 36px 1fr; gap: 12px; }
  .step-list h2 { font-size: 23px; }
  .faq-list summary { padding-right: 36px; font-size: 16px; }
  .faq-list details div { padding-left: 0; padding-right: 20px; }
  .footer-links { flex-wrap: wrap; gap: 12px 22px; }
}

