:root {
  --ink: #1e2630;
  --muted: #69717b;
  --line: #dce1e5;
  --paper: #ffffff;
  --canvas: #f4f5f3;
  --warm: #f6f0e6;
  --coral: #d55b45;
  --coral-deep: #a94435;
  --mint: #ccebe1;
  --mint-deep: #227663;
  --blue: #365b90;
  --orange: #ec9d44;
  --shadow: 0 18px 50px rgba(30, 38, 48, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header { min-height: 72px; padding: 14px max(24px, calc((100vw - 1180px) / 2)); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 28px; position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 250px; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; background: var(--coral); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .04em; border-radius: 12px 12px 12px 4px; }
.brand strong { display: block; font-size: 15px; letter-spacing: .01em; }
.brand small { display: block; color: var(--muted); font-size: 11px; margin-top: 1px; }
.site-nav { display: flex; gap: 24px; margin-left: auto; font-size: 13px; color: #48515a; }
.site-nav a:hover { color: var(--coral-deep); }
.public-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #e7d7c6; background: var(--warm); color: #805b37; border-radius: 999px; font-size: 12px; white-space: nowrap; }
.status-dot { width: 7px; height: 7px; background: #44a97b; border-radius: 50%; }

.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hero { min-height: 560px; padding: 78px 0 64px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 68px; }
.eyebrow { margin: 0 0 13px; color: var(--coral-deep); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 600px; margin-bottom: 20px; font-size: clamp(36px, 5vw, 62px); line-height: 1.11; letter-spacing: -.035em; font-weight: 800; }
.hero-lede { max-width: 560px; margin-bottom: 28px; color: #56606a; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 31px; }
.button { min-height: 42px; padding: 9px 17px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; font-weight: 700; transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--coral); color: white; }
.button-primary:hover { background: var(--coral-deep); }
.button-quiet { border-color: var(--line); background: var(--paper); color: #44505b; }
.button-secondary { border-color: #b8cfc7; background: #eef8f4; color: var(--mint-deep); }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.proof-row { display: flex; flex-wrap: wrap; gap: 19px; color: var(--muted); font-size: 12px; }
.proof-row span { display: inline-flex; align-items: center; gap: 5px; }
.proof-row b { color: var(--ink); font-family: Consolas, monospace; font-size: 12px; }

.hero-surface { overflow: hidden; border: 1px solid #d9d7d0; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow); }
.window-topline { padding: 13px 16px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid var(--line); color: #4e5963; font-size: 12px; }
.window-dots { display: flex; gap: 5px; margin-right: 4px; }
.window-dots i { width: 8px; height: 8px; display: block; border-radius: 50%; background: #e2b26b; }
.window-dots i:nth-child(2) { background: #b3d6c8; }
.window-dots i:nth-child(3) { background: #d0d6dc; }
.window-state { margin-left: auto; color: var(--mint-deep); font-size: 11px; }
.hero-flow { min-height: 235px; padding: 30px 26px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; background: var(--warm); }
.flow-node { min-height: 126px; padding: 16px 9px; border: 1px solid #e6dfd2; background: rgba(255,255,255,.74); border-radius: 8px; text-align: center; }
.flow-node.active { border-color: #e3a98e; background: #fffaf5; }
.flow-node strong { display: block; margin-top: 8px; font-size: 13px; }
.flow-node small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.flow-icon { width: 38px; height: 38px; display: grid; place-items: center; margin: 0 auto; background: #f0c6b9; color: var(--coral-deep); border-radius: 50%; font-family: Consolas, monospace; font-size: 11px; font-weight: 700; }
.flow-icon.mint { background: var(--mint); color: var(--mint-deep); }
.flow-icon.orange { background: #fae2be; color: #9b6228; }
.flow-arrow { color: #9ba3a8; font-size: 20px; }
.mini-transcript { padding: 20px 23px 25px; }
.mini-label { display: flex; align-items: center; gap: 7px; color: var(--mint-deep); font-size: 12px; font-weight: 800; }
.live-pulse { width: 8px; height: 8px; background: #45a87d; border-radius: 50%; box-shadow: 0 0 0 4px #e1f3ec; }
.mini-transcript p { margin: 9px 0 0; max-width: 390px; color: #5f6871; font-size: 13px; }

.demo-section, .spec-section, .boundary-section, .guide-section, .evidence-section { padding: 82px 0; }
.demo-section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
h2 { margin-bottom: 0; font-size: clamp(29px, 4vw, 42px); line-height: 1.15; letter-spacing: -.025em; }
.section-note { margin: 0 0 3px; color: var(--muted); font-size: 12px; }
.demo-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 16px; }
.panel { border: 1px solid var(--line); background: var(--paper); border-radius: 9px; box-shadow: 0 8px 24px rgba(30,38,48,.04); }
.panel-heading { min-height: 68px; padding: 13px 17px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; background: var(--coral); color: #fff; border-radius: 10px 10px 10px 3px; font-size: 11px; font-weight: 800; }
.panel-heading strong, .panel-heading small, .result-topline strong, .result-topline small { display: block; }
.panel-heading strong { font-size: 13px; }
.panel-heading small { color: var(--muted); font-size: 10px; }
.lock-label { margin-left: auto; padding: 4px 7px; border: 1px solid #d7e6df; color: var(--mint-deep); background: #f1faf6; border-radius: 4px; font-size: 10px; }
.chat-body { min-height: 266px; padding: 19px 17px; background: #fafbfb; }
.chat-bubble { width: fit-content; max-width: 87%; margin-bottom: 12px; padding: 10px 12px; border-radius: 6px; font-size: 13px; }
.chat-bubble.agent { background: #edf2f2; }
.chat-bubble.user { margin-left: auto; background: #f8e4dd; color: #6c372f; }
.chat-bubble code { color: inherit; font-family: Consolas, monospace; font-size: 11px; }
.muted-bubble { color: var(--muted); font-size: 12px; }
.demo-controls { padding: 16px 17px 18px; border-top: 1px solid var(--line); }
.mode-switch { display: flex; gap: 7px; margin-bottom: 12px; }
.mode-button { flex: 1; padding: 9px 7px; border: 1px solid var(--line); background: #fff; color: #55616b; border-radius: 6px; cursor: pointer; font-size: 12px; }
.mode-button span { display: block; margin-top: 1px; color: var(--muted); font-family: Consolas, monospace; font-size: 10px; }
.mode-button.is-selected { border-color: var(--coral); color: var(--coral-deep); background: #fff7f4; }
.full-button { width: 100%; }
.text-button { display: block; margin: 10px auto 0; padding: 2px 4px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; }
.text-button:hover { color: var(--coral-deep); }
.result-topline { min-height: 68px; padding: 13px 17px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid var(--line); }
.file-type { width: 35px; height: 35px; display: grid; place-items: center; background: var(--mint); color: var(--mint-deep); border-radius: 6px; font-family: Consolas, monospace; font-size: 11px; font-weight: 800; }
.result-topline strong { font-size: 13px; }
.result-topline small { color: var(--muted); font-size: 10px; }
.result-check { margin-left: auto; color: #a3adb3; font-size: 22px; }
.result-check.done { color: var(--mint-deep); }
.result-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; padding: 15px 17px; border-bottom: 1px solid var(--line); }
.result-meta div { padding-right: 9px; border-right: 1px solid var(--line); }
.result-meta div:last-child { border-right: 0; }
.result-meta span, .result-meta b { display: block; font-size: 10px; }
.result-meta span { color: var(--muted); }
.result-meta b { margin-top: 2px; font-size: 11px; }
.progress-list { padding: 10px 17px; border-bottom: 1px solid var(--line); }
.progress-item { display: flex; align-items: center; gap: 9px; padding: 7px 0; color: #59646d; font-size: 12px; }
.progress-item em { margin-left: auto; color: #a6afb5; font-size: 10px; font-style: normal; }
.progress-icon { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #cfd7da; color: #9ca8ad; border-radius: 50%; font-family: Consolas, monospace; font-size: 10px; }
.progress-item.is-done { color: var(--mint-deep); }
.progress-item.is-done .progress-icon { border-color: #9fd0be; background: #e4f4ed; color: var(--mint-deep); }
.progress-item.is-done em { color: var(--mint-deep); }
.result-preview { min-height: 170px; padding: 16px 17px; background: #fbfcfb; }
.preview-placeholder { min-height: 138px; display: grid; place-items: center; align-content: center; color: #a2abb0; text-align: center; }
.preview-placeholder span { font-size: 30px; line-height: 1; }
.preview-placeholder p { margin: 7px 0 0; font-size: 11px; }
.preview-content { min-height: 138px; padding: 13px 15px; border-left: 3px solid var(--mint-deep); background: #fff; color: #4a555d; font-size: 12px; }
.preview-content strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 13px; }
.preview-content p { margin: 5px 0; }
.preview-content .preview-meta { color: var(--muted); font-family: Consolas, monospace; font-size: 10px; }
.demo-result .button { margin: 0 17px 0; width: calc(100% - 34px); }
.demo-disclaimer { padding: 0 17px 15px; margin: 10px 0 0; color: #879198; font-size: 10px; text-align: center; }

.spec-section { background: var(--warm); width: 100%; padding-left: max(24px, calc((100vw - 1180px) / 2)); padding-right: max(24px, calc((100vw - 1180px) / 2)); }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.spec-card { min-height: 220px; padding: 25px; border: 1px solid #e2dbd0; background: rgba(255,255,255,.7); border-radius: 8px; }
.spec-card-wide { grid-column: span 1; }
.card-kicker { color: var(--coral-deep); font-family: Consolas, monospace; font-size: 11px; font-weight: 700; }
.spec-card h3 { margin: 11px 0 9px; font-size: 21px; }
.spec-card p { color: #626a71; font-size: 13px; }
.format-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 19px; }
.format-row span { padding: 4px 7px; background: #f5eee3; color: #86633e; border-radius: 4px; font-family: Consolas, monospace; font-size: 10px; }
.model-line { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #e4e6e6; }
.model-line:first-of-type { margin-top: 16px; }
.model-line b { min-width: 55px; color: var(--mint-deep); font-family: Consolas, monospace; font-size: 14px; }
.model-line span { color: var(--muted); font-size: 12px; }
.check-list { padding-left: 19px; color: #59636b; font-size: 13px; }
.check-list li { margin: 9px 0; }
.dark-card { border-color: #35414b; background: #27323a; color: #fff; }
.dark-card p { color: #c8d0d2; }
.dark-card .card-kicker { color: #f4bd7a; }
.delivery-sample { display: grid; gap: 5px; margin-top: 16px; padding: 13px; background: #20292f; color: #c4e4d6; font-family: Consolas, monospace; font-size: 10px; }

.boundary-layout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.boundary-column { min-height: 232px; padding: 24px 25px; border: 1px solid var(--line); background: var(--paper); border-radius: 8px; }
.boundary-column h3 { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; font-size: 18px; }
.boundary-mark { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; }
.boundary-mark.safe { background: var(--mint); color: var(--mint-deep); }
.boundary-mark.caution { background: #fae1bd; color: #9c612d; }
.boundary-column ul { margin: 0; padding-left: 19px; color: #606b73; font-size: 13px; }
.boundary-column li { margin: 9px 0; }
.privacy-strip { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; padding: 18px 20px; border: 1px solid #b8d7cc; background: #eff9f5; border-radius: 8px; }
.privacy-icon { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; background: #ccebe1; color: var(--mint-deep); border-radius: 50%; }
.privacy-strip strong { font-size: 13px; }
.privacy-strip p { margin: 3px 0 0; color: #587168; font-size: 12px; }

.guide-section { border-top: 1px solid var(--line); }
.guide-tag { padding: 6px 9px; color: var(--blue); background: #e7edf8; border-radius: 4px; font-size: 11px; }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.guide-step { min-height: 150px; padding: 18px; border: 1px solid var(--line); background: var(--paper); border-radius: 8px; }
.guide-step > span { color: var(--coral); font-family: Consolas, monospace; font-size: 12px; font-weight: 800; }
.guide-step h3 { margin: 12px 0 6px; font-size: 15px; }
.guide-step p { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.command-card { margin-top: 15px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #d7cbbd; background: var(--warm); border-radius: 8px; }
.command-label { color: #93653c; font-size: 11px; font-weight: 800; }
.command-card p { margin: 6px 0 0; color: #5a4a3d; font-size: 13px; }
.command-card code { font-family: Consolas, monospace; font-size: 12px; }
.copy-button { padding: 8px 12px; border: 1px solid #cbb9a8; background: #fff; color: #7c5c43; border-radius: 5px; cursor: pointer; font-size: 11px; }
.copy-button:hover { background: #fffaf5; }

.evidence-section { padding-top: 0; padding-bottom: 94px; }
.evidence-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.evidence-line::before { content: ""; height: 1px; background: #cbd4d7; position: absolute; left: 12%; right: 12%; top: 15px; z-index: 0; }
.evidence-item { position: relative; z-index: 1; padding: 0 20px; text-align: center; }
.evidence-number { width: 31px; height: 31px; display: grid; place-items: center; margin: 0 auto 15px; border: 1px solid #c0d3cf; background: var(--canvas); color: var(--mint-deep); border-radius: 50%; font-family: Consolas, monospace; font-size: 10px; font-weight: 700; }
.evidence-item h3 { margin-bottom: 5px; font-size: 16px; }
.evidence-item p { margin: 0; color: var(--muted); font-size: 12px; }
.site-footer { padding: 26px max(24px, calc((100vw - 1180px) / 2)); display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); background: #e9eceb; color: var(--muted); font-size: 11px; }
.site-footer div { display: flex; gap: 12px; }
.site-footer strong { color: var(--ink); }

@media (max-width: 900px) {
  .site-header { gap: 15px; }
  .brand { min-width: auto; }
  .site-nav { gap: 13px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 58px; }
  .hero-copy { max-width: 720px; }
  .demo-layout { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .site-header { min-height: 64px; padding: 11px 16px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand strong { font-size: 13px; }
  .brand small, .site-nav, .public-badge { display: none; }
  .section-shell { width: min(100% - 32px, 560px); }
  .hero { min-height: auto; padding: 48px 0 48px; }
  h1 { font-size: 39px; }
  .hero-lede { font-size: 14px; }
  .hero-flow { grid-template-columns: 1fr; gap: 7px; padding: 18px; }
  .flow-node { min-height: 0; display: grid; grid-template-columns: 38px 1fr; column-gap: 10px; align-items: center; text-align: left; }
  .flow-icon { grid-row: span 2; margin: 0; }
  .flow-node strong { margin: 0; }
  .flow-node small { margin: 0; }
  .flow-arrow { display: none; }
  .demo-section, .spec-section, .boundary-section, .guide-section { padding: 55px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section-note { margin-bottom: 0; }
  .result-meta { grid-template-columns: repeat(2, 1fr); gap: 10px 0; }
  .result-meta div:nth-child(2) { border-right: 0; }
  .spec-section { padding-left: 16px; padding-right: 16px; }
  .spec-grid, .boundary-layout { grid-template-columns: 1fr; }
  .spec-card { min-height: 0; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-step { min-height: 0; display: flex; gap: 15px; }
  .guide-step h3 { margin-top: 0; }
  .evidence-section { padding-bottom: 65px; }
  .evidence-line { grid-template-columns: 1fr; gap: 18px; }
  .evidence-line::before { width: 1px; height: 84%; left: 15px; right: auto; top: 4%; }
  .evidence-item { display: grid; grid-template-columns: 31px 1fr; column-gap: 14px; text-align: left; padding: 0; }
  .evidence-number { grid-row: span 2; margin: 0; }
  .evidence-item h3 { margin: 2px 0 3px; }
  .site-footer { flex-direction: column; padding: 22px 16px; }
}
