/* Help, FAQ, contact, support, about, thank-you pages: small additions on top of mpp-info.css
   (real links instead of the prototype's buttons, live-form validation, and content the prototype lacked). */

/* Shortcut lists in the inquiry aside */
.shortcut-label {
  margin-top: 36px;
}
.shortcut-label + .support-shortcuts {
  margin-top: 12px;
}
.support-shortcuts a,
.support-shortcuts button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  border-top: 1px solid #d7cdc1;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
.support-shortcuts a:hover,
.support-shortcuts button:hover {
  color: #e95e52;
}
.support-shortcuts svg {
  flex-shrink: 0;
}
.support-shortcuts small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  color: #766979;
}

/* Contact details / hours */
.contact-details {
  margin: 30px 0 0;
  max-width: 400px;
}
.contact-details > div {
  padding: 16px 0;
  border-top: 1px solid #d7cdc1;
}
.contact-details dt {
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 800;
  text-transform: uppercase;
  color: #886c91;
  margin-bottom: 6px;
}
.contact-details dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.contact-details small {
  color: #766979;
  font-size: 13px;
}
.contact-details a,
.info-note a {
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

/* Notes and tips (help answers, support emergency notice) */
.info-note {
  border-left: 3px solid #e95e52;
  background: #faf0e4;
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 400px;
  margin: 28px 0 0;
}
.source-content .info-note {
  max-width: none;
  margin: 0 0 19px;
}
.info-note a {
  color: #ad4139;
}

/* Live form card */
.inquiry-card > p {
  font-size: 14px;
  line-height: 1.7;
  color: #68605c;
  margin-bottom: 22px;
}
.inquiry-card label small {
  font-size: 12px;
  font-weight: 400;
  color: #766979;
}
.inquiry-card input[readonly] {
  color: #766979;
}
.invalid-feedback {
  display: none;
  font-size: 12px;
  font-weight: 600;
  color: #c14b41;
}
.was-validated label:has(:invalid) .invalid-feedback {
  display: block;
}
.was-validated input:invalid,
.was-validated select:invalid,
.was-validated textarea:invalid {
  border-color: #e95e52;
}

/* Searchable question list */
.question-list {
  border-bottom: 1px solid #d7cdc1;
}
.question-list details:last-child {
  border-bottom: 0;
}
.question-list details {
  scroll-margin-top: 110px;
}
.question-list summary svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.question-empty {
  padding: 22px 0;
  font-size: 15px;
}
.question-empty a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Bottom band and action rows */
.info-bottom p {
  margin: 14px 0 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.7;
}
.info-bottom .info-bottom-points {
  font-size: 12px;
  font-weight: 700;
}
.info-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  position: relative;
  z-index: 1;
}

/* Thank-you pages */
.thank-you-hero {
  min-height: 60vh;
}
.thank-you-hero .info-actions {
  margin-top: 34px;
}
.thank-you-hero p a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* About page */
.about-story-aside {
  margin: 28px 0 0;
  max-width: 420px;
  font-size: 15px;
}
.about-impact {
  padding: 60px 6%;
  background: #faf0e4;
  border-top: 1px solid #251d28;
}
.about-impact > h2 {
  font: 800 11px/1.4 "DM Sans", sans-serif;
  letter-spacing: 1.65px;
  margin: 0;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.about-stats > div {
  border-top: 1px solid #251d28;
  padding-top: 20px;
}
.about-stats strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(44px, 5vw, 72px);
  letter-spacing: -0.065em;
  line-height: 1;
}
.about-stats span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
}
.about-quote-more {
  list-style: none;
  padding: 0;
  margin: 45px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  text-align: left;
}
.about-quote-more li {
  background: #fffaf4;
  border: 1px solid #251d28;
  border-radius: 12px;
  padding: 26px;
}
.about-quote .about-quote-more blockquote {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}
.about-quote-more p {
  margin: 0;
  font-size: 12px;
}
.about-last-word .info-actions {
  justify-content: center;
}
.about-last-word .info-actions .btn-dark {
  margin: 0;
}
.about-last-word .about-contact-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin: 30px 0 0;
  font-size: 13px;
  font-weight: 700;
}
.about-contact-line a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 720px) {
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
  .about-quote-more {
    grid-template-columns: 1fr;
  }
  .thank-you-hero {
    min-height: 0;
  }
}
