/* The approved robot sheet is one shared 71 KB image, cropped only in the UI. */
.agent-section {
  padding: 56px 0;
  background: linear-gradient(180deg, #fff 0%, #fcfbff 60%, #fff 100%);
  scroll-margin-top: 0;
  isolation: isolate;
}
.agent-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}
.agent-heading h2 {
  font-size: clamp(36px, 4.1vw, 58px);
  line-height: 1.04;
  letter-spacing: -2.5px;
  margin: 16px 0 0;
}
.agent-heading-aside {
  max-width: 360px;
  padding-bottom: 4px;
}
.agent-heading-aside p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 15px;
}
.agent-motion {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font: inherit;
  font-size: 12px;
  background: white;
  color: var(--muted);
  cursor: pointer;
}
.agent-motion .icon {
  width: 14px;
  height: 14px;
}
.agent-motion:hover {
  color: var(--purple);
  border-color: var(--purple);
}
.agent-team {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}
.agent-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  background: var(--agent-wash);
  border: 1px solid transparent;
  border-radius: 22px;
  padding: 13px 13px 15px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s,
    box-shadow 0.25s;
  isolation: isolate;
}
.agent-card:hover {
  transform: translateY(-6px);
  border-color: var(--agent-color);
}
.agent-card[aria-pressed='true'] {
  border-color: var(--agent-color);
  box-shadow:
    0 0 0 2px var(--agent-color),
    0 12px 28px -20px var(--agent-color);
}
.agent-card:focus-visible,
.agent-motion:focus-visible,
.agent-detail button:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
}
.agent-card-number {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--agent-color);
}
.agent-card-number .icon {
  width: 15px;
  height: 15px;
  opacity: 0.55;
}
.robot-portrait {
  position: relative;
  display: block;
  aspect-ratio: 548/440;
  overflow: hidden;
  margin: 5px -9px 10px;
  mix-blend-mode: multiply;
  pointer-events: none;
  transform-origin: center 82%;
  animation-duration: 4.6s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-play-state: paused;
}
.robot-portrait img {
  position: absolute;
  width: 280.291971%;
  max-width: none;
  height: auto;
  left: calc(var(--robot-col) * -93.430657%);
  top: calc(var(--robot-row) * -111.136364%);
}
.agent-card[data-agent='billing'] .robot-portrait {
  clip-path: inset(0 0 0 12%);
}
.agent-card[data-agent='outreach'] .robot-portrait {
  mix-blend-mode: normal;
}
.agent-card[data-agent='outreach'] .robot-portrait img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.22);
  transform-origin: center 60%;
}
.agent-card-title {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  min-height: 36px;
  letter-spacing: -0.25px;
}
.agent-card-caption {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  min-height: 34px;
  margin-top: 3px;
}
.agent-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  color: var(--agent-color);
  margin-top: 14px;
  gap: 4px;
}
.agent-card-link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.2s;
}
.agent-card:hover .agent-card-link .icon {
  transform: translateX(3px);
}
.agent-selection-hint {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 11px;
  color: var(--muted);
  margin: 16px 2px;
}
.agent-selection-hint > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--purple-deep);
}
.agent-selection-hint .icon {
  width: 15px;
  height: 15px;
}
.agent-detail {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
  background: var(--agent-wash);
  border: 1px solid color-mix(in srgb, var(--agent-color) 15%, white);
  border-radius: 24px;
  padding: 28px 30px;
  transition:
    background 0.3s,
    border-color 0.3s;
  scroll-margin-top: 0;
}
.agent-detail-kicker {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 750;
  color: var(--agent-color);
}
.agent-detail h3 {
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 9px 0 12px;
  max-width: 420px;
}
.agent-description {
  font-size: 13px;
  line-height: 1.75;
  color: #555365;
  margin: 0;
  max-width: 450px;
}
.agent-benefits {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 17px 0;
  padding: 0;
  font-size: 11px;
  color: #403b56;
}
.agent-benefits li {
  display: flex;
  gap: 8px;
  align-items: center;
}
.agent-benefits .icon {
  width: 15px;
  height: 15px;
  color: var(--agent-color);
  flex-shrink: 0;
}
.agent-detail .inline-link {
  font-size: 12px;
  color: var(--agent-color);
}
.agent-detail .inline-link .icon {
  width: 16px;
  height: 16px;
}
.agent-switcher {
  display: none;
}
.agent-example {
  background: white;
  border: 1px solid #e9e6f1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 14px 30px -25px #3b2c77;
  min-width: 0;
}
.agent-example-top,
.agent-example-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 9px;
  color: var(--muted);
}
.agent-example-top {
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  letter-spacing: 0.7px;
}
.agent-example-top > span:first-child {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--agent-color);
}
.agent-example-top .icon {
  width: 14px;
  height: 14px;
}
.agent-example-badge {
  font-weight: 400;
  letter-spacing: 0;
  font-size: 9px;
  white-space: nowrap;
}
.agent-example-content {
  padding: 15px 18px 12px;
  min-height: 181px;
}
.agent-example-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-bottom: 12px;
}
.agent-example-heading > b {
  font-size: 14px;
  letter-spacing: -0.2px;
}
.agent-example-heading > span {
  font-size: 10px;
  color: var(--muted);
}
.agent-demo-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0eef4;
}
.agent-section[data-active='true'] .agent-demo-row {
  animation: agent-row-in 0.6s both;
}
.agent-section[data-active='true'] .agent-demo-row:nth-child(3) {
  animation-delay: 0.18s;
}
.agent-demo-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--agent-wash);
  color: var(--agent-color);
}
.agent-demo-icon .icon {
  width: 16px;
  height: 16px;
}
.agent-demo-row > div {
  flex: 1;
  min-width: 0;
}
.agent-demo-row b {
  font-size: 11px;
  display: block;
  line-height: 1.4;
}
.agent-demo-row div > span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.45;
}
.agent-demo-tag {
  font-size: 9px;
  padding: 4px 7px;
  border-radius: 5px;
  color: var(--agent-color);
  background: var(--agent-wash);
  white-space: nowrap;
}
.agent-demo-result {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  font-size: 10px;
  color: var(--green);
}
.agent-section[data-active='true'] .agent-demo-result {
  animation: agent-row-in 0.6s 0.36s both;
}
.agent-demo-result .icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.agent-example-footer {
  background: #faf9fd;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0;
}
.agent-example-footer > span:first-child {
  display: flex;
  gap: 6px;
  align-items: center;
}
.agent-example-footer .status-dot {
  width: 5px;
  height: 5px;
}
.agent-trust {
  display: flex;
  gap: 25px;
  align-items: center;
  margin: 21px 2px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}
