/* Shared annual offer on marketing pages only. No external resources. */
.sales-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-block: 20px;
  padding: 14px 18px;
  border-inline-start: 3px solid var(--red, #c60024);
  border-radius: 4px;
  background: #f6f6f7;
  color: #111318;
  font-size: .9375rem;
  line-height: 1.8;
}

.sales-offer strong {
  font-size: 1.375rem;
  white-space: nowrap;
}

.sales-offer small {
  font-size: .8125rem;
  font-weight: 400;
}

.sales-offer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #99001c;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.offer-terms {
  border: 1px solid var(--line, #dddde1);
  border-block-start: 3px solid var(--red, #c60024);
  border-radius: var(--radius, 6px);
  padding: 24px;
  margin-block: 24px;
  background: #f6f6f7;
}

.offer-terms h2 {
  margin: 0 0 16px;
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  line-height: 1.7;
}

.offer-terms h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.offer-terms p {
  margin: 0 0 16px;
  color: #41454e;
  line-height: 2;
}

.offer-terms p:last-child {
  margin-bottom: 0;
}

.offer-terms .offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.sales-offer :where(a):focus-visible {
  outline: 3px solid var(--red, #c60024);
  outline-offset: 4px;
}

/* Keep the expanded homepage offer and the call rail in separate flow boxes. */
@media (min-width: 821px) {
  .hero-section .hero-copy {
    padding-bottom: 32px;
  }

  .hero-section .hero-rail {
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .offer-terms .offer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

@media (max-width: 540px) {
  .sales-offer {
    gap: 4px 12px;
    padding: 12px 14px;
    margin-block: 16px;
  }

  .sales-offer a {
    flex-basis: 100%;
  }

  .offer-terms {
    padding: 20px 16px;
  }
}
