/* Mach 1 — inner pages (forms). Built entirely on the existing design system;
   only spacing/state tweaks live here. */

.benefits--apply { padding-top: 170px; padding-bottom: 120px; }
@media (max-width: 1024px) { .benefits--apply { padding-top: 120px; padding-bottom: 70px; } }
@media (max-width: 650px)  { .benefits--apply { padding-top: 100px; padding-bottom: 50px; } }

.benefits--apply .big-heading.contact-us { color: #f0f0f0; margin-bottom: -35px; user-select: none; }
@media (max-width: 650px) { .benefits--apply .big-heading.contact-us { margin-bottom: -8px; } }

.apply-content { position: relative; z-index: 2; }
.apply-content__title { margin-bottom: 30px; }

.page-intro {
  max-width: 640px;
  margin: 0 auto 55px;
  text-align: center;
  font-size: 20px;
  line-height: 1.6;
  color: #5f5f5f;
  font-weight: 300; }
@media (max-width: 650px) { .page-intro { font-size: 16px; margin-bottom: 30px; } }

/* validation state, uses the brand red */
.group.has-error input,
.group.has-error textarea { border-bottom-color: #ed2b34 !important; }
.group.has-error label { color: #ed2b34; }

.checkbox-group__item input.radio:checked ~ label { border-color: #ed2b34; }
.checkbox-group__item input.radio:checked ~ label:before { border-color: #ed2b34; }

.apply-content__privacy { text-align: center; max-width: 620px; margin: 45px auto 0; }

.contact-details {
  text-align: center;
  margin: 5px 0 45px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.7;
  color: #000; }
.contact-details a { color: #000; }
.contact-details .label {
  display: block;
  font-size: 10px;
  letter-spacing: 6.4px;
  text-transform: uppercase;
  color: #ed2b34;
  margin-bottom: 6px; }
.contact-details__grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 55px; }
@media (max-width: 650px) { .contact-details__grid { gap: 28px; } }

.perks { max-width: 620px; margin: 0 auto 50px; padding: 0; list-style: none; }
.perks li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid #eee;
  font-size: 19px;
  font-weight: 300;
  color: #1a1a1a; }
.perks li:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 24px;
  width: 8px;
  height: 8px;
  background: #ed2b34; }

.thank-you-section { text-align: center; padding-top: 30px; }
.thank-you-section .button { display: inline-block; }

/* submit row — centered button, no colliding footnote */
.form-footer--centered {
  display: block !important;
  height: auto !important;
  text-align: center;
  margin-top: 55px !important; }
.form-footer--centered .button--golden { float: none !important; }
@media (max-width: 1024px) { .form-footer--centered { margin-top: 25px !important; } }

/* keep the submit button text readable on the red fill */
.button--golden .span--white { color: #fff; }
