
/* SIMPLIF MOBILE FOOTER REFINEMENT */

.sp-custom-mobile {
  display: none;
}

@media (max-width: 767px) {

  /* One-line custom plan CTA */
  #pricing .sp-custom-desktop {
    display: none !important;
  }

  #pricing .sp-custom-mobile {
    display: block !important;
    width: 100%;
    white-space: nowrap;
    text-align: center;
    font-size: clamp(10px, 2.7vw, 12px);
    font-weight: 650;
    letter-spacing: -0.025em;
    color: #171717;
    text-decoration: none;
  }

  #pricing .sp-custom {
    text-align: center !important;
  }

  /* More breathing room under the Simplif logo */
  footer.footer > a:first-child {
    margin-bottom: 20px !important;
  }

  /* Keep Company and Support aligned */
  footer.footer {
    row-gap: 20px !important;
  }
}


/* SIMPLIF MOBILE GAP REDUCTION START */
@media (max-width: 767px) {

  /* Pricing cards to custom-plan link */
  #pricing .sp-custom {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Reduce empty space below pricing */
  #pricing.sp-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Bring footer closer to pricing */
  footer.footer {
    padding-top: 34px !important;
    margin-top: 0 !important;
  }

  /* Preserve a comfortable gap under the logo */
  footer.footer > a:first-child {
    margin-bottom: 14px !important;
  }

  footer.footer {
    row-gap: 14px !important;
  }

  /* Tighten footer bottom spacing */
  footer.footer {
    padding-bottom: 28px !important;
  }
}
/* SIMPLIF MOBILE GAP REDUCTION END */
