:root {
  --navy: #06182c;
  --navy-2: #0d2742;
  --blue: #005aa8;
  --cyan: #32b7d4;
  --green: #27866c;
  --amber: #c47a1b;
  --red: #b64046;
  --ink: #14283d;
  --muted: #66788a;
  --line: #d8e0e7;
  --paper: #f3f6f8;
  --soft-blue: #eaf3f8;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(5, 24, 44, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; letter-spacing: 0; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  height: 74px;
  padding: 0 clamp(20px, 5vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brand { color: inherit; text-decoration: none; font-weight: 800; font-size: 24px; }
.brand span { color: var(--cyan); }
.topbar nav { display: flex; align-items: center; gap: 28px; }
.topbar nav a { color: inherit; text-decoration: none; font-size: 13px; }
.environment { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.environment i { width: 8px; height: 8px; border-radius: 50%; background: #59d1a5; box-shadow: 0 0 0 4px rgba(89, 209, 165, 0.16); }

.hero {
  min-height: min(760px, 92vh);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 130px clamp(22px, 7vw, 110px) 78px;
  color: var(--white);
  background: var(--navy);
}

.hero-portraits { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.hero-portraits img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(0.72) contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(4, 21, 39, 0.77); }
.hero-content { position: relative; z-index: 2; width: min(850px, 100%); }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
.hero h1 { margin: 0; font: 400 clamp(54px, 7.2vw, 96px) / 0.98 Georgia, serif; }
.hero h1 strong { color: #91dfec; font-weight: 400; }
.hero-cn { margin: 28px 0 8px; font: 600 22px/1.45 Georgia, "Microsoft YaHei", serif; }
.hero-intro { max-width: 680px; margin: 0; color: #d3e0ea; font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 32px; }
.hero-actions a { color: var(--white); text-decoration: none; font-weight: 700; font-size: 14px; }

.primary {
  border: 1px solid var(--white);
  border-radius: 4px;
  padding: 14px 20px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}
.primary.dark { border-color: var(--navy); background: var(--navy); color: var(--white); }
.hero-contract { margin-top: 42px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: #b9ccda; font-size: 11px; text-transform: uppercase; }
.hero-contract i { width: 24px; height: 1px; background: rgba(255, 255, 255, 0.36); }
.hero-contract b { color: var(--white); }

.disclosure { min-height: 64px; padding: 15px clamp(22px, 7vw, 110px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; background: #082848; color: #d6e3ec; font-size: 12px; }
.disclosure strong { color: #fff; }
.disclosure a { color: #86ddea; text-decoration: none; font-weight: 700; }

.section { padding: 88px clamp(22px, 7vw, 110px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 42px; margin-bottom: 42px; }
.section-head h2 { margin: 0; color: var(--navy); font: 400 clamp(38px, 4.6vw, 64px)/1.05 Georgia, "Microsoft YaHei", serif; max-width: 830px; }
.section-head > p { width: min(470px, 100%); margin: 0; color: var(--muted); line-height: 1.65; }

.agents { background: var(--paper); }
.agent-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid #bac8d2; border-left: 1px solid #bac8d2; }
.agent-card { min-width: 0; background: var(--white); border-right: 1px solid #bac8d2; border-bottom: 1px solid #bac8d2; }
.agent-card figure { height: 300px; margin: 0; overflow: hidden; background: #dce5eb; }
.agent-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 240ms ease; }
.agent-card:hover img { transform: scale(1.025); }
.agent-body { min-height: 284px; padding: 22px; display: flex; flex-direction: column; }
.agent-body > span { color: var(--agent-color); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.agent-body h3 { margin: 22px 0 10px; min-height: 54px; font: 400 23px/1.2 Georgia, "Microsoft YaHei", serif; }
.agent-body > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.agent-state { margin-top: auto; padding-top: 25px; }
.agent-state b { display: block; margin-bottom: 8px; color: var(--agent-color); font-size: 11px; text-transform: uppercase; }
.agent-state small { display: block; min-height: 30px; margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.agent-state progress { width: 100%; height: 5px; display: block; border: 0; background: #e4eaee; }
.agent-state progress::-webkit-progress-bar { background: #e4eaee; }
.agent-state progress::-webkit-progress-value { background: var(--agent-color); }
.agent-state progress::-moz-progress-bar { background: var(--agent-color); }
.agent-card.cyan { --agent-color: var(--cyan); }
.agent-card.green { --agent-color: var(--green); }
.agent-card.amber { --agent-color: var(--amber); }
.agent-card.blue { --agent-color: var(--blue); }
.agent-card.red { --agent-color: var(--red); }
.agent-card[data-state="warning"] { box-shadow: inset 0 4px 0 var(--amber); }
.agent-card[data-state="blocked"], .agent-card[data-state="review_required"] { box-shadow: inset 0 4px 0 var(--red); }
.agent-card[data-state="complete"] { box-shadow: inset 0 4px 0 var(--green); }

.workflow { background: var(--white); }
.workflow-rail { display: grid; grid-template-columns: minmax(190px, 1fr) 34px minmax(150px, .72fr) 34px minmax(130px, .62fr) 34px minmax(140px, .68fr) 34px minmax(180px, .88fr); align-items: center; gap: 0; }
.workflow-rail > div { min-height: 92px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; text-align: center; padding: 18px; background: var(--white); font: 700 12px/1.4 Arial, sans-serif; text-transform: uppercase; }
.workflow-rail > i { height: 1px; background: var(--cyan); position: relative; }
.workflow-rail > i::after { content: ""; position: absolute; right: 0; top: -3px; border-left: 6px solid var(--cyan); border-top: 3px solid transparent; border-bottom: 3px solid transparent; }
.workflow-rail .parallel-stage { min-height: 126px; display: grid; grid-template-columns: 1fr; gap: 8px; border: 0; padding: 0; }
.workflow-rail .parallel-stage span { width: 100%; height: 58px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.workflow-rail .human-node { background: var(--navy); color: var(--white); border-color: var(--navy); }
.evidence-principle { margin-top: 34px; padding: 24px 28px; display: flex; justify-content: space-between; gap: 30px; background: var(--soft-blue); border-left: 4px solid var(--cyan); }
.evidence-principle p { margin: 0; color: var(--muted); }

.workspace { background: var(--paper); }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(310px, .72fr); gap: 24px; align-items: start; }
.intake-panel, .demo-panel { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.intake-panel { padding: 28px; }
.demo-panel { position: sticky; top: 20px; }
.panel-title { display: flex; gap: 16px; align-items: flex-start; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.intake-panel > .panel-title { margin: -28px -28px 28px; }
.panel-title > span { color: var(--cyan); font: 700 12px Georgia, serif; }
.panel-title h3 { margin: 0 0 6px; font: 400 24px Georgia, "Microsoft YaHei", serif; }
.panel-title p { margin: 0; color: var(--muted); font-size: 12px; }
.field-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.field-grid label { display: grid; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 700; }
.field-grid .wide { grid-column: span 3; }
input, textarea { width: 100%; border: 1px solid #cbd6de; border-radius: 3px; background: #fff; color: var(--ink); padding: 12px 13px; outline: none; }
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 90, 168, 0.1); }
.document-intake { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.document-intake h3 { margin: 0 0 18px; font: 400 21px Georgia, serif; }
.upload-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.upload-grid label { min-height: 110px; padding: 16px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; }
.upload-grid label:hover { background: var(--soft-blue); }
.upload-grid span { font-size: 12px; font-weight: 700; }
.upload-grid small { margin-top: auto; color: var(--muted); font-size: 10px; }
.upload-grid small.ready { color: var(--green); font-weight: 800; }
.upload-grid input { padding: 0; border: 0; font-size: 10px; color: var(--muted); }
.upload-grid input::file-selector-button { margin-right: 8px; padding: 6px 8px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.intake-footer { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.intake-footer b, .intake-footer small { display: block; }
.intake-footer small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.demo-company { padding: 28px 26px; border-bottom: 1px solid var(--line); }
.demo-company > span { color: var(--cyan); font-size: 10px; text-transform: uppercase; font-weight: 800; }
.demo-company h3 { margin: 14px 0 8px; font: 400 26px/1.25 Georgia, "Microsoft YaHei", serif; }
.demo-company p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.scenario-list { display: grid; }
.scenario-list button { padding: 18px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; text-align: left; background: var(--white); border: 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.scenario-list button:hover, .scenario-list button:focus-visible { background: var(--soft-blue); }
.scenario-list b, .scenario-list small { display: block; }
.scenario-list b { margin-bottom: 5px; font-size: 12px; }
.scenario-list small { color: var(--muted); font-size: 10px; }
.scenario-list em { min-width: 42px; font: 400 18px Georgia, serif; color: var(--blue); font-style: normal; }
.demo-boundary { padding: 24px 26px; background: var(--navy); color: var(--white); }
.demo-boundary b { color: #8bddea; font-size: 10px; }
.demo-boundary p { margin: 8px 0 0; color: #bccddd; font-size: 11px; line-height: 1.5; }

.execution-strip { position: sticky; bottom: 0; z-index: 4; min-height: 58px; padding: 12px clamp(22px, 7vw, 110px); display: grid; grid-template-columns: auto minmax(160px, 1fr) minmax(180px, 340px); align-items: center; gap: 20px; background: var(--navy); color: var(--white); box-shadow: 0 -10px 30px rgba(5, 24, 44, 0.12); }
.execution-strip span { color: #91a9ba; font-size: 10px; text-transform: uppercase; }
.execution-strip strong { font-size: 12px; }
.execution-strip progress { width: 100%; height: 5px; border: 0; background: #29435d; }
.execution-strip progress::-webkit-progress-bar { background: #29435d; }
.execution-strip progress::-webkit-progress-value { background: var(--cyan); }
.execution-strip progress::-moz-progress-bar { background: var(--cyan); }

.dashboard { background: var(--white); }
.case-header { padding: 66px clamp(22px, 7vw, 110px); display: flex; align-items: flex-end; justify-content: space-between; gap: 42px; background: var(--navy); color: var(--white); }
.case-header h2 { margin: 0; font: 400 clamp(36px, 5vw, 66px)/1.05 Georgia, "Microsoft YaHei", serif; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.case-tags span { padding: 7px 9px; border: 1px solid #405d76; color: #c4d5e2; font-size: 10px; text-transform: uppercase; }
.facility-summary { min-width: 260px; padding-left: 28px; border-left: 1px solid #486278; }
.facility-summary span, .facility-summary small { display: block; color: #a8bece; }
.facility-summary span { font-size: 10px; text-transform: uppercase; }
.facility-summary strong { display: block; margin: 10px 0; font: 400 36px Georgia, serif; }
.facility-summary small { font-size: 11px; }

.dashboard-band { padding: 66px clamp(22px, 7vw, 110px); border-bottom: 1px solid var(--line); }
.dashboard-band > header { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 28px; }
.dashboard-band h3 { margin: 0; font: 400 30px Georgia, "Microsoft YaHei", serif; }
.dashboard-band header > p { width: min(430px, 100%); margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.metric-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metric { min-height: 142px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.metric strong { display: block; margin: 18px 0 14px; color: var(--blue); font: 400 31px Georgia, serif; overflow-wrap: anywhere; }
.metric button, .evidence-button { padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 10px; font-weight: 800; text-decoration: underline; }
.metric.missing strong { color: #8b98a4; font-size: 22px; }

.risk-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 70px; }
.risk-layout header, .three-column header, .audit-layout header { margin-bottom: 24px; }
.risk-radar-grid { display: grid; gap: 13px; }
.risk-bar { display: grid; grid-template-columns: 92px minmax(0, 1fr) 34px; align-items: center; gap: 12px; font-size: 11px; }
.risk-bar i { height: 7px; background: #e3e9ed; position: relative; overflow: hidden; }
.risk-bar i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--risk); background: var(--risk-color); }
.risk-bar b { font: 400 13px Georgia, serif; }
.finding-list { display: grid; border-top: 1px solid var(--line); }
.finding { padding: 18px 0; display: grid; grid-template-columns: 70px 1fr; gap: 18px; border-bottom: 1px solid var(--line); }
.finding > span { width: max-content; max-width: 70px; padding: 5px 7px; align-self: start; color: var(--white); background: var(--muted); font-size: 9px; text-transform: uppercase; }
.finding.high > span, .finding.critical > span { background: var(--red); }
.finding.medium > span { background: var(--amber); }
.finding.low > span, .finding.info > span { background: var(--green); }
.finding p { margin: 0 0 7px; font-size: 13px; line-height: 1.5; }
.finding small { display: block; color: var(--muted); line-height: 1.45; }

.three-column { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 54px; background: var(--paper); }
.three-column > div { min-width: 0; }
.three-column ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid #c7d1d9; }
.three-column li { padding: 13px 0; border-bottom: 1px solid #c7d1d9; font-size: 12px; line-height: 1.45; }
.three-column > div > p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.structure-box { margin-top: 20px; padding: 16px; border-left: 4px solid var(--amber); background: var(--white); }
.structure-box span, .structure-box b { display: block; }
.structure-box span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.structure-box b { margin: 8px 0; font: 400 24px Georgia, serif; }
.structure-box small { color: var(--muted); line-height: 1.45; }

.evidence-section { background: var(--white); }
.evidence-table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 11px; }
th { color: var(--muted); font-size: 9px; text-transform: uppercase; background: var(--paper); }
td:first-child { color: var(--blue); font-family: Consolas, monospace; }
.source-label { display: inline-block; margin-top: 6px; padding: 3px 5px; background: var(--soft-blue); color: var(--blue); font-size: 8px; font-weight: 800; }

.audit-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; background: var(--paper); }
.audit-layout > div { min-width: 0; }
.revision-cap { margin-top: 22px; color: var(--muted); font-size: 11px; }
.timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid #c7d1d9; }
.timeline li { display: grid; grid-template-columns: 74px 132px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid #c7d1d9; font-size: 11px; }
.timeline time { color: var(--blue); font-family: Consolas, monospace; }
.timeline b { font-size: 11px; }
.timeline span { color: var(--muted); line-height: 1.45; }

.report-callout { padding: 72px clamp(22px, 7vw, 110px); display: flex; justify-content: space-between; align-items: center; gap: 60px; background: var(--white); border-bottom: 1px solid var(--line); }
.report-callout h2 { margin: 0; font: 400 clamp(34px, 4vw, 56px)/1.05 Georgia, serif; }
.report-callout > div > p:last-child { max-width: 670px; color: var(--muted); line-height: 1.6; }
.report-actions { width: min(360px, 100%); display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.report-actions a, .report-actions button { min-height: 48px; padding: 11px; display: flex; align-items: center; justify-content: center; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-size: 11px; font-weight: 700; }
.report-actions .primary { background: var(--navy); color: var(--white); grid-column: span 2; }

.human-gate { padding: 84px clamp(22px, 7vw, 110px); background: var(--navy); color: var(--white); text-align: center; }
.human-gate > div { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; }
.human-gate > div span { padding: 7px 9px; border: 1px solid #45617a; color: #a9c0d0; font-size: 9px; }
.human-gate h2 { margin: 0; font: 400 clamp(40px, 5vw, 68px)/1.04 Georgia, "Microsoft YaHei", serif; }
.human-gate > p:not(.eyebrow) { max-width: 760px; margin: 22px auto; color: #b9ccda; line-height: 1.65; }
.human-gate ul { max-width: 850px; margin: 34px auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #425e77; border-left: 1px solid #425e77; list-style: none; }
.human-gate li { min-height: 68px; padding: 15px; display: flex; align-items: center; justify-content: center; border-right: 1px solid #425e77; border-bottom: 1px solid #425e77; font-size: 10px; }
.human-gate button { padding: 14px 18px; border: 1px solid #4f6c83; background: #132c44; color: #91a9ba; cursor: not-allowed; }

.philosophy { min-height: 380px; padding: 78px clamp(22px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: #eaf0f4; }
.philosophy p { margin: 0; color: var(--blue); font: 400 22px Georgia, serif; }
.philosophy h2 { margin: 16px 0; font: 400 clamp(38px, 5vw, 68px)/1.06 Georgia, "Microsoft YaHei", serif; }
.philosophy span { max-width: 700px; color: var(--muted); line-height: 1.6; }

dialog { width: min(620px, calc(100% - 32px)); padding: 32px; border: 0; border-top: 5px solid var(--cyan); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35); }
dialog::backdrop { background: rgba(3, 16, 30, 0.72); }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 20px; }
dialog h2 { margin: 0 0 24px; font: 400 31px/1.2 Georgia, serif; }
dialog dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; }
dialog dt, dialog dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; }
dialog dt { color: var(--muted); }

body > footer { padding: 28px clamp(22px, 7vw, 110px); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #03111f; color: var(--white); }
body > footer p { color: #91a7b8; font-size: 10px; }

.report-page { background: #dfe6eb; }
.report-toolbar { position: sticky; top: 0; z-index: 5; min-height: 64px; padding: 10px clamp(18px, 4vw, 50px); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--navy); color: var(--white); }
.report-toolbar > div { display: flex; gap: 8px; }
.report-toolbar button, .report-toolbar > div > a { min-height: 36px; padding: 9px 12px; border: 1px solid #426078; background: #112c45; color: var(--white); text-decoration: none; font-size: 10px; }
.report-document { width: min(980px, calc(100% - 32px)); margin: 40px auto; padding: 70px; background: var(--white); box-shadow: var(--shadow); }
.report-cover { padding-bottom: 36px; border-bottom: 3px solid var(--navy); }
.report-cover > p { margin: 0; color: var(--blue); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.report-cover h1 { margin: 24px 0; color: var(--navy); font: 400 52px/1.05 Georgia, serif; }
.report-cover > div { display: flex; flex-wrap: wrap; gap: 12px; }
.report-cover span { padding: 6px 8px; background: var(--paper); color: var(--muted); font-size: 9px; }
.report-warning { margin: 28px 0; padding: 18px 20px; background: #fff7ea; border-left: 4px solid var(--amber); }
.report-warning p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.report-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.report-summary-grid > div { min-height: 112px; padding: 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.report-summary-grid span, .report-summary-grid strong { display: block; }
.report-summary-grid span { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.report-summary-grid strong { margin-top: 16px; font: 400 17px/1.3 Georgia, serif; }
.report-section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.report-section h2 { margin: 0 0 18px; color: var(--navy); font: 400 27px Georgia, serif; }
.report-section p, .report-section li { color: #344c61; font-size: 12px; line-height: 1.72; }
.report-section ul { margin: 0; padding-left: 20px; }
.report-section sup { margin-left: 4px; color: var(--blue); font: 700 9px Consolas, monospace; }
.report-signoff { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.report-signoff div { min-height: 100px; padding: 16px; border: 1px solid var(--line); }
.report-signoff span, .report-signoff b { display: block; }
.report-signoff span { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.report-signoff b { margin-top: 18px; font-size: 11px; line-height: 1.4; }

@media (max-width: 1180px) {
  .agent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .workflow-rail { grid-template-columns: 1fr; gap: 8px; }
  .workflow-rail > i { width: 1px; height: 22px; margin: 0 auto; }
  .workflow-rail > i::after { top: auto; bottom: 0; right: -3px; border-top: 6px solid var(--cyan); border-left: 3px solid transparent; border-right: 3px solid transparent; border-bottom: 0; }
  .workflow-rail .parallel-stage { grid-template-columns: repeat(2, 1fr); min-height: 58px; }
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .topbar nav { display: none; }
  .hero { min-height: 720px; }
  .hero-portraits { grid-template-columns: repeat(3, 1fr); }
  .hero-portraits img:nth-child(n+4) { display: none; }
  .disclosure { grid-template-columns: 1fr; gap: 7px; padding-top: 18px; padding-bottom: 18px; }
  .section-head { display: block; }
  .section-head > p { margin-top: 18px; }
  .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace-grid, .risk-layout, .audit-layout { grid-template-columns: 1fr; }
  .demo-panel { position: static; }
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-grid .wide { grid-column: span 2; }
  .upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .execution-strip { grid-template-columns: auto 1fr; }
  .execution-strip progress { grid-column: 1 / -1; }
  .case-header { display: block; }
  .facility-summary { margin-top: 32px; padding: 24px 0 0; border-left: 0; border-top: 1px solid #486278; }
  .three-column { grid-template-columns: 1fr; }
  .report-callout { display: block; }
  .report-actions { margin-top: 30px; }
  .human-gate ul { grid-template-columns: repeat(2, 1fr); }
  .report-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .report-signoff { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .topbar { height: 64px; }
  .environment { display: none; }
  .hero { min-height: 650px; padding-top: 112px; }
  .hero h1 { font-size: 49px; }
  .hero-cn { font-size: 19px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-contract { display: none; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-head h2 { font-size: 38px; }
  .agent-grid { grid-template-columns: 1fr; }
  .agent-card figure { height: 360px; }
  .agent-body { min-height: 230px; }
  .workflow-rail .parallel-stage { grid-template-columns: 1fr; min-height: 126px; }
  .evidence-principle { display: block; }
  .evidence-principle p { margin-top: 10px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-grid .wide { grid-column: auto; }
  .upload-grid { grid-template-columns: 1fr; }
  .intake-footer { align-items: flex-start; flex-direction: column; }
  .intake-footer button { width: 100%; }
  .execution-strip { position: static; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-band { padding-top: 54px; padding-bottom: 54px; }
  .dashboard-band > header { display: block; }
  .dashboard-band header > p { margin-top: 14px; }
  .timeline li { grid-template-columns: 65px 1fr; }
  .timeline span { grid-column: 2; }
  .report-actions { grid-template-columns: 1fr; }
  .report-actions .primary { grid-column: auto; }
  .human-gate ul { grid-template-columns: 1fr; }
  body > footer { display: block; }
  body > footer p { margin-top: 12px; }
  .report-toolbar { align-items: flex-start; flex-direction: column; }
  .report-toolbar > div { width: 100%; overflow-x: auto; }
  .report-document { width: 100%; margin: 0; padding: 32px 20px; box-shadow: none; }
  .report-cover h1 { font-size: 39px; }
  .report-summary-grid { grid-template-columns: 1fr; }
}

@media print {
  .report-toolbar { display: none; }
  .report-page { background: #fff; }
  .report-document { width: auto; margin: 0; padding: 0; box-shadow: none; }
  .report-section { break-inside: avoid; }
  .report-cover { break-after: avoid; }
  a { text-decoration: none; }
}
