/* Role pages ("Salesman AI for Account Executives / SDRs")
   Loaded after comparison-page.css, which supplies the shared blocks
   (hero, answer panel, versus lists, filterable rows, fit grid, steps,
   canonical FAQ, CTA). This file only adds what those references have
   and the comparison pages do not: the three cards under the hero, and
   the answer panel that opens straight on its headline. Rules are scoped
   with .cmp-page because reset.css zeroes margins and font sizes on bare
   element names. */

/* ---------- hero: copy block + three cards ----------
   The copy keeps the shared .cmp-hero-inner rhythm; the cards sit in their
   own block below it, as in the reference, so the gap between the two is
   the reference's own clamp(36px, 5vw, 58px). */

.role-hero-stack { display: block; }

.role-hero-cards {
  margin-top: clamp(36px, 5vw, 58px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 20px;
  /* Same fade-up as the hero copy, delayed to land after it. `both`
     fill, so the cards are never left hidden if it does not run. */
  animation: cmp-hero-in .6s cubic-bezier(.2, .7, .2, 1) .3s both;
}

.role-hero-card {
  background: #fff;
  border: 1px solid #eceaf4;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 44px rgba(16, 12, 52, .08);
}

.cmp-page .role-hero-card-label {
  margin: 0 0 14px;
  color: var(--cmp-muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.cmp-page .role-hero-card-title {
  margin: 0;
  color: var(--cmp-ink);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.cmp-page .role-hero-card-copy {
  margin: 10px 0 0;
  color: var(--cmp-body-soft);
  font-size: 15px;
  line-height: 1.62;
}

/* ---------- answer panel without a pill ----------
   The shared rule gives the headline a 22px top margin to clear the pill.
   These panels start on the headline, and its second sentence is set in a
   softer white. */

.cmp-page .cmp-answer-inner > h2:first-child { margin-top: 0; }
.cmp-page .cmp-answer h2 .cmp-answer-soft { color: rgba(255, 255, 255, .72); }

@media (max-width: 640px) {
  .role-hero-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .role-hero-cards { animation: none !important; }
}
