:root {
  --ink: #111315;
  --muted: #6e7379;
  --paper: #f4f1ea;
  --card: #fcfaf5;
  --line: rgba(17, 19, 21, 0.14);
  --blue: #255cff;
  --blue-dark: #133bb4;
  --night: #111622;
  --night-soft: #1a2130;
  --green: #37c68a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 5vw;
  background: rgba(244, 241, 234, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--blue);
  border-radius: 10px;
  font-size: 15px;
}
.site-header nav { display: flex; gap: 34px; color: #45494e; font-size: 14px; }
.site-header nav a:hover { color: var(--blue); }
.owner { justify-self: end; color: var(--muted); font-size: 13px; }

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: center;
  gap: 9vw;
  padding: 100px 8vw 110px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 25%, rgba(37, 92, 255, .09), transparent 24%),
    linear-gradient(120deg, rgba(255,255,255,.35), transparent 55%);
}
.eyebrow { margin: 0 0 18px; color: var(--blue); font-family: "Times New Roman", serif; font-size: 12px; letter-spacing: .18em; font-weight: 700; }
.hero h1 { max-width: 850px; margin: 0; font-size: clamp(48px, 6.1vw, 88px); line-height: 1.08; letter-spacing: -.055em; font-weight: 760; }
.hero-lead { max-width: 720px; margin: 32px 0 0; color: #4f5459; font-size: 19px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 40px; }
.primary-link { padding: 15px 24px; color: #fff; background: var(--ink); border-radius: 4px; font-size: 15px; }
.quiet-link { padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 15px; }
.principles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 54px; }
.principles span { padding: 8px 13px; color: #51565b; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }
.hero-note { align-self: end; margin-bottom: 55px; padding: 28px 0 0 28px; border-left: 1px solid var(--ink); }
.note-number { color: var(--blue); font-family: "Times New Roman", serif; font-size: 13px; }
.hero-note p { margin: 30px 0; font-family: "Songti SC", SimSun, serif; font-size: 25px; line-height: 1.65; }
.note-rule { width: 48px; height: 2px; background: var(--blue); }
.hero-note small { display: block; margin-top: 12px; color: var(--muted); font-family: "Times New Roman", serif; letter-spacing: .16em; }

.demo-section { padding: 110px 5vw 130px; background: #ebe7de; }
.section-heading { max-width: 1420px; margin: 0 auto 46px; display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); letter-spacing: -.04em; }
.section-heading > p { max-width: 460px; margin: 0 0 6px; color: var(--muted); line-height: 1.8; }
.player-shell { max-width: 1420px; min-height: 720px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 520px; overflow: hidden; background: #0a0c10; border-radius: 18px; box-shadow: 0 30px 80px rgba(31, 34, 38, .18); }
.video-stage { position: relative; min-height: 720px; overflow: hidden; color: #fff; background: var(--night); }
.video-topline { position: relative; z-index: 2; display: flex; justify-content: space-between; padding: 28px 32px; color: rgba(255,255,255,.75); font-size: 13px; }
.scene-art { position: absolute; inset: 0; background: linear-gradient(180deg, #202735 0%, #0f141e 70%, #080a0e 100%); }
.scene-art::before { content: ""; position: absolute; left: 0; right: 0; bottom: 145px; height: 1px; background: rgba(255,255,255,.12); box-shadow: 0 -130px 0 rgba(255,255,255,.05); }
.scene-art p { position: absolute; left: 8%; bottom: 31%; width: 70%; margin: 0; font-family: "Songti SC", SimSun, serif; font-size: clamp(23px, 2.5vw, 38px); line-height: 1.55; text-shadow: 0 3px 24px #000; }
.beam { position: absolute; top: 0; width: 28%; height: 72%; transform: skewX(-14deg); filter: blur(6px); background: linear-gradient(180deg, rgba(184,205,242,.24), transparent); }
.beam-one { left: 6%; }.beam-two { left: 53%; opacity: .45; }
.warehouse-door { position: absolute; right: 11%; top: 17%; width: 28%; height: 44%; border: 2px solid rgba(255,255,255,.18); background: repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 18px, rgba(0,0,0,.11) 18px 20px); }
.figure { position: absolute; left: 25%; bottom: 18%; width: 72px; height: 210px; border-radius: 45% 45% 8px 8px; background: #05070a; box-shadow: 0 -38px 0 -13px #05070a; }
.control-layer { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 17px; padding: 48px 28px 26px; background: linear-gradient(transparent, rgba(0,0,0,.9)); }
.play-button, .ai-entry, .close-button { border: 0; cursor: pointer; }
.play-button { color: #fff; background: transparent; }
.timeline { height: 3px; overflow: hidden; background: rgba(255,255,255,.3); }
.timeline span { display: block; height: 100%; background: var(--blue); }
.timecode { color: rgba(255,255,255,.68); font-family: "Times New Roman", serif; font-size: 12px; }
.ai-entry { padding: 10px 14px; color: #fff; background: var(--blue); border-radius: 7px; font-size: 13px; font-weight: 700; }

.agent-panel { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 720px; color: #191b20; background: #f8f7f3; }
.panel-header { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 13px; padding: 22px 24px; border-bottom: 1px solid #deddd8; }
.panel-header p { margin: 0 0 3px; color: var(--muted); font-size: 11px; }.panel-header strong { font-size: 15px; }
.guard-pill { padding: 8px 10px; color: #1b7f5b; background: #e8f7f0; border-radius: 999px; font-size: 11px; white-space: nowrap; }
.guard-pill span { display: inline-block; width: 6px; height: 6px; margin-right: 4px; background: var(--green); border-radius: 50%; }
.close-button { color: #777; background: transparent; font-size: 26px; }
.progress-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 16px 22px 0; padding: 4px; background: #ecebe6; border-radius: 9px; }
.progress-switch button { padding: 9px 6px; color: #73777b; background: transparent; border: 0; border-radius: 6px; cursor: pointer; font-size: 11px; }
.progress-switch button.active { color: var(--ink); background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.welcome-card { margin: 22px; padding: 27px; background: #fff; border: 1px solid #e5e3dc; border-radius: 12px; }
.mini-label { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.welcome-card h3 { margin: 18px 0 12px; font-size: 23px; line-height: 1.4; }.welcome-card p { color: var(--muted); line-height: 1.75; }
.welcome-card button { width: 100%; margin-top: 14px; padding: 13px; color: #fff; background: var(--ink); border: 0; border-radius: 8px; cursor: pointer; }
.answer-view { flex: 1; padding: 18px 22px 95px; overflow-y: auto; }
.answer-summary { padding: 21px 22px; background: #eef3ff; border-left: 3px solid var(--blue); border-radius: 8px; }
.answer-summary.blocked { background: #fff7e7; border-left-color: #d39720; }
.answer-summary p { margin: 11px 0 0; font-size: 16px; line-height: 1.75; font-weight: 600; }
.chain-block, .character-block { margin-top: 26px; }
.block-title { display: flex; justify-content: space-between; align-items: center; }.block-title h3, .character-block h3 { margin: 0; font-size: 16px; }.block-title button { color: var(--blue); background: transparent; border: 0; cursor: pointer; font-size: 11px; }
.chain-list { margin-top: 13px; }.chain-node { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 13px; padding: 12px 0; }
.chain-node:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 40px; bottom: -8px; width: 1px; background: #d3d7df; }
.node-index { z-index: 1; display: grid; place-items: center; width: 31px; height: 31px; color: #fff; background: var(--blue); border-radius: 50%; font-family: "Times New Roman", serif; font-size: 10px; }
.chain-node span { color: var(--blue-dark); font-size: 10px; font-weight: 700; }.chain-node p { margin: 6px 0 0; color: #4b5056; line-height: 1.55; font-size: 13px; }
.character-grid { display: grid; gap: 8px; margin-top: 13px; }.character-grid article { display: grid; grid-template-columns: 42px 1fr; gap: 13px; padding: 14px; background: #fff; border: 1px solid #e5e3dc; border-radius: 9px; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: #273147; border-radius: 50%; }.character-grid strong { display: block; font-size: 13px; }.character-grid span { color: var(--muted); font-size: 10px; }.character-grid p { margin: 6px 0 0; color: #575c62; font-size: 11px; line-height: 1.55; }
.audit-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 19px; }.audit-row span { padding: 6px 9px; color: #64696f; background: #eae9e4; border-radius: 999px; font-size: 9px; }
.question-box { position: absolute; left: 20px; right: 20px; bottom: 18px; display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 7px; background: #fff; border: 1px solid #dbd9d2; border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.question-box input { min-width: 0; padding: 8px; border: 0; outline: none; font-size: 12px; }.question-box button { padding: 8px 13px; color: #fff; background: var(--blue); border: 0; border-radius: 6px; cursor: pointer; font-size: 11px; }

.workflow-section { padding: 120px 6vw 140px; color: #fff; background: var(--night); }
.section-heading.light .eyebrow { color: #7b9cff; }.section-heading.light h2 { color: #fff; }.section-heading.light > p { color: #aeb5c1; }
.workflow-grid { max-width: 1420px; margin: 70px auto 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.workflow-grid article { min-height: 260px; padding: 28px 24px; border-right: 1px solid rgba(255,255,255,.12); }.workflow-grid article:last-child { border-right: 0; }
.workflow-grid span { color: #7392ff; font-family: "Times New Roman", serif; font-size: 12px; }.workflow-grid h3 { margin: 54px 0 14px; font-size: 18px; }.workflow-grid p { margin: 0; color: #aeb5c1; font-size: 13px; line-height: 1.8; }

.proof-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; padding: 120px 8vw 135px; background: #fbf9f4; }
.proof-copy h2 { margin: 0; font-size: clamp(38px, 4vw, 58px); letter-spacing: -.04em; }.proof-copy > p:last-child { margin-top: 28px; color: var(--muted); line-height: 1.9; }
.proof-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.proof-metrics article { padding: 24px 22px; border-right: 1px solid var(--line); }.proof-metrics article:last-child { border-right: 0; }
.proof-metrics strong { display: block; color: var(--blue); font-family: "Times New Roman", serif; font-size: 64px; line-height: 1; }.proof-metrics span { display: block; margin-top: 18px; font-weight: 700; }.proof-metrics p { color: var(--muted); font-size: 12px; line-height: 1.7; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 34px 6vw; color: #d1d5dd; background: #0a0d13; font-size: 12px; }
footer > div { display: flex; align-items: center; gap: 8px; }.brand-mark.small { width: 28px; height: 28px; font-size: 12px; } footer p { margin: 0; } footer a { justify-self: end; color: #8fa8ff; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }.site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 50px; }.hero-note { max-width: 520px; margin: 0; }
  .player-shell { grid-template-columns: 1fr 460px; }.workflow-grid { grid-template-columns: repeat(3, 1fr); }.workflow-grid article:nth-child(3) { border-right: 0; }
  .proof-section { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .site-header { height: 62px; padding: 0 20px; }.owner { font-size: 11px; }
  .hero { min-height: auto; padding: 76px 24px 82px; }.hero h1 { font-size: 47px; }.hero-lead { font-size: 16px; }.hero-note { padding-left: 20px; }.hero-note p { font-size: 20px; }
  .demo-section, .workflow-section, .proof-section { padding: 78px 18px 90px; }.section-heading { display: block; }.section-heading > p { margin-top: 20px; }
  .player-shell { display: block; min-height: auto; border-radius: 13px; }.video-stage { min-height: 500px; }.scene-art p { bottom: 33%; }.agent-panel { min-height: 680px; }.agent-panel:not(.is-open) { display: none; }
  .workflow-grid { grid-template-columns: 1fr; margin-top: 40px; }.workflow-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }.workflow-grid h3 { margin-top: 22px; }
  .proof-metrics { grid-template-columns: 1fr; }.proof-metrics article { border-right: 0; border-bottom: 1px solid var(--line); }
  footer { grid-template-columns: 1fr; gap: 16px; text-align: left; } footer a { justify-self: start; }
}

@media (max-width: 520px) {
  .brand { font-size: 14px; }.brand-mark { width: 30px; height: 30px; }.owner { max-width: 110px; text-align: right; }
  .hero h1 { font-size: 40px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-heading h2 { font-size: 34px; }.video-stage { min-height: 420px; }.scene-art p { font-size: 21px; }.figure { transform: scale(.75); transform-origin: bottom; }
  .control-layer { grid-template-columns: auto 1fr auto; }.timecode { display: none; }.panel-header { grid-template-columns: 1fr auto; }.guard-pill { display: none; }
  .progress-switch button { font-size: 10px; }.agent-panel { min-height: 720px; }
}
