/**
 * [INPUT]: 依赖官网语义 HTML、本地 Inter 与系统中文字体。
 * [OUTPUT]: 提供品牌首屏、真实产品预览、能力网格与安装工具的响应式视觉。
 * [POS]: 官网唯一样式层，与 console 产品 tokens 独立，减少部署和运行耦合。
 * [PROTOCOL]: 变更时更新此头部，然后检查 CLAUDE.md
 */
@font-face { font-family: Inter; src: url('assets/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
:root { color-scheme: light; --ink: #171b19; --muted: #64705f; --line: #e2e6e0; --paper: #fff; --soft: #f6f7f4; --lime: #c2f970; --green: #287048; }
* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif; font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, summary { touch-action: manipulation; }
a, button { transition: color .16s, background-color .16s, border-color .16s; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid #448526; outline-offset: 5px; }
::selection { background: var(--lime); color: var(--ink); }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon.small { width: 17px; height: 17px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 20; padding: 10px 20px; background: var(--lime); }
.skip-link:focus { top: 10px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 25px; line-height: 1; flex-shrink: 0; }
.brand img { border-radius: 8px; }
.brand-period { color: #4e8734; }
nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 500; }
nav a, .footer-top > a, .text-link, figcaption a { display: inline-flex; align-items: center; gap: 7px; }
nav a:hover, .text-link:hover, figcaption a:hover, .footer-top > a:hover { color: var(--green); }
.nav-github { border-left: 1px solid var(--line); padding-left: 30px; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid transparent; background: transparent; border-radius: 6px; }
.icon-button:hover { background: #ffffff14; border-color: #ffffff35; }
.menu-toggle { display: none; }
.hero { background: #000; color: white; overflow: hidden; }
.hero-inner { min-height: 600px; height: min(680px, calc(100svh - 158px)); position: relative; display: flex; align-items: center; }
.hero-mascot { position: absolute; width: 610px; max-width: 54%; right: -74px; bottom: -6px; }
.hero-mascot img { width: 100%; }
.hero-copy { position: relative; z-index: 1; padding: 52px 0 84px; }
.release-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: #dce0da; }
.release-link:hover { color: var(--lime); }
.status-dot { display: inline-block; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: #75b35a; }
.release-link .status-dot { background: var(--lime); }
.release-channel { font-size: 10px; color: #9b9e98; border-left: 1px solid #363a34; padding-left: 10px; }
h1 { font-size: 112px; font-weight: 650; line-height: 1.1; margin: 20px 0 14px; }
h1 > span, .green { color: var(--lime); }
.hero-tagline { font-size: 35px; font-weight: 560; line-height: 1.42; }
.hero-description { margin-top: 22px; color: #a2a79f; font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 28px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 26px; padding: 11px 22px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 600; }
.button-lime { background: var(--lime); color: #192019; }
.button-lime:hover { background: #d4ff98; }
.hero-source { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.hero-source:hover { color: var(--lime); }
.hero-bottom { position: absolute; bottom: 23px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; font-size: 9px; color: #9b9f98; }
.hero-bottom a { border: 1px solid #545953; border-radius: 50%; width: 35px; height: 35px; display: grid; place-items: center; color: var(--lime); background: #000; }
.principles { border-bottom: 1px solid var(--line); background: var(--soft); }
.principles-inner { display: flex; gap: 35px; align-items: center; justify-content: space-between; min-height: 78px; font-size: 12px; color: #656d62; }
.principles-inner > span { display: inline-flex; align-items: center; gap: 8px; }
.principles-inner > span:first-child { font-weight: 600; color: var(--ink); margin-right: auto; font-size: 14px; }
.principles .icon { color: #487136; }
.section { padding: 104px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 42px; }
.eyebrow { font-size: 10px; font-weight: 600; margin-bottom: 24px; line-height: 1.5; }
.eyebrow > span { color: var(--muted); margin-right: 10px; }
h2 { font-size: 39px; line-height: 1.45; font-weight: 550; }
.muted { color: var(--muted); }
.section-intro { color: var(--muted); font-size: 14px; line-height: 1.95; }
.preview-picker { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.preview-picker button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 19px; font-size: 13px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #697166; }
.preview-picker button[aria-selected="true"] { border-bottom-color: var(--ink); color: var(--ink); }
.preview-picker button:hover { background: var(--soft); }
.product-preview { margin-bottom: 24px; }
.preview-meta { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: #f4f6f2; border: 1px solid var(--line); border-radius: 7px 7px 0 0; font-size: 10px; color: #697262; }
.preview-meta > span:first-child { display: flex; gap: 8px; align-items: center; color: #46503f; font-weight: 500; }
.screenshot-link { display: block; background: #f7f8f9; border: 1px solid var(--line); border-top: 0; }
.screenshot-link img { width: 100%; aspect-ratio: 1920 / 865; object-fit: contain; }
#preview-desktop .screenshot-link img { background: #f4f6f2; }
figcaption { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); padding: 17px 0 0; }
figcaption a { flex-shrink: 0; color: #263320; }
.features-section { background: var(--soft); border-block: 1px solid var(--line); }
.text-link { font-size: 13px; font-weight: 500; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #d9dfd4; }
.feature { padding: 30px 30px 32px; border-bottom: 1px solid #d9dfd4; border-right: 1px solid #d9dfd4; }
.feature:nth-child(3n) { border-right: 0; }
.feature:nth-child(3n + 1) { padding-left: 0; }
.feature:nth-child(3n) { padding-right: 0; }
.feature-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; }
.feature-top > span { font-size: 10px; color: var(--muted); }
.feature-icon { width: 42px; height: 42px; padding: 10px; border-radius: 7px; }
.mint { background: #e1ecd9; color: #4b683b; }
.lilac { background: #e8e3f0; color: #796390; }
.peach { background: #f2e4dc; color: #94715d; }
.blue { background: #e0e8f0; color: #527493; }
.yellow { background: #efeccb; color: #7c7634; }
.pink { background: #efe0e6; color: #935f76; }
h3 { font-size: 17px; font-weight: 600; line-height: 1.5; }
.feature p { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.9; min-height: 74px; max-width: 300px; }
.feature-tags { margin-top: 24px; font-size: 10px; color: #5b6554; }
.feature-tags > span { color: var(--muted); padding: 0 5px; }
.ownership-section { background: #18211c; color: #f6f8f2; padding: 85px 0; }
.ownership-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.ownership-section .eyebrow { color: #b6c1ae; }
.ownership-section h2 { font-size: 35px; }
.ownership-section p:not(.eyebrow) { color: #aab7a2; font-size: 13px; line-height: 1.9; margin: 22px 0 28px; }
.ownership-section .text-link { color: var(--lime); }
.boundary-flow { width: 100%; }
.flow-node { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-block: 1px solid #3b473c; }
.flow-node > .icon { width: 34px; height: 34px; padding: 5px; color: #aabc9f; }
.flow-node strong { font-size: 14px; font-weight: 500; display: block; }
.flow-node div > span { display: block; font-size: 10px; color: #9baa92; }
.flow-label { margin-left: auto; font-size: 8px; color: #a0af95; }
.flow-node > .icon:last-child { margin-left: auto; }
.flow-connector { display: flex; align-items: center; gap: 32px; height: 38px; padding-left: 19px; }
.flow-connector > span { width: 1px; height: 38px; background: #506044; }
.flow-connector > small { font-size: 9px; color: #a0af95; }
.own-node { border-color: #a4c283; }
.own-node img { border-radius: 5px; }
.own-node strong { font-size: 19px; color: var(--lime); }
.setup-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 54px; }
.setup-layout:has(.setup-choices[hidden]) { grid-template-columns: 1fr; }
.setup-choices { display: flex; flex-direction: column; align-self: start; }
.setup-choices button { background: transparent; padding: 19px 15px; border: 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; text-align: left; gap: 16px; }
.setup-choices button:first-child { border-top: 1px solid var(--line); }
.setup-number { align-self: start; font-size: 10px; color: var(--muted); padding-top: 3px; }
.setup-choices strong { display: block; font-size: 14px; font-weight: 500; }
.setup-choices small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.setup-choices .icon { margin-left: auto; opacity: 0; }
.setup-choices button[aria-selected="true"] { background: #f0f5e9; }
.setup-choices button[aria-selected="true"] .icon { opacity: 1; }
.setup-choices button:hover { background: var(--soft); }
.setup-panels { min-width: 0; }
.setup-panels > div { margin-bottom: 20px; }
.terminal { border-radius: 7px; overflow: hidden; color: #d1d8cb; background: #1b211d; border: 1px solid #1b211d; }
.terminal-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 17px; min-height: 55px; border-bottom: 1px solid #333b30; font-size: 12px; }
.terminal-bar > span { display: flex; align-items: center; gap: 9px; }
.terminal-bar .icon-button { width: 34px; height: 34px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; padding: 29px 24px; min-height: 166px; font: 12px/2.15 ui-monospace, SFMono-Regular, Consolas, monospace; color: #d9ebc5; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.terminal-footer { display: flex; align-items: center; gap: 8px; font-size: 9px; color: #a0ac98; padding: 13px 20px; border-top: 1px solid #333b30; }
.terminal-footer > span:last-child { margin-left: auto; }
.setup-note { font-size: 11px; color: var(--muted); line-height: 1.9; margin-top: 14px; }
.setup-note a { color: #3c6030; text-decoration: underline; text-underline-offset: 3px; }
.setup-note code { color: #435a37; }
.release-note { display: flex; align-items: center; gap: 7px; font-size: 11px; margin-top: 14px; color: var(--muted); flex-wrap: wrap; }
.release-note .status-dot { background: #a8b291; }
.faq-section { border-top: 1px solid var(--line); padding-top: 78px; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.8fr; gap: 90px; }
.faq-layout .section-intro { margin: 13px 0 27px; }
.faq-list { min-width: 0; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 21px 0; font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary .icon { color: #87957b; transition: transform .16s; }
details[open] summary .icon { transform: rotate(45deg); }
details p { color: #6c7663; padding: 0 32px 23px 0; font-size: 13px; line-height: 1.9; }
details a { text-decoration: underline; text-underline-offset: 3px; }
.closing { background: var(--lime); padding: 61px 0 44px; }
.closing .eyebrow { font-size: 10px; color: #506d35; margin-bottom: 23px; }
.closing-inner > div { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.closing h2 { font-size: 42px; font-weight: 570; }
.closing-inner > p:last-child { margin-top: 27px; font-size: 12px; color: #48622e; }
.button-dark { background: #1a2519; color: white; }
.button-dark:hover { background: #334730; }
.site-footer { padding: 37px 0 22px; background: #fafbf8; }
.footer-top { display: flex; align-items: center; gap: 28px; }
.footer-top .brand { font-size: 22px; }
.footer-top p { margin-right: auto; font-size: 10px; color: var(--muted); }
.footer-top > a:not(.brand) { font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: 10px; }
.copy-status { position: fixed; z-index: 30; left: 50%; bottom: 24px; transform: translateX(-50%); background: #20331d; color: #f5ffe9; padding: 12px 20px; border: 1px solid #627d4d; border-radius: 6px; font-size: 13px; max-width: calc(100% - 32px); width: max-content; }
.copy-status:empty { display: none; }
.not-found { min-height: 100svh; display: grid; place-content: center; text-align: center; padding: 24px; background: var(--soft); }
.not-found img { margin: 0 auto 24px; border-radius: 8px; }
.not-found h1 { font-size: 72px; margin: 0 0 12px; }
.not-found p { color: var(--muted); margin-bottom: 24px; }
@media (min-width: 1600px) { .hero-mascot { max-width: none; right: -80px; width: 680px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero-mascot { right: -32px; width: 500px; max-width: 52%; }
  h1 { font-size: 94px; }
  .hero-tagline { font-size: 30px; }
  .principles-inner { gap: 20px; }
  .section { padding-block: 80px; }
  h2 { font-size: 33px; }
  .ownership-inner { gap: 50px; }
  .setup-layout { grid-template-columns: 255px minmax(0, 1fr); gap: 30px; }
  .faq-layout { gap: 45px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 82px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 65px; flex-wrap: wrap; gap: 0; }
  .brand { font-size: 23px; }
  .brand img { width: 31px; height: 31px; }
  nav { width: 100%; flex-wrap: wrap; gap: 0; padding-bottom: 12px; }
  nav a { padding: 10px 14px; }
  .nav-github { border: 0; }
  .js .menu-toggle { display: inline-flex; }
  .menu-toggle:hover { background: var(--soft); }
  .js nav:not([data-open]) { display: none; }
  .hero-inner { height: min(660px, calc(100svh - 122px)); min-height: 530px; align-items: flex-start; }
  .hero-copy { padding: 36px 0 108px; }
  .hero-mascot { max-width: none; width: 220px; right: -22px; bottom: -4px; }
  h1 { font-size: 75px; margin-block: 17px 12px; }
  .hero-tagline { font-size: 27px; }
  .hero-description { font-size: 12px; margin-top: 18px; }
  .hero-actions { gap: 20px; margin-top: 23px; }
  .button { min-height: 45px; padding: 10px 17px; gap: 18px; font-size: 12px; }
  .hero-source { font-size: 12px; }
  .hero-bottom { bottom: 18px; font-size: 7px; right: auto; }
  .hero-bottom a { display: none; }
  .release-link { font-size: 10px; gap: 8px; }
  .release-channel { font-size: 9px; }
  .principles-inner { min-height: 91px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 8px; padding-block: 14px; font-size: 9px; }
  .principles-inner > span { gap: 4px; white-space: nowrap; }
  .principles-inner > span:first-child { grid-column: 1 / -1; margin-bottom: 6px; font-size: 11px; }
  .principles .icon { width: 12px; height: 12px; }
  .section { padding-block: 60px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .eyebrow { font-size: 9px; margin-bottom: 18px; }
  h2 { font-size: 29px; line-height: 1.5; }
  .section-intro { margin-top: 20px; font-size: 12px; }
  .section-heading > .text-link { margin-top: 19px; }
  .preview-picker { margin-bottom: 18px; }
  .preview-picker button { padding: 11px 15px; font-size: 12px; }
  .preview-meta { font-size: 9px; padding: 11px 12px; }
  .preview-meta > span:last-child { display: none; }
  .screenshot-link img { aspect-ratio: auto; }
  figcaption { font-size: 10px; padding-top: 13px; gap: 8px; flex-wrap: wrap; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature, .feature:nth-child(3n), .feature:nth-child(3n + 1) { padding: 23px 16px; border-right: 1px solid #d9dfd4; }
  .feature:nth-child(odd) { padding-left: 0; }
  .feature:nth-child(even) { border-right: 0; padding-right: 0; }
  .feature-top { margin-bottom: 19px; }
  h3 { font-size: 14px; }
  .feature p { font-size: 12px; min-height: 96px; }
  .feature-tags { font-size: 8px; line-height: 1.8; margin-top: 18px; }
  .feature-tags > span { padding: 0 2px; }
  .ownership-section { padding-block: 55px; }
  .ownership-inner { grid-template-columns: 1fr; gap: 37px; }
  .ownership-section h2 { font-size: 29px; }
  .ownership-section p:not(.eyebrow) { font-size: 12px; }
  .setup-layout { grid-template-columns: 1fr; gap: 24px; }
  .setup-choices { flex-direction: row; }
  .setup-choices button { flex: 1; min-width: 0; padding: 12px 8px; border-top: 1px solid var(--line); justify-content: center; text-align: center; }
  .setup-choices strong { font-size: 11px; }
  .setup-choices small { font-size: 9px; }
  .setup-number, .setup-choices .icon { display: none; }
  pre { font-size: 11px; padding: 23px 18px; min-height: 170px; }
  .setup-note { font-size: 10px; }
  .terminal-footer { font-size: 8px; padding-inline: 16px; }
  .release-note { font-size: 10px; }
  .faq-layout { grid-template-columns: 1fr; gap: 26px; }
  .faq-layout .section-intro { margin-block: 12px 18px; }
  summary { font-size: 12px; padding-block: 19px; gap: 12px; }
  details p { font-size: 12px; padding-right: 16px; }
  .closing { padding: 45px 0 35px; }
  .closing-inner > div { display: block; }
  .closing h2 { font-size: 31px; }
  .closing .button { margin-top: 24px; }
  .closing-inner > p:last-child { font-size: 10px; }
  .footer-top { gap: 15px 24px; flex-wrap: wrap; }
  .footer-top .brand { margin-right: auto; }
  .footer-top p { width: 100%; order: 1; font-size: 9px; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 10px; margin-top: 22px; }
}
@media (max-width: 370px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 64px; }
  .hero-tagline { font-size: 23px; }
  .hero-mascot { width: 180px; }
  h2 { font-size: 26px; }
  .hero-description { font-size: 11px; }
  .hero-actions { gap: 18px; }
  .feature, .feature:nth-child(3n), .feature:nth-child(3n + 1) { padding-inline: 10px; }
  .feature:nth-child(odd) { padding-left: 0; }
  .feature:nth-child(even) { padding-right: 0; }
}
@media (min-width: 761px) and (max-height: 800px) {
  .hero-inner { min-height: 500px; height: calc(100svh - 158px); }
  .hero-copy { padding-block: 30px 65px; }
  h1 { font-size: 88px; margin-block: 14px 10px; }
  .hero-tagline { font-size: 29px; }
  .hero-description { margin-top: 15px; }
  .hero-actions { margin-top: 20px; }
  .hero-mascot { width: 530px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
