/* Reference-matched “why needed” and “purpose” homepage sections. */
.reference-section {
  width: 100%;
  max-width: 930px;
  margin: 0 auto;
  padding: 16px 0 30px;
  color: #101322;
  background: #fff;
}

.reference-section h2 {
  width: min(640px, 100%);
  min-height: 31px;
  margin: 0 auto 11px;
  padding: 4px 18px;
  color: #ffe4b8;
  font-family: Poppins, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
  background: #681600;
  border-radius: 18px;
}

.reference-section .section-intro {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 27px;
}

.why-needed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 37px 13px;
  width: 800px;
  max-width: 100%;
  margin: 46px auto 0;
}

.why-card {
  min-height: 220px;
  padding: 7px 10px 10px;
  text-align: center;
  background: #fffaf4;
  border: 1px solid #681600;
  border-radius: 16px;
}

.why-card-wide {
  grid-column: 1 / -1;
  min-height: 130px;
  padding-top: 6px;
}

.why-card h3,
.purpose-card h3 {
  margin: 0 0 9px;
  color: #681600;
  font-family: Poppins, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.why-card p {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 27px;
}

.clearance-purpose {
  padding-top: 17px;
}

.clearance-purpose .section-intro {
  margin-bottom: 19px;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px 13px;
}

.purpose-card {
  min-height: 410px;
  padding: 18px 16px 16px;
  background: #fff;
  border: 1px solid #f2f2f2;
  border-radius: 13px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.purpose-number {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-bottom: 12px;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  background: #2364c7;
  border-radius: 50%;
  box-shadow: 0 3px 7px rgba(35, 100, 199, .25);
}

.purpose-icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1;
  background: #edf3ff;
  border-radius: 50%;
}

.purpose-card h3 {
  margin-bottom: 10px;
  color: #101322;
  font-size: 24px;
  line-height: 32px;
}

.purpose-card p {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 27px;
}

.purpose-card a {
  color: #681600;
  text-decoration: underline;
}

@media (max-width: 760px) {
  .reference-section {
    padding: 14px 0 26px;
  }

  .reference-section h2 {
    min-height: 0;
    padding: 7px 15px;
    font-size: 24px;
    line-height: 32px;
    border-radius: 16px;
  }

  .reference-section .section-intro {
    font-size: 17px;
    line-height: 27px;
  }

  .why-needed-grid,
  .purpose-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    margin-top: 24px;
  }

  .why-card-wide {
    grid-column: auto;
  }

  .why-card,
  .why-card-wide {
    min-height: 0;
    padding: 13px 14px 15px;
  }

  .purpose-card {
    min-height: 0;
    padding: 17px;
  }

  .purpose-card p {
    font-size: 14px;
    line-height: 22px;
  }
}
