:root {
  --brand: #155dfc;
  --brand-dark: #0e46c8;
  --brand-soft: #e8eeff;
  --ink: #171a24;
  --muted: #697086;
  --line: #dde1eb;
  --surface: #fff;
  --ground: #f6f7fb;
  --radius: 22px;
  --shadow: 0 18px 48px rgba(23, 26, 36, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#gateway, #app-download, #mini-program { scroll-margin-top: 96px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 15px/1.7 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(221, 225, 235, .9); background: rgba(246, 247, 251, .86); backdrop-filter: blur(18px); }
.site-header .shell { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 18px; white-space: nowrap; }
.brand img { width: 31px; height: 31px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 6px 18px rgba(23,26,36,.04); }
.nav > a, .nav-trigger { padding: 6px 15px; border: 0; border-radius: 999px; color: #596075; background: transparent; font: inherit; cursor: pointer; white-space: nowrap; }
.nav > a:hover, .nav > a.active, .nav-trigger:hover { background: var(--brand-soft); color: var(--brand); }
.nav-dropdown { position: relative; }
.nav-dropdown::after { content: ""; position: absolute; top: 100%; right: -10px; left: -10px; height: 16px; }
.nav-dropdown:hover .nav-menu, .nav-dropdown:focus-within .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-menu { position: absolute; top: calc(100% + 2px); left: 50%; width: 306px; padding: 10px; border: 1px solid rgba(221,225,235,.95); border-radius: 20px; background: rgba(255,255,255,.98); box-shadow: 0 20px 50px rgba(23,26,36,.12); opacity: 0; visibility: hidden; transform: translate(-50%, -8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.nav-menu a { display: block; padding: 13px 14px; border-radius: 14px; color: var(--ink); font-size: 14px; line-height: 1.35; }
.nav-menu a + a { margin-top: 3px; }
.nav-menu a:hover { background: linear-gradient(100deg, var(--brand-soft), #f6f8ff); color: var(--brand); }
.nav-menu small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.shortcut-capsule { display: inline-flex; min-height: 42px; align-items: center; gap: 2px; padding: 4px 5px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 5px 16px rgba(23,26,36,.05); white-space: nowrap; }
.shortcut-index { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 10px; font-weight: 500; }
.shortcut-link { display: inline-flex; min-height: 32px; align-items: center; justify-content: center; padding: 0 10px; border-radius: 999px; color: #596075; font-size: 11px; font-weight: 400; transition: .16s ease; }
.shortcut-link:hover { background: var(--brand-soft); color: var(--brand); }
.shortcut-link.primary { padding: 0 14px; background: var(--brand); color: #fff; }
.shortcut-link.primary:hover { background: var(--brand-dark); color: #fff; }
.quick-download { position: relative; }
.quick-trigger, .quick-miniprogram { display: inline-flex; min-height: 40px; align-items: center; padding: 0 11px; border: 0; border-radius: 999px; background: transparent; color: #596075; font: inherit; cursor: pointer; white-space: nowrap; }
.quick-trigger:hover, .quick-miniprogram:hover { background: var(--brand-soft); color: var(--brand); }
.quick-menu { position: absolute; top: calc(100% + 12px); right: 0; width: 224px; padding: 9px; border: 1px solid rgba(221,225,235,.95); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: 0 20px 50px rgba(23,26,36,.12); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.quick-download:hover .quick-menu, .quick-download:focus-within .quick-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.quick-menu a, .quick-menu span { display: block; padding: 11px 12px; border-radius: 12px; color: var(--ink); font-size: 13px; }
.quick-menu a:hover { background: var(--brand-soft); color: var(--brand); }.quick-menu small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }.quick-menu .unavailable { opacity: .52; }
.nav-action, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border: 1px solid var(--brand); border-radius: 999px; background: var(--brand); color: #fff; font-weight: 650; transition: .18s ease; }
.nav-action:hover, .button:hover { transform: translateY(-1px); background: var(--brand-dark); box-shadow: 0 10px 20px rgba(21,93,252,.18); }
.button.secondary { border-color: var(--line); background: #fff; color: var(--ink); }
.button.secondary:hover { background: #f1f4ff; box-shadow: none; }

.hero { position: relative; overflow: hidden; padding: 104px 0 84px; background: radial-gradient(circle at 88% 8%, rgba(21,93,252,.15), transparent 31%), radial-gradient(circle at 5% 90%, rgba(87,198,186,.12), transparent 32%), #fbfcff; border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(21,93,252,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(21,93,252,.04) 1px, transparent 1px); background-size: 34px 34px; pointer-events: none; }
.hero .shell { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .96fr) minmax(340px, .8fr); gap: 70px; align-items: center; }
.eyebrow { display: inline-flex; margin-bottom: 18px; padding: 5px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 760; letter-spacing: .08em; }
h1 { max-width: 720px; font-size: 48px; line-height: 1.2; letter-spacing: -.02em; }
.lead { max-width: 630px; margin-top: 22px; color: #50586d; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.visual { position: relative; min-height: 350px; border: 1px solid rgba(21,93,252,.17); border-radius: 30px; background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(232,238,255,.88)); box-shadow: var(--shadow); overflow: hidden; }
.visual .orbit { position: absolute; border: 1px solid rgba(21,93,252,.22); border-radius: 50%; }
.visual .orbit.a { width: 420px; height: 420px; top: -164px; right: -148px; }
.visual .orbit.b { width: 270px; height: 270px; bottom: -152px; left: -106px; }
.visual .window { position: absolute; inset: 46px 40px; padding: 19px; border: 1px solid rgba(216,222,239,.9); border-radius: 17px; background: rgba(255,255,255,.9); box-shadow: 0 16px 30px rgba(30,55,112,.1); }
.app-hero-visual { align-self: center; min-height: 0; height: 420px; background: #fff; }.app-hero-preview { display: block; width: 100%; height: auto; }
.window-top { display: flex; align-items: center; gap: 6px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #f2adad; }.dot:nth-child(2){background:#f4d289}.dot:nth-child(3){background:#9edbb0}
.window h3 { margin-top: 22px; font-size: 20px; }.window p { margin-top: 9px; color: var(--muted); font-size: 13px; }.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 24px; }.metric { padding: 11px; border-radius: 10px; background: #f5f7ff; color: var(--brand); font-size: 12px; font-weight: 700; }.line { height: 7px; margin-top: 10px; border-radius: 999px; background: linear-gradient(90deg, #155dfc 45%, #dce4ff 45%); }

.page-section { padding: 92px 0; background: var(--surface); }.page-section.alt { background: var(--ground); }.section-heading { max-width: 730px; margin-bottom: 38px; }.section-heading h2 { font-size: clamp(30px, 3.3vw, 43px); line-height: 1.2; letter-spacing: -.04em; }.section-heading p { margin-top: 14px; color: var(--muted); font-size: 16px; }
.grid-3, .grid-4, .grid-2, .agent-grid { display: grid; gap: 18px; }.grid-3 { grid-template-columns: repeat(3, 1fr); }.grid-4 { grid-template-columns: repeat(4, 1fr); }.grid-2 { grid-template-columns: repeat(2, 1fr); }.agent-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }.agent-grid .feature { padding: 16px; }.agent-grid .feature-icon { width: 34px; height: 34px; margin-bottom: 11px; border-radius: 10px; font-size: 12px; }.agent-grid .feature h3 { font-size: 14px; }.agent-grid .feature p { margin-top: 4px; font-size: 12px; line-height: 1.45; }
.card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }.card h3 { font-size: 18px; line-height: 1.35; }.card p { margin-top: 10px; color: var(--muted); }.card .number { display: block; margin-bottom: 22px; color: var(--brand); font-weight: 750; }
.feature { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }.feature-icon { display: grid; width: 42px; height: 42px; margin-bottom: 21px; place-items: center; border-radius: 13px; background: var(--brand-soft); color: var(--brand); font-weight: 800; }.feature h3 { font-size: 17px; }.feature p { margin-top: 9px; color: var(--muted); font-size: 14px; }
.quote-band { padding: 78px 0; color: #fff; background: var(--brand); }.quote-band blockquote { max-width: 850px; margin: 0; font-size: clamp(29px, 3.8vw, 48px); line-height: 1.32; letter-spacing: -.045em; }.quote-band p { margin-top: 16px; color: rgba(255,255,255,.8); }
.quote-band .single-line-quote { max-width: none; white-space: nowrap; font-size: clamp(11px, 3.1vw, 44px); }
.process { counter-reset: step; }.process .card::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 23px; color: var(--brand); font-weight: 800; }
.media-card { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 15px 32px rgba(23,26,36,.05); }.media-card img { display: block; width: 100%; max-height: 430px; object-fit: cover; object-position: top; }.media-card .caption { padding: 19px 21px; color: var(--muted); font-size: 13px; }
.placeholder { display: grid; min-height: 318px; place-items: center; padding: 30px; background: linear-gradient(135deg, #e6edff, #f9fbff 57%, #e7f9f4); text-align: center; }.placeholder strong { display: block; font-size: 19px; }.placeholder span { display: block; max-width: 280px; margin-top: 9px; color: var(--muted); font-size: 13px; }
.cta { padding: 72px; border-radius: 30px; color: #fff; background: linear-gradient(120deg, #155dfc, #4438ca); }.cta h2 { max-width: 680px; font-size: clamp(31px, 4vw, 50px); line-height: 1.17; letter-spacing: -.045em; }.cta p { max-width: 660px; margin-top: 15px; color: #dce5ff; font-size: 16px; }.cta .hero-actions { margin-top: 27px; }.cta .button { border-color: #fff; background: #fff; color: var(--brand); }.cta .button.secondary { border-color: rgba(255,255,255,.42); background: transparent; color: #fff; }
.download-list { display: grid; gap: 22px; }.download-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; padding: 43px; border: 1px solid var(--line); border-radius: 26px; background: #fff; }.download-card > div { min-width: 0; }.download-card h2 { font-size: 30px; letter-spacing: -.035em; }.version { display: inline-block; margin: 16px 0; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 750; }.install { padding: 22px; border-radius: 17px; background: #f7f8fc; min-width: 0; }.install h3 { font-size: 16px; }.install ol { margin: 12px 0 0; padding-left: 20px; color: #596075; }.install li + li { margin-top: 6px; }
.independent-download { border: 1px solid var(--line); border-radius: 26px; background: #fff; overflow: hidden; }.independent-download summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 30px; color: var(--ink); cursor: pointer; font-weight: 700; list-style: none; }.independent-download summary::-webkit-details-marker { display: none; }.independent-download summary::after { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 19px; font-weight: 400; line-height: 0; padding-bottom: 2px; box-sizing: border-box; }.independent-download summary small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 400; }.independent-download[open] summary { border-bottom: 1px solid var(--line); }.independent-download[open] summary::after { content: "−"; padding-bottom: 2px; }.independent-download .download-card { border: 0; border-radius: 0; }
.app-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 23px; }.app-option { display: flex; flex-direction: column; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #fbfcff; }.app-option strong { display: block; }.app-option > span:not(.button) { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }.app-option .hero-actions { margin-top: auto; padding-top: 14px; }.qr { display: grid; width: 112px; height: 112px; margin-top: auto; margin-top: 12px; place-items: center; border: 1px dashed #8b9abf; background: repeating-conic-gradient(#17223d 0 25%, #fff 0 50%) 50% / 15px 15px; color: #fff; font-size: 11px; font-weight: 700; text-shadow: 0 1px 2px #000; }
.small-note { margin-top: 14px; color: var(--muted); font-size: 12px; }.gateway-note { font-size: 14px; }.disabled { opacity: .56; filter: grayscale(1); cursor: not-allowed; }.disabled:hover { transform: none; box-shadow: none; }

/* 刺猬投研AI：设备端与投研终端的双层架构 */
.system-visual { display: grid; place-items: center; padding: 38px; }
.system-visual-stack { position: relative; z-index: 1; width: min(100%, 360px); }
.system-node { padding: 22px 24px; border: 1px solid rgba(21,93,252,.17); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 12px 30px rgba(30,55,112,.08); }
.system-node.primary { color: var(--ink); border-color: rgba(21,93,252,.24); background: linear-gradient(135deg, #eef3ff, #f8faff); }
.system-node span { display: block; margin-bottom: 5px; color: var(--brand); font-size: 11px; font-weight: 760; letter-spacing: .08em; }
.system-node.primary span { color: var(--brand); }
.system-node strong { display: block; font-size: 22px; line-height: 1.25; }
.system-node small { display: block; margin-top: 7px; color: var(--muted); }
.system-node.primary small { color: var(--muted); }
.system-link { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: 15px 28px; color: var(--muted); font-size: 11px; }
.system-link i { height: 1px; background: #b9c8ef; }
.system-link b { font-weight: 650; }
.system-map { display: grid; grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr); align-items: stretch; }
.system-role-card { padding: 38px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 16px 38px rgba(23,26,36,.05); }
.system-role-card.device-role { border-color: rgba(21,93,252,.3); background: linear-gradient(145deg, #fff, #f6f8ff); }
.role-kicker { display: flex; gap: 9px; align-items: center; margin-bottom: 20px; color: var(--brand); font-size: 12px; font-weight: 760; letter-spacing: .04em; }
.role-kicker span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 10px; background: var(--brand-soft); }
.system-role-card h3 { font-size: 31px; line-height: 1.15; letter-spacing: -.035em; }
.system-role-card > p:not(.role-subtitle) { margin-top: 18px; color: #50586d; }
.role-subtitle { margin-top: 9px; color: var(--brand); font-size: 13px; font-weight: 650; }
.role-list { margin: 24px 0 0; padding: 0; list-style: none; }
.role-list li { position: relative; padding: 12px 0 12px 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.role-list li::before { content: ""; position: absolute; top: 21px; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); }
.role-list strong { color: var(--ink); }
.system-connector { display: grid; place-items: center; position: relative; color: var(--brand); font-size: 11px; font-weight: 700; writing-mode: vertical-rl; letter-spacing: .08em; }
.system-connector::before { content: ""; position: absolute; top: 50%; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, var(--brand), #a8baf0, var(--brand)); }
.system-connector span { position: relative; z-index: 1; padding: 12px 7px; border-radius: 999px; background: var(--brand-soft); }
.dependency-callout { display: flex; gap: 18px; align-items: center; margin-top: 20px; padding: 18px 22px; border: 1px solid #f0d79d; border-radius: 17px; background: #fffaf0; color: #776139; }
.dependency-callout strong { flex: 0 0 auto; color: #9a6512; }
.download-family { padding: 28px 32px; border-radius: 22px; color: #fff; background: linear-gradient(120deg, #155dfc, #4338ca); }
.download-family h2 { font-size: 28px; }
.download-family p { margin-top: 8px; color: #dce5ff; }

/* Gateway Badges & Callout */
.gw-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 16px; }
.gw-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.3; }
.gw-badge.version { background: var(--brand-soft); color: var(--brand); font-weight: 750; }
.gw-badge.tag { background: #f0f3fa; color: #475569; border: 1px solid var(--line); }

.gw-callout { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 22px; padding: 13px 15px; border-radius: 14px; background: linear-gradient(135deg, #f8faff 0%, #f1f5fe 100%); border: 1px solid #d8e2fd; }
.gw-callout-icon { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; background: #e1ebff; color: var(--brand); margin-top: 1px; }
.gw-callout-content { flex: 1; font-size: 12.5px; line-height: 1.55; color: #475569; }
.gw-callout-content strong { color: #1e293b; font-weight: 700; }

/* Install Matrix */
.product-intro-action { display: flex; margin-top: 18px; }
.product-intro-action .button { min-height: 38px; padding: 0 16px; }
.gw-install-group { display: flex; flex-direction: column; gap: 26px; margin-top: 28px; min-width: 0; }
.gw-desktop-block { padding-bottom: 26px; border-bottom: 1px dashed var(--line); }
.gw-cli-block { min-width: 0; }
.gw-block-label { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; color: #5f6f88; font-size: 13px; font-weight: 780; letter-spacing: .04em; }
.gw-install-hint { margin: 0 0 13px; color: var(--muted); font-size: 12.5px; }
.gw-platform-matrix { display: flex; flex-direction: column; }
.gw-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gw-chip { display: flex; width: 100%; height: 56px; align-items: center; gap: 8px; padding: 0 15px; border: 1px solid #dce3ef; border-radius: 14px; background: #f8fafc; color: #334155; font-size: 13px; text-decoration: none; transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease; }
.gw-chip:hover { border-color: var(--brand); background: #fff; color: var(--brand); box-shadow: 0 5px 14px rgba(21, 93, 252, 0.12); transform: translateY(-1px); }
.gw-chip.is-current { border-color: var(--brand); background: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(21,93,252,.22); }
.gw-chip.is-current:hover { border-color: var(--brand-dark); background: var(--brand-dark); color: #fff; }
.gw-chip-icon { width: 16px; height: 16px; opacity: .78; flex-shrink: 0; }
.gw-chip:hover .gw-chip-icon { opacity: 1; }
.gw-chip .chip-title { font-weight: 720; white-space: nowrap; }
.gw-chip .chip-tag { margin-left: auto; color: #64748b; font-size: 11px; white-space: nowrap; }
.gw-chip:hover .chip-tag { color: var(--brand); opacity: .85; }
.gw-chip.is-current .chip-tag, .gw-chip.is-current:hover .chip-tag { color: #fff; opacity: .82; }

/* Terminal Window Box (Professional Zinc Charcoal) */
.terminal-window { border-radius: 10px; background: #18181b; overflow: hidden; border: 1px solid #27272a; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); min-width: 0; width: 100%; box-sizing: border-box; }
.terminal-header { display: flex; align-items: center; justify-content: space-between; padding: 7px 12px; background: #27272a; border-bottom: 1px solid #3f3f46; gap: 8px; }
.terminal-dots { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.terminal-dot { width: 9px; height: 9px; border-radius: 50%; }
.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }
.terminal-tabs { display: inline-flex; gap: 2px; background: #18181b; padding: 2px; border-radius: 6px; border: 1px solid #3f3f46; }
.terminal-tab { border: none; background: transparent; padding: 3px 9px; border-radius: 4px; font-size: 11px; font-weight: 550; color: #a1a1aa; cursor: pointer; transition: all .15s ease; white-space: nowrap; }
.terminal-tab:hover { color: #ffffff; }
.terminal-tab.active { background: #3f3f46; color: #ffffff; font-weight: 600; }
.terminal-body { display: block; padding: 12px 14px; background: #18181b; min-width: 0; }
.terminal-code { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace; font-size: 12.5px; line-height: 1.5; color: #ffffff; overflow-x: auto; white-space: nowrap; margin: 0; min-width: 0; scrollbar-width: thin; scrollbar-color: #3f3f46 transparent; }
.terminal-code::-webkit-scrollbar { height: 4px; }
.terminal-code::-webkit-scrollbar-track { background: transparent; }
.terminal-code::-webkit-scrollbar-thumb { background: #3f3f46; border-radius: 4px; }
.terminal-code .prompt { color: #71717a; margin-right: 8px; user-select: none; font-weight: 600; }
.terminal-copy-btn { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 5px; border: 1px solid #3f3f46; background: #18181b; color: #e4e4e7; font-size: 11px; font-weight: 550; cursor: pointer; flex-shrink: 0; transition: all .15s ease; margin-left: auto; }
.terminal-copy-btn:hover { background: #3f3f46; color: #ffffff; border-color: #52525b; }
.terminal-copy-btn.copied { background: #15803d; border-color: #22c55e; color: #ffffff; }
.terminal-footer { padding: 11px 14px 12px; background: #18181b; border-top: 1px solid #27272a; font-size: 11.5px; color: #a1a1aa; line-height: 1.65; }
.terminal-footer strong { color: #71717a; }

/* CLI block – muted gray variant */
.gw-cli-block .terminal-window { background: #f4f4f5; border: 1px solid #e4e4e7; box-shadow: none; }
.gw-cli-block .terminal-header { background: #f4f4f5; border-bottom: 1px solid #e4e4e7; }
.gw-cli-block .terminal-dots { display: none; }
.gw-cli-block .terminal-tabs { background: transparent; border-color: transparent; }
.gw-cli-block .terminal-tab { color: #a1a1aa; }
.gw-cli-block .terminal-tab:hover { color: #52525b; }
.gw-cli-block .terminal-tab.active { background: transparent; color: #3f3f46; font-weight: 600; }
.gw-cli-block .terminal-body { background: #f4f4f5; }
.gw-cli-block .terminal-code { color: #3f3f46; }
.gw-cli-block .terminal-code .prompt { color: #a1a1aa; }
.gw-cli-block .terminal-copy-btn { background: transparent; border-color: transparent; color: #a1a1aa; }
.gw-cli-block .terminal-copy-btn:hover { color: #52525b; }
.gw-cli-block .terminal-copy-btn.copied { background: transparent; border-color: transparent; color: #3f3f46; }
.gw-cli-block .terminal-footer { background: #f4f4f5; border-top: 1px solid #e4e4e7; color: #a1a1aa; }
.gw-cli-block .gw-block-label { color: #5f6f88; }

.site-footer { padding: 60px 0; border-top: 1px solid #d4d4d8; background: #fff; color: #71717a; font-size: 13px; }.site-footer .shell { width: min(1140px, calc(100% - 48px)); }.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, minmax(120px, 1fr)); gap: 40px; align-items: start; }.site-footer .brand { display: flex; width: fit-content; align-items: center; gap: 10px; margin: 0 0 16px; color: #71717a; font-size: 15px; font-weight: 600; line-height: 1.2; }.site-footer .brand:hover { color: #71717a; }.site-footer .brand img { display: block; width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; filter: grayscale(100%) opacity(.6); }.footer-grid h4 { margin: 0 0 16px; color: #18181b; font-size: 12px; font-weight: 600; }.footer-grid a, .footer-grid p { display: block; margin: 0 0 10px; color: #71717a; font-size: 13px; line-height: 1.6; transition: color .2s; }.footer-grid a:hover { color: var(--brand); }.footer-grid .footer-version { margin-top: 24px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; }.legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid #e4e4e7; color: #71717a; font-size: 12px; line-height: 1.6; text-align: center; }

@media (max-width: 1120px) { .site-footer .shell { width: min(calc(100% - 40px), 960px); } }
@media (max-width: 820px) { .site-footer .shell { width: calc(100% - 32px); max-width: none; } }

@media (max-width: 860px) { #gateway, #app-download, #mini-program { scroll-margin-top: 150px; }.site-header .shell { min-height: auto; padding: 13px 0; align-items: flex-start; flex-wrap: wrap; }.header-actions { display: none; }.nav { order: 3; width: 100%; overflow-x: auto; justify-content: flex-start; }.quick-miniprogram { display: none; }.nav-action { display: none; }.hero { padding: 74px 0 60px; }.hero .shell, .download-card { grid-template-columns: 1fr; gap: 36px; }.visual { min-height: 300px; }.app-hero-visual { height: 300px; }h1 { font-size: 38px; }.grid-4 { grid-template-columns: repeat(2, 1fr); }.grid-3 { grid-template-columns: 1fr; }.agent-grid { grid-template-columns: repeat(3, 1fr); }.system-map { grid-template-columns: 1fr; gap: 18px; }.system-connector { display: none; }.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 40px; }.footer-grid > :first-child { grid-column: 1 / -1; }.cta { padding: 42px 28px; } }
@media (max-width: 560px) { .shell { width: min(100% - 32px, 1160px); }.brand { font-size: 16px; }.shortcut-capsule { min-height: 38px; }.shortcut-index { width: 26px; height: 26px; flex-basis: 26px; font-size: 10px; }.shortcut-link { min-height: 28px; padding: 0 7px; font-size: 11px; }.shortcut-link.primary { padding: 0 10px; }.nav > a, .nav-trigger { padding: 6px 11px; font-size: 13px; }.nav-menu { left: 0; transform: translate(0,-6px); }.nav-dropdown:hover .nav-menu, .nav-dropdown:focus-within .nav-menu { transform: translate(0,0); }h1 { font-size: clamp(23px, 6.6vw, 27px); line-height: 1.2; letter-spacing: 0; }.lead { font-size: 16px; }.visual .window { inset: 30px 22px; }.system-visual { padding: 22px; }.system-node { padding: 17px 18px; }.app-hero-visual { height: 240px; }.metric-row { grid-template-columns: 1fr; }.grid-2, .grid-4, .agent-grid, .app-options { grid-template-columns: 1fr; }.system-role-card { padding: 27px; }.system-role-card h3 { font-size: 27px; }.dependency-callout { align-items: flex-start; flex-direction: column; gap: 5px; }.page-section { padding: 64px 0; }.download-card { padding: 27px; }.site-footer { padding: 28px 0 30px; }.site-footer .brand { gap: 8px; font-size: 14px; }.footer-grid { grid-template-columns: 1fr; gap: 20px; }.footer-grid > :first-child { grid-column: auto; }.footer-grid h4 { margin-bottom: 10px; }.footer-grid a, .footer-grid p { font-size: 12.5px; }.footer-grid .footer-version { margin-top: 14px; font-size: 10.5px; }.legal { margin-top: 24px; padding-top: 14px; font-size: 10.5px; text-align: left; }.footer-grid { grid-template-columns: 1fr; } }
