/* Homepage-specific layout and alignment. */
.hero {
  border-bottom: 0;
}

.hero-copy > p.maker-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 11px;
  margin: 18px 0 0;
  color: #8f9299;
  font-size: 0.7rem;
  letter-spacing: 0.025em;
}

.hero-copy > p.maker-credit::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.hero-copy > p.maker-credit span {
  color: #e6e2dc;
  font-weight: 700;
}

.cta .container {
  width: min(calc(100% - 48px), 1340px);
}

@media (min-width: 901px) {
  :root {
    --max: 1780px;
  }
  .container {
    width: calc(100% - 60px);
  }
  .hero .container {
    width: min(calc(100% - 60px), 1340px);
  }
  .hero {
    padding-bottom: 17px;
  }
  .audience {
    padding: 12px 0;
    font-size: 0.78rem;
  }
  .service {
    min-height: 164px;
    padding: 24px 14px;
    grid-template-columns: 42px minmax(0, 320px);
    column-gap: 14px;
    justify-content: start;
  }
  .service-icon {
    width: 38px;
    height: 38px;
  }
  .service h2 {
    font-size: 0.9rem;
  }
  .service p,
  .service .text-link {
    font-size: 0.68rem;
    line-height: 1.5;
  }
  .services-strip {
    background:
      radial-gradient(
        ellipse at 20% 45%,
        rgba(140, 82, 255, 0.075),
        transparent 34%
      ),
      radial-gradient(
        ellipse at 76% 42%,
        rgba(255, 255, 255, 0.028),
        transparent 30%
      ),
      var(--bg);
  }
  .services-strip + .section {
    padding-top: 24px;
  }
}

@media (min-width: 761px) {
  .hero {
    padding-bottom: 0;
  }

  .audience .container,
  .services-grid {
    width: min(calc(100% - 14px), 1340px);
  }

  .audience {
    padding: 29px 0 21px;
    border-bottom: 0;
  }

  .audience p {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 14px;
  }

  .audience p::before,
  .audience p::after {
    width: 100%;
    transform: none;
  }

  .audience p::before {
    background: linear-gradient(
      90deg,
      var(--line) 0 79%,
      transparent 79% 86%,
      var(--gold) 86% 100%
    );
  }

  .audience p::after {
    background: linear-gradient(
      90deg,
      var(--gold) 0 14%,
      transparent 14% 21%,
      var(--line) 21% 100%
    );
  }

  .services-grid {
    grid-template-columns: 34.3% 32.5% 33.2%;
  }

  .service,
  .service:first-child,
  .service:last-child {
    position: relative;
    min-height: 161px;
    padding-block: 18px;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 32px;
    align-content: start;
    border-left: 0;
    border-right: 0;
  }

  .service:first-child {
    padding-inline: 34px 18px;
  }

  .service:nth-child(2) {
    padding-inline: 30px 18px;
  }

  .service:last-child {
    padding-inline: 22px 18px;
    column-gap: 31px;
  }

  .service-icon {
    width: 54px;
    height: 54px;
    transform: translateY(-4px);
  }

  .service h2 {
    font-size: 1rem;
  }

  .service p {
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .service .text-link {
    font-size: 0.78rem;
    line-height: 1.5;
    margin-top: 14px;
  }

  .service:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 17px;
    width: 1px;
    background: var(--line);
    pointer-events: none;
  }
}

@media (max-width: 580px) {
  .cta .container {
    width: calc(100% - 28px);
  }
}
