/* Shared styles for the four new PSD pages; existing pages do not load this file. */
.sp-page {
  --sp-navy: #014082;
  --sp-orange: #ff7f00;
  color: #666;
  overflow-x: visible;
}
.sp-page main {
  width: 100%;
}
.sp-page h1,
.sp-page h2,
.sp-page h3 {
  font-family: Roboto, sans-serif;
  font-weight: 700;
  color: var(--sp-navy);
  margin: 0;
}
.sp-page h2 {
  font-size: 40px;
  line-height: 48px;
}
.sp-page p {
  margin: 0;
}
.sp-page .sp-button {
  font-size: 16.667px;
  height: 57px;
  padding: 10px 24px;
  letter-spacing: 0;
  max-width: 100%;
}
.sp-page main :is(input, select, textarea, button, a):focus-visible {
  outline: 3px solid #ff8500;
  outline-offset: 3px;
}
.sp-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 16px;
  line-height: 19px;
  color: #777;
  margin: 0;
  min-width: 0;
}
.sp-field input,
.sp-field select,
.sp-field textarea {
  width: 100%;
  border: 1px solid #ababac;
  border-radius: 4px;
  color: #444;
  background: white;
  font:
    400 16.667px Roboto,
    sans-serif;
  padding: 12px 20px;
  min-width: 0;
}
.sp-field input,
.sp-field select {
  height: 51px;
}
.sp-field textarea {
  height: 81px;
  resize: vertical;
}
.sp-field select {
  appearance: auto;
}
.sp-field input:focus,
.sp-field select:focus,
.sp-field textarea:focus {
  outline: 1px solid var(--sp-orange);
  border-color: var(--sp-orange);
  box-shadow: 0 0 12px #ff850029;
}
.sp-check {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  line-height: 22px;
  color: #777;
}
.sp-check input {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  margin: 0;
  accent-color: var(--sp-navy);
}
.sp-text-button {
  border: 0;
  padding: 0;
  background: none;
  color: var(--sp-navy);
  font:
    500 16px Roboto,
    sans-serif;
}
.sp-status {
  font-size: 14px;
  line-height: 20px;
  color: var(--sp-navy);
  margin-top: 15px !important;
}
.sp-status:empty {
  display: none;
}
.sp-login {
  width: min(1204px, calc(100% - 48px));
  margin: 89px auto 0;
  display: grid;
  grid-template-columns: 638px 1fr;
  border: 1px solid #aaa;
  border-radius: 44px;
  box-shadow: 0 10px 35px #0000000a;
  overflow: hidden;
  min-height: 849px;
}
.sp-login__left {
  background: #eaf6fc;
  min-width: 0;
}
.sp-page img.sp-login__photo {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
}
.sp-login__features {
  position: relative;
  padding: 48px 30px 25px;
}
.sp-login__logo {
  display: block;
  margin: 0 0 50px;
}
.sp-login__features ul {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, 1fr);
  gap: 40px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sp-login__features li {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
  white-space: nowrap;
}
.sp-login__features li img {
  width: 22px;
  height: 22px;
}
.sp-page img.sp-login__watermark {
  width: 540px;
  display: block;
  margin: 32px auto 0;
  opacity: 1;
}
.sp-login__right {
  padding: 75px 83px 50px 91px;
  min-width: 0;
}
.sp-page img.sp-login__form-logo {
  display: block;
  width: auto;
  height: 18px;
  margin: 0 auto 29px;
}
.sp-login h1 {
  font-size: 40px;
  line-height: 48px;
  color: #666;
  text-align: center;
  margin-bottom: 10px;
}
.sp-login__intro {
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  margin-bottom: 27px !important;
}
.sp-login form > .sp-field {
  margin-bottom: 25px;
}
.sp-login__options {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin: 21px 0 29px;
}
.sp-login .sp-button {
  width: 100%;
}
.sp-login__or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 10px 19px;
  font-size: 16px;
  color: #999;
}
.sp-login__or::before,
.sp-login__or::after {
  content: "";
  height: 1px;
  background: #ccc;
  flex: 1;
}
.sp-login__signup {
  font-size: 16px;
  font-weight: 500;
  color: var(--sp-navy);
  text-align: center;
  margin-bottom: 6px !important;
  white-space: nowrap;
}
.sp-benefits {
  max-width: 1320px;
  padding: 0 0;
  margin: 62px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.sp-benefits article {
  display: flex;
  gap: 18px;
  position: relative;
  align-items: center;
}
.sp-benefits article + article::before {
  content: "";
  position: absolute;
  left: -26px;
  width: 1px;
  height: 87px;
  background: #ccc;
}
.sp-page img.sp-benefits__icon {
  width: 115px;
  height: 115px;
  object-fit: contain;
  padding: 20px;
  background: var(--sp-navy);
  border: 16px solid #e0f2fc;
  border-radius: 50%;
  flex: 0 0 115px;
}
.sp-benefits h2 {
  font-size: 20px;
  line-height: 25px;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.sp-benefits p {
  font-size: 16px;
  line-height: 22px;
  max-width: 289px;
}
.sp-mission {
  width: min(1022px, calc(100% - 40px));
  height: 345px;
  margin: 14px auto 8px;
  position: relative;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
}
.sp-page img.sp-mission__mountains {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sp-mission > div {
  position: relative;
  padding-top: 7px;
}
.sp-mission h2 {
  line-height: 48px;
}
.sp-mission h2 span {
  color: var(--sp-orange);
}
.sp-mission p {
  color: var(--sp-navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  max-width: 620px;
  margin: 43px auto 0;
}
.sp-ribbon {
  width: min(1404px, calc(100% - 48px));
  margin: 0 auto 8px;
  min-height: 162px;
  border-radius: 14px;
  background: var(--sp-navy);
  color: white;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px 66px;
}
.sp-ribbon > p {
  flex: 0 0 230px;
  font-size: 30px;
  font-weight: 700;
  line-height: 42px;
}
.sp-ribbon > p span,
.sp-ribbon > strong {
  color: #37a6d7;
}
.sp-ribbon > strong {
  font-size: 30px;
  white-space: nowrap;
}
.sp-ribbon ul {
  display: flex;
  justify-content: space-between;
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sp-ribbon li {
  display: flex;
  flex: 1;
  align-items: center;
  flex-direction: column;
  gap: 15px;
  border-left: 1px solid #ffffff70;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}
.sp-ribbon li:last-child {
  border-right: 1px solid #ffffff70;
}
.sp-page .sp-ribbon img {
  width: 56px;
  height: 54px;
  object-fit: contain;
}
.sp-steps {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.sp-steps h2 {
  color: #666;
}
.sp-steps > div {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  gap: 100px;
  margin-top: 63px;
}
.sp-page .sp-steps article > img {
  width: 150px;
  height: 126px;
  object-fit: contain;
  margin-bottom: 28px;
}
.sp-steps h3 {
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
  margin-bottom: 17px;
}
.sp-steps p {
  font-size: 16px;
  line-height: 22px;
  max-width: 200px;
  margin: auto;
}
.sp-steps strong {
  color: var(--sp-navy);
}
.sp-ticks {
  padding: 0;
  margin: 30px 0;
  list-style: none;
}
.sp-ticks li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.sp-ticks li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background: url("../images/signup-pages/check.svg") center/contain no-repeat;
}
@media (max-width: 1400px) {
  .sp-login {
    grid-template-columns: 53% 47%;
  }
  .sp-login__right {
    padding: 60px 35px;
  }
  .sp-login__features li {
    font-size: 17px;
    white-space: normal;
  }
  .sp-login__features ul {
    gap: 30px 16px;
  }
  .sp-benefits {
    width: calc(100% - 64px);
    gap: 40px;
  }
  .sp-ribbon {
    padding: 28px 32px;
    gap: 20px;
  }
  .sp-ribbon > p {
    flex-basis: 210px;
    font-size: 26px;
  }
  .sp-ribbon > strong {
    font-size: 26px;
  }
  .sp-ribbon li {
    font-size: 14px;
  }
  .sp-steps {
    width: calc(100% - 64px);
  }
  .sp-steps > div {
    gap: 40px;
  }
}
@media (max-width: 991px) {
  .sp-login {
    margin-top: 50px;
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
    min-height: 0;
  }
  .sp-page img.sp-login__photo {
    height: 300px;
  }
  .sp-login__features {
    padding: 30px 24px;
  }
  .sp-login__features ul {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-template-rows: none;
    gap: 20px;
  }
  .sp-login__right {
    padding: 38px 24px;
  }
  .sp-login h1 {
    font-size: 32px;
  }
  .sp-login__options {
    flex-wrap: wrap;
  }
  .sp-login__signup {
    white-space: normal;
  }
  .sp-benefits {
    gap: 25px;
  }
  .sp-benefits article {
    flex-direction: column;
    text-align: center;
  }
  .sp-benefits article + article::before {
    display: none;
  }
  .sp-ribbon {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .sp-ribbon > p {
    flex: 1 1 100%;
  }
  .sp-ribbon ul {
    flex: 1 1 100%;
  }
  .sp-ribbon > strong {
    flex: 1 1 100%;
  }
  .sp-steps > div {
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .sp-page h2 {
    font-size: 30px;
    line-height: 38px;
  }
  .sp-login {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    margin-top: 35px;
  }
  .sp-page img.sp-login__photo {
    height: auto;
  }
  .sp-login__features ul {
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
  }
  .sp-login__features li {
    font-size: 16px;
    gap: 10px;
  }
  .sp-login__right {
    padding: 40px 28px;
  }
  .sp-login__form-logo {
    max-width: 85%;
  }
  .sp-login h1 {
    font-size: 34px;
  }
  .sp-benefits {
    grid-template-columns: 1fr;
    width: calc(100% - 48px);
    margin-top: 45px;
    gap: 32px;
  }
  .sp-benefits article {
    flex-direction: row;
    text-align: left;
  }
  .sp-benefits h2 {
    font-size: 18px;
  }
  .sp-mission {
    height: auto;
    min-height: 290px;
    margin-top: 40px;
    padding: 25px 0;
  }
  .sp-mission p {
    font-size: 18px;
    margin-top: 25px;
  }
  .sp-ribbon {
    width: calc(100% - 40px);
    padding: 28px 20px;
  }
  .sp-ribbon ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 0;
  }
  .sp-ribbon li {
    flex: 0 0 33.33%;
    border: 0;
  }
  .sp-ribbon li:last-child {
    border: 0;
  }
  .sp-steps > div {
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
    margin-top: 35px;
  }
  .sp-steps h3 {
    font-size: 17px;
  }
}
@media (max-width: 399px) {
  .sp-login {
    width: calc(100% - 32px);
  }
  .sp-login__features {
    padding: 25px 18px;
  }
  .sp-login__features ul {
    grid-template-columns: 1fr;
  }
  .sp-login__right {
    padding: 34px 20px;
  }
  .sp-login__options {
    gap: 18px;
  }
  .sp-page .sp-button {
    white-space: normal;
    font-size: 15px;
  }
  .sp-benefits article {
    gap: 15px;
  }
  .sp-page img.sp-benefits__icon {
    width: 90px;
    height: 90px;
    flex-basis: 90px;
    padding: 24px;
    border-width: 12px;
  }
  .sp-ribbon {
    width: calc(100% - 32px);
  }
  .sp-ribbon li {
    flex-basis: 50%;
  }
  .sp-steps > div {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (min-width: 1401px) {
  .sp-login form > .sp-field:nth-of-type(2) {
    margin-bottom: 0;
  }
  .sp-login__right {
    padding-top: 75px;
  }
  .client-login-page .sp-login__right {
    padding-top: 68px;
  }
  .client-login-page img.sp-login__form-logo {
    height: 25px;
  }
  .sp-benefits h2 {
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  .sp-steps article {
    position: relative;
  }
  .sp-steps article:not(:last-child)::after {
    content: "";
    position: absolute;
    width: 53px;
    height: 19px;
    background: url("../images/signup-pages/step-arrow.svg") center/contain
      no-repeat;
    right: -76px;
    top: 64px;
  }
  .sp-steps article:nth-child(2)::after {
    width: 65px;
    height: 30px;
    background-image: url("../images/signup-pages/step-arrow-up.svg");
  }
}
@media (min-width: 768px) and (max-width: 1400px) {
  .sp-steps article:not(:last-child)::after {
    right: -36px;
    width: 30px;
  }
}

.sp-field select {
  appearance: none;
  background: white url("../images/signup-pages/select-chevron.svg") right 16px
    center/17px 10px no-repeat;
  padding-right: 42px;
}
.sp-check input {
  appearance: none;
  border: 1px solid #c8d0d7;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}
.sp-check input:checked {
  background: var(--sp-navy) url("../images/signup-pages/check-white.svg")
    center/contain no-repeat;
  border-color: var(--sp-navy);
}

@media (min-width: 1401px) {
  .advisor-login-page .sp-login__right {
    padding: 78px 84px 50px 90px;
  }
  .client-login-page .sp-login__right {
    padding-top: 75px;
  }
  .sp-login img.sp-login__form-logo {
    margin-bottom: 16px;
  }
  .client-login-page .sp-login img.sp-login__form-logo {
    margin-bottom: 12px;
  }
  .sp-login h1 {
    margin-bottom: 13px;
  }
  .sp-login__intro {
    margin-bottom: 31px !important;
  }
  .sp-login .sp-field {
    gap: 3px;
  }
  .sp-login form > .sp-field:first-of-type {
    margin-bottom: 24px;
  }
  .sp-login form > .sp-field:nth-of-type(2) {
    gap: 5px;
  }
  .sp-mission > div {
    position: absolute;
    top: 95px;
    width: 100%;
    padding: 0;
  }
  .sp-mission p {
    max-width: 760px;
    margin-top: 20px;
  }
}
@media (max-width: 767px) {
  .sp-mission br {
    display: none;
  }
}

/* Detailed PSD comparison: vector geometry and appearance, desktop source canvas. */
.sp-page {
  color: #606060;
}
.sp-field {
  color: #6d6d6d;
}
.sp-login__features li {
  color: #606060;
  line-height: 24px;
}
.sp-benefits h2 {
  line-height: 24px;
}
.sp-login h1,
.sp-fit h2,
.sp-steps h2,
.sp-contact-hero h1 {
  color: #606060;
}
.sp-ribbon > p span {
  display: block;
}
.sp-check,
.sp-login__intro,
.sp-benefits p {
  color: #6d6d6d;
}
.sp-page .sp-fit h2,
.sp-page .sp-contact-hero h1 {
  color: #606060;
}
.sp-fit p,
.sp-review article p,
.sp-pathways p {
  color: #5a5a5a;
}
@media (min-width: 1600px) {
  .sp-ribbon {
    position: relative;
    display: block;
    width: 1402px;
    height: 162px;
    min-height: 162px;
    padding: 0;
    border-radius: 13px;
    transform: translateX(1px);
  }
  .advisor-login-page .sp-ribbon,
  .client-login-page .sp-ribbon {
    margin-top: 11.5px;
  }
  .apply-for-consideration-page .sp-ribbon {
    margin-top: 1.21875px;
  }
  .contact-us-page .sp-ribbon {
    margin-top: 0.21875px;
  }
  .sp-ribbon > p {
    position: absolute;
    left: 66px;
    top: 45px;
    width: 230px;
    font-size: 30px;
    line-height: 33px;
  }
  .sp-ribbon__mission {
    color: white !important;
  }
  .sp-ribbon__change {
    color: #2eaae1 !important;
    margin-top: 9px;
  }
  .sp-ribbon > strong {
    position: absolute;
    left: 1187px;
    top: 65px;
    font-size: 30px;
    line-height: 33px;
    color: #2eaae1;
  }
  .sp-ribbon ul {
    position: absolute;
    left: 327px;
    top: 0;
    width: 822px;
    height: 162px;
  }
  .sp-ribbon li {
    position: absolute;
    top: 0;
    width: 162px;
    height: 162px;
    display: block;
    border: 0;
  }
  .sp-ribbon li:nth-child(1) {
    left: 0;
  }
  .sp-ribbon li:nth-child(2) {
    left: 162px;
  }
  .sp-ribbon li:nth-child(3) {
    left: 324px;
  }
  .sp-ribbon li:nth-child(4) {
    left: 487px;
  }
  .sp-ribbon li:nth-child(5) {
    left: 649px;
    width: 173px;
  }
  .sp-ribbon li::before {
    content: "";
    position: absolute;
    top: 33px;
    bottom: 33px;
    left: 0;
    width: 1px;
    background: #ffffff70;
  }
  .sp-ribbon li:last-child {
    border: 0;
  }
  .sp-ribbon li:last-child::after {
    content: "";
    position: absolute;
    top: 33px;
    bottom: 33px;
    right: 0;
    width: 1px;
    background: #ffffff70;
  }
  .sp-page .sp-ribbon li img {
    position: absolute;
    max-width: none;
  }
  .sp-ribbon li:nth-child(1) img {
    left: 58px;
    top: 34px;
    width: 52px;
    height: 52px;
  }
  .sp-ribbon li:nth-child(2) img {
    left: 56px;
    top: 39px;
    width: 56px;
    height: 47px;
  }
  .sp-ribbon li:nth-child(3) img {
    left: 56px;
    top: 39px;
    width: 57px;
    height: 43px;
  }
  .sp-ribbon li:nth-child(4) img {
    left: 58px;
    top: 34px;
    width: 53px;
    height: 53px;
  }
  .sp-ribbon li:nth-child(5) img {
    left: 55px;
    top: 34px;
    width: 56px;
    height: 52px;
  }
  .sp-ribbon li span {
    position: absolute;
    top: 103px;
    left: 0;
    width: 100%;
    font-size: 16px;
    line-height: 22px;
  }
  .sp-login {
    width: 1201px;
    min-height: 846px;
    margin-top: 91.71875px;
    border-color: #9b9b9b;
    border-radius: 38.5px;
    grid-template-columns: 637px 1fr;
    box-shadow: 0 3px 43px #acb0b93b;
  }
  .sp-login__right {
    padding-left: 89.5px !important;
  }
  .sp-page img.sp-login__photo {
    height: 440px;
  }
  .sp-application__card {
    border-radius: 29px;
  }
  .sp-contact-card {
    border-radius: 29px;
  }
  .sp-page .sp-button {
    line-height: 24px;
    border-width: 0;
    height: 53px;
  }
  .sp-page .sp-button.hp-btn--outline {
    border-width: 2px;
    height: 55px;
  }
  .sp-login .sp-button {
    width: 387px;
  }
  .sp-application .sp-button,
  .sp-apply-ready .sp-button,
  .sp-contact-card .sp-button,
  .sp-contact-ready .sp-button {
    width: 257px;
    height: 53px;
  }
  .sp-apply-hero aside .sp-button {
    width: 282px;
    height: 47px;
    border: 1px solid #f3f3f3;
  }
  .sp-apply-hero aside .sp-ticks,
  .sp-apply-hero__copy .sp-ticks {
    line-height: 24px;
    color: #231f20;
  }
  .sp-apply-hero aside p {
    line-height: 24px;
    color: #231f20;
  }
  .sp-page .sp-apply-hero h1 {
    line-height: 50px;
    margin-bottom: 19px;
  }
  .sp-fit h3,
  .sp-pathways h3 {
    line-height: 22px;
  }
}

@media (min-width: 1600px) {
  .sp-login .sp-button {
    position: relative;
    left: 2px;
  }
  .sp-login form > .sp-button {
    transform: translateY(-2.5px);
  }
  .sp-login form > .hp-btn--outline {
    transform: translateY(1.5px);
    width: 389px;
    max-width: none;
    flex-shrink: 0;
    left: 1px;
  }
  .sp-field > span {
    line-height: 22px;
    margin-bottom: -3px;
  }
  .sp-field input,
  .sp-field select {
    height: 48px;
    margin-bottom: 3px;
    border-radius: 5px;
  }
  .sp-field textarea {
    border-radius: 5px;
  }
  .sp-check input {
    border-radius: 6px;
  }
  .contact-us-page .sp-ribbon {
    position: relative;
    top: 0.21875px;
  }
  .sp-login .sp-field input {
    width: 387px;
    transform: translate(1px, -0.5px);
  }
  .sp-login .sp-field:nth-of-type(2) input {
    transform: translate(1px, -2.5px);
  }
  .sp-check {
    min-height: 29px;
    gap: 17px;
  }
  .sp-check input {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }
  .sp-login .sp-check input {
    transform: translate(1px, -3px);
  }
  .advisor-login-page .sp-login h1 {
    transform: translate(-8px, -3px);
  }
  .client-login-page .sp-login h1 {
    transform: translate(-1px, -3px);
  }
  .advisor-login-page .sp-login__features li:nth-child(1) {
    transform: translate(-2.5px, 1.5px);
  }
  .advisor-login-page .sp-login__features li:nth-child(2) {
    transform: translate(-2.5px, 12.5px);
  }
  .advisor-login-page .sp-login__features li:nth-child(3) {
    transform: translate(-2.5px, 18.5px);
  }
  .advisor-login-page .sp-login__features li:nth-child(4) {
    transform: translate(-8.78125px, -0.5px);
  }
  .advisor-login-page .sp-login__features li:nth-child(5) {
    transform: translate(-8.78125px, 10.5px);
  }
  .advisor-login-page .sp-login__features li:nth-child(6) {
    transform: translate(-8.78125px, 16.5px);
  }
  .client-login-page .sp-login__features li:nth-child(1) {
    transform: translate(-2.5px, -5.5px);
  }
  .client-login-page .sp-login__features li:nth-child(2) {
    transform: translate(-2.5px, 5.5px);
  }
  .client-login-page .sp-login__features li:nth-child(3) {
    transform: translate(-2.5px, 11.5px);
  }
  .client-login-page .sp-login__features li:nth-child(4) {
    transform: translate(-8.78125px, -7.5px);
  }
  .client-login-page .sp-login__features li:nth-child(5) {
    transform: translate(-8.78125px, 3.5px);
  }
  .client-login-page .sp-login__features li:nth-child(6) {
    transform: translate(-8.78125px, 9.5px);
  }
}

/* Final source stroke and painted-panel alignment. */
.sp-check input:not(:checked) {
  border-color: #ababac;
}
.sp-login .sp-check input:not(:checked) {
  border-color: #c5cad7;
}
.sp-login__or {
  color: #6d6d6d;
  line-height: 22px;
}
@media (min-width: 1401px) {
  .sp-login {
    position: relative;
    left: -1px;
  }
  .sp-login > * {
    position: relative;
    left: 1px;
  }
  .sp-ribbon {
    outline: 1px solid white;
    outline-offset: -0.5px;
  }
}

/* Match For Advisors interaction tokens inside body content; chrome retains its own source. */
.sp-page main {
  --hp-orange: var(--sp-orange);
  --hp-navy: var(--sp-navy);
}
.sp-page main .sp-button:disabled {
  opacity: 1;
  cursor: not-allowed;
}
.sp-page main .sp-button:disabled:hover {
  background: var(--hp-orange);
  color: white;
}
.sp-page main .sp-button.hp-btn--outline:disabled:hover {
  background: white;
  color: var(--hp-navy);
}
.sp-text-button {
  cursor: pointer;
}
.sp-text-button:hover {
  text-decoration: underline;
}
@media (prefers-reduced-motion: reduce) {
  .sp-page main .hp-btn {
    transition: none;
  }
}
@media (max-width: 991px) {
  .sp-apply-hero__copy {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
    text-align: center;
  }
  .sp-apply-hero__copy > p:not(.sp-eyebrow) {
    max-width: 620px;
    margin-inline: auto;
  }
  .sp-apply-hero__copy .sp-ticks {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }
}
@media (max-width: 767px) {
  .sp-page main {
    --sp-gutter: 20px;
  }
  .sp-login,
  .sp-benefits,
  .sp-mission,
  .sp-ribbon,
  .sp-steps,
  .sp-contact-ready {
    width: calc(100% - 2 * var(--sp-gutter));
    margin-inline: auto;
  }
  .sp-benefits article {
    flex-direction: column;
    text-align: center;
  }
  .sp-benefits p {
    margin-inline: auto;
  }
  .sp-page img.sp-login__photo {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }
  .sp-login__logo {
    margin-inline: auto;
    max-width: 100%;
  }
  .sp-login__features ul {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }
  .sp-login__right form {
    text-align: left;
  }
  .sp-login__right .sp-button {
    display: flex;
    margin-inline: auto;
  }
  .sp-login__options {
    justify-content: center;
  }
  .sp-check {
    text-align: left;
  }
}
@media (max-width: 359px) {
  .sp-page main {
    --sp-gutter: 16px;
  }
}

/* Home content envelope; card/form padding remains independent of outer gutters. */
.sp-page main {
  --sp-content-width: min(1296px, calc(100% - 24px));
}
.sp-page main > section[class] {
  width: var(--sp-content-width);
  max-width: 1296px;
  margin-inline: auto;
  left: auto;
  transform: none;
}
@media (max-width: 767px) {
  .sp-page main {
    --sp-content-width: calc(100% - 2 * var(--sp-gutter));
  }
  .sp-page .sp-application__card {
    width: 100%;
    margin-inline: auto;
  }
}
@media (min-width: 768px) {
  .sp-page .sp-login {
    grid-template-columns: 53% minmax(0, 1fr);
  }
  .sp-page .sp-contact-hero {
    grid-template-columns: minmax(0, 43fr) minmax(0, 52fr);
    gap: 5%;
  }
  .sp-page img.sp-contact-photo {
    max-width: 100%;
    margin-left: 0;
  }
  .sp-page .sp-application__card {
    margin-inline: auto;
  }
}
@media (min-width: 1600px) {
  .sp-page .sp-ribbon {
    display: flex;
    height: auto;
    padding: 30px 32px;
    gap: 20px;
  }
  .sp-page .sp-ribbon > p,
  .sp-page .sp-ribbon > strong,
  .sp-page .sp-ribbon ul,
  .sp-page .sp-ribbon li {
    position: static;
    width: auto;
    height: auto;
  }
  .sp-page .sp-ribbon > p {
    flex: 0 0 230px;
  }
  .sp-page .sp-ribbon ul {
    flex: 1;
  }
  .sp-page .sp-ribbon li {
    display: flex;
    position: relative;
    left: auto;
    top: auto;
    flex: 1;
    border-left: 1px solid #ffffff70;
  }
  .sp-page .sp-ribbon li:last-child {
    border-right: 1px solid #ffffff70;
  }
  .sp-page .sp-ribbon li::before,
  .sp-page .sp-ribbon li::after {
    display: none;
  }
  .sp-page .sp-ribbon li img,
  .sp-page .sp-ribbon li span {
    position: static;
  }
  .sp-page .sp-login__right {
    padding-left: 60px !important;
    padding-right: 60px;
  }
  .sp-page .sp-benefits p {
    max-width: 100%;
    width: auto;
  }
  .sp-page .sp-benefits h2 {
    white-space: normal;
  }
  .sp-page .sp-contact-card::before {
    width: calc(100% - 2px);
  }
  .sp-page
    .sp-contact-card
    :is(input, select, textarea):not([type="checkbox"]) {
    width: 100%;
  }
  .sp-page .sp-pathways > div {
    width: 100%;
    left: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 44px;
  }
  .sp-page .sp-apply-hero {
    grid-template-columns: minmax(0, 44fr) minmax(0, 51fr);
    gap: 5%;
  }
  .sp-page main img.sp-apply-hero__photo {
    width: 55%;
    height: auto;
    left: 45%;
  }
  .sp-page main img.sp-apply-hero__mountains {
    width: 100%;
    left: 0;
  }
  .sp-page .sp-review::before {
    width: 100%;
    left: 0;
  }
  .sp-page .sp-review {
    padding-inline: 40px;
  }
  .sp-page .sp-review > div {
    gap: 30px;
  }
  .sp-page .sp-review h3 {
    white-space: normal;
  }
  .sp-page .sp-fit > div {
    width: 100%;
    left: 0;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .sp-page .sp-fit article {
    padding-inline: 20px;
  }
  .sp-page .sp-fit article p {
    max-width: 100%;
  }
  .sp-page .sp-apply-ready {
    grid-template-columns: 44% minmax(0, 1fr);
    gap: 60px;
  }
  .sp-page .sp-steps article {
    transform: none;
  }
}

/* Keep hero images inside the Home envelope despite later page-specific rules. */
@media (min-width: 992px) {
  .sp-page main img.sp-contact-photo {
    margin-left: 0;
  }
}
@media (min-width: 992px) and (max-width: 1599px) {
  .sp-page main img.sp-apply-hero__photo {
    left: 45%;
  }
}
