/* Teams & Enterprise offer: shared by the homepage and the plan page. */
.team-offer-grid,
.team-scope-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.team-intro,
.team-section-heading {
  display: grid;
  gap: 1.25rem;
}

body .team-intro h2,
body .team-section-heading h2,
body .team-close h2 {
  max-width: 17ch;
  font-size: clamp(2.35rem, 4vw, 4.25rem);
  line-height: 1.03;
}

.team-intro .lede {
  max-width: 55ch;
}

.team-intro > p:not(.eyebrow),
.team-section-heading > p:not(.eyebrow) {
  max-width: 62ch;
}

.team-text-link {
  justify-self: start;
}

.team-plan {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid #344447;
  border-top: 2px solid var(--cyan);
  background: #05090a;
  display: grid;
  gap: 1rem;
  min-width: 0;
}

body .team-plan h2,
body .team-plan h3 {
  max-width: none;
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
  line-height: 1.05;
}

.team-price {
  color: var(--cyan);
  font: 600 1.15rem/1.4 var(--sans);
}

.team-benefits {
  display: grid;
  gap: .8rem;
  margin: .35rem 0 .5rem;
  padding: 0;
  list-style: none;
}

.team-benefits li {
  position: relative;
  padding-left: 1.3rem;
}

.team-benefits li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-family: var(--mono);
}

body .team-plan .btn,
body .team-close .btn {
  white-space: normal;
  line-height: 1.5;
  text-align: center;
}

.team-note {
  color: #8a9592;
  font-size: .8rem;
  line-height: 1.65;
}

.team-hero,
.team-section {
  padding-block: clamp(3rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--rule);
}

body[data-page="enterprise"] .team-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.9rem, 4.5vw, 5rem);
  line-height: .98;
}

.team-section-heading {
  margin-bottom: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.team-grid > * {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--rule);
}

body .team-grid h3 {
  font-size: 1.5rem;
  line-height: 1.15;
}

.team-index {
  color: var(--cyan);
  font: 600 .8rem/1 var(--mono);
}

.team-scope {
  margin: 0;
}

.team-scope > div {
  display: grid;
  gap: .4rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
}

.team-scope dt {
  color: var(--white);
  font-weight: 600;
}

.team-scope dd {
  margin: 0;
}

.team-section-link {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.team-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.team-close h2 {
  margin: 1rem 0 1.5rem;
}

.team-close .lede {
  max-width: 60ch;
}

.team-close .ctas {
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .team-offer-grid,
  .team-scope-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-scope-grid {
    gap: 0;
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .team-close .ctas {
    align-items: stretch;
    flex-direction: column;
  }
}
