:root {
  --paper: #eef1eb;
  --paper-deep: #dce4dc;
  --ink: #17221f;
  --muted: #64726c;
  --line: #c4cec7;
  --orange: #ef6c3e;
  --orange-deep: #c94e2c;
  --yellow: #f4cc4c;
  --blue: #a8c8ee;
  --white: #fbfcf8;
  --dark-band: #1e2926;
  --shadow: 0 18px 40px rgba(23, 34, 31, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

button, input { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.site-header {
  width: min(1240px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--ink); color: var(--yellow); font: 700 12px/1 "Consolas", monospace; letter-spacing: 0; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; letter-spacing: 0; }
.brand small { margin-top: 2px; color: var(--muted); font: 11px/1.2 "Consolas", monospace; letter-spacing: 0; }
.site-nav { display: flex; gap: 20px; font-size: 13px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--orange-deep); }
.header-status { color: var(--muted); font: 12px/1 "Consolas", monospace; white-space: nowrap; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #5fa67a; }

.section-wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.hero { min-height: 590px; padding: 84px 0 96px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 80px; align-items: center; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--orange-deep); font: 700 11px/1.2 "Consolas", "Microsoft YaHei", monospace; letter-spacing: 0; text-transform: uppercase; }
.eyebrow span + span { padding-left: 10px; border-left: 1px solid var(--orange); color: var(--muted); font-weight: 500; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: 0; line-height: 1.08; }
h1 { max-width: 690px; margin-bottom: 28px; font-size: 58px; font-weight: 700; }
h2 { margin-bottom: 18px; font-size: 36px; font-weight: 700; }
h3 { line-height: 1.2; }
.hero-lede { max-width: 600px; margin-bottom: 32px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 3px; text-decoration: none; cursor: pointer; font-weight: 700; transition: transform 160ms ease, background-color 160ms ease, color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: var(--orange-deep); }
.button-action { width: 100%; margin-top: 24px; background: var(--orange); color: var(--white); }
.button-action:hover { background: var(--orange-deep); }
.button-action:disabled { cursor: wait; opacity: .62; transform: none; }
.text-link { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); }
.hero-note { display: flex; align-items: center; gap: 10px; max-width: 480px; margin-top: 42px; color: var(--muted); font-size: 12px; }
.note-bar { width: 24px; height: 2px; background: var(--orange); flex: none; }

.hero-proof { padding: 24px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.proof-head, .proof-meta, .cabinet-top, .console-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.micro-label { color: var(--muted); font: 11px/1.2 "Consolas", monospace; letter-spacing: 0; text-transform: uppercase; }
.proof-head h2 { margin: 6px 0 0; font-size: 24px; }
.proof-stamp { padding: 7px 10px; background: var(--yellow); color: var(--ink); font: 700 13px/1 "Consolas", monospace; }
.proof-images { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; margin-top: 24px; }
.proof-image { position: relative; min-width: 0; margin: 0; overflow: hidden; background: var(--paper-deep); }
.proof-image-tall { aspect-ratio: 1 / 1.2; }
.proof-image-wide { align-self: end; aspect-ratio: 1.35 / 1; }
.proof-image img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.75) contrast(1.03); }
.proof-image figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px; background: rgba(23, 34, 31, .86); color: var(--white); font: 10px/1.2 "Consolas", monospace; }
.proof-meta { margin-top: 16px; color: var(--muted); font: 11px/1.2 "Consolas", monospace; }

