/* /features/ai-team (feature_ai_team_page.html). The agents band itself is the homepage's, from homepage-v2.css. */
.atp-shot { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #E3E6EE; box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 24px 50px -24px rgba(15, 23, 42, .35); }
.atp-shot img { display: block; width: 100%; height: auto; }
/* A wide app screenshot needs a wider art column than the kit's card hero. */
@media (min-width: 1101px) {
  .atp-page .fp-hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 40px; }
}
.atp-page .fp-hero-art { padding-top: 24px; }
.atp-shot-soft { box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 18px 40px -22px rgba(15, 23, 42, .3); }

/* The homepage agents band, full width between the page's own sections. */
.atp-agents { margin: 0; }
.atp-agents section#ai { margin: 0; }

.atp-split { align-items: center; }
.atp-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.atp-modes .fp-card { height: 100%; }
.atp-modes .fp-card > div { padding: 20px 22px; }
.atp-modes h3 { margin: 0 0 6px; }
.atp-modes p { margin: 0; }

@media (max-width: 860px) {
  .atp-modes { grid-template-columns: 1fr; }
}

/* "Your AI Team for ...": the How It Works workspace deck, one real screenshot per agent. */
.atp-gallery { padding-bottom: 24px; }
.atp-deck-title { margin: 0 0 20px; text-align: center; }
.fp-page .atp-deck-title :is(.atp-desktop-title, .atp-phone-title) { color: inherit; }
.fp-page .atp-deck-title .atp-phone-title { display: none; }
.atp-word { display: inline-block; min-width: 1ch; min-height: 1em; color: var(--brand-purple-ink, #6B48E0); }
.atp-word .atp-word-pick { padding: 0; border-radius: 3px; background: #c6ff3d; color: inherit; }
.atp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.atp-phone-title { display: none; }
/* Every card shows whole: the deck is as tall as the tallest card in front (--atp-tallest is its width / height).
   --atp-fw is the front card's width, capped so a whole card fits on a laptop screen; the side cards follow it. */
.atp-deck { --atp-fw: min(50%, 440px); position: relative; width: 100%; padding-bottom: 20px; overflow: hidden; isolation: isolate; }
.atp-deck::before { content: ""; display: block; width: var(--atp-fw); aspect-ratio: var(--atp-tallest, 1 / 1); }
.atp-deck figure { position: absolute; margin: 3% 0 0; top: 0; left: calc(50% - var(--atp-fw) * .44); width: calc(var(--atp-fw) * .88); overflow: hidden; background: #F5F6F8; border: 1px solid #dce1e7; border-radius: 8px; box-shadow: 0 3px 12px #152c461f; opacity: 0; z-index: 0;
  transition: left .8s cubic-bezier(.2,.8,.2,1), margin-top .8s cubic-bezier(.2,.8,.2,1), width .8s cubic-bezier(.2,.8,.2,1), opacity .6s ease; }
.atp-deck figure img { display: block; width: 100%; height: auto; }
.atp-deck figure.is-prev { left: calc(50% - var(--atp-fw) * .99); opacity: 1; z-index: 1; }
.atp-deck figure.is-next { left: calc(50% + var(--atp-fw) * .11); opacity: 1; z-index: 1; }
.atp-deck figure.is-front { left: calc(50% - var(--atp-fw) / 2); margin-top: 0; width: var(--atp-fw); opacity: 1; z-index: 3; }
.atp-deck figure.is-leaving { left: -46%; }
.atp-deck figure.is-coming { left: 102%; }
.atp-deck-dots { display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
.atp-deck-dots button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.atp-deck-dots button span { display: block; width: 10px; height: 10px; border-radius: 50%; background: #c8ccd4; transition: width .3s, background .3s; }
.atp-deck-dots button[aria-current="true"] span { width: 28px; border-radius: 6px; background: #6b48e0; }
.atp-deck-dots button:focus-visible { outline: 2px solid #6b48e0; outline-offset: -6px; border-radius: 8px; }
@media (max-width: 767px) {
  .fp-page .atp-deck-title .atp-desktop-title { display: none; } .fp-page .atp-deck-title .atp-phone-title { display: block; }
  .atp-deck { --atp-fw: 84%; }
  .atp-deck figure.is-front { left: 8%; width: 84%; }
  .atp-deck figure.is-prev { left: -62%; width: 70%; }
  .atp-deck figure.is-next { left: 92%; width: 70%; }
}
@media (prefers-reduced-motion: reduce) { .atp-deck figure, .atp-deck-dots button span { transition: none; } }
