:root {
  --paper: #f4f0e7;
  --paper-deep: #e9e2d5;
  --ink: #16231f;
  --ink-soft: #52615b;
  --jade: #164f48;
  --jade-bright: #1e6c61;
  --jade-pale: #dcebe5;
  --cinnabar: #b84a37;
  --cinnabar-pale: #f2ded7;
  --gold: #bd9a55;
  --night: #102a27;
  --line: rgba(22, 35, 31, .14);
  --white: #fffef9;
  --shadow: 0 24px 80px rgba(40, 50, 45, .12);
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(189, 154, 85, .14), transparent 25rem),
    radial-gradient(circle at 88% 15%, rgba(22, 79, 72, .11), transparent 30rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .2;
  background-image:
    linear-gradient(rgba(22, 35, 31, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 35, 31, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 55%);
}

a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  color: white;
  background: var(--jade);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid #f3a743;
  outline-offset: 3px;
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 10px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(22, 35, 31, .1);
  background: rgba(244, 240, 231, .88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  text-decoration: none;
}
.brand-seal, .mini-seal, .large-seal {
  display: inline-grid;
  place-items: center;
  color: white;
  background: var(--cinnabar);
  font-family: var(--serif);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25);
}
.brand-seal { width: 40px; height: 40px; border-radius: 10px 7px 11px 8px; font-size: 22px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: .06em; }
.brand small { margin-top: 2px; color: var(--ink-soft); font-size: 11px; }

.site-nav { display: flex; gap: 30px; }
.site-nav a { position: relative; color: #33433d; font-size: 14px; text-decoration: none; }
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  content: "";
  background: var(--cinnabar);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }

.safety-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  padding: 8px 12px;
  border: 1px solid rgba(22, 79, 72, .2);
  border-radius: 999px;
  color: var(--jade);
  background: rgba(255,255,255,.52);
  font-size: 12px;
  font-weight: 700;
}
.safety-chip i, .offline-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #45a874;
  box-shadow: 0 0 0 4px rgba(69,168,116,.12);
}
.nav-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 8vw, 108px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-block: 90px 80px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow span {
  margin-right: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: white;
  background: var(--cinnabar);
  letter-spacing: .06em;
}
.eyebrow.light { color: #a9d0c8; }

.hero h1, .section-heading h2, .workflow-intro h2, .closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.03em;
}
.hero h1 { font-size: clamp(54px, 6.2vw, 86px); line-height: 1.06; }
.hero h1 em { color: var(--cinnabar); font-style: normal; }
.hero-lead { max-width: 630px; margin: 28px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.9; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--jade); box-shadow: 0 12px 30px rgba(22,79,72,.2); }
.button-primary:hover { background: var(--jade-bright); }
.button-secondary { border-color: rgba(22,79,72,.2); color: var(--jade); background: white; }
.button-secondary:hover { box-shadow: 0 12px 24px rgba(22,35,31,.08); }
.button-quiet { color: var(--ink); background: transparent; }
.button[disabled] { cursor: not-allowed; opacity: .55; transform: none; }

