:root { --ink:#161725; --muted:#606272; --indigo:#3643a5; --indigo-dark:#242c76; --yellow:#f1d84b; --grid:#d5d8e4; --surface:#f4f5f8; --white:#fff; --max:1180px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--surface); font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,Helvetica,sans-serif; line-height:1.7; }
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; height:auto; }
button { font:inherit; }
.topbar { border-bottom:1px solid var(--ink); background:var(--white); }
.topbar-inner { width:min(calc(100% - 40px),var(--max)); min-height:72px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:900; }
.brand img { width:42px; height:42px; border:1px solid var(--ink); }
nav { display:flex; align-items:center; gap:8px; }
nav a { padding:10px 16px; font-size:14px; font-weight:800; border:1px solid transparent; }
nav a.active { border-color:var(--ink); background:var(--yellow); }
.download-small { color:var(--white); background:var(--indigo); }
.menu-button { display:none; width:42px; height:42px; border:1px solid var(--ink); background:var(--yellow); }
.hero { background-color:var(--surface); background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px); background-size:32px 32px; border-bottom:1px solid var(--ink); }
.hero-inner { width:min(calc(100% - 40px),var(--max)); min-height:670px; margin:0 auto; display:grid; grid-template-columns:minmax(0,1fr) minmax(430px,.83fr); gap:68px; align-items:center; padding:44px 0 52px; }
.terminal-label { display:inline-block; padding:5px 9px; color:var(--white); background:var(--ink); font:700 12px Consolas,"Courier New",monospace; }
.hero h1 { max-width:650px; margin:22px 0 16px; font-size:clamp(46px,5vw,70px); line-height:1.08; letter-spacing:0; }
.hero-copy>p { max-width:620px; margin:0; color:#454858; font-size:18px; background:rgba(244,245,248,.88); }
.hero-actions { display:flex; gap:12px; margin-top:28px; }
.button { min-height:48px; display:inline-flex; align-items:center; justify-content:center; padding:11px 22px; border:1px solid var(--ink); font-weight:900; }
.button.primary { color:var(--white); background:var(--indigo); box-shadow:6px 6px 0 var(--yellow); }
.button.secondary { background:var(--white); }
.button.light { color:var(--indigo-dark); background:var(--white); }
.status-row { display:grid; grid-template-columns:repeat(3,1fr); margin-top:36px; border-top:1px solid var(--ink); border-bottom:1px solid var(--ink); background:var(--white); }
.status-row span { padding:12px; font-size:13px; border-right:1px solid var(--grid); }
.status-row span:last-child { border-right:0; }
.status-row b { color:var(--indigo); margin-right:5px; }
.hero-workspace { height:540px; border:1px solid var(--ink); background:var(--white); box-shadow:14px 14px 0 var(--yellow); }
.workspace-bar { height:42px; display:flex; align-items:center; justify-content:space-between; padding:0 14px; color:var(--white); background:var(--ink); font:700 12px Consolas,"Courier New",monospace; }
.status-dot { color:var(--yellow); }
.workspace-body { height:498px; display:grid; grid-template-columns:1fr 84px; align-items:center; gap:14px; padding:18px; overflow:hidden; }
.workspace-body img { width:auto; max-width:399px; max-height:460px; margin:auto; border:1px solid var(--grid); }
.tool-legend { align-self:stretch; display:flex; flex-direction:column; justify-content:space-around; border-left:1px solid var(--grid); }
.tool-legend span { writing-mode:vertical-rl; margin:auto; font:700 11px Consolas,"Courier New",monospace; }
.section { border-bottom:1px solid var(--ink); }
.section-inner { width:min(calc(100% - 40px),var(--max)); margin:0 auto; padding:76px 0; }
.section-title { display:flex; align-items:baseline; gap:16px; margin-bottom:34px; }
.section-title>span { font:700 13px Consolas,"Courier New",monospace; color:var(--indigo); }
h2 { margin:0; font-size:36px; line-height:1.2; letter-spacing:0; }
h3 { letter-spacing:0; }
.preview { background:var(--white); }
.preview-board { display:grid; grid-template-columns:1.1fr 1fr 1fr; gap:20px; align-items:start; }
.preview-board figure { margin:0; border:1px solid var(--ink); background:var(--surface); box-shadow:7px 7px 0 var(--grid); }
.panel-tab { padding:8px 12px; color:var(--white); background:var(--indigo-dark); font:700 11px Consolas,"Courier New",monospace; }
.preview-board img { width:100%; max-width:400px; height:390px; object-fit:contain; margin:0 auto; background:var(--white); }
.preview-board figcaption { min-height:82px; padding:14px; border-top:1px solid var(--ink); color:var(--muted); font-size:14px; }
.tool-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--ink); border:1px solid var(--ink); }
.tool-grid article { min-height:205px; padding:26px; background:var(--surface); }
.tool-code { padding:3px 8px; background:var(--yellow); font:700 12px Consolas,"Courier New",monospace; }
.tool-grid h3 { margin:42px 0 6px; font-size:22px; }
.tool-grid p { margin:0; color:var(--muted); }
.setup { background:var(--yellow); }
.setup-layout { display:grid; grid-template-columns:.6fr 1.1fr; gap:48px; align-items:start; }
.checklist { display:grid; gap:10px; }
.checklist>div { display:grid; grid-template-columns:46px 1fr; border:1px solid var(--ink); background:var(--white); }
.checklist span { display:flex; align-items:center; justify-content:center; color:var(--white); background:var(--indigo); font-weight:900; }
.checklist p { margin:0; padding:14px 16px; }
.checklist strong { display:block; }
.setup-layout>.button { grid-column:2; justify-self:start; }
.question-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.question-grid a { min-height:160px; padding:20px; display:flex; flex-direction:column; justify-content:space-between; border:1px solid var(--ink); background:var(--white); }
.question-grid a:hover { box-shadow:6px 6px 0 var(--yellow); transform:translate(-2px,-2px); }
.question-grid span { color:var(--muted); font-size:14px; }
.cta { color:var(--white); background:var(--indigo-dark); }
.cta-inner { display:flex; align-items:center; justify-content:space-between; gap:40px; }
.cta .terminal-label { color:var(--ink); background:var(--yellow); }
.cta-note { margin-top:10px; color:#dfe2ff; }
footer { color:#d8d9e4; background:var(--ink); text-align:center; }
.footer-inner { width:min(calc(100% - 40px),var(--max)); margin:0 auto; padding:27px 0; }
.footer-inner p { margin:3px 0; font-size:13px; }
.manual-hero { border-bottom:1px solid var(--ink); background:var(--yellow); }
.manual-hero .section-inner { padding-top:68px; padding-bottom:68px; }
.manual-hero h1 { max-width:800px; margin:18px 0 12px; font-size:52px; line-height:1.15; }
.manual-hero p { max-width:730px; margin:0 0 24px; font-size:18px; }
.faq-manual { background:var(--grid); }
.manual-content { border-bottom:1px solid var(--ink); background:var(--white); }
.manual-grid { width:min(calc(100% - 40px),var(--max)); margin:0 auto; padding:62px 0 80px; display:grid; grid-template-columns:230px minmax(0,780px); gap:70px; justify-content:center; }
.manual-grid aside { position:sticky; top:18px; align-self:start; display:grid; border:1px solid var(--ink); background:var(--surface); }
.manual-grid aside strong,.manual-grid aside a { padding:11px 14px; border-bottom:1px solid var(--grid); }
.manual-grid aside strong { color:var(--white); background:var(--ink); }
.manual-grid article section { margin-bottom:42px; padding:0 0 38px; border-bottom:1px solid var(--grid); }
.manual-code { color:var(--indigo); font:700 12px Consolas,"Courier New",monospace; }
.manual-grid h2 { margin:8px 0 15px; font-size:30px; }
.manual-grid p { color:#3f4150; }
.manual-grid article a,.help-panel a { color:var(--indigo); font-weight:900; border-bottom:1px solid; }
.faq-area { background:var(--white); }
.faq-area .section-inner { max-width:960px; }
.faq-controls { display:flex; justify-content:flex-end; gap:8px; margin-bottom:12px; }
.faq-controls button { padding:8px 13px; border:1px solid var(--ink); background:var(--yellow); cursor:pointer; }
.faq-list { border:1px solid var(--ink); }
.faq-list details { border-bottom:1px solid var(--ink); }
.faq-list details:last-child { border-bottom:0; }
.faq-list summary { list-style:none; cursor:pointer; padding:18px 54px 18px 16px; position:relative; font-weight:900; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary span { display:inline-block; width:72px; color:var(--indigo); font:700 12px Consolas,"Courier New",monospace; }
.faq-list summary:after { content:"+"; position:absolute; right:18px; top:11px; font-size:28px; }
.faq-list details[open] summary { background:var(--yellow); }
.faq-list details[open] summary:after { content:"−"; }
.faq-list details div { padding:0 54px 20px 88px; background:var(--surface); }
.faq-list p { margin:0; }
.help-panel { margin-top:24px; padding:22px; border:1px solid var(--ink); box-shadow:7px 7px 0 var(--grid); }
.help-panel p { margin:5px 0 0; }
@media (max-width:900px) { .hero-inner{grid-template-columns:1fr 390px;gap:36px}.hero h1{font-size:50px}.question-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:720px) {
  .topbar-inner{width:min(calc(100% - 28px),var(--max));min-height:66px}.brand img{width:38px;height:38px}.menu-button{display:inline-flex;align-items:center;justify-content:center}.topbar nav{display:none;position:absolute;z-index:10;top:66px;left:14px;right:14px;padding:12px;border:1px solid var(--ink);background:var(--white);box-shadow:7px 7px 0 var(--yellow);flex-direction:column;align-items:stretch}.topbar nav.open{display:flex}.topbar nav a{text-align:center}
  .hero-inner{width:min(calc(100% - 28px),var(--max));min-height:0;grid-template-columns:1fr;gap:24px;padding:28px 0 34px}.hero h1{font-size:39px;margin:16px 0 10px}.hero-copy>p{font-size:15px}.hero-actions{margin-top:18px}.status-row{margin-top:20px}.status-row span{padding:8px;font-size:11px}.hero-workspace{height:268px;box-shadow:8px 8px 0 var(--yellow)}.workspace-bar{height:34px}.workspace-body{height:234px;grid-template-columns:1fr 54px;padding:10px}.workspace-body img{max-height:214px}.tool-legend span{font-size:9px}
  .section-inner{width:min(calc(100% - 28px),var(--max));padding:52px 0}h2{font-size:30px}.preview-board{grid-template-columns:1fr}.preview-board img{height:350px}.tool-grid{grid-template-columns:1fr}.tool-grid article{min-height:170px}.tool-grid h3{margin-top:28px}.setup-layout{grid-template-columns:1fr;gap:24px}.setup-layout>.button{grid-column:1}.question-grid{grid-template-columns:1fr}.question-grid a{min-height:130px}.cta-inner{flex-direction:column;align-items:flex-start}
  .manual-hero .section-inner{padding-top:48px;padding-bottom:48px}.manual-hero h1{font-size:38px}.manual-grid{width:min(calc(100% - 28px),var(--max));padding:46px 0 62px;grid-template-columns:1fr;gap:34px}.manual-grid aside{position:static}.faq-controls{justify-content:flex-start}.faq-list summary span{display:block;width:auto;margin-bottom:3px}.faq-list details div{padding:0 26px 18px 16px}
}
