/* =========================
   UTILITIES
========================= */
.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stack > * + * {
  margin-top: 1rem;
}

.center-card {
  max-width: 42rem;
}

.text-center {
  text-align: center;
}

.text-center .cta-row {
  justify-content: center;
}

.text-center.final-cta,
.final-cta.text-center {
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.gold-heading {
  background: linear-gradient(135deg, #fff8e8, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.description {
  max-width: 58ch;
  font-size: 0.98rem;
  line-height: 1.65;
}

.lede {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 56ch;
  color: var(--muted);
}

.hero .client-tag {
  margin-bottom: 0.75rem;
}

.hero h1 {
  margin-bottom: 0.85rem;
}

.hero .lede {
  margin-top: 0;
}

.muted {
  color: var(--muted);
}

.text-link {
  color: var(--gold-light);
  font-weight: 600;
}

.text-link:hover {
  color: var(--text);
}

.flow-sm > * + * {
  margin-top: 0.75rem;
}

.flow-md > * + * {
  margin-top: 1rem;
}

.flow-lg > * + * {
  margin-top: 1.5rem;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}
