/* Introduction above the connected, side-by-side comparison. */
.agent-choice .agent-chapter__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 40px 64px;
}
.agent-choice .agent-choice__intro {
  width: 100%;
  margin-left: 0;
}
@media (min-width: 981px) {
  .agent-choice {
    padding: 90px 4vw 64px;
  }
  .agent-choice .agent-chapter__shell {
    width: min(100%, 1520px);
    row-gap: 48px;
  }
  .agent-choice .agent-choice__intro {
    transform: none;
  }
}
.agent-choice .agent-choice__intro h2 {
  font-size: clamp(42px, 4.5vw, 72px);
  line-height: 1.04;
}
.agent-choice .agent-choice__intro .agent-chapter__lede {
  max-width: 720px;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.5;
}
.agent-choice .agent-choice__grid {
  grid-column: 1 / -1;
  --comparison-gap: 32px;
  --comparison-vs-size: 4.6rem;
  margin-top: 0;
  grid-template-columns: minmax(0, 1fr) var(--comparison-vs-size) minmax(0, 1fr);
  align-items: stretch;
  gap: var(--comparison-gap);
}
.agent-choice .choice-panel { min-height: 380px; padding: 16px; }
/* Decorative frame only: no changes to panel geometry or artwork. */
.agent-choice .choice-panel::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid var(--choice-frame);
  border-radius: 20px;
  box-shadow: 0 6px 20px var(--choice-frame-shadow);
  pointer-events: none;
}
.agent-choice .choice-panel--agent {
  --choice-frame: rgba(98, 133, 255, 0.32);
  --choice-frame-shadow: rgba(83, 119, 244, 0.07);
}
.agent-choice .choice-panel--simple {
  --choice-frame: rgba(134, 197, 143, 0.30);
  --choice-frame-shadow: rgba(95, 163, 109, 0.06);
}
.agent-choice .choice-panel--agent::before {
  right: calc(-1 * (var(--comparison-gap) + var(--comparison-vs-size) / 2));
  border-radius: 20px 0 0 20px;
}
.agent-choice .choice-panel--simple::before {
  left: calc(-1 * (var(--comparison-gap) + var(--comparison-vs-size) / 2));
  border-left: 0;
  border-radius: 0 20px 20px 0;
}
.agent-choice .choice-versus {
  z-index: 3;
  width: var(--comparison-vs-size);
  height: var(--comparison-vs-size);
  background: #fff;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  margin: 0;
  justify-self: center;
  align-self: center;
}
.agent-choice .choice-versus::before,
.agent-choice .choice-versus::after { display: none; }
.agent-choice .agent-capabilities__core { bottom: 0; }
.agent-choice .choice-panel--agent .agent-capabilities__core.agent-mascot {
  width: 32%;
  height: auto;
  aspect-ratio: 1;
  right: 0;
  bottom: 18px;
  border-radius: 24px;
  background: none;
  box-shadow: none;
  overflow: hidden;
  animation: none;
  transform: none;
}
.agent-choice .agent-mascot::before,
.agent-choice .agent-mascot::after { display: none; }
.agent-choice .agent-mascot img { display: block; width: 100%; height: auto; }
.agent-choice .agent-chapter__closing { grid-column: 1 / -1; }
.agent-keynotes { width: 100%; max-width: none; justify-self: end; color: #10234d; font-family: Georgia, "Times New Roman", serif; }
.agent-keynotes h3 { margin: 0 0 16px; font-size: 26px; line-height: 1.4; font-weight: 700; }
.agent-keynotes details { margin: 0 0 10px; border-radius: 16px; background: #f0f3f8; overflow: hidden; }
.agent-keynotes summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 24px; list-style: none; cursor: pointer; font-size: 18px; font-weight: 600; line-height: 1.5; }
.agent-keynotes summary::-webkit-details-marker { display: none; }
.agent-keynotes summary > span { flex: 1; min-width: 0; }
.agent-keynotes summary svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; fill: none; stroke: #506180; stroke-width: 1.8; transition: transform 200ms ease; }
.agent-keynotes details[open] summary svg { transform: rotate(180deg); }
.agent-keynotes details p { margin: 0; padding: 0 24px 22px; font-size: 17px; line-height: 1.6; color: #425575; }
.agent-keynotes summary:hover { background: #e7edf6; }
.agent-choice .choice-panel h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(24px, 2vw, 32px); line-height: 1.2; }
.agent-choice .choice-panel header p { font-size: 19px; }
.agent-choice .choice-panel--agent .agent-capabilities li { font-size: 17px; line-height: 1.45; padding-block: 9px; }
.agent-choice .simple-automation-flow strong { font-size: 20px; }
.agent-choice .simple-automation-flow small { font-size: 17px; }
.agent-choice .choice-panel__example { font-size: 18px; }
.agent-choice .choice-panel__example strong { font-size: 16px; }
.agent-keynotes summary:focus-visible { outline: 2px solid #345cff; outline-offset: -3px; border-radius: 16px; }
@media (prefers-reduced-motion: reduce) {
  .agent-keynotes summary svg { transition: none; }
}
@media (max-width: 980px) {
  .agent-keynotes { justify-self: start; max-width: none; }
  .agent-choice .agent-chapter__shell { grid-template-columns: 1fr; gap: 48px; }
  .agent-choice .agent-choice__intro { width: 100%; }
  .agent-choice .agent-choice__intro h2 { font-size: clamp(32px, 8vw, 44px); }
  .agent-choice .agent-choice__grid { margin-top: 0; grid-template-columns: minmax(0, 1fr); }
  .agent-choice .choice-panel { min-height: 0; padding: 8px; }
  .agent-keynotes summary { font-size: 17px; }
  .agent-choice .choice-panel--agent::before {
    right: -16px;
    bottom: calc(-1 * (var(--comparison-gap) + var(--comparison-vs-size) / 2));
    border-radius: 20px 20px 0 0;
  }
  .agent-choice .choice-panel--simple::before {
    left: -16px;
    top: calc(-1 * (var(--comparison-gap) + var(--comparison-vs-size) / 2));
    border-left: 1px solid var(--choice-frame);
    border-top: 0;
    border-radius: 0 0 20px 20px;
  }
}
