.agents-opening {
  padding-block: clamp(107px,8.85vw,137px) clamp(15px,2.5vw,34px);
  background: #ebece2;
}
.agent-lead {
  display: grid;
  grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr);
  align-items: center;
  gap: 17px clamp(12px,3.55vw,50px);
}
.agents-page .agent-lead h1 {
  max-width: 13ch;
  margin: 11px 0 13px;
  color: #183024;
  font-size: clamp(2.7rem,4.6vw,5rem);
  font-weight: 535;
  letter-spacing: -.071em;
  line-height: .95;
  text-wrap: initial;
}
.agent-lead h1 span { display: block; color: #256449; }
.agents-page .agent-lead-copy > p { max-width: 49ch; font-size: clamp(.94rem,1.32vw,1.13rem); line-height: 1.5; }
.agent-lead-copy .content-actions { margin-top: 13px; }
.agents-page main > .content-section, .agents-use-cases { padding-block: clamp(33px,5.1vw,73px); }
.agents-page main > .content-section h2, .agents-page .agent-use-case-intro h2 {
  font-size: clamp(2.03rem,4.15vw,4.35rem);
  font-weight: 540;
  line-height: .98;
  letter-spacing: -.058em;
  text-wrap: initial;
}
.agents-use-cases { background: #edf0e6; border-top: 1px solid #b1c2ad; }
.agent-use-case-directory { scroll-margin-top: 100px; }
.agent-use-case-intro {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1fr);
  align-items: end;
  gap: 10px clamp(15px, 5vw, 66px);
}
.agents-page .agent-use-case-intro h2 { max-width: 25ch; font-size: clamp(1.62rem, 3.1vw, 3rem); }
.agents-page .agent-use-case-intro p { max-width: 77ch; font-size: .94rem; }
.agent-use-case-directory .agent-use-case-list {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 13px clamp(13px,2.15vw,29px);
  margin-top: clamp(13px,2vw,28px);
}
.agent-use-case-directory .agent-use-case-list article {
  padding: 0 0 9px;
  border-top: 0;
  border-bottom: 1px solid #abbda7;
}
.agent-use-case-list img, .agent-sector-list img {
  display: block;
  width: 100%;
  height: clamp(91px,10vw,142px);
  object-fit: cover;
  background: #dce6d7;
}
.agents-page .agent-use-case-directory .agent-use-case-list h3 { margin: 8px 0 4px; text-wrap: initial; }
.agents-page .agent-use-case-directory .agent-use-case-list p { font-size: .92rem; line-height: 1.49; }

.agent-featured-project {
  display: grid;
  grid-template-columns: minmax(0,.91fr) minmax(0,1.09fr);
  margin-top: clamp(12px,1.8vw,23px);
  color: #f4f4e8;
  background: #1b3a2d;
}
.agent-featured-copy { padding: clamp(13px,2.8vw,36px); }
.agents-page .agent-featured-project h3 {
  margin-bottom: 6px;
  color: #cce8a4;
  font-size: clamp(1.35rem,2.4vw,2.6rem);
}
.agents-page .agent-featured-project :is(p, li) { color: #e9f2e6; }
.agents-page .agent-featured-copy > p { font-size: clamp(1.03rem,1.7vw,1.44rem); font-weight: 550; line-height: 1.25; }
.agent-featured-details .source-list { gap: 0; margin-block: 9px; padding: 0; list-style: none; }
.agents-page .agent-featured-details li {
  padding-block: 4px;
  border-top: 1px solid #c9e8c050;
  font-size: .94rem;
}
.agents-page .agent-featured-details p { color: #d0e6cf; font: 400 .79rem/1.5 'Geist Mono', monospace; }
.agent-case-photo { position: relative; isolation: isolate; min-height: 250px; margin: 0; }
.agent-case-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.agent-case-photo figcaption { position: absolute; bottom: 10px; left: 10px; padding: 5px 7px; background: #eff1e2; color: #214631; font: 500 .69rem/1.2 'Geist Mono', monospace; }
.agent-credentials .hero-proof {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  max-width: none;
  gap: 7px clamp(10px,2vw,27px);
  margin: clamp(14px,2.2vw,30px) 0 0;
  padding: 0;
}
.agents-page .agent-credentials .hero-proof li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1px 7px;
  padding: 6px 0 0;
  border: 0;
  border-top: 1px solid #a1b19d;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.agents-page .agent-credentials strong { color: #235d43; font-size: clamp(1.25rem,2.8vw,2.75rem); font-weight: 550; line-height: 1; letter-spacing: -.055em; }
.agents-page .agent-credentials span { color: #3b5446; font-size: clamp(.73rem,1vw,.9rem); }

.agents-page .agents-compare { background: #fff; }
.agents-page .agents-compare .section-layout { grid-template-columns: minmax(0,.79fr) minmax(0,1.21fr); gap: 14px clamp(13px,3.8vw,55px); }
.agents-compare h2 span { display: block; }
.agents-page .agent-compare-intro p { margin-top: 11px; }
.agent-workbench {
  --glass-padding: clamp(9px,1.45vw,21px);
  min-width: 0;
  margin: 0;
  border-color: #9eb4a2;
  border-radius: 11px;
  background: #f4f3ea;
}
.agent-workbench figcaption {
  margin: 0 0 8px;
  color: #2b593d;
  font: 500 .72rem/1.35 'Geist Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.agents-visually-hidden, .agent-mode input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.agent-mode { min-inline-size: 0; padding: 0; margin: 0; border: 0; }
.agent-demo-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
  min-height: 44px;
  margin-bottom: clamp(12px, 1.45vw, 20px);
}
.agent-mode-options {
  display: flex;
  gap: 3px;
  max-width: 100%;
  padding: 3px;
  border: 1px solid #17703d25;
  border-radius: 11px;
  background: #fff9;
}
.agent-mode-options label { min-width: 0; }
.agent-mode-options span {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
}
.agent-mode-options input:checked + span { color: #f3f5f1; background: #143827; }
.agent-mode-options input:focus-visible + span { outline: 2px solid #17703d; outline-offset: 2px; }
.agent-mode-options input:not(:checked) + span:hover { background: #e2efdc; }

.agent-demo-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,.91fr) clamp(13px,2.1vw,29px) minmax(0,1.09fr);
}
.agent-demo-bridge { position: relative; }
.agent-demo-bridge::before {
  position: absolute;
  inset: 15px auto 15px 50%;
  border-left: 1px dashed #17703d3d;
  content: '';
}
.agent-packet {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  outline: 1px solid #17703d89;
  background: #b9ea79;
  box-shadow: 0 0 0 4px #9bdb4d52, 0 0 14px 2px #9bdb4db0;
  pointer-events: none;
}
.agent-console {
  display: grid;
  align-items: stretch;
  min-width: 0;
  padding: clamp(8px,1.1vw,14px);
  border: 1px solid #17703d25;
  border-radius: 7px;
  background: #fff9;
}
.agent-scenario { display: flex; flex-direction: column; visibility: hidden; grid-area: 1 / 1; min-width: 0; }
.agent-mode:has(#agent-mode-chatbot:checked) .agent-scenario-chatbot,
.agent-mode:has(#agent-mode-agent:checked) .agent-scenario-agent { visibility: visible; }
.agent-message {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 84px;
  padding: clamp(10px, 1.35vw, 17px);
  border: 1px solid #17703d21;
  border-radius: 5px 13px 13px;
  background: #fff;
}
.agent-message img {
  display: block;
  box-sizing: content-box;
  width: 21px;
  height: 21px;
  padding: 6px;
  border-radius: 7px;
  background: #123121;
}
.agent-message strong { color: #17703d; font-size: .83rem; }
.agents-page .agent-message p { margin-top: 4px; color: #0b120d; font-size: clamp(.9rem, 1.17vw, 1.07rem); line-height: 1.39; }
.agent-result-steps { display: grid; gap: 3px; }
.agent-result-steps > span {
  position: relative;
  display: block;
  padding: 4px 6px 4px 17px;
  border-bottom: 1px solid #17703d28;
}
.agent-result-steps > span:last-child { border-bottom: 0; }
.agent-result-steps > span::before {
  position: absolute;
  top: .82em;
  left: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #17703d;
  content: '';
}
.agent-output { margin: auto 0 0; padding-top: 12px; }
.agent-output div {
  display: grid;
  grid-template-columns: minmax(69px, .34fr) minmax(0, 1fr);
  gap: 8px 10px;
  padding: 7px 0;
  border-top: 1px solid #17703d24;
}
.agent-output dt { font: 500 .72rem/1.45 'Geist Mono', monospace; color: #325942; }
.agent-output dd { margin: 0; font-size: .86rem; line-height: 1.42; color: #243e2f; }
.agent-order-flow {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
  padding: clamp(11px,1.4vw,20px);
  border: 1px solid #c9e8c045;
  border-radius: 7px;
  background: #193a2d;
  color: #f3f5f1;
}
.agents-page .agent-order-flow h3 {
  color: #c4eca1;
  font-size: clamp(1.27rem, 2.2vw, 1.94rem);
  letter-spacing: -.04em;
}
.agents-page .agent-order-steps {
  display: grid;
  gap: 5px;
  color: #f1f5ee;
  font-size: clamp(.93rem, 1.36vw, 1.18rem);
  line-height: 1.32;
}
.agent-order-steps > span {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 9px 7px 23px;
  position: relative;
  border: 1px solid transparent;
  border-bottom-color: #c9e8c05c;
  border-radius: 0;
}
.agent-order-steps > span::before {
  position: absolute;
  left: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #91ac97;
  content: '';
}
.agent-mode:has(#agent-mode-agent:checked):not([data-running]) .agent-order-steps > span::before,
.agent-order-steps > span[data-step]::before { background: #b9ea79; }
.agent-order-steps > span[data-step="active"] {
  border-color: #b9ea79;
  background: #b9ea7924;
}
.agent-order-steps > span[data-step="active"]::before { box-shadow: 0 0 0 3px #b9ea7948; }
@media (min-width: 681px) {
  .agent-scenario-chatbot { align-self: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .agent-order-steps > span { transition: border-color .18s, background-color .18s; }
  .agent-mode[data-running] .agent-result-steps > span:not([data-received])::before { background: #9ab4a0; }
  .agent-mode[data-running] .agent-result-steps > span:not([data-received]) > span { opacity: 0; }
  .agent-mode[data-running] .agent-result-steps > span[data-received] { animation: agent-result-arrive 430ms ease-out both; }
  .agent-mode[data-preview] .agent-scenario-chatbot .agent-message { animation: agent-result-arrive 620ms ease-out both; }
}
@keyframes agent-result-arrive {
  from { background-color: #d3efb2; }
  to { background-color: transparent; }
}
.agents-compare .source-table { background: #fff; }
.agents-compare .source-table { margin: 0; }
.agents-compare .source-table table { min-width: 0; table-layout: fixed; }
.agents-compare table thead th:first-child { width: 18%; }
.agents-compare table th, .agents-compare table td { padding: clamp(7px, 1.35vw, 16px); overflow-wrap: anywhere; }

.agent-use-case-list article, .agent-sector-list article {
  padding: clamp(14px, 2vw, 26px) 0;
  border-top: 1px solid #17703d35;
}
.agents-page .agent-use-case-list h3, .agents-page .agent-sector-list h3 { margin-bottom: 6px; color: #143624; }
.agent-use-case-list p { max-width: 60ch; }

.agents-page .agents-response { background: #fff; }
.agent-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 40px);
  margin-block: clamp(18px, 2.25vw, 31px);
}
.agent-metrics > div { padding-block: 14px 3px; border-top: 1px solid #17703d59; }
.agent-metrics > div > strong {
  display: block;
  margin-bottom: 8px;
  color: #17703d;
  font-size: clamp(2.2rem, 5vw, 4.65rem);
  font-weight: 520;
  line-height: .96;
  letter-spacing: -.065em;
}
.agents-page .agent-metrics p { font-size: .92rem; line-height: 1.49; }

.agents-page .agents-catalog { background: #fff; }
.agent-catalog { margin-top: clamp(16px, 2.6vw, 34px); border-bottom: 1px solid #17703d2f; }
.agent-catalog > article {
  display: grid;
  grid-template-columns: minmax(0,.62fr) minmax(0,1.32fr) minmax(0,.74fr);
  gap: clamp(11px, 2.6vw, 35px);
  padding-block: clamp(14px, 2vw, 24px);
  border-top: 1px solid #17703d2f;
}
.agents-page .agent-catalog h3 { color: #143624; }
.agent-catalog-copy { display: contents; }
.agents-page .agent-catalog-copy p + p { margin: 0; color: #17643b; font-weight: 550; }

.agents-page .agents-handoff {
  background: #1b372d;
  color: #f3f5f1;
}
.agent-handoff-layout { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); gap: 14px clamp(16px,4vw,57px); }
.agent-handoff-photo { margin: clamp(10px,1.7vw,22px) 0 0; }
.agent-handoff-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2.1; object-fit: cover; object-position: 61% 50%; }
.agents-page .agents-handoff .section-copy > p { color: #e9f2e6; }
.agent-handoff-list {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}
.agents-page .agent-handoff-list li {
  padding-block: 13px;
  border-top: 1px solid #c9e8c050;
  color: #e1ede0;
}
.agents-page .agents-first-win { background: #e3ebd9; }
.agent-stack-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 52px);
  margin-top: 20px;
}
.agent-stack-columns h3 { padding-bottom: 10px; border-bottom: 2px solid #17703d; }
.agent-stack-columns dl { margin: 0; }
.agent-stack-columns dl > div {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 6px 14px;
  padding: 10px 0;
  border-bottom: 1px solid #17703d28;
}
.agent-stack-columns dt { font-weight: 600; }
.agent-stack-columns dd { margin: 0; color: #415046; font-size: .91rem; line-height: 1.5; }
.agents-page .agents-portfolio { background: #fff; }
.agents-portfolio .capability-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px clamp(13px,2.7vw,36px); }
.agents-portfolio .capability-cards .arzen-glass { padding: 11px 0 0; border: 0; border-top: 1px solid #a9bbab; border-radius: 0; background: none; }
.agents-portfolio .content-actions { margin-top: 20px; }
.agents-page .agents-timeline { background: #eeede4; }
.agent-delivery {
  position: relative;
  isolation: isolate;
  display: grid;
  margin: clamp(13px,2.5vw,31px) 0 0;
  padding: 0;
  list-style: none;
  --delivery-line: 1;
}
.agent-delivery::before, .agent-delivery::after {
  position: absolute;
  z-index: -1;
  inset: 12px auto 13px 1rem;
  width: 2px;
  background: #b8c4b3;
  content: "";
}
.agent-delivery::after { background: #4d885f; transform: scaleY(var(--delivery-line)); transform-origin: top; }
.agent-delivery-stage {
  display: grid;
  grid-template-columns: 2.7rem minmax(0,.68fr) minmax(0,1.32fr);
  align-items: start;
  gap: 5px clamp(7px,1.9vw,26px);
  padding: 10px 5px 10px 0;
  border-top: 1px solid #adbda9;
}
.agent-delivery-stage:last-child { border-bottom: 1px solid #adbda9; }
.agent-delivery-number {
  display: grid;
  place-items: center;
  width: 2.05rem;
  min-height: 26px;
  border: 1px solid #96af99;
  background: #eeede4;
  color: #266546;
  font: 550 .78rem/1.2 'Geist Mono', monospace;
}
.agent-delivery-stage[data-current] .agent-delivery-number { background: #d0e5bc; border-color: #669975; }
.agents-page .agent-delivery h3 { color: #143624; }
.agents-page .agent-delivery p { max-width: 70ch; font-size: .95rem; line-height: 1.49; }
.agents-page .agents-industries { background: #f4f4eb; }
.agent-sector-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px clamp(12px,2.25vw,31px); }
.agent-sector-list article { padding: 0 0 8px; border-top: 0; border-bottom: 1px solid #abbda7; }
.agent-sector-list h3 { display: flex; justify-content: space-between; gap: 7px; margin-top: 7px; text-wrap: initial; }
.agent-sector-list a { display: block; }
.agent-sector-list a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.agent-sector-list h3 span { color: #286547; }
.agents-page .agent-sector-list p { font-size: .93rem; line-height: 1.42; }
.agents-page .agent-sector-contact { margin-top: 12px; }
.agents-page .agents-faq { background: #fafcf8; }
.agents-page .content-section.agents-audit {
  border-top-color: #9bdb4d;
  border-top-width: 3px;
  background: #dfe9d4;
  color: #0b120d;
}
.agents-audit .section-copy p, .agents-audit .section-copy p a { color: #284b34; }
.agents-audit .content-action { background: #0b120d; color: #fff; }
.agents-audit .content-action:hover { background: #17703d; }

@media (max-width: 850px) {
  .agent-lead { grid-template-columns: minmax(0,1fr); }
  .agents-page .agent-lead h1 { max-width: none; }
  .agent-sector-list, .agent-use-case-directory .agent-use-case-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 1050px) {
  .agents-page .agent-lead h1 { max-width: none; }
  .agent-lead h1 span { margin-top: .14em; font-size: .74em; line-height: 1.03; }
}
@media (min-width: 761px) {
  .agents-page .agents-first-win .section-layout { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; }
}
@media (max-width: 680px) {
  .agents-page .agent-lead h1 { font-size: clamp(2.25rem, 9.2vw, 3.75rem); }
  .agent-use-case-intro, .agent-handoff-layout, .agent-featured-project,
  .agents-page .agents-compare .section-layout { grid-template-columns: minmax(0,1fr); }
  .agent-case-photo { aspect-ratio: 1.68; min-height: 0; }
  .agent-credentials .hero-proof { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .agents-page .content-jump .wrap { gap: 4px 12px; }
  .agent-demo-stage, .agent-stack-columns, .agent-catalog > article { grid-template-columns: minmax(0, 1fr); }
  .agent-demo-bridge { min-height: 24px; }
  .agent-demo-bridge::before { inset: 50% 15px auto; border-left: 0; border-top: 1px dashed #17703d3d; }
  .agents-compare table thead th:first-child { width: 24%; }
}
@media (max-width: 480px) {
  .agent-metrics, .agent-handoff-list, .agents-portfolio .capability-cards { grid-template-columns: minmax(0, 1fr); }
  .agent-delivery-stage { grid-template-columns: 2.3rem minmax(0,1fr); }
  .agent-delivery-stage p { grid-column: 2; }
  .agent-metrics > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; align-items: baseline; }
  .agent-metrics > div > strong { margin: 0; font-size: 2rem; }
  .agent-stack-columns dl > div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .agent-delivery::after { transform: none; }
}
