:root {
  --ink: #0b0b0b;
  --paper: #f5f3ec;
  --white: #fff;
  --blue: #1747e8;
  --red: #f0382b;
  --yellow: #f5c928;
  --mint: #bde8d7;
  --line: 1.5px solid var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.topbar { height: 72px; padding: 0 3vw; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: var(--line); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand span { width: 44px; height: 44px; display: grid; place-items: center; color: white; background: var(--red); border: var(--line); font-weight: 900; }
.brand strong { font-size: 14px; }
nav { display: flex; gap: 24px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
nav a:hover { color: var(--blue); }
.hero { min-height: calc(100vh - 72px); display: grid; grid-template-columns: .78fr 1.22fr; border-bottom: var(--line); }
.hero-copy { padding: 6vw 4vw 4vw; display: flex; flex-direction: column; justify-content: space-between; background: var(--yellow); border-right: var(--line); }
.eyebrow { margin: 0; font-size: 12px; font-weight: 900; text-transform: uppercase; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 2rem 0; font-size: clamp(62px, 7.5vw, 122px); line-height: .82; }
.lede { max-width: 620px; font-size: clamp(18px, 1.7vw, 25px); line-height: 1.28; }
.action { width: 100%; margin-top: 2rem; padding: 18px 0; display: flex; justify-content: space-between; border-top: var(--line); border-bottom: var(--line); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.hero-image { min-width: 0; margin: 0; position: relative; overflow: hidden; background: #111; }
.hero-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-image figcaption { position: absolute; right: 0; bottom: 0; padding: 16px 22px; color: white; background: var(--blue); border-top: var(--line); border-left: var(--line); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.system-strip { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--blue); color: white; border-bottom: var(--line); }
.system-strip span { min-height: 90px; padding: 18px; display: flex; align-items: end; border-right: 1px solid white; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.system-strip span:last-child { border: 0; }
.split-section { display: grid; grid-template-columns: minmax(170px, .25fr) 1fr; border-bottom: var(--line); }
.section-index { padding: 32px 3vw; border-right: var(--line); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.section-body { min-width: 0; padding: 64px 4vw 80px; }
h2 { max-width: 1050px; margin: 18px 0 48px; font-size: clamp(45px, 6vw, 88px); line-height: .92; }
.rag-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: var(--line); }
.rag-grid article { min-height: 330px; padding: 20px; display: flex; flex-direction: column; border-right: var(--line); background: white; }
.rag-grid article:last-child { border: 0; }
.rag-grid article[data-color="mint"] { background: var(--mint); }
.rag-grid article[data-color="yellow"] { background: var(--yellow); }
.rag-grid article[data-color="red"] { color: white; background: var(--red); }
.rag-grid article[data-color="black"] { color: white; background: var(--ink); }
.rag-grid span { font-size: 12px; font-weight: 900; }
.rag-grid h3 { margin: auto 0 12px; font-size: 28px; }
.rag-grid p { min-height: 92px; margin: 0; line-height: 1.45; font-size: 14px; }
.rag-grid b { margin-top: 20px; font-size: 11px; text-transform: uppercase; }
.rag-grid small { margin-top: 5px; font-size: 12px; }
.dark { color: white; background: #0d0d0d; }
.dark .section-index { border-color: white; }
.dark .eyebrow { color: var(--yellow); }
.agent-flow { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid white; }
.agent-flow article { min-height: 235px; padding: 22px; border-right: 1.5px solid white; border-bottom: 1.5px solid white; }
.agent-flow article:nth-child(3n) { border-right: 0; }
.agent-flow article:nth-child(n+4) { border-bottom: 0; }
.agent-flow span { color: var(--yellow); font-size: 12px; font-weight: 900; }
.agent-flow h3 { margin: 58px 0 12px; font-size: 27px; }
.agent-flow p { margin: 0; color: #ccc; line-height: 1.5; }
.agent-flow .human { color: var(--ink); background: var(--yellow); }
.agent-flow .human span, .agent-flow .human p { color: var(--ink); }
.benchmark { background: var(--mint); }
.metric-tabs { display: flex; border: var(--line); background: white; }
.metric-tabs button { flex: 1; padding: 16px; border: 0; border-right: var(--line); background: white; cursor: pointer; font-weight: 900; text-transform: uppercase; }
.metric-tabs button:last-child { border: 0; }
.metric-tabs button[aria-selected="true"] { color: white; background: var(--blue); }
.metric-panel { min-height: 220px; padding: 34px; display: grid; grid-template-columns: 1fr 2fr; gap: 3vw; color: white; background: var(--blue); border: var(--line); border-top: 0; }
.metric-panel h3 { margin: 0; font-size: 36px; }
.metric-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.metric-list span { padding: 14px; border: 1px solid white; font-weight: 800; }
.baseline-ladder { margin-top: 30px; display: grid; grid-template-columns: repeat(5, 1fr); border: var(--line); }
.baseline-ladder div { min-height: 120px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; border-right: var(--line); background: white; }
.baseline-ladder div:last-child { border: 0; background: var(--yellow); }
.baseline-ladder span { font-size: 12px; }
.deployment { background: white; }
.deployment-table { border-top: var(--line); }
.deployment-table article { display: grid; grid-template-columns: 110px 1fr 1.4fr 1fr; gap: 20px; align-items: center; padding: 24px 0; border-bottom: var(--line); }
.deployment-table b { font-size: 28px; }
.deployment-table h3, .deployment-table p { margin: 0; }
.deployment-table p { line-height: 1.45; }
.deployment-table span { padding: 10px; color: white; background: var(--blue); font-size: 12px; font-weight: 800; }
.decision { margin-top: 44px; padding: 25px; display: grid; grid-template-columns: 180px 1fr; gap: 24px; color: white; background: var(--red); border: var(--line); }
.decision span { font-size: 12px; font-weight: 900; text-transform: uppercase; }
.decision strong { line-height: 1.5; }
footer { padding: 30px 3vw; display: flex; justify-content: space-between; background: var(--paper); font-size: 12px; font-weight: 800; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
@media (max-width: 980px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 72vh; border-right: 0; border-bottom: var(--line); }
  .hero-image { min-height: 50vh; }
  .system-strip { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; }
  .section-index { border-right: 0; border-bottom: var(--line); }
  .rag-grid { grid-template-columns: 1fr; }
  .rag-grid article { min-height: 260px; border-right: 0; border-bottom: var(--line); }
  .agent-flow { grid-template-columns: 1fr; }
  .agent-flow article { border-right: 0; border-bottom: 1.5px solid white !important; }
  .agent-flow article:last-child { border-bottom: 0 !important; }
  .baseline-ladder { grid-template-columns: 1fr; }
  .baseline-ladder div { border-right: 0; border-bottom: var(--line); }
  .metric-panel { grid-template-columns: 1fr; }
  .deployment-table article { grid-template-columns: 1fr; }
  .decision { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar { padding: 0 1rem; }
  .brand strong { display: none; }
  .hero-copy { padding: 4rem 1rem 2rem; }
  h1 { font-size: clamp(58px, 20vw, 84px); }
  .section-index, .section-body { padding-left: 1rem; padding-right: 1rem; }
  .system-strip span { min-height: 72px; }
  .metric-tabs { flex-direction: column; }
  .metric-tabs button { border-right: 0; border-bottom: var(--line); }
  .metric-list { grid-template-columns: 1fr; }
  footer { gap: 1rem; flex-direction: column; }
}