.demo-band, .comparison-band { background: var(--dark-band); color: var(--white); }
.demo-band { padding: 78px 0 92px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.section-heading > p { max-width: 360px; margin-bottom: 2px; color: var(--muted); font-size: 14px; }
.section-heading-light > p { color: #b6c4bc; }
.section-heading-light .eyebrow span + span { color: #b6c4bc; }
.demo-shell { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); border: 1px solid #45534e; background: #27332f; }
.demo-form { padding: 32px; border-right: 1px solid #45534e; }
.form-kicker { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; color: var(--yellow); font: 700 12px/1.2 "Consolas", monospace; }
.form-kicker span { color: #92a39a; font-weight: 400; }
.demo-form label { display: block; margin: 0 0 8px; color: #d9e4dd; font-size: 13px; }
.demo-form input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid #596960; border-radius: 2px; background: #1e2926; color: var(--white); }
.demo-form input::placeholder { color: #82918a; }
.demo-form input:focus { border-color: var(--yellow); outline: 2px solid var(--yellow); outline-offset: 0; }
.number-field { position: relative; }
.number-field span { position: absolute; top: 14px; right: 12px; color: #82918a; font: 11px/1.2 "Consolas", monospace; pointer-events: none; }
.virtual-path { display: grid; gap: 5px; margin-top: 20px; padding: 12px; border-left: 2px solid var(--yellow); background: #1e2926; color: #9caea4; font-size: 11px; }
.virtual-path code { color: var(--white); font-family: "Consolas", monospace; overflow-wrap: anywhere; }
.form-notice { min-height: 40px; margin: 14px 0 0; color: #9caea4; font-size: 12px; }
.form-notice.error { color: #ffad92; }
.run-console { min-width: 0; padding: 32px; }
.console-topline { align-items: end; padding-bottom: 24px; border-bottom: 1px solid #45534e; }
.console-topline h3 { margin: 6px 0 0; font-size: 22px; }
.console-clock { color: var(--yellow); font: 12px/1 "Consolas", monospace; }
.trace-list { display: grid; gap: 0; margin: 0; padding: 12px 0 0; list-style: none; }
.trace-list li { position: relative; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; min-height: 58px; color: #778881; }
.trace-list li:not(:last-child)::after { content: ""; position: absolute; top: 44px; bottom: -14px; left: 16px; width: 1px; background: #42514b; }
.trace-marker { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #53645c; border-radius: 50%; color: #87988e; font: 11px/1 "Consolas", monospace; z-index: 1; background: #27332f; }
.trace-list strong, .trace-list small { display: block; }
.trace-list strong { color: #a5b5ac; font-size: 13px; font-weight: 600; }
.trace-list small { margin-top: 2px; color: #71827a; font-size: 11px; }
.trace-state { color: #6f8077; font: 10px/1 "Consolas", monospace; }
.trace-list li.active .trace-marker { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.trace-list li.active strong, .trace-list li.done strong { color: var(--white); }
.trace-list li.active .trace-state { color: var(--yellow); }
.trace-list li.done .trace-marker { border-color: #75ae83; color: #75ae83; }
.trace-list li.done .trace-state { color: #75ae83; }
.console-output { margin-top: 18px; padding: 18px; border: 1px solid #45534e; background: #1e2926; }
.output-label { color: var(--yellow); font: 11px/1 "Consolas", monospace; text-transform: uppercase; }
.output-empty { margin: 12px 0 0; color: #82918a; font-size: 13px; }
.report-output { margin-top: 12px; }
.report-output p { margin: 0 0 8px; color: #c6d3ca; font-size: 13px; }
.report-output code { color: var(--yellow); font: 12px/1.5 "Consolas", monospace; overflow-wrap: anywhere; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-top: 14px; }
.report-grid span, .report-grid strong { display: block; }
.report-grid span { color: #71827a; font-size: 11px; }
.report-grid strong { color: var(--white); font-size: 14px; font-weight: 600; }
.manual-pill { display: inline-flex; margin-top: 16px; padding: 6px 9px; background: #3a4b42; color: var(--yellow); font: 11px/1.2 "Consolas", monospace; }

.workflow-section { padding: 92px 0 100px; }
.workflow-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.workflow-item { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.workflow-number { color: var(--orange-deep); font: 700 13px/1 "Consolas", monospace; }
.workflow-item h3 { margin: 0 0 5px; font-size: 21px; }
.workflow-item p { max-width: 710px; margin: 0; color: var(--muted); font-size: 14px; }
.workflow-tag { padding: 5px 8px; border: 1px solid var(--line); color: var(--muted); font: 10px/1 "Consolas", monospace; }
.workflow-item-human .workflow-tag { border-color: var(--orange); color: var(--orange-deep); }

.evidence-band { padding: 92px 0; background: var(--paper-deep); }
.evidence-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); align-items: center; gap: 80px; }
.evidence-copy > p:not(.eyebrow) { max-width: 540px; color: var(--muted); }
.report-snippet { display: grid; gap: 12px; max-width: 520px; margin-top: 28px; padding: 18px; border-left: 2px solid var(--orange); background: rgba(251, 252, 248, .72); }
.report-snippet div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: baseline; }
.report-snippet span { color: var(--muted); font-size: 12px; }
.report-snippet code, .report-snippet strong { font-size: 13px; overflow-wrap: anywhere; }
.report-snippet code { font-family: "Consolas", monospace; }
.orange-text { color: var(--orange-deep); }
.sample-cabinet { padding: 20px; border: 1px solid #b7c2ba; background: var(--white); box-shadow: var(--shadow); }
.cabinet-top { padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font: 11px/1 "Consolas", monospace; text-transform: uppercase; }
.cabinet-images { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.cabinet-images img { width: 100%; aspect-ratio: 1.4 / 1; display: block; object-fit: cover; background: var(--paper-deep); }
.cabinet-files { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; color: var(--muted); font-size: 11px; }
.cabinet-files code { color: var(--ink); font-family: "Consolas", monospace; overflow-wrap: anywhere; }

.boundaries-section { padding: 94px 0 100px; }
.boundary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.boundary-panel { min-height: 280px; padding: 24px; border-top: 3px solid var(--ink); background: var(--white); }
.boundary-panel-stop { border-top-color: var(--orange); }
.boundary-panel-human { border-top-color: #7296bf; }
.boundary-symbol { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 28px; border-radius: 50%; background: var(--ink); color: var(--yellow); font: 700 15px/1 "Consolas", monospace; }
.boundary-panel-stop .boundary-symbol { background: var(--orange); color: var(--white); }
.boundary-panel-human .boundary-symbol { background: var(--blue); color: var(--ink); font-size: 13px; }
.boundary-panel h3 { margin-bottom: 18px; font-size: 20px; }
.boundary-panel ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.boundary-panel li { padding-left: 17px; position: relative; }
.boundary-panel li::before { content: ""; position: absolute; top: .7em; left: 0; width: 7px; height: 1px; background: var(--orange); }

.comparison-band { padding: 88px 0 100px; }
.comparison-table { border-top: 1px solid #526159; }
.comparison-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; padding: 16px 0; border-bottom: 1px solid #526159; color: #bfd0c5; font-size: 13px; }
.comparison-row span:first-child { color: var(--white); font-weight: 700; }
.comparison-header { color: var(--yellow); font: 11px/1.2 "Consolas", monospace; text-transform: uppercase; }
.comparison-header span:first-child { color: var(--yellow); }

.usage-section { padding: 88px 0 100px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.usage-intro h2 { max-width: 380px; }
.usage-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.usage-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.usage-list li > span { color: var(--orange-deep); font: 700 12px/1 "Consolas", monospace; }
.usage-list strong { font-size: 16px; }
.usage-list p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 25px max(24px, calc((100% - 1240px) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer div { display: flex; gap: 14px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 50px; padding-top: 60px; }
  .hero-proof { max-width: 650px; }
  .evidence-grid, .usage-section { grid-template-columns: 1fr; gap: 44px; }
  .boundary-grid { grid-template-columns: 1fr 1fr; }
  .boundary-panel:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .site-header { width: min(100% - 32px, 1240px); min-height: 70px; grid-template-columns: 1fr auto; gap: 12px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; width: 100%; padding-bottom: 12px; }
  .header-status { font-size: 10px; }
  .section-wrap { width: calc(100% - 32px); }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .hero { min-height: 0; padding: 52px 0 70px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-proof { padding: 16px; }
  .proof-head h2 { font-size: 20px; }
  .proof-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
  .demo-band, .comparison-band { padding: 62px 0 68px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 0; margin-bottom: 26px; }
  .section-heading > p { margin-top: 0; }
  .demo-shell { grid-template-columns: 1fr; }
  .demo-form { border-right: 0; border-bottom: 1px solid #45534e; padding: 24px; }
  .run-console { padding: 24px; }
  .trace-list li { grid-template-columns: 30px 1fr; gap: 10px; }
  .trace-state { grid-column: 2; margin-top: -12px; }
  .trace-marker { width: 30px; height: 30px; }
  .workflow-section, .boundaries-section, .usage-section { padding: 68px 0 74px; }
  .workflow-item { grid-template-columns: 42px 1fr; gap: 12px; padding: 21px 0; }
  .workflow-tag { grid-column: 2; justify-self: start; }
  .workflow-item h3 { font-size: 18px; }
  .boundary-grid { grid-template-columns: 1fr; }
  .boundary-panel:last-child { grid-column: auto; }
  .evidence-band { padding: 68px 0; }
  .report-snippet div { grid-template-columns: 76px 1fr; gap: 10px; }
  .cabinet-files { grid-template-columns: 1fr; gap: 2px; }
  .cabinet-files span { margin-bottom: 8px; }
  .comparison-row { grid-template-columns: .8fr 1fr 1fr; gap: 10px; font-size: 11px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 22px 16px; gap: 10px; }
  .site-footer div { align-items: flex-start; flex-direction: column; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
