:root {
  color-scheme: dark;
  --bg: #080a09;
  --surface: #0d100e;
  --surface-strong: #131714;
  --ink: #f4f7f0;
  --muted: #9da49c;
  --faint: #606a62;
  --line: #2a302b;
  --lime: #caff32;
  --max: 1600px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --display: "Arial Narrow", "Aptos Display", "Microsoft YaHei UI", sans-serif;
  --body: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.site-shell { max-width: var(--max); margin: 0 auto; overflow: clip; }
.section-frame { padding-left: var(--gutter); padding-right: var(--gutter); }
.site-header { min-height: 76px; display: flex; align-items: center; gap: 38px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 17px; font-weight: 800; letter-spacing: 0; white-space: nowrap; }
.brand-dot, .hero-dot { color: var(--lime); }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); margin-left: auto; }
.main-nav a, .header-cta, .text-link { font-family: var(--mono); font-size: 12px; color: var(--muted); transition: color 180ms ease; }
.main-nav a:hover, .text-link:hover { color: var(--lime); }
.header-cta { color: var(--lime); border: 1px solid var(--lime); padding: 11px 16px; }
.header-cta span, .button span { margin-left: 8px; font-size: 16px; }
.menu-toggle { display: none; margin-left: auto; padding: 10px 0 10px 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 1px; margin: 6px 0; background: var(--ink); transition: transform 180ms ease; }
.mobile-menu { position: absolute; inset: 76px 0 auto; z-index: 10; display: grid; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 18px var(--gutter); border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; }

