#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  cursor: pointer;
  background-color: #01426a;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px;
  font-size: 16px;
}
#back-to-top:hover {
  background-color: #006298;
}

.page-wrap {
  width: 100%;
}

.home-section {
  width: 100%;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 20px 30px 20px;
}

.section-surface {
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

/* =========================
   Section Header System
========================= */

.section-header {
  text-align: center;
}

.section-title {
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.2;
  color: #222222;

  padding-top: 50px;
  padding-bottom: 25px;

  margin: 0;
}

.section-description {
  max-width: 1100px;
  margin: 0 auto 25px;
  padding: 0 20px;
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: 20px;
  line-height: 1.4;
  color: #7c7c7c;
}

/* spacing between sections */
.home-section + .home-section {
  margin-top: 25px;
}

/* Alternating section backgrounds */
.home-section:nth-of-type(even) {
  background-color: #f4f4f6;
}

/* =========================
   Site Header
========================= */

.site-header {
  width: 100%;
  background: #ffffff;
}

.site-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 50px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo {
  height: 59px;
  width: auto;
  display: block;
}

/* CTA image */
.advisor-cta {
  height: 77.45px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .site-header-inner {
    padding: 20px 50px 0 50px;
  }

  .site-logo {
    height: 36px;
  }

  .advisor-cta {
    height: 40px;
  }
}

/* =========================
   Site Footer
========================= */

.site-footer {
  width: 100%;
  background: #01426a; /* your footer blue */
  color: #ffffff;
}

.site-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 50px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Left column top row */
.footer-top-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-alg-logo {
  height: 62px;
  width: auto;
  display: block;
}

.footer-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.35);
  display: inline-block;
}

.footer-brand-logos {
  height: 26px;
  width: auto;
  display: block;
}

/* Legal text */
.footer-legal {
  margin: 18px 0 16px;
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 900px;
}

/* Footer links */
.footer-links {
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-link-sep {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.55);
}

/* Right column */
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-end;
  text-align: right;
}

.footer-heading {
  margin: 0 0 10px;
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  color: #ffffff;
}

.footer-social-icons {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

.footer-social-icons a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.footer-social-icons img {
  width: 34px;
  height: 34px;
  display: block;
}

/* Inspired logos */
.footer-inspired-logos {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.footer-inspired-logos img {
  height: 34px;
  width: auto;
  display: block;
}

/* Make OneTrust "Cookie Center" look like footer links */
.footer-links #ot-sdk-btn.ot-sdk-show-settings {
  display: inline;
  font-family: inherit;
  font-size: inherit;
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
}

/* Hover state to match <a>: underline */
.footer-links #ot-sdk-btn.ot-sdk-show-settings:hover {
  text-decoration: underline !important;
}

/* Keyboard focus*/
.footer-links #ot-sdk-btn.ot-sdk-show-settings:focus,
.footer-links #ot-sdk-btn.ot-sdk-show-settings:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 900px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }

  .footer-right {
    align-items: flex-start;
    text-align: center;
  }

  .footer-social-icons {
    justify-content: flex-start;
  }

  .footer-inspired-logos {
    align-items: flex-start;
  }

  .footer-divider {
    display: none;
  }
}

.site-footer img {
  max-width: 100%;
  height: auto;
}

/* Global registered trademark styling */
.reg-mark {
  font-size: 0.6em;
  vertical-align: super;
  line-height: 0;
}

@media (max-width: 900px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
    padding: 28px 18px;
    gap: 28px;
  }

  .footer-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-right {
    align-items: flex-start;
    text-align: left;
    gap: 22px;
  }

  .footer-social-icons {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-inspired-logos {
    align-items: flex-start;
  }

  .footer-inspired-logos img {
    height: 30px;
  }

  .footer-heading {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .footer-legal {
    font-size: 12px;
    line-height: 1.55;
  }

  .footer-links {
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-link-sep {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-footer-inner {
    padding: 24px 14px;
  }

  .section-description {
    font-size: 16px;
  }

  .section-title {
    font-size: 25px;
  }

  .footer-alg-logo {
    height: 52px;
  }

  .footer-social-icons a,
  .footer-social-icons img {
    width: 30px;
    height: 30px;
  }

  .site-header-right {
    padding: 10px;
  }
}