.agent-trust > span {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: var(--green);
  font-weight: 650;
}
.agent-trust .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.agent-trust p {
  margin: 0;
  max-width: 700px;
}
.agent-section[data-active='true'] .robot-portrait,
.agent-section[data-active='true'] .agent-demo-row,
.agent-section[data-active='true'] .agent-demo-result {
  animation-play-state: running;
}
.agent-card[data-agent='briefing'] .robot-portrait {
  animation-name: agent-hover;
}
.agent-card[data-agent='followup'] .robot-portrait {
  animation-name: agent-wave;
  animation-duration: 5.4s;
}
.agent-card[data-agent='planning'] .robot-portrait {
  animation-name: agent-plan;
  animation-duration: 6s;
}
.agent-card[data-agent='health'] .robot-portrait {
  animation-name: agent-check;
  animation-duration: 5s;
}
.agent-card[data-agent='billing'] .robot-portrait {
  animation-name: agent-spring;
  animation-duration: 5.8s;
}
.agent-card[data-agent='renewal'] .robot-portrait {
  animation-name: agent-roll;
  animation-duration: 6.4s;
}
.agent-card[data-agent='outreach'] .robot-portrait {
  animation-name: agent-greet;
  animation-duration: 5.6s;
}
@keyframes agent-greet {
  0%, 30%, 70%, 100% {
    transform: rotate(0);
  }
  40%, 60% {
    transform: rotate(-4deg) translateY(-2px);
  }
  50% {
    transform: rotate(3deg) translateY(-3px);
  }
}
@keyframes agent-hover {
  0%,
  100% {
    transform: translateY(2px);
  }
  50% {
    transform: translateY(-6px) rotate(-2deg);
  }
}
@keyframes agent-wave {
  0%,
  35%,
  75%,
  100% {
    transform: rotate(0);
  }
  45%,
  65% {
    transform: rotate(-4deg);
  }
  55% {
    transform: rotate(3deg);
  }
}
@keyframes agent-plan {
  0%,
  40%,
  100% {
    transform: translateX(0);
  }
  55% {
    transform: translateX(5px) rotate(2deg);
  }
  70% {
    transform: translateX(-3px) rotate(-2deg);
  }
}
@keyframes agent-check {
  0%,
  30%,
  70%,
  100% {
    transform: translateY(0);
  }
  40%,
  60% {
    transform: translateY(-4px);
  }
  50% {
    transform: translateY(1px);
  }
}
@keyframes agent-spring {
  0%,
  40%,
  70%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.95);
  }
  60% {
    transform: scaleY(1.03) translateY(-3px);
  }
}
@keyframes agent-roll {
  0%,
  100% {
    transform: rotate(-3deg) translateX(-3px);
  }
  50% {
    transform: rotate(4deg) translateX(4px);
  }
}
@keyframes agent-row-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Disabled motion must reveal final content, not freeze a half-faded row. */
html[data-motion='off'] .agent-section *,
html[data-motion='off'] .agent-section *::before,
html[data-motion='off'] .agent-section *::after {
  animation: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion='on']) .agent-section * {
    animation: none !important;
    transition: none !important;
  }
}
@media (min-width: 1600px) {
  .agent-section .container {
    width: min(1392px, calc(100% - 112px));
  }
  .agent-card-title {
    font-size: 16px;
    min-height: 42px;
  }
  .agent-card-caption {
    font-size: 12px;
    min-height: 36px;
  }
  .agent-card-link {
    font-size: 11px;
  }
}
@media (max-width: 1080px) {
  .agent-team {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }
  .agent-card:last-child {
    grid-column: 2;
  }
  .agent-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    column-gap: 12px;
    padding: 16px;
  }
  .agent-card-number {
    position: absolute;
    left: 12px;
    top: 10px;
    right: 12px;
  }
  .agent-card-number .icon {
    display: none;
  }
  .robot-portrait {
    grid-row: 1/4;
    grid-column: 1;
    width: 105px;
    align-self: center;
    margin: 8px -8px 0;
  }
  .agent-card-title {
    grid-column: 2;
    min-height: 0;
    font-size: 14px;
    margin-top: 5px;
  }
  .agent-card-caption {
    grid-column: 2;
    min-height: 0;
    font-size: 11px;
  }
  .agent-card-link {
    grid-column: 2;
    margin-top: 10px;
  }
  .agent-detail {
    gap: 22px;
    padding: 24px;
  }
  .agent-trust {
    align-items: flex-start;
    gap: 15px;
  }
  .agent-trust > span {
    white-space: normal;
  }
  .agent-trust p {
    flex: 1;
  }
  .agent-detail h3 {
    font-size: 25px;
  }
}
@media (max-width: 760px) {
  .agent-section {
    padding: 55px 0 40px;
  }
  .agent-heading {
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
  }
  .agent-heading h2 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }
  .agent-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  .agent-heading-aside {
    max-width: 220px;
  }
  .agent-heading-aside p {
    font-size: 13px;
  }
  .agent-team {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .agent-card {
    display: flex;
    padding: 10px;
    border-radius: 16px;
  }
  .agent-card-number {
    position: static;
  }
  .robot-portrait {
    width: auto;
    margin: 3px -6px 6px;
    align-self: stretch;
  }
  .agent-card-title {
    font-size: 12px;
    min-height: 32px;
    margin: 0;
  }
  .agent-card-caption {
    font-size: 10px;
    min-height: 30px;
  }
  .agent-card-link {
    font-size: 9px;
    margin-top: 8px;
  }
  .agent-card-link .icon {
    width: 13px;
  }
  .agent-detail {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .agent-detail h3 {
    font-size: 28px;
  }
  .agent-description {
    max-width: none;
  }
  .agent-benefits {
    margin: 13px 0;
  }
  .agent-selection-hint > span:last-child {
    display: none;
  }
  .agent-trust {
    display: block;
  }
  .agent-trust p {
    margin-top: 8px;
  }
  .agent-example-content {
    min-height: 0;
  }
}
@media (max-width: 480px) {
  .agent-card:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 12px) / 2);
    justify-self: center;
  }
  .agent-heading {
    display: block;
  }
  .agent-heading h2 {
    font-size: 38px;
  }
  .agent-heading-aside {
    display: flex;
    max-width: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
  }
  .agent-heading-aside p {
    font-size: 12px;
    margin: 0;
    max-width: 225px;
  }
  .agent-motion {
    flex-shrink: 0;
    font-size: 10px;
    padding: 7px;
  }
  .agent-motion .icon {
    width: 12px;
    height: 12px;
  }
  .agent-team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .agent-card {
    padding: 11px;
  }
  .agent-card-title {
    font-size: 13px;
    min-height: 34px;
  }
  .agent-card-caption {
    font-size: 10px;
    min-height: 30px;
  }
  .robot-portrait {
    margin: 1px 0 6px;
  }
  .agent-card-link {
    font-size: 10px;
  }
  .agent-detail {
    padding: 20px 16px;
    border-radius: 18px;
  }
  .agent-example-top,
  .agent-example-footer {
    padding: 11px 12px;
    font-size: 8px;
  }
  .agent-example-badge {
    font-size: 8px;
  }
  .agent-example-content {
    padding: 13px 12px;
  }
  .agent-demo-row {
    gap: 8px;
  }
  .agent-demo-tag {
    font-size: 8px;
    padding: 4px;
  }
  .agent-selection-hint {
    font-size: 10px;
  }
  .agent-detail h3 {
    font-size: 25px;
  }
}
@media (max-width: 760px) {
  .agent-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid
      color-mix(in srgb, var(--agent-color) 18%, transparent);
    padding-bottom: 12px;
    font-size: 11px;
    color: var(--agent-color);
  }
  .agent-switcher > a,
  .agent-switcher > div {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .agent-switcher .icon {
    width: 15px;
    height: 15px;
  }
  .agent-switcher button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid color-mix(in srgb, var(--agent-color) 20%, white);
    border-radius: 50%;
    color: var(--agent-color);
    cursor: pointer;
  }
  .agent-switcher [data-agent-previous] .icon {
    transform: rotate(180deg);
  }
  .agent-position {
    font-size: 10px;
    font-variant-numeric: tabular-nums;
  }
}
