[data-global-footer] {
  display: block;
}

.app-footer {
  --footer-bg: #ffffff;
  --footer-text: #171923;
  --footer-muted: rgba(52, 56, 65, 0.78);
  --footer-subtle: rgba(52, 56, 65, 0.62);
  --footer-link: rgba(23, 25, 35, 0.92);
  --footer-link-hover: #fd853b;
  background: var(--footer-bg);
  border-top: 1px solid rgba(23, 25, 35, 0.08);
  color: var(--footer-text);
  font-family: "Poppins", sans-serif;
}

.app-footer__shell {
  max-width: 1310px;
  margin: 0 auto;
  padding: 34px 32px 28px;
}

.app-footer__top {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.45fr);
  gap: 44px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(23, 25, 35, 0.12);
}

.app-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.app-footer__wordmark-link {
  display: inline-block;
  max-width: 160px;
}

.app-footer__wordmark {
  width: 100%;
  height: auto;
  display: block;
}

.app-footer__blurb {
  margin: 14px 0 0;
  max-width: 300px;
  color: var(--footer-muted);
  font-size: 14px;
  line-height: 1.45;
}

.app-footer__accreditations {
  width: min(100%, 400px);
  height: auto;
  display: block;
  margin-top: 24px;
}

.app-footer__nav-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.app-footer__nav-section {
  min-width: 0;
}

.app-footer__nav-title {
  margin: 0 0 14px;
  color: var(--footer-text);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
}

.app-footer__nav-title a {
  color: inherit;
  text-decoration: none;
}

.app-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 10px;
}

.app-footer__nav-list li + li {
  margin-top: 12px;
}

.app-footer__nav-list a {
  color: var(--footer-muted);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.app-footer__nav-list a:hover,
.app-footer__nav-title a:hover,
.app-footer__legal a:hover {
  color: var(--footer-link-hover);
}

.app-footer__legal {
  display: grid;
  gap: 10px;
  padding-top: 18px;
}

.app-footer__legal p {
  margin: 0;
  color: var(--footer-subtle);
  font-size: 12px;
  line-height: 1.65;
}

.app-footer__legal a {
  color: var(--footer-link);
  text-decoration: none;
}

.app-footer__legal strong {
  color: var(--footer-muted);
  font-weight: 600;
}

body.risk-curve-page > [data-global-footer] {
  width: calc(100% + 32px);
  margin: 56px -16px -64px;
}

@media (max-width: 1080px) {
  .app-footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .app-footer__nav-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .app-footer__brand {
    max-width: 520px;
  }
}

@media (max-width: 800px) {
  .app-footer__shell {
    padding: 30px 24px 24px;
  }

  .app-footer__nav-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .app-footer__nav-title {
    font-size: 21px;
  }

  .app-footer__accreditations {
    width: min(100%, 520px);
  }
}

@media (max-width: 640px) {
  .app-footer__shell {
    padding: 28px 20px 22px;
  }

  .app-footer__top {
    padding-bottom: 24px;
  }

  .app-footer__nav-title {
    margin-bottom: 12px;
    font-size: 20px;
  }

  .app-footer__nav-list {
    padding-left: 0;
  }

  .app-footer__nav-list li + li {
    margin-top: 10px;
  }

  body.risk-curve-page > [data-global-footer] {
    width: calc(100% + 32px);
    margin: 48px -16px -64px;
  }
}
