.agent-section {
  padding-block: clamp(68px, 8vw, 132px);
  border-top: 1px solid #e9ddf2;
  background: radial-gradient(ellipse at 90% 20%, #eadcf9 0%, transparent 62%), #f5effb;
}

.agent-inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(36px, 7vw, 112px);
}

.agent-kicker {
  margin: 0 0 16px;
  color: #62309d;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
}

.agent-copy h2 {
  font-size: clamp(37px, 4.1vw, 66px);
  line-height: 1.16;
  letter-spacing: -.045em;
  margin: 0;
}

.agent-lead {
  color: #625271;
  font-size: clamp(17px, 1.65vw, 23px);
  line-height: 1.65;
  margin: 19px 0 28px;
}

.agent-tabs {
  display: grid;
  gap: 7px;
}

.agent-tab {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #4b385e;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background-color .2s ease, border-color .2s ease;
}

.agent-tab[aria-selected="true"],
.agent-tab:hover {
  background: #ffffffbd;
  border-color: #e3d3f1;
}

.agent-tab-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #c2aecf;
}

.agent-tab[aria-selected="true"] .agent-tab-dot {
  background: #7238c5;
  box-shadow: 0 0 0 5px #eadcf9;
}

.agent-tab strong,
.agent-tab small,
.agent-demo-platform strong,
.agent-demo-platform span {
  display: block;
}

.agent-tab strong {
  font-size: 16px;
  font-weight: 800;
}

.agent-tab small {
  margin-top: 6px;
  color: #695a78;
  font-size: 13px;
  line-height: 1.55;
}

.agent-demo {
  min-width: 0;
  padding: clamp(17px, 2.35vw, 34px);
  border: 1px solid #362043;
  border-radius: 24px;
  background: radial-gradient(ellipse at 88% 0%, #573478, transparent 75%), #251632;
  box-shadow: 0 28px 70px -38px #47276d9e;
}

.agent-demo-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 18px;
  color: #f6eaff;
  font-size: 14px;
  font-weight: 800;
}

.agent-demo-head span + span {
  font-size: 11px;
  font-weight: 400;
  color: #dccae9;
}

.agent-demo-window {
  padding: clamp(16px, 2.25vw, 31px);
  border-radius: 14px;
  background: #fff;
}

.agent-demo-platform {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 17px;
  border-bottom: 1px solid #eee5f5;
  font-size: 15px;
}

.agent-demo-platform img {
  flex: 0 0 36px;
  border-radius: 8px;
}

.agent-demo-platform span {
  margin-top: 3px;
  color: #72647d;
  font-size: 12px;
}

.agent-screen[hidden] {
  display: none;
}

.agent-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding: 5px 9px;
  border-radius: 6px;
  background: #efe3fa;
  color: #542782;
  font-size: 12px;
  font-weight: 800;
}

.agent-status-confirm {
  background: #fff1d9;
  color: #804700;
}

.agent-screen h3 {
  margin: 13px 0 16px;
  font-size: clamp(19px, 1.8vw, 28px);
  letter-spacing: -.035em;
  line-height: 1.35;
}

.agent-fields {
  margin: 0;
  padding: 0;
  list-style: none;
}

.agent-fields li {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid #eee5f5;
  color: #766584;
  line-height: 1.45;
  font-size: 13px;
}

.agent-fields strong {
  color: #43324e;
  font-weight: 800;
  text-align: right;
}

.agent-fields .agent-field-pending {
  color: #744697;
}

.agent-note {
  grid-column: 1 / -1;
  margin: 27px 0 0;
  max-width: 720px;
  color: #665571;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .agent-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 23px;
  }

  .agent-section {
    padding-block: 56px;
  }

  .agent-lead {
    margin-bottom: 20px;
  }

  .agent-tab {
    padding-block: 10px;
  }

  .agent-note {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agent-tab {
    transition: none;
  }
}
