:root {
  --ink:#171a18;
  --muted:#7b817d;
  --green:#245b49;
  --line:#e1e5e2;
  --paper:#fff;
  --soft:#f4f6f4}
* {
  box-sizing:border-box}
html {
  scroll-behavior:smooth;
  scroll-padding-top:30px}
body {
  margin:0;
  background:#fff;
  color:var(--ink);
  font-family:"Microsoft YaHei","PingFang SC",sans-serif;
  font-size:14px}
button,a,input,summary {
  touch-action:manipulation}
button {
  font:inherit;
  cursor:pointer}
a {
  color:inherit;
  text-decoration:none}
button {
  border:0;
  background:none;
  color:inherit}
button:hover,a:hover {
  color:var(--green)}
:focus-visible {
  outline:2px solid var(--green);
  outline-offset:4px}
h1,h2,h3,p {
  margin:0}
.site-nav {
  height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:1320px;
  margin:auto;
  padding:0 40px}
.wordmark {
  font-family:Georgia,serif;
  font-size:31px;
  letter-spacing:-1.4px}
.wordmark span {
  font-family:"Microsoft YaHei",sans-serif;
  font-size:11px;
  letter-spacing:2px;
  margin-left:16px;
  color:var(--muted)}
nav {
  display:flex;
  align-items:center;
  gap:32px;
  font-size:13px}
.external {
  border:1px solid var(--line);
  padding:11px 17px;
  border-radius:5px}
.hero {
  max-width:1320px;
  margin:auto;
  padding:65px 40px 66px;
  position:relative}
.eyebrow {
  color:var(--green);
  font-size:11px;
  letter-spacing:2px}
.hero .eyebrow {
  display:flex;
  align-items:center;
  gap:9px}
.eyebrow span {
  width:6px;
  height:6px;
  background:var(--green);
  border-radius:50%}
h1 {
  font-family:Georgia,"SimSun",serif;
  font-weight:500;
  font-size:clamp(44px,5.5vw,76px);
  letter-spacing:-3px;
  line-height:1.25;
  margin:24px 0}
h1 span {
  color:var(--green)}
.hero p {
  font-size:15px;
  line-height:1.95;
  color:#656d68}
.hero-link {
  display:inline-flex;
  gap:45px;
  margin-top:27px;
  border-bottom:1px solid #8a9990;
  padding-bottom:11px;
  font-size:13px}
.demo-section {
  max-width:1600px;
  margin:auto;
  padding:0 40px}
.section-intro {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:22px;
  gap:16px}
.section-intro h2 {
  font-family:"SimSun",Georgia,serif;
  font-size:25px;
  font-weight:500;
  letter-spacing:-.7px}
.section-intro>span {
  color:var(--muted);
  font-size:11px}
.scenarios {
  max-width:1320px;
  margin:auto;
  padding:100px 40px 60px}
.scenario-tabs {
  display:flex;
  border-bottom:1px solid var(--line);
  gap:40px;
  margin-top:34px}
.scenario-tabs button {
  padding:16px 0;
  font-size:13px;
  border-bottom:2px solid transparent}
.scenario-tabs button.active {
  border-color:var(--green);
  color:var(--green)}
.scenario-content {
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:80px;
  align-items:center;
  padding:44px 0 15px;
  min-height:330px}
.scenario-content h3 {
  font:32px "SimSun",Georgia,serif;
  line-height:1.5;
  margin:16px 0}
.scenario-content p {
  color:#79817b;
  font-size:13px;
  line-height:1.9;
  max-width:360px}
.black-button {
  background:var(--ink);
  color:white;
  padding:12px 20px;
  border-radius:4px;
  font-size:11px;
  margin-top:25px}
.black-button:hover {
  background:var(--green);
  color:white}
.scenario-visual {
  background:#f6f8f6;
  border:1px solid var(--line);
  padding:26px 30px;
  min-height:250px;
  border-radius:6px;
  font-size:11px}
.visual-top {
  font-size:9px;
  color:var(--muted);
  margin-bottom:22px;
  display:flex;
  justify-content:space-between}
.visual-title {
  font:20px "SimSun";
  margin-bottom:15px}
.visual-row {
  display:flex;
  gap:14px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  line-height:1.8}
.visual-row span {
  color:var(--green);
  flex:none}
.visual-row p {
  font-size:11px;
  color:#626e65;
  max-width:none}
.visual-row del {
  color:#986963;
  background:#f3e8e5}
.visual-row ins {
  text-decoration:none;
  color:var(--green);
  background:#e4eee7}
.matrix {
  width:100%;
  border-collapse:collapse;
  font-size:10px}
.matrix td,.matrix th {
  border-bottom:1px solid var(--line);
  padding:10px;
  text-align:left;
  font-weight:normal}
.matrix th {
  color:#8b948e}
.sources {
  max-width:1320px;
  margin:auto;
  padding:70px 40px 90px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  border-top:1px solid var(--line)}
.sources h2 {
  font:32px "SimSun",serif;
  line-height:1.6;
  margin-top:17px}
.sources p {
  font-size:12px;
  color:#758078;
  line-height:2}
.sources #source-note {
  font-size:11px;
  line-height:1.9;
  padding:17px 0;
  margin:15px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  color:var(--green)}
.sources .source-disclaimer {
  font-size:10px;
  color:#98a099}
footer {
  max-width:1320px;
  margin:auto;
  border-top:1px solid var(--line);
  padding:30px 40px;
  display:flex;
  justify-content:space-between;
  align-items:center}
footer>span:nth-child(2),footer>a {
  font-size:10px;
  color:var(--muted)}
dialog {
  border:1px solid var(--line);
  border-radius:8px;
  width:min(750px,90vw);
  max-height:85vh;
  padding:0;
  background:#f5f7f4}
dialog::backdrop {
  background:#12251e70;
  backdrop-filter:blur(3px)}
.dialog-toolbar {
  display:flex;
  justify-content:space-between;
  padding:15px 24px;
  background:white;
  border-bottom:1px solid var(--line);
  font-size:12px}
dialog .artifact-body {
  max-height:72vh;
  padding:30px 60px}
dialog .document {
  padding:35px;
  font-size:14px}
dialog .document p {
  font-size:13px}
[hidden] {
  display:none!important}
@media(min-width:1300px) {
  .hero:after {
  content:"法律工作的下一步，\A 应该清晰可见。";
  white-space:pre;
  position:absolute;
  right:45px;
  bottom:95px;
  font:18px "SimSun";
  line-height:1.8;
  color:#89958d;
  border-left:1px solid #cdd7cf;
  padding-left:25px}}
/* Production desktop proportions: sidebar 230px, readable chat, generous preview. */
.workbench {
  display:flex;
  height:clamp(620px,calc(100dvh - 100px),860px);
  overflow:hidden;
  border:1px solid #e5e5e5;
  border-radius:10px;
  box-shadow:0 18px 55px #00000008;
  font-family:Arial,"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  font-size:14px;
  color:#111;
  background:white;
}
.workbench button:hover { color:#111; }
.workbench :focus-visible { outline-color:#111; }
.sidebar {
  width:230px;
  flex:none;
  display:flex;
  flex-direction:column;
  overflow:auto;
  padding:24px 14px 20px;
  background:#fafafa;
  border-right:1px solid #e5e5e5;
  scrollbar-width:thin;
}
.product-brand { display:flex; align-items:center; gap:10px; padding:0 10px 26px; font:26px Georgia,serif; letter-spacing:-1px; }
.product-brand strong { font-weight:600; }
.pillar-mark { width:28px; height:28px; object-fit:contain; }
.sidebar-feature { display:flex; gap:10px; align-items:center; padding:12px 10px; font-size:14px; }
.sidebar-feature small { margin-left:auto; color:#a8a8a8; font-size:11px; }
.new-task { text-align:left; padding:11px 10px; margin:5px 0 25px; border:1px solid #e5e5e5; border-radius:6px; background:#fff; font-size:14px; }
.new-task small { float:right; color:#a8a8a8; font-size:11px; padding-top:3px; }
.side-label { color:#a8a8a8; padding:0 10px 10px; font-size:12px; }
.case-button { display:flex; align-items:center; gap:8px; text-align:left; width:100%; padding:11px 9px; border-radius:6px; font-size:13px; line-height:22px; margin-bottom:4px; }
.case-button>span { display:none; }
.case-button.active,.workspace-item.active { background:#ecebea; }
.workspace { margin-top:24px; }
.workspace summary { cursor:pointer; display:flex; justify-content:space-between; padding:0 10px 10px; font-size:12px; color:#767676; list-style:none; }
.workspace summary::-webkit-details-marker { display:none; }
.workspace-item { display:block; width:100%; text-align:left; padding:10px; border-radius:6px; color:#454545; font-size:13px; line-height:22px; }
.side-bottom { margin-top:auto; padding:22px 10px 0; display:flex; align-items:center; gap:9px; font-size:12px; }
.avatar { width:28px; height:28px; border-radius:50%; background:#e7e5e4; display:grid; place-items:center; }
.side-bottom small { display:block; margin-top:4px; color:#a8a8a8; font-size:11px; }
.work-area { flex:1; min-width:0; display:flex; flex-direction:column; overflow:hidden; }
.workspace-top { min-height:56px; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:0 22px; border-bottom:1px solid #f3f3f3; font-size:14px; }
#case-heading { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.workspace-heading-actions { display:flex; align-items:center; gap:15px; flex:none; }
.live-label { font-size:11px; color:#a8a8a8; }
#fullscreen-workbench { font-size:12px; border:1px solid #e5e5e5; padding:7px 10px; border-radius:5px; white-space:nowrap; }
.panes { flex:1; min-height:0; display:flex; --chat-width:55%; }
.conversation { width:var(--chat-width); min-width:440px; display:flex; flex-direction:column; overflow:hidden; background:#fff; }
.chat-scroll { overflow:auto; scrollbar-width:thin; padding:32px 30px 40px; flex:1; }
.user-message { margin:0 0 32px auto; max-width:82%; padding:12px 16px; border-radius:16px; background:#000; color:#fff; font-size:14px; line-height:24px; white-space:pre-wrap; overflow-wrap:anywhere; }
.turn-timeline { padding:4px 0; margin-bottom:12px; }
.turn-label { font-size:12px; color:#a8a8a8; margin:0 0 8px 3px; }
.timeline-capsule { display:inline-flex; align-items:center; max-width:100%; flex-wrap:wrap; gap:8px; padding:6px 12px; border:1px solid #e7e5e4; border-radius:20px; background:#fff; color:#78716c; text-align:left; box-shadow:0 1px 3px #00000008; font-size:14px; line-height:22px; }
.processed-label { color:#44403c; font-weight:500; flex:none; }
.activity-summary { color:#a8a29e; min-width:0; font-size:14px; line-height:22px; }
.capsule-badge { flex:none; background:#f5f5f4; padding:2px 6px; border-radius:20px; font-size:11px; line-height:16px; color:#78716c; }
.chevron { display:inline-flex; flex:none; }
.chevron svg { width:14px; height:14px; }
.timeline-rows { margin:16px 0 8px 8px; border-left:1px solid #d6d3d1; padding-left:24px; }
.timeline-row { position:relative; padding-bottom:18px; color:#44403c; }
.timeline-icon { position:absolute; left:-34px; top:0; width:20px; height:22px; background:#fff; display:grid; place-items:center; color:#78716c; }
.timeline-icon svg { width:16px; height:16px; }
.tool-row-heading { display:flex; align-items:center; gap:8px; font-size:14px; line-height:24px; flex-wrap:wrap; }
.tool-badge { font-size:11px; padding:1px 6px; border-radius:3px; color:#78716c; background:#f5f5f4; line-height:18px; }
.tool-row-heading small { color:#a8a29e; font-size:12px; }
.failed .tool-badge { background:#fef2f2; color:#b91c1c; }
.tool-action { display:inline-flex; align-items:center; gap:4px; margin-top:5px; font-size:12px; color:#78716c; border-radius:3px; padding:2px 6px; background:#f5f5f4; line-height:20px; }
.tool-detail { font-size:14px; color:#57534e; line-height:24px; margin-top:5px; white-space:pre-line; }
.search-card { margin-top:8px; border:1px solid #e7e5e4; border-radius:6px; overflow:hidden; }
.search-card summary { display:flex; justify-content:space-between; cursor:pointer; padding:10px 12px; gap:12px; font-size:12px; color:#78716c; line-height:20px; }
.search-card summary span { margin-left:auto; font-size:12px; }
.search-card p { border-top:1px solid #e7e5e4; padding:10px 12px; font-size:14px; line-height:24px; }
.search-card small { display:block; padding:0 12px 12px; font-size:12px; color:#a8a29e; line-height:20px; }
.timeline-pending { color:#a8a29e; font-size:12px; padding:0 0 10px; }
.done-row { padding-bottom:4px; font-size:14px; line-height:24px; }
#answer { margin-top:24px; font-size:15px; line-height:28px; }
.answer-label { font-size:12px; color:#a8a8a8; margin-bottom:15px; }
#answer h4 { margin:22px 0 8px; font-size:16px; line-height:28px; font-weight:600; }
#answer p { white-space:pre-line; color:#111; margin:8px 0; }
#outputs { margin-top:30px; }
.outputs-heading { font-size:14px; font-weight:500; margin-bottom:12px; }
.outputs-heading span { margin-left:8px; color:#a8a8a8; font-size:12px; font-weight:normal; }
.output-file { display:flex; align-items:center; gap:12px; border:1px solid #e5e5e5; border-radius:6px; padding:14px; background:#fff; }
.file-icon { display:grid; place-items:center; width:36px; height:40px; border-radius:7px; background:#0a0a0a; color:#fff; flex:none; }
.file-icon svg { width:18px; height:18px; }
.output-file-name { min-width:0; flex:1; }
.output-file strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:500; font-size:14px; line-height:22px; }
.output-file small { display:block; color:#a8a8a8; font-size:12px; line-height:20px; margin-top:4px; }
.file-actions { display:flex; gap:10px; font-size:12px; }
.file-actions button { padding:4px; }
.composer { flex:none; margin:0 24px 12px; padding:14px 16px 12px; border:1px solid #e5e5e5; border-radius:16px; box-shadow:0 4px 20px #00000008; }
.composer-placeholder { color:#a8a8a8; font-size:14px; padding-bottom:22px; }
.composer-bottom { display:flex; align-items:center; gap:12px; font-size:13px; }
.composer-bottom small { margin-left:auto; color:#a8a8a8; font-size:11px; }
.composer-bottom button { width:32px; height:32px; border-radius:50%; color:#fff; background:#000; cursor:default; }
.playback { flex:none; padding:8px 25px 15px; border-top:1px solid #f5f5f4; }
.playback-buttons { display:flex; align-items:center; gap:14px; }
.playback button { font-size:12px; padding:3px 0; }
#step-count { margin-left:auto; color:#a8a8a8; font-size:12px; }
.playback input { width:100%; height:12px; accent-color:#000; margin:8px 0 4px; }
.playback small { color:#a8a8a8; font-size:11px; line-height:18px; }
.divider { flex:none; width:9px; border-left:1px solid #e5e5e5; cursor:col-resize; touch-action:none; position:relative; }
.divider:after { content:''; position:absolute; top:47%; left:3px; width:2px; height:32px; background:#d6d3d1; border-radius:2px; }
.artifact { flex:1; min-width:400px; display:flex; flex-direction:column; background:#fff; overflow:hidden; }
.file-tabs { display:flex; gap:8px; padding:9px 16px; border-bottom:1px solid #e5e5e5; min-height:56px; }
.file-tabs button { padding:8px 12px; border-radius:6px; color:#57534e; font-size:14px; line-height:20px; }
.file-tabs button.active { background:#0c0a09; color:#fff; }
.file-tabs button.active:hover { color:#fff; }
.file-tabs button:disabled { color:#d6d3d1; cursor:default; }
.file-tabs span { font-size:12px; margin-left:5px; }
#file-list { padding:20px 16px; overflow:auto; }
#file-list .output-file { flex-wrap:wrap; }
#preview-pane { flex:1; min-height:0; display:flex; flex-direction:column; }
.file-heading { padding:13px 16px; display:flex; align-items:center; gap:12px; min-height:74px; border-bottom:1px solid #e5e5e5; }
.file-heading>div { flex:1; min-width:0; }
.file-heading strong { display:block; font-size:14px; line-height:22px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.file-heading small { display:block; font-size:12px; color:#a8a8a8; margin-top:4px; line-height:20px; }
.file-heading button { padding:5px; font-size:17px; }
.file-heading button:disabled { color:#d6d3d1; cursor:default; }
.preview-strip { display:flex; justify-content:space-between; background:#3b3b3b; color:#f5f5f4; padding:12px 16px; font-size:12px; }
.preview-strip span:last-child { color:#bdbdbd; }
.artifact-body { overflow:auto; flex:1; min-height:0; background:#e8e8e8; padding:24px 22px; scrollbar-width:thin; }
.document { background:#fff; padding:30px 28px; min-height:100%; box-shadow:0 2px 9px #0000000b; }
.doc-label,.doc-meta { color:#a8a8a8; font-size:12px; line-height:20px; }
.document h3 { font-size:20px; line-height:30px; font-weight:600; margin:14px 0; }
.doc-meta { padding-bottom:18px; border-bottom:1px solid #e5e5e5; }
.document h4 { font-size:16px; line-height:26px; margin:24px 0 10px; }
.document p { font-size:15px; line-height:28px; white-space:pre-line; overflow-wrap:anywhere; color:#44403c; }
.document del { background:#f9e9e7; color:#956a63; }
.document ins { background:#e5eee8; color:#245b49; text-decoration:none; }
.document .revision-label,.document .revision-source { font-size:12px; color:#a8a8a8; margin-top:12px; line-height:22px; }
.document blockquote { font-size:12px; line-height:22px; color:#a8a8a8; border-top:1px solid #e5e5e5; margin:25px 0 0; padding-top:18px; }
.empty-preview,.empty-file { color:#a8a8a8; font-size:14px; line-height:26px; padding:24px; }
.empty-preview small { font-size:12px; }
.scenario-content h3 { white-space:pre-line; }
#scenario-visual { min-width:0; overflow:auto; height:auto; }
.workbench:fullscreen,.workbench.is-fullscreen { width:100vw; height:100dvh; max-width:none; border-radius:0; border:none; }
.workbench:fullscreen .sidebar { width:240px; }
.workbench:fullscreen .conversation { min-width:480px; }
.workbench:fullscreen .artifact { min-width:440px; }
@media (max-width:1180px) {
  .workbench { height:auto; }
  .sidebar { width:230px; }
  .panes { display:flex; flex-direction:column; }
  .conversation { width:100%; height:680px; flex:none; min-width:0; }
  .artifact { width:100%; height:640px; flex:none; min-width:0; }
  .divider { display:none; }
  .workspace-top { flex-wrap:wrap; padding:12px 20px; }
  .workspace-top .live-label { display:none; }
  .chat-scroll { padding:30px; }
  .workbench:fullscreen { overflow:auto; }
  .workbench:fullscreen .conversation,.workbench:fullscreen .artifact { min-width:0; }
}
@media (max-width:760px) {
  .site-nav { height:70px; padding:0 22px; }
  .wordmark span,.external { display:none; }
  nav { gap:16px; font-size:11px; }
  .hero { padding:42px 22px; }
  .hero p { font-size:13px; }
  .hero p br { display:none; }
  h1 { letter-spacing:-2px; }
  .demo-section { padding:0 16px; }
  .section-intro { align-items:flex-start; flex-direction:column; gap:9px; }
  .section-intro h2 { font-size:21px; }
  .workbench { display:block; }
  .sidebar { width:100%; border-right:0; padding:18px 12px; }
  .product-brand { padding-bottom:12px; font-size:24px; }
  .sidebar-feature,.new-task,.side-bottom,.side-label { display:none; }
  #case-list { display:flex; gap:4px; }
  .case-button { font-size:12px; line-height:20px; padding:8px 6px; }
  .workspace { margin-top:12px; }
  .workspace summary { padding-bottom:0; }
  #workspace-list { margin-top:10px; }
  .workspace-item { font-size:13px; padding:8px 10px; }
  .workspace-top { padding:12px 15px; }
  .conversation { height:720px; }
  .user-message { max-width:88%; }
  .chat-scroll { padding:24px 18px; }
  .composer { margin:0 15px 10px; }
  .timeline-capsule { border-radius:16px; }
  .activity-summary { width:100%; order:2; }
  .artifact { height:650px; border-top:1px solid #e5e5e5; }
  .artifact-body { padding:18px 12px; }
  .document { padding:24px 20px; }
  .scenarios { padding:60px 22px 35px; }
  .scenario-tabs { gap:0; justify-content:space-between; }
  .scenario-tabs button { font-size:12px; }
  .scenario-content { grid-template-columns:1fr; gap:25px; padding:30px 0; }
  .scenario-content h3 { font-size:28px; }
  .scenario-visual { padding:23px; }
  .sources { padding:40px 22px; grid-template-columns:1fr; gap:25px; }
  .sources h2 { font-size:27px; }
  footer { padding:25px 22px; }
  footer>span:nth-child(2) { display:none; }
  dialog .artifact-body { padding:18px; }
  dialog .document { padding:20px; }
  .workbench:fullscreen .sidebar { width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  * { animation:none!important; transition:none!important; }
}