.hero { padding-top: clamp(30px, 3vw, 48px); padding-bottom: 0; }
.hero-stage { display: grid; grid-template-columns: minmax(370px, .9fr) minmax(650px, 1.1fr); gap: clamp(28px, 4vw, 70px); align-items: stretch; min-height: 540px; }
.hero-copy { display: flex; min-width: 0; flex-direction: column; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--muted); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.lime-mark { width: 5px; height: 5px; background: var(--lime); border-radius: 50%; flex: 0 0 auto; }
.eyebrow-spacer { margin-left: auto; color: var(--faint); }
.hero h1 { margin: 26px 0 0; font-family: var(--display); font-size: 72px; font-weight: 900; line-height: .9; letter-spacing: 0; white-space: nowrap; }
.hero-title { max-width: 620px; margin: 32px 0 0; font-family: var(--display); font-size: 36px; font-weight: 800; line-height: 1.08; }
.hero-lead { margin: 16px 0 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid var(--lime); font-family: var(--mono); font-size: 12px; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--bg); background: var(--lime); }
.button-primary:hover { background: var(--ink); border-color: var(--ink); }
.button.is-disabled { cursor: not-allowed; opacity: .58; }
.button.is-disabled:hover { transform: none; color: var(--bg); background: var(--lime); border-color: var(--lime); }
.text-link { padding-bottom: 4px; border-bottom: 1px solid var(--muted); color: var(--ink); }
.text-link:hover { border-color: var(--lime); }
.hero-visual { min-width: 0; margin-top: 0; }
.hero-product-flow { display: grid; grid-template-columns: minmax(0, .78fr) 28px minmax(0, .92fr) 28px minmax(225px, .95fr); align-items: center; min-height: 400px; padding: 18px; border: 1px solid #3e473f; background: #0a0d0b; }
.flow-shot, .listing-card { min-width: 0; border: 1px solid #4b544c; background: #111511; }
.flow-shot-label, .listing-card-top { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 9px 11px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 9px; }
.flow-shot-label .lime-mark { width: 5px; height: 5px; }
.flow-shot > img { display: block; width: 100%; height: 224px; object-fit: cover; object-position: center; }
.flow-shot-meta { display: grid; gap: 3px; padding: 9px 11px 11px; }
.flow-shot-meta span, .flow-shot-meta strong { font-family: var(--mono); font-size: 9px; }
.flow-shot-meta span { color: var(--lime); }
.flow-shot-meta strong { color: var(--ink); font-weight: 500; }
.flow-connector { color: var(--lime); font-family: var(--mono); font-size: 22px; text-align: center; }
.flow-shot-main { border-color: var(--lime); }
.main-image-canvas { position: relative; display: grid; place-items: center; height: 224px; overflow: hidden; background: #eef0eb; }
.main-image-canvas img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.main-image-canvas::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.38), transparent 44%); pointer-events: none; }
.listing-card { background: #f1f2ed; color: #172018; }
.listing-card-top { justify-content: space-between; color: #657069; border-color: #d4d9d0; font-size: 8px; }
.listing-status { color: #315d28; font-weight: 700; }
.listing-card-body { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 12px; }
.listing-thumb { height: 112px; background: #e6e8e2; overflow: hidden; }
.listing-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.listing-info { display: grid; align-content: start; gap: 6px; }
.listing-info strong { font-size: 13px; line-height: 1.22; }
.listing-info span { color: #647069; font-size: 10px; line-height: 1.3; }
.listing-info b { margin-top: auto; color: #1c4d20; font-family: var(--mono); font-size: 17px; }
.listing-specs { display: flex; flex-wrap: wrap; gap: 7px 10px; padding: 10px 12px; border-top: 1px solid #d4d9d0; color: #6d776f; font-family: var(--mono); font-size: 8px; }
.listing-specs b { color: #26332b; font-weight: 600; }
.hero-visual-note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; color: var(--muted); font-family: var(--mono); font-size: 9px; }
.hero-visual-note .lime-mark { width: 5px; height: 5px; }
.panel-top { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 10px; }
.case-switcher { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.case-button { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; border: 0; border-right: 1px solid var(--line); color: var(--muted); background: transparent; font-family: var(--mono); font-size: 11px; cursor: pointer; }
.case-button:last-child { border-right: 0; }
.case-button span { color: var(--lime); }
.case-button:hover, .case-button.is-selected { color: var(--bg); background: var(--lime); }
.case-button.is-selected span { color: var(--bg); }
.hero-footer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: auto; padding: 22px 0 12px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 9px; line-height: 1.5; }
.hero-footer span + span { padding-left: 22px; border-left: 1px solid var(--line); }
.workflow-strip { display: grid; grid-template-columns: minmax(360px, .85fr) minmax(640px, 1.15fr); gap: clamp(34px, 4vw, 68px); align-items: end; margin-top: 0; padding: 38px 0 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-strip-intro .section-kicker { margin-bottom: 20px; }
.workflow-strip-intro h2 { margin: 0; font-family: var(--display); font-size: clamp(30px, 3vw, 48px); line-height: 1.08; }
.workflow-strip-intro h2 span { color: var(--lime); }
.workflow-strip-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.workflow-strip-cards article { position: relative; min-height: 122px; padding: 18px 16px; border: 1px solid #424a43; background: #0a0d0b; }
.workflow-strip-cards article + article::before { content: "→"; position: absolute; left: -16px; top: 50%; z-index: 1; color: var(--muted); transform: translate(-50%, -50%); }
.workflow-strip-cards b { display: block; margin-bottom: 8px; color: var(--lime); font-family: var(--mono); font-size: 20px; }
.workflow-strip-cards strong { display: block; font-size: 13px; }
.workflow-strip-cards small { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; }

.workflow, .capabilities, .download, .support { padding-top: clamp(72px, 8vw, 112px); }
.section-heading { border-top: 1px solid var(--line); padding-top: 18px; }
.section-kicker { margin-bottom: 34px; }
.section-heading h2, .support h2 { margin: 0; font-family: var(--display); font-size: 52px; font-weight: 850; line-height: 1.04; }
.section-heading h2 span, .support h2 span { color: var(--lime); }
.section-heading > p:last-child, .support-main > p:last-of-type { max-width: 560px; margin: 22px 0 0; color: var(--muted); }
.workflow-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: 46px; }
.step-list { border-top: 1px solid var(--line); }
.step-item { display: grid; grid-template-columns: 64px 1fr 24px; gap: 12px; align-items: center; width: 100%; padding: 23px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; transition: color 180ms ease, padding 180ms ease; }
.step-item:hover, .step-item.is-selected { padding-left: 10px; color: var(--ink); }
.step-number, .cap-number { color: var(--lime); font-family: var(--mono); font-size: 22px; }
.step-body strong { display: block; font-size: 19px; font-weight: 700; }
.step-body small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.step-arrow { color: var(--muted); font-size: 19px; text-align: right; }
.workflow-panel { min-height: 420px; border: 1px solid var(--line); background: var(--surface); }
.panel-lights { display: inline-flex; gap: 7px; }
.panel-lights i { width: 6px; height: 6px; border: 1px solid var(--faint); border-radius: 50%; }
.workflow-stage { display: grid; grid-template-columns: .75fr 1fr 1fr; gap: 12px; align-items: stretch; padding: 22px 22px 0; }
.workflow-stage > div { transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease; }
.workflow-stage.is-source > div:not(.stage-source), .workflow-stage.is-main > div:not(.stage-main), .workflow-stage.is-listing > div:not(.stage-listing) { opacity: .46; transform: scale(.985); }
.workflow-stage.is-source .stage-source, .workflow-stage.is-main .stage-main, .workflow-stage.is-listing .stage-listing { border-color: var(--lime); }
.workflow-stage.is-switching { opacity: .55; }
.stage-source, .stage-main, .stage-listing { min-width: 0; }
.stage-tag { display: block; margin-bottom: 8px; color: var(--lime); font-family: var(--mono); font-size: 9px; }
.stage-source > img { display: block; width: 100%; height: 220px; object-fit: cover; object-position: center; border: 1px solid #4b544c; }
.stage-main { border: 1px solid #4b544c; background: #eef0eb; }
.stage-main .stage-tag { margin: 0; padding: 8px 9px; color: #315d28; background: #dde3d9; }
.stage-white { position: relative; height: 186px; overflow: hidden; }
.stage-white img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.stage-listing { border: 1px solid #4b544c; background: #f1f2ed; color: #172018; }
.stage-listing > .stage-tag { margin: 0; padding: 8px 9px; color: #315d28; background: #dde3d9; }
.mini-listing { display: grid; grid-template-columns: 108px 1fr; gap: 11px; padding: 12px; }
.mini-listing-image { height: 154px; overflow: hidden; background: #e6e8e2; }
.mini-listing-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.mini-listing-copy { display: grid; align-content: start; gap: 7px; }
.mini-listing-copy strong { font-size: 14px; line-height: 1.2; }
.mini-listing-copy span, .mini-listing-copy small { color: #69746c; font-size: 10px; line-height: 1.3; }
.mini-listing-copy b { margin-top: auto; color: #1c4d20; font-family: var(--mono); font-size: 17px; }
.mini-listing-copy small { padding-top: 8px; border-top: 1px solid #d4d9d0; }
.panel-caption { padding: 20px 24px 24px; }
.panel-caption h3 { margin: 8px 0; font-size: 26px; line-height: 1.1; }
.panel-caption > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.panel-step { color: var(--lime) !important; font-family: var(--mono); font-size: 11px !important; }

.capability-list { margin-top: 62px; border-top: 1px solid var(--line); }
.capability-row { display: grid; grid-template-columns: 68px minmax(190px, .7fr) 1fr 22px; gap: 15px; align-items: center; min-height: 82px; border-bottom: 1px solid var(--line); }
.capability-row strong { font-size: 17px; }
.cap-description { color: var(--muted); font-size: 14px; }
.cap-arrow { color: var(--lime); font-size: 18px; text-align: right; }

.download { padding-bottom: clamp(100px, 13vw, 190px); }
.release-rail { display: grid; grid-template-columns: .6fr .8fr 1.7fr auto; align-items: stretch; margin-top: 62px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.release-rail > div { display: grid; align-content: center; gap: 8px; padding: 22px 26px 22px 0; border-right: 1px solid var(--line); }
.release-rail > div + div { padding-left: 26px; }
.release-rail span { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.release-rail strong { font-family: var(--mono); font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.release-rail .hash strong { font-size: 11px; line-height: 1.7; }
.release-rail .button { align-self: center; margin-left: 26px; white-space: nowrap; }
.release-note { margin: 16px 0 0; color: var(--faint); font-family: var(--mono); font-size: 10px; }
.release-note a { margin-left: 18px; color: var(--lime); }

.support { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px, 8vw, 130px); padding-bottom: 150px; border-top: 1px solid var(--line); }
.support-main .section-kicker { padding-top: 18px; }
.support-main h2 { margin-top: 30px; }
.contact-list { margin-top: 52px; border-top: 1px solid var(--line); }
.contact-line { display: grid; grid-template-columns: 1fr 1fr 24px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.contact-label { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.contact-line strong { font-size: 18px; }
.contact-arrow { color: var(--lime); text-align: right; }
.faq-list { border-top: 1px solid var(--line); margin-top: 69px; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--lime); font-family: var(--mono); font-size: 20px; font-weight: 300; transition: transform 180ms ease; }
details[open] summary span { transform: rotate(45deg); }
details p { max-width: 520px; margin: -4px 0 20px; color: var(--muted); font-size: 14px; }
.site-footer { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; padding-bottom: 38px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer strong { color: var(--ink); font-family: var(--display); font-size: 20px; }
.site-footer p { margin: 7px 0 0; font-size: 11px; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
.footer-right a { color: var(--lime); font-family: var(--mono); font-size: 11px; }
.footer-right p { margin: 0; }
.reveal { opacity: 1; transform: none; }
.reveal.is-visible { animation: reveal-in 520ms ease both; }
@keyframes reveal-in {
  from { opacity: .72; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .site-header { gap: 20px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 10px; }
  .header-cta { padding: 9px 11px; font-size: 10px; }
  .hero-stage { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { min-height: 520px; }
  .capability-row { grid-template-columns: 54px minmax(160px, .8fr) 1fr 20px; }
  .release-rail { grid-template-columns: .7fr .9fr 1.5fr; }
  .release-rail .button { grid-column: 1 / -1; justify-self: start; margin: 22px 0 0; }
  .workflow-strip { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .site-header { min-height: 68px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { inset: 68px 0 auto; }
  .hero { padding-top: 48px; }
  .eyebrow { flex-wrap: wrap; line-height: 1.5; }
  .eyebrow-spacer { margin-left: 0; }
  .hero h1 { font-size: 52px; white-space: normal; line-height: .9; }
  .hero-title { margin-top: 28px; font-size: 32px; }
  .hero-lead { font-size: 18px; }
  .hero-actions { flex-wrap: wrap; gap: 22px; }
  .hero-copy { min-height: 0; }
  .hero h1 { margin-top: 34px; }
  .hero-visual { margin-top: 58px; }
  .hero-product-flow { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
  .flow-connector { transform: rotate(90deg); height: 18px; }
  .flow-shot > img, .main-image-canvas { height: 220px; }
  .listing-card-body { grid-template-columns: 110px 1fr; }
  .hero-footer { gap: 0; }
  .hero-footer span { font-size: 8px; }
  .hero-footer span + span { padding-left: 10px; }
  .workflow-strip { margin-top: 42px; padding: 34px 0; }
  .workflow-strip-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .workflow-strip-cards article + article::before { display: none; }
  .workflow, .capabilities, .download, .support { padding-top: 94px; }
  .section-heading h2, .support h2 { font-size: 40px; }
  .workflow-grid, .support { grid-template-columns: 1fr; gap: 34px; }
  .workflow-grid { margin-top: 42px; }
  .step-item { grid-template-columns: 49px 1fr 20px; padding: 18px 0; }
  .step-number { font-size: 18px; }
  .step-body strong { font-size: 16px; }
  .step-body small { font-size: 12px; }
  .workflow-stage { grid-template-columns: 1fr; padding: 18px 18px 0; }
  .stage-source > img { height: 220px; }
  .stage-white { height: 220px; }
  .mini-listing { grid-template-columns: 115px 1fr; }
  .mini-listing-image { height: 180px; }
  .panel-caption { padding: 18px; }
  .capability-list { margin-top: 42px; }
  .capability-row { grid-template-columns: 38px 1fr 18px; gap: 9px; padding: 17px 0; }
  .capability-row strong { font-size: 15px; }
  .cap-description { grid-column: 2 / -1; font-size: 12px; line-height: 1.5; }
  .cap-arrow { grid-column: 3; grid-row: 1; }
  .release-rail { grid-template-columns: 1fr 1fr; margin-top: 42px; }
  .release-rail > div { padding: 17px 12px 17px 0; }
  .release-rail > div + div { padding-left: 12px; }
  .release-rail .hash { grid-column: 1 / -1; border-top: 1px solid var(--line); border-right: 0; padding: 17px 0; }
  .release-rail .button { margin: 0 0 17px; }
  .release-note { line-height: 1.7; }
  .support { padding-bottom: 100px; }
  .support-main h2 { margin-top: 20px; }
  .faq-list { margin-top: 0; }
  .contact-line { grid-template-columns: 1fr 1fr 20px; }
  .contact-line strong { font-size: 16px; }
  .site-footer { display: block; }
  .footer-right { align-items: flex-start; margin-top: 34px; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-visible { opacity: 1; transform: none; animation: none; }
  .button, .step-item, summary span { transition: none; }
}
