/* How to buy page */
.buy {
  max-width: 60rem;
}

/* ---------- Header ---------- */
.buy-header {
  max-width: 40rem;
  padding-top: var(--space-xs);
}

.buy-eyebrow,
.service-list-label,
.buy-start-title {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-copper-dark);
}

.buy-eyebrow {
  margin-bottom: var(--space-sm);
}

.buy-title {
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
}

.buy-title::after {
  content: "";
  display: block;
  width: 4rem;
  height: 2px;
  margin-top: var(--space-md);
  background-color: var(--color-copper);
}

.buy-lead {
  margin-top: var(--space-md);
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--color-forest-soft);
}

/* ---------- Services ---------- */
.services {
  display: grid;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

.service {
  display: grid;
  gap: var(--space-lg);
}

.service-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: var(--color-cream);
}

.service-title {
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.25;
}

.service-intro {
  margin-top: var(--space-sm);
  line-height: 1.7;
}

.service-list-label {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}

.service-list {
  border-top: 1px solid var(--color-sand);
}

.service-list li {
  position: relative;
  padding: var(--space-xs) 0 var(--space-xs) var(--space-lg);
  border-bottom: 1px solid var(--color-sand);
  font-size: 0.9375rem;
}

.service-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.25rem;
  width: 0.625rem;
  height: 1px;
  background-color: var(--color-copper);
}

/* ---------- Getting started ---------- */
.buy-start {
  position: relative;
  margin-top: var(--space-2xl);
  padding: var(--space-xl) var(--space-lg);
  background-color: var(--color-cream);
  line-height: 1.7;
}

/* Copper corner rules, as on the logo */
.buy-start::before,
.buy-start::after {
  content: "";
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  border: 0 solid var(--color-copper);
}

.buy-start::before {
  top: calc(var(--space-xs) * -1);
  left: calc(var(--space-xs) * -1);
  border-top-width: 2px;
  border-left-width: 2px;
}

.buy-start::after {
  right: calc(var(--space-xs) * -1);
  bottom: calc(var(--space-xs) * -1);
  border-right-width: 2px;
  border-bottom-width: 2px;
}

.buy-start-title {
  margin-bottom: var(--space-sm);
}

.buy-start p {
  max-width: 36rem;
}

.buy-start-cta {
  margin-top: var(--space-lg);
}

/* ---------- Larger screens ---------- */
@media (min-width: 40em) {
  .buy-title {
    font-size: 2.25rem;
  }

  .buy-start {
    padding: var(--space-xl);
  }
}

@media (min-width: 64em) {
  .service {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-xl);
  }

  /* Alternate image side down the page */
  .service--reverse .service-media {
    order: 2;
  }
}
