.agent-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 24px;
  align-items: stretch;
}

.agent-hero__copy,
.agent-hero__panel {
  min-width: 0;
}

.agent-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 18px 0;
}

.agent-hero__copy h1 {
  margin: 18px 0 0;
  max-width: 13ch;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 950;
}

.agent-hero__copy p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  font-weight: 520;
}

.agent-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.agent-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(127, 19, 236, 0.12);
  background: rgba(127, 19, 236, 0.08);
  color: #5b21b6;
  font-size: 13px;
  font-weight: 800;
}

.agent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.agent-hero__panel {
  border-radius: 32px;
  padding: 20px;
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 252, 0.98));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 14px;
}

.agent-card {
  display: grid;
  gap: 8px;
  border-radius: 24px;
  padding: 16px;
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.agent-card h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.agent-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.agent-links {
  display: grid;
  gap: 10px;
}

.agent-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(248, 250, 252, 0.92);
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.agent-links span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .agent-hero {
    grid-template-columns: 1fr;
  }

  .agent-hero__copy {
    text-align: center;
  }

  .agent-hero__copy h1,
  .agent-hero__copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .agent-actions,
  .agent-pills {
    justify-content: center;
  }

  .agent-hero__panel {
    max-width: 660px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .agent-actions .button {
    width: 100%;
  }
}