.hero-disclosure {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 620px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-disclosure > span { color: var(--cinnabar); font-size: 24px; line-height: 1; }
.hero-disclosure p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.hero-disclosure strong { color: var(--ink); }

.hero-console {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  color: white;
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), transparent 35%),
    var(--night);
  box-shadow: 0 40px 100px rgba(16,42,39,.28);
}
.hero-console::after {
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(189,154,85,.22);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 40px rgba(189,154,85,.05), 0 0 0 80px rgba(189,154,85,.035);
}
.console-topline, .console-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
}
.console-topline strong { margin-left: auto; color: #bfe6dc; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #6bd3a3; box-shadow: 0 0 0 6px rgba(107,211,163,.1); }
.agent-identity { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: 20px; margin: 72px 0 42px; }
.large-seal { width: 76px; height: 76px; border-radius: 18px 12px 20px 14px; font-size: 43px; }
.agent-identity small { color: rgba(255,255,255,.55); }
.agent-identity h2 { margin: 4px 0 8px; font-family: var(--serif); font-size: 34px; }
.agent-identity p { max-width: 320px; margin: 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.7; }
.spec-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.12); }
.spec-grid div { padding: 18px; background: rgba(6,26,24,.72); }
.spec-grid dt { color: rgba(255,255,255,.46); font-size: 11px; }
.spec-grid dd { margin: 6px 0 0; font-size: 14px; font-weight: 750; }
.console-foot { justify-content: space-between; margin-top: 22px; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 130px;
  border-block: 1px solid var(--line);
}
.proof-strip div { padding: 26px 22px; border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip strong { color: var(--jade); font-family: var(--serif); font-size: 34px; }
.proof-strip span { margin-top: 6px; color: var(--ink-soft); font-size: 12px; }

.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading.compact { max-width: 820px; }
.section-heading h2, .workflow-intro h2 { font-size: clamp(38px, 4vw, 56px); line-height: 1.2; }
.section-heading > p:last-child { margin: 18px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }

.demo-section, .capability-section, .report-section, .evidence-section, .faq-section { padding-block: 100px; }
.demo-disclosure {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 12px;
}
.demo-disclosure span { padding: 5px 9px; border-radius: 999px; color: #6d342b; background: var(--cinnabar-pale); font-weight: 800; }

.demo-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 690px;
  overflow: hidden;
  border: 1px solid rgba(22,35,31,.12);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.scenario-panel { padding: 24px; border-right: 1px solid var(--line); background: #eee8dc; }
.scenario-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.scenario-title span { font-weight: 800; }
.scenario-title small { color: var(--ink-soft); }
.scenario-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background .2s ease, border .2s ease, transform .2s ease;
}
.scenario-card:hover { background: rgba(255,255,255,.62); transform: translateX(3px); }
.scenario-card.is-selected { border-color: rgba(22,79,72,.2); background: white; box-shadow: 0 12px 28px rgba(33,48,43,.08); }
.case-number { color: var(--cinnabar); font-family: var(--serif); font-size: 20px; }
.case-copy strong, .case-copy small { display: block; }
.case-copy strong { margin-bottom: 4px; font-size: 14px; }
.case-copy small { color: var(--ink-soft); font-size: 11px; }
.case-tag { padding: 4px 7px; border-radius: 999px; color: var(--jade); background: var(--jade-pale); font-size: 10px; font-weight: 800; }
.case-tag.tag-real { color: white; background: var(--cinnabar); }
.scenario-note { margin-top: 34px; padding: 18px; border-radius: 14px; background: rgba(22,79,72,.07); }
.scenario-note strong { color: var(--jade); font-size: 12px; }
.scenario-note p { margin: 8px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.6; }

.chat-panel { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; color: white; background: #101716; }
.chat-header { display: flex; justify-content: space-between; align-items: center; min-height: 74px; padding: 14px 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.chat-agent { display: flex; gap: 11px; align-items: center; }
.mini-seal { width: 38px; height: 38px; border-radius: 10px 8px 11px 9px; font-size: 21px; }
.chat-agent strong, .chat-agent small { display: block; }
.chat-agent small { margin-top: 3px; color: rgba(255,255,255,.46); font-size: 10px; }
.offline-pill { display: inline-flex; gap: 8px; align-items: center; padding: 7px 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; color: rgba(255,255,255,.58); font-size: 10px; }
.offline-pill i { background: #d4a54d; box-shadow: 0 0 0 4px rgba(212,165,77,.1); }
.chat-body { position: relative; overflow-y: auto; min-height: 0; padding: 28px; background: radial-gradient(circle at 82% 0%, rgba(22,79,72,.25), transparent 24rem); }
.chat-body::before { position: absolute; inset: 0; pointer-events: none; content: ""; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 100% 42px; }
.chat-intro { position: relative; display: flex; gap: 15px; max-width: 480px; margin: 80px auto; color: rgba(255,255,255,.48); text-align: center; }
.chat-intro span { display: grid; flex: 0 0 46px; height: 46px; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; font-family: var(--serif); }
.chat-intro p { margin: 2px 0 0; font-size: 13px; line-height: 1.75; text-align: left; }
.message { position: relative; display: flex; gap: 12px; align-items: flex-start; max-width: 82%; margin-bottom: 18px; animation: message-in .35s ease both; }
.message.user { margin-left: auto; flex-direction: row-reverse; }
.avatar { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border-radius: 10px; color: white; background: var(--jade); font-family: var(--serif); }
.message.user .avatar { background: #365b91; }
.bubble { padding: 13px 15px; border: 1px solid rgba(255,255,255,.08); border-radius: 7px 16px 16px 16px; color: rgba(255,255,255,.87); background: #202827; font-size: 13px; line-height: 1.7; }
.message.user .bubble { border-radius: 16px 7px 16px 16px; background: #284e80; }
.bubble small { display: block; margin-top: 8px; color: rgba(255,255,255,.42); }
.process-card { position: relative; max-width: 84%; margin: 10px 0 18px 46px; padding: 17px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.04); }
.process-card > strong { display: block; margin-bottom: 14px; color: #d6e8e3; font-size: 12px; }
.stage-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.stage-list li { display: grid; grid-template-columns: 18px 1fr auto; gap: 9px; align-items: center; color: rgba(255,255,255,.36); font-size: 11px; }
.stage-list i { display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; font-style: normal; }
.stage-list li.is-active { color: #f0d699; }
.stage-list li.is-active i { border-color: #d6a952; background: rgba(214,169,82,.15); }
.stage-list li.is-done { color: rgba(255,255,255,.74); }
.stage-list li.is-done i { border-color: #64bd93; color: #76d2a5; }
.stage-list time { font-variant-numeric: tabular-nums; }
.result-bubble { border-left: 3px solid #65c298; }
.result-bubble.range { border-left-color: #d6a952; }
.result-bubble.handoff { border-left-color: #d46a55; }
.result-title { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; color: white; font-weight: 800; }
.result-title span { width: 8px; height: 8px; border-radius: 50%; background: #65c298; }
.range .result-title span { background: #d6a952; }
.handoff .result-title span { background: #d46a55; }
.result-path { display: block; margin-top: 10px; padding: 8px 10px; border-radius: 8px; color: #bfe0d7; background: rgba(0,0,0,.25); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; overflow-wrap: anywhere; }
@keyframes message-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat-controls { display: grid; grid-template-columns: 1fr auto auto; gap: 9px; padding: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.fake-composer { min-width: 0; padding: 13px 15px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; color: rgba(255,255,255,.3); font-size: 12px; }
.play-button, .output-button { min-height: 42px; padding-inline: 14px; font-size: 12px; }

.boundary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.boundary-card { position: relative; overflow: hidden; min-height: 430px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,254,249,.76); }
.boundary-card::after { position: absolute; top: -70px; right: -70px; width: 170px; height: 170px; border: 1px solid currentColor; border-radius: 50%; content: ""; opacity: .09; }
.boundary-icon { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 36px; border-radius: 14px; font-family: var(--serif); font-size: 23px; }
.can-do .boundary-icon { color: var(--jade); background: var(--jade-pale); }
.mark-pass .boundary-icon { color: #8c6a2d; background: #f3e7c9; }
.stop-do .boundary-icon { color: #873729; background: var(--cinnabar-pale); }
.card-kicker { margin: 0 0 8px; color: var(--ink-soft); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.boundary-card h3 { margin: 0; font-family: var(--serif); font-size: 25px; }
.boundary-card ul { display: grid; gap: 11px; margin: 24px 0 0; padding: 0; list-style: none; }
.boundary-card li { position: relative; padding-left: 16px; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.boundary-card li::before { position: absolute; top: .68em; left: 0; width: 5px; height: 5px; border-radius: 50%; content: ""; background: currentColor; opacity: .45; }
.non-goals { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 20px; padding: 20px; border: 1px dashed rgba(22,35,31,.18); border-radius: 16px; }
.non-goals span { padding: 7px 10px; border-radius: 8px; color: var(--ink-soft); background: rgba(255,255,255,.55); font-size: 11px; }
.non-goals .non-goals-label { color: white; background: var(--ink); font-weight: 800; }

.workflow-section { padding-block: 120px; color: white; background: var(--night); }
.workflow-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.workflow-intro { position: sticky; top: 120px; }
.workflow-intro > p:not(.eyebrow) { margin: 20px 0 0; color: rgba(255,255,255,.62); line-height: 1.8; }
.workflow-rule { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.workflow-rule span { width: 100%; color: rgba(255,255,255,.4); font-size: 10px; }
.workflow-rule strong { padding: 7px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #cde3dd; font-size: 11px; }
.workflow-list { margin: 0; padding: 0; list-style: none; counter-reset: workflow; }
.workflow-list li { display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: center; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.workflow-list li:first-child { border-top: 1px solid rgba(255,255,255,.1); }
.workflow-list > li > span { color: #d7b76f; font-family: var(--serif); font-size: 21px; }
.workflow-list strong, .workflow-list small { display: block; }
.workflow-list strong { margin-bottom: 5px; font-size: 15px; }
.workflow-list small { color: rgba(255,255,255,.48); font-size: 11px; }

.report-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; align-items: start; }
.report-index { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.report-index li { padding: 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.report-index span { margin-right: 10px; color: var(--cinnabar); font-family: var(--serif); }
.report-preview-card { overflow: hidden; border: 1px solid rgba(22,35,31,.12); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow); }
.preview-toolbar { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #eae4d8; font-size: 11px; }
.preview-toolbar > span:first-child { display: flex; gap: 5px; }
.preview-toolbar i { width: 7px; height: 7px; border-radius: 50%; background: #aa9f8d; }
.verified-mark { padding: 5px 8px; border-radius: 999px; color: var(--jade); background: var(--jade-pale); font-weight: 800; }
.preview-paper { padding: 36px; }
.preview-label { margin: 0 0 8px; color: var(--cinnabar); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.preview-paper h3 { margin: 0 0 30px; font-family: var(--serif); font-size: 30px; }
.preview-paper > p:not(.preview-label):not(.preview-note) { color: var(--ink); font-family: var(--serif); font-size: 17px; line-height: 1.9; }
.preview-note { margin: 22px 0; padding: 14px 16px; border-left: 3px solid var(--gold); color: var(--ink-soft); background: #f3eee3; font-size: 12px; line-height: 1.7; }
.text-link { padding: 0; border: 0; color: var(--jade); background: transparent; cursor: pointer; font-weight: 800; }

.evidence-section { padding-bottom: 130px; }
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.evidence-card { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.evidence-meta { display: flex; justify-content: space-between; padding: 14px 17px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 10px; }
.evidence-meta span:first-child { color: var(--ink); font-weight: 800; }
.evidence-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: #121a18; }
.output-proof img { background: white; }
.evidence-card figcaption { padding: 16px 18px 19px; color: var(--ink-soft); font-size: 11px; line-height: 1.6; }
.evidence-actions { display: flex; gap: 16px; align-items: center; margin-top: 24px; }
.evidence-actions span { color: var(--ink-soft); font-size: 11px; }

.safety-section { padding-block: 100px; color: white; background: #1c332f; }
.safety-shell { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.safety-shell h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px,4vw,54px); line-height: 1.2; }
.safety-shell > div > p:last-child { color: rgba(255,255,255,.58); line-height: 1.8; }
.safety-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.safety-list li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.035); }
.safety-list > li > span { grid-row: 1 / 3; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #f4c5bc; background: rgba(184,74,55,.22); }
.safety-list strong, .safety-list small { display: block; }
.safety-list strong { font-size: 13px; }
.safety-list small { margin-top: 4px; color: rgba(255,255,255,.46); font-size: 10px; line-height: 1.5; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; font-family: var(--serif); font-size: 20px; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--cinnabar); font-family: var(--sans); font-weight: 400; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 760px; margin: -8px 0 24px; color: var(--ink-soft); line-height: 1.8; }

.closing { position: relative; display: flex; justify-content: space-between; gap: 40px; align-items: end; overflow: hidden; padding-block: 110px; }
.closing h2 { font-size: clamp(42px,5vw,68px); line-height: 1.18; }
.large-seal.ghost { position: absolute; top: 30px; right: 20%; z-index: -1; width: 180px; height: 180px; opacity: .07; font-size: 110px; transform: rotate(-8deg); }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; padding: 24px max(24px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 10px; }
.site-footer span:nth-child(2) { text-align: center; }
.site-footer a { justify-self: end; color: var(--jade); text-decoration: none; font-weight: 800; }

.output-dialog {
  width: min(820px, calc(100% - 30px));
  max-height: min(820px, calc(100vh - 30px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 40px 120px rgba(0,0,0,.3);
}
.output-dialog::backdrop { background: rgba(10,23,21,.72); backdrop-filter: blur(8px); }
.dialog-header { display: flex; justify-content: space-between; gap: 20px; align-items: start; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.dialog-header small { color: var(--cinnabar); font-weight: 800; }
.dialog-header h2 { margin: 7px 0 0; font-family: var(--serif); font-size: 28px; }
.dialog-close { display: grid; flex: 0 0 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; font-size: 24px; }
.dialog-body { max-height: 58vh; padding: 10px 28px 30px; overflow-y: auto; }
.dialog-body section { padding: 20px 0; border-bottom: 1px solid var(--line); }
.dialog-body h3 { margin: 0 0 10px; color: var(--jade); font-family: var(--serif); }
.dialog-body p { margin: 0; line-height: 1.8; }
.mini-table { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.mini-table > div { display: grid; grid-template-columns: 70px 1fr; border-top: 1px solid var(--line); }
.mini-table > div:first-child { border-top: 0; }
.mini-table strong, .mini-table span { padding: 11px 13px; }
.mini-table strong { color: var(--cinnabar); background: #f3eee4; }
.dialog-note { padding: 18px !important; margin-top: 18px; border: 0 !important; border-left: 3px solid var(--gold) !important; background: #f4efe5; }
.dialog-footer { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 28px; border-top: 1px solid var(--line); background: #f0ebe1; }
.dialog-footer span { color: var(--ink-soft); font-size: 11px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; position: absolute; top: 68px; right: 20px; left: 20px; flex-direction: column; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px; }
  .safety-chip { display: none; }
  .nav-toggle { display: grid; gap: 5px; justify-self: end; padding: 10px; border: 0; background: transparent; cursor: pointer; }
  .nav-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: var(--ink); }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-console { min-height: 470px; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .demo-layout { grid-template-columns: 1fr; }
  .scenario-panel { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .scenario-title, .scenario-note { grid-column: 1 / -1; }
  .scenario-card { grid-template-columns: auto 1fr; }
  .case-tag { grid-column: 2; justify-self: start; }
  .boundary-grid { grid-template-columns: 1fr; }
  .boundary-card { min-height: auto; }
  .workflow-shell, .report-layout, .safety-shell { grid-template-columns: 1fr; }
  .workflow-intro { position: static; }
  .evidence-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section-shell, .proof-strip { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 66px; padding-inline: 14px; }
  .brand small { display: none; }
  .hero { gap: 50px; padding-block: 68px; }
  .hero h1 { font-size: clamp(46px, 14vw, 68px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-console { min-height: 0; padding: 20px; border-radius: 24px; }
  .agent-identity { margin: 44px 0 28px; }
  .large-seal { width: 60px; height: 60px; font-size: 34px; }
  .agent-identity h2 { font-size: 28px; }
  .spec-grid { grid-template-columns: 1fr; }
  .proof-strip { margin-bottom: 80px; }
  .proof-strip div { padding: 18px 14px; }
  .proof-strip strong { font-size: 28px; }
  .demo-section, .capability-section, .report-section, .evidence-section, .faq-section { padding-block: 72px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .workflow-intro h2 { font-size: 36px; }
  .scenario-panel { grid-template-columns: 1fr; padding: 14px; }
  .scenario-title, .scenario-note { grid-column: auto; }
  .scenario-note { display: none; }
  .scenario-card { margin: 0; padding: 13px; }
  .chat-panel { min-height: 660px; }
  .chat-header { padding-inline: 14px; }
  .offline-pill { max-width: 110px; text-align: center; }
  .chat-body { padding: 20px 14px; }
  .message, .process-card { max-width: 94%; }
  .process-card { margin-left: 0; }
  .chat-controls { grid-template-columns: 1fr 1fr; }
  .fake-composer { grid-column: 1 / -1; }
  .boundary-card { padding: 24px; }
  .workflow-section { padding-block: 80px; }
  .workflow-shell { gap: 48px; }
  .workflow-list li { grid-template-columns: 44px 1fr; }
  .report-index { grid-template-columns: 1fr; }
  .preview-toolbar { grid-template-columns: 1fr auto; }
  .preview-toolbar > span:first-child { display: none; }
  .preview-paper { padding: 25px; }
  .evidence-actions { align-items: stretch; flex-direction: column; }
  .safety-section { padding-block: 80px; }
  .safety-list { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 17px; }
  .closing { align-items: stretch; flex-direction: column; padding-block: 80px; }
  .closing .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer a { justify-self: center; }
  .site-footer span:nth-child(2) { text-align: center; }
  .dialog-header, .dialog-body, .dialog-footer { padding-inline: 18px; }
  .dialog-header h2 { font-size: 22px; }
  .dialog-footer { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
