@font-face {
   font-family: "Hanken Grotesk";
   font-style: normal;
   font-weight: 100 900;
   font-display: swap;
   src: url("../fonts/HankenGrotesk-Variable.woff2") format("woff2");
}

.legacy-footer-hidden {
   display: none !important;
}

.compass-footer,
.compass-footer * {
   box-sizing: border-box;
}

.compass-footer {
   border-top: 1px solid rgba(251, 252, 251, .15);
   color: #fbfcfb;
   background: #09152b;
   font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
}

.compass-footer__container {
   width: 100%;
   max-width: 1280px;
   margin-right: auto;
   margin-left: auto;
   padding-right: 40px;
   padding-left: 40px;
}

.compass-footer__top {
   padding-top: 56px;
   padding-bottom: 24px;
}

.compass-footer__locations {
   display: grid;
   grid-template-columns: minmax(0, 1.8fr) repeat(2, minmax(0, 1fr));
   gap: 40px;
}

.compass-footer__brand {
   display: inline-flex;
   width: fit-content;
   height: fit-content;
   align-items: center;
}

.compass-footer__brand img {
   display: block;
   width: auto;
   height: 32px;
}

.compass-footer__address {
   min-width: 0;
   margin: 0;
   color: inherit;
   font-style: normal;
}

.compass-footer__address h2 {
   margin: 0;
   color: #e7f7ef;
   font: 700 14px/28px "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
   text-transform: none;
}

.compass-footer__address p {
   max-width: 240px;
   margin: 4px 0 0;
   color: rgba(251, 252, 251, .65);
   font-size: 14px;
   font-weight: 400;
   line-height: 28px;
   overflow-wrap: anywhere;
}

.compass-footer__resources {
   display: flex;
   flex-wrap: wrap;
   gap: 8px 24px;
   margin-top: 32px;
}

.compass-footer__resources a {
   min-height: 24px;
   padding: 0;
   color: #e7f7ef;
   font-size: 14px;
   font-weight: 700;
   line-height: 20px;
   text-decoration: underline;
   text-decoration-thickness: 1px;
   text-underline-offset: 4px;
}

.compass-footer__resources a:hover,
.compass-footer__resources a:focus-visible,
.compass-footer__socials a:hover,
.compass-footer__socials a:focus-visible {
   color: #a7e34b;
}

.compass-footer__resources a:focus-visible,
.compass-footer__socials a:focus-visible,
.compass-footer__brand:focus-visible {
   outline: 2px solid #0f8a5f;
   outline-offset: 4px;
}

.compass-footer__legal {
   padding-top: 32px;
   padding-bottom: 32px;
   border-top: 1px solid rgba(251, 252, 251, .1);
}

/* Keep the final footer row scrollable above the fixed desktop investment bar. */
.has-sticky-investment-banner .compass-footer__legal {
   padding-bottom: 136px;
}

.compass-footer__disclosures {
   min-width: 0;
   display: grid;
   gap: 16px;
   color: rgba(251, 252, 251, .65);
   font-size: 12px;
   font-weight: 400;
   line-height: 24px;
   overflow-wrap: anywhere;
}

.compass-footer__disclosures p,
.compass-footer__bottom p {
   margin: 0;
}

.compass-footer__bottom {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   justify-content: space-between;
   gap: 24px;
   margin-top: 24px;
   padding-top: 28px;
   border-top: 1px solid rgba(251, 252, 251, .15);
}

.compass-footer__bottom > p {
   color: rgba(251, 252, 251, .75);
   font-size: 14px;
   line-height: 20px;
}

.compass-footer__socials {
   display: flex;
   align-items: center;
   gap: 16px;
}

.compass-footer__socials a {
   display: inline-flex;
   width: 32px;
   height: 32px;
   align-items: center;
   justify-content: center;
   color: #e7f7ef;
   font-size: 18px;
   line-height: 1;
   text-decoration: none;
}

@media (max-width: 1023.98px) {
   .compass-footer__locations {
      grid-template-columns: repeat(2, minmax(0, 1fr));
   }
}

@media (max-width: 767.98px) {
   .compass-footer__container {
      padding-right: 20px;
      padding-left: 20px;
   }

   .compass-footer__top {
      padding-top: 48px;
   }

   .compass-footer__locations {
      grid-template-columns: minmax(0, 1fr);
      gap: 40px;
   }

   .compass-footer__brand img {
      height: 32px;
   }

   .compass-footer__address p {
      max-width: 100%;
   }

   .compass-footer__resources {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
   }

   .compass-footer__resources a {
      width: fit-content;
      font-size: 14px;
      line-height: 20px;
   }

   .compass-footer__disclosures {
      font-size: 14px;
      line-height: 1.75;
   }

   .compass-footer__bottom {
      align-items: flex-start;
      flex-direction: column;
   }

   /* The mobile conversion bar is taller and sits flush with the viewport. */
   .has-sticky-investment-banner .compass-footer__legal {
      padding-bottom: 176px;
   }
}
