html {
  scroll-behavior: smooth;
}

body {
  color: #17191d;
  overflow-x: hidden;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #f1aa3e;
  outline-offset: 3px;
}

.page-spacer {
  padding-top: 9rem;
}

.page-heading {
  color: var(--color-green1);
  text-align: center;
}

.page-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 0.5rem auto 2.5rem;
  border-radius: 1rem;
  background: var(--color-green1);
}

.customer-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: center;
  padding-bottom: 7rem;
}

.customer-logo {
  display: grid;
  place-items: center;
  min-height: 125px;
  padding: 1rem;
  border-radius: 1rem 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 62, 31, 0.08);
}

.customer-logo img {
  display: block;
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
}

.legalitas-content {
  gap: 1.5rem;
  padding-bottom: 7rem;
}

.legalitas-list {
  width: min(100%, 400px);
}

.legal-card {
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  border-radius: 1rem 0;
  color: #fff;
  background: var(--color-green1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.legal-card i {
  display: block;
  margin-bottom: 1rem;
  font-size: 3rem;
}

.legal-card p {
  line-height: 1.7;
}

.contact-link {
  color: inherit;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--color-green1);
  text-decoration: underline;
}

.section-bottom-space {
  padding-bottom: 7rem;
}

@media screen and (max-width: 980px) {
  .customer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (max-width: 680px) {
  .customer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-spacer {
    padding-top: 7rem;
  }
}
