:root {
  --ink: #11120f;
  --paper: #f4f2ea;
  --paper-deep: #e7e3d7;
  --muted: #77786f;
  --line: rgba(17, 18, 15, 0.15);
  --acid: #d8ff4f;
  --acid-deep: #b9e62c;
  --blue: #7db7ff;
  --red: #ff715b;
  --panel: #191b17;
  --panel-2: #22241f;
  --panel-line: rgba(255, 255, 255, 0.1);
  --white: #fbfaf6;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(12, 14, 10, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--acid); }
.skip-link:focus { top: 12px; }

.site-header {
  height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 242, 234, 0.88);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 40;
}
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 850; letter-spacing: -0.04em; font-size: 22px; }
.brand svg { width: 31px; height: 31px; border: 1.5px solid var(--ink); border-radius: 50%; padding: 5px; fill: none; stroke: currentColor; stroke-width: 2.3; }
.site-header nav { display: flex; align-items: center; gap: 34px; }
.site-header nav a { text-decoration: none; font-size: 13px; color: #45473f; }
.site-header nav a:hover { color: #000; }
.header-cta { text-decoration: none; font-size: 13px; font-weight: 750; border-bottom: 2px solid var(--ink); padding-bottom: 4px; }

.hero { min-height: 760px; padding: 110px clamp(24px, 7vw, 110px) 100px; display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 8vw; align-items: center; position: relative; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; opacity: 0.18; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000, transparent 86%); }
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 10px; letter-spacing: 0.16em; font-size: 11px; font-weight: 800; }
.eyebrow span { display: inline-block; width: 24px; height: 2px; background: currentColor; }
.hero h1 { margin: 0; font-size: clamp(64px, 8.1vw, 124px); line-height: 0.85; letter-spacing: -0.075em; font-weight: 900; }
.hero h1 em { color: var(--acid-deep); font-style: normal; text-shadow: 1px 1px 0 var(--ink), -1px -1px 0 var(--ink); }
.hero-lede { margin: 38px 0 0; max-width: 650px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.75; color: #55574f; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 4px; border: 1px solid var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--acid); box-shadow: 5px 5px 0 var(--ink); }
.button-quiet { background: transparent; }
.trust-list { padding: 0; margin: 56px 0 0; list-style: none; display: flex; gap: 0; border-top: 1px solid var(--line); max-width: 640px; }
.trust-list li { padding: 22px 28px 0 0; margin-right: 28px; display: flex; flex-direction: column; gap: 5px; border-right: 1px solid var(--line); min-width: 120px; }
.trust-list li:last-child { border: 0; }
.trust-list strong { font-size: 21px; letter-spacing: -0.04em; }
.trust-list span { color: var(--muted); font-size: 12px; }

.hero-visual { min-height: 520px; background: var(--panel); border-radius: 50% 50% 8px 8px; color: var(--white); overflow: hidden; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-visual::before { content: ""; position: absolute; inset: 15% -10% auto; height: 52%; background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(216,255,79,.46) 9px 12px, transparent 12px 19px); clip-path: polygon(0 47%, 4% 43%, 8% 55%, 12% 31%, 16% 68%, 20% 38%, 24% 50%, 28% 22%, 32% 77%, 36% 42%, 40% 60%, 44% 29%, 48% 81%, 52% 35%, 56% 64%, 60% 25%, 64% 74%, 68% 39%, 72% 56%, 76% 31%, 80% 70%, 84% 43%, 88% 54%, 92% 39%, 96% 49%, 100% 46%, 100% 54%, 0 54%); }
.signal-label { position: absolute; top: 38px; left: 52px; right: 52px; display: flex; justify-content: space-between; font-family: ui-monospace, monospace; font-size: 10px; color: #b7baad; letter-spacing: .1em; }
.signal-card { position: absolute; width: 58%; padding: 18px 20px; border: 1px solid var(--panel-line); background: rgba(38, 41, 34, .92); backdrop-filter: blur(8px); box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.signal-card span { font-size: 9px; letter-spacing: .16em; color: var(--acid); }
.signal-card strong { display: block; margin: 10px 0; font-size: 16px; line-height: 1.5; }
.signal-card small { color: #9fa298; font-size: 10px; }
.signal-card-a { left: 7%; top: 15%; }
.signal-card-b { right: 5%; bottom: 15%; }
.signal-card-b span { color: var(--red); }
.signal-line { position: absolute; left: 9%; right: 9%; bottom: 10%; height: 1px; background: var(--panel-line); }
.playhead { position: absolute; left: 63%; top: 25%; bottom: 8%; width: 1px; background: var(--red); }
.playhead span { display: block; width: 9px; height: 9px; background: var(--red); transform: translate(-4px, -4px) rotate(45deg); }

.demo-section { background: var(--ink); color: var(--white); padding: 110px clamp(20px, 5vw, 80px) 120px; }
.section-heading { max-width: 1440px; margin: 0 auto 42px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading h2, .workflow-section h2, .precision-copy h2, .privacy-section h2 { margin: 0; font-size: clamp(38px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.055em; }
.section-heading > p { max-width: 440px; color: #a7aa9f; line-height: 1.7; font-size: 14px; }
.workspace-shell { max-width: 1440px; margin: auto; min-height: 720px; display: grid; grid-template-columns: 210px 1fr; background: var(--panel); border: 1px solid var(--panel-line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 110px #050603; }
.stage-rail { background: #141611; border-right: 1px solid var(--panel-line); padding: 25px 18px; display: flex; flex-direction: column; }
.rail-head { padding: 4px 9px 23px; border-bottom: 1px solid var(--panel-line); }
.rail-head span { display: block; color: #74786d; font-size: 9px; letter-spacing: .16em; margin-bottom: 8px; }
.rail-head strong { font-size: 13px; }
.stage-rail ol { list-style: none; padding: 20px 0; margin: 0; }
.stage-rail li { display: flex; align-items: center; gap: 12px; padding: 13px 9px; color: #777b70; border-left: 2px solid transparent; }
.stage-rail li > span { font: 10px ui-monospace, monospace; }
.stage-rail li div { display: flex; flex-direction: column; gap: 4px; }
.stage-rail li strong { font-size: 12px; }
.stage-rail li small { font-size: 9px; color: #65695e; }
.stage-rail li.done { color: #b9bdb1; }
.stage-rail li.done > span { color: var(--acid); }
.stage-rail li.active { color: var(--white); border-left-color: var(--acid); background: linear-gradient(90deg, rgba(216,255,79,.1), transparent); }
.stage-rail li.active small { color: var(--acid); }
.local-state { margin-top: auto; padding: 14px 10px; border: 1px solid var(--panel-line); display: flex; align-items: center; gap: 8px; font-size: 10px; color: #a4a89d; }
.local-state i, .status-dot, .editor-footer i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(216,255,79,.1); }
.editor-panel { min-width: 0; display: flex; flex-direction: column; }
.editor-topbar { min-height: 74px; padding: 16px 22px; border-bottom: 1px solid var(--panel-line); display: flex; align-items: center; justify-content: space-between; }
.editor-topbar > div:first-child { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; }
.editor-topbar small { grid-column: 2; color: #777b70; font-size: 9px; margin-top: 4px; }
.editor-topbar strong { font-size: 12px; }
.style-control { padding: 3px; display: flex; border: 1px solid var(--panel-line); border-radius: 5px; }
.style-button { border: 0; background: transparent; color: #888c81; padding: 7px 12px; font-size: 10px; border-radius: 3px; cursor: pointer; }
.style-button.active { background: var(--acid); color: var(--ink); font-weight: 800; }
.preview-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 14px; padding: 18px 22px; }
.upload-card { min-height: 200px; border: 1px dashed #52564b; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; background: #1c1e19; transition: border-color .2s, background .2s; }
.upload-card:hover, .upload-card:focus-within { border-color: var(--acid); background: #20231b; }
.upload-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { color: var(--acid); font-size: 27px; font-weight: 200; }
.upload-card strong { font-size: 13px; }
.upload-card small { color: #75796e; font-size: 10px; }
.video-card { min-height: 200px; background: #0c0d0b; position: relative; overflow: hidden; display: grid; place-items: center; }
.video-card video { width: 100%; height: 100%; max-height: 280px; object-fit: contain; }
.video-placeholder { text-align: center; color: #52564c; }
.video-placeholder span { display: block; font: 9px ui-monospace, monospace; letter-spacing: .2em; margin-bottom: 14px; }
.video-placeholder svg { width: 100px; fill: none; stroke: #383b34; }
.video-placeholder svg path { fill: #52564c; stroke: none; }
.privacy-chip { position: absolute; left: 12px; bottom: 12px; background: rgba(16,18,14,.85); border: 1px solid var(--panel-line); padding: 7px 10px; font-size: 9px; color: var(--acid); }
.decision-summary { margin: 0 22px 18px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--panel-line); }
.decision-summary div { padding: 15px 17px; border-right: 1px solid var(--panel-line); }
.decision-summary div:last-child { border: 0; }
.decision-summary span { display: block; font-size: 9px; color: #777b70; margin-bottom: 6px; }
.decision-summary strong { font: 18px ui-monospace, monospace; }
.decision-summary .accent-metric strong { color: var(--acid); }
.timeline-toolbar { padding: 13px 22px; display: flex; justify-content: space-between; align-items: center; background: #1d1f1a; border-top: 1px solid var(--panel-line); border-bottom: 1px solid var(--panel-line); }
.timeline-toolbar > div:first-child { display: flex; align-items: center; gap: 12px; }
.timeline-toolbar strong { font: 9px ui-monospace, monospace; color: var(--acid); }
.timeline-toolbar span { font-size: 11px; color: #aaaea3; }
.legend { display: flex; gap: 14px; }
.legend span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; }
.keep-key::before { background: var(--acid); }.pause-key::before { background: var(--blue); }.cut-key::before { background: var(--red); }
.timeline { position: relative; min-height: 170px; padding: 20px 22px; overflow: hidden; background: #171915; }
.ruler { display: flex; justify-content: space-between; color: #55594f; font: 8px ui-monospace, monospace; border-bottom: 1px solid var(--panel-line); padding-bottom: 8px; }
.waveform { height: 66px; display: flex; align-items: center; gap: 6px; overflow: hidden; opacity: .8; }
.waveform i { display: block; width: 3px; height: 20px; background: #71766a; border-radius: 2px; flex: 1; }
.waveform i:nth-child(3n) { height: 43px; }.waveform i:nth-child(5n) { height: 56px; }.waveform i:nth-child(7n) { height: 29px; }.waveform i:nth-child(11n) { height: 12px; background: var(--blue); }
.token-track { display: flex; align-items: stretch; min-width: 860px; }
.token { flex: 1; padding: 9px 7px; text-align: center; font-size: 9px; color: #c6c9be; background: rgba(216,255,79,.08); border-top: 2px solid var(--acid); border-right: 1px solid #171915; }
.token.cut { color: #ff9e8f; background: rgba(255,113,91,.09); border-top-color: var(--red); text-decoration: line-through; }
.gap { width: 58px; flex: 0 0 58px; display: grid; place-items: center; font: 8px ui-monospace, monospace; color: var(--blue); background: rgba(125,183,255,.07); border-top: 2px solid var(--blue); }
.gap-long { width: 76px; flex-basis: 76px; }
.timeline-playhead { position: absolute; left: 54%; top: 13px; bottom: 12px; width: 1px; background: var(--red); }
.timeline-playhead span { position: absolute; top: -4px; transform: translate(-50%, -100%); white-space: nowrap; background: var(--red); color: var(--ink); font: 8px ui-monospace, monospace; padding: 3px 5px; }
.editor-footer { margin-top: auto; min-height: 68px; border-top: 1px solid var(--panel-line); padding: 12px 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.editor-footer p { display: flex; align-items: center; gap: 10px; color: #898d82; font-size: 10px; line-height: 1.5; }
.editor-footer i { display: block; flex: 0 0 auto; }
.copy-command { min-height: 38px; font-size: 10px; padding: 0 14px; box-shadow: 3px 3px 0 #000; }

.workflow-section { padding: 130px clamp(24px, 7vw, 110px); }
.section-kicker { font: 10px ui-monospace, monospace; letter-spacing: .16em; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 15px; }
.workflow-section h2 { max-width: 850px; margin: 44px 0 70px; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.workflow-grid article { min-height: 330px; padding: 26px 25px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.workflow-grid article:last-child { border: 0; }
.workflow-grid article > span { font: 12px ui-monospace, monospace; color: var(--muted); }
.workflow-grid h3 { margin: 70px 0 18px; font-size: 24px; letter-spacing: -.04em; }
.workflow-grid p { color: #66685f; line-height: 1.8; font-size: 14px; }
.workflow-grid small { margin-top: auto; font: 9px ui-monospace, monospace; letter-spacing: .14em; color: #8b8d84; }
.workflow-grid article:hover { background: var(--acid); }.workflow-grid article:hover p, .workflow-grid article:hover small { color: #3d3f38; }

.precision-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; padding: 120px clamp(24px, 7vw, 110px); background: var(--paper-deep); align-items: center; }
.precision-copy h2 { margin-bottom: 30px; }
.precision-copy > p:last-child { color: #65675e; line-height: 1.9; max-width: 600px; }
.precision-table { border-top: 2px solid var(--ink); }
.table-row { min-height: 82px; display: grid; grid-template-columns: .7fr 1.7fr .7fr; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); padding: 0 16px; }
.table-row span { color: #686a62; font-size: 13px; line-height: 1.5; }
.table-row b { text-align: right; font-size: 11px; }
.table-row strong { font-size: 17px; }
.table-head { min-height: 47px; font: 9px ui-monospace, monospace; letter-spacing: .12em; }.table-head span { font-size: 9px; color: #8a8c83; }.table-head span:last-child { text-align: right; }
.table-row.featured { background: var(--acid); border-color: var(--ink); transform: translateX(-10px); box-shadow: 10px 10px 0 var(--ink); }

.privacy-section { margin: 0; padding: 90px clamp(24px, 7vw, 110px); background: var(--acid); display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: end; }
.privacy-section > div { display: flex; align-items: center; gap: 28px; }
.privacy-mark { display: grid; place-items: center; flex: 0 0 98px; height: 98px; border: 3px solid var(--ink); border-radius: 50%; font-size: 55px; font-weight: 900; }
.privacy-section .eyebrow { margin-bottom: 16px; }
.privacy-section h2 { font-size: clamp(36px, 4.2vw, 62px); }
.privacy-section > p { line-height: 1.9; font-size: 14px; }
footer { min-height: 110px; padding: 30px clamp(24px, 7vw, 110px); display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: var(--white); }
footer p { color: #85897e; font-size: 11px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 80; background: var(--acid); color: var(--ink); border: 1px solid var(--ink); padding: 13px 18px; font-size: 12px; font-weight: 750; transform: translateY(120px); opacity: 0; transition: .25s ease; box-shadow: 5px 5px 0 var(--ink); }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 1040px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-visual { min-height: 430px; max-width: 680px; width: 100%; justify-self: center; }
  .workspace-shell { grid-template-columns: 1fr; }
  .stage-rail { display: none; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-grid article:nth-child(2) { border-right: 0; }
  .precision-section { grid-template-columns: 1fr; }
  .privacy-section { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .header-cta { font-size: 0; }.header-cta::after { content: "试用"; font-size: 13px; }
  .hero { padding-left: 20px; padding-right: 20px; min-height: auto; }
  .hero h1 { font-size: clamp(62px, 21vw, 90px); }
  .hero-lede { font-size: 16px; }
  .trust-list { overflow-x: auto; }.trust-list li { min-width: 110px; }
  .hero-visual { min-height: 380px; }
  .signal-card { width: 72%; }.signal-card-a { top: 18%; }.signal-card-b { bottom: 13%; }
  .section-heading { align-items: start; flex-direction: column; }
  .workspace-shell { min-height: auto; }
  .editor-topbar { align-items: start; gap: 12px; }
  .preview-row { grid-template-columns: 1fr; }
  .decision-summary { grid-template-columns: 1fr 1fr; }.decision-summary div:nth-child(2) { border-right: 0; }.decision-summary div { border-bottom: 1px solid var(--panel-line); }
  .timeline-toolbar { align-items: start; gap: 10px; }.legend { display: none; }
  .timeline { overflow-x: auto; }
  .editor-footer { align-items: stretch; flex-direction: column; }
  .workflow-grid { grid-template-columns: 1fr; }.workflow-grid article { border-right: 0; border-bottom: 1px solid var(--line); min-height: 260px; }.workflow-grid h3 { margin-top: 45px; }
  .table-row { grid-template-columns: .7fr 1.3fr; }.table-row > :last-child { display: none; }
  .privacy-section > div { align-items: start; flex-direction: column; }
  .privacy-mark { width: 76px; flex-basis: 76px; height: 76px; font-size: 42px; }
  footer { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

