/* Shared footer for all pages, based on the homepage footer. */
.footer .footer-stroke { opacity: 1; }
.footer .home-marquee-track {
  display: flex;
  flex: none;
  width: max-content;
  animation: home-marquee-left 60s linear infinite;
}
.footer .home-marquee-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
  white-space: nowrap;
}
.footer .home-marquee-group > span { color: #f7fcff66; font-size: 24px; font-weight: 500; }
.footer .home-marquee-group .marquee-initial { color: #fff; font: inherit; }
.footer .home-marquee-group > img { opacity: .4; }
/* Space between complete ALIEN sequences, including the loop boundary. */
.footer .home-marquee-group > span:nth-of-type(5n) { margin-right: 48px; }
@keyframes home-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.footer .home-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
  min-width: 0;
  align-content: start;
}
.footer .home-footer-nav .nav-item-title { margin: 0; }
.footer .footer_left.mobile { gap: 28px; }
@media screen and (min-width: 1440px) {
  .footer .home-footer-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
  .footer .home-footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .footer .home-marquee-track { animation: none; }
}

/* Company disclosure remains readable on narrow screens. */
.footer .footer-copyright { display: block; text-align: center; line-height: 1.6; overflow-wrap: anywhere; }
.footer .footer-bottom-wrapper { row-gap: 4px; }
.footer .footer-company-disclosure { width: 100%; max-width: 760px; margin: 0 auto; text-align: center; }
.footer .footer-company-name { display: block; margin-bottom: 6px; font-size: inherit; line-height: inherit; }
.footer .footer-company-name strong { font-size: inherit; }
.footer .footer-company-details { display: block; }
.footer .footer-company-disclosure a { color: inherit; }
.footer .footer-company-disclosure a:hover,
.footer .footer-company-disclosure a:focus-visible { color: var(--primary); }

/* Shared contact and newsletter section. */
    .home-updates-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 56px 40px; border: 1px solid var(--stroke); }
    .home-updates h2 { font-size: 24px; line-height: 1.4; margin: 0 0 20px; }
    .home-updates-contact > a { display: block; padding-inline-start: 2em; color: var(--white); font-size: 24px; line-height: 1.4; overflow-wrap: anywhere; }
    .home-updates-contact > a:hover { color: var(--primary); }
    .home-updates-signup { min-width: 0; }
    .home-updates-email-label { font-size: 14px; font-weight: 400; margin-bottom: 8px; }
    .home-updates-fields { display: flex; gap: 12px; }
    .home-updates-fields input { flex: 1; min-width: 0; height: 50px; margin: 0; border: 1px solid var(--stroke); background: var(--primary-dark); color: var(--white); }
    .home-updates-fields button { min-height: 50px; border: 0; padding: 12px 24px; }
    .home-updates-fields button:disabled { opacity: .55; cursor: not-allowed; }
    #updates-status { font-size: 13px; margin: 12px 0 0; }
    @media screen and (max-width: 767px) {
      .home-updates-panel { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px; }
    }
    @media screen and (max-width: 479px) {
      .home-updates-fields { flex-direction: column; }
      .home-updates-fields input { flex: auto; }
    }

/* Footer subpage links match the navigation's accent on interaction. */
.footer .home-footer-nav .footer_link {
  color: var(--paragraph-gray);
  transition: color 160ms ease;
}
.footer .home-footer-nav .footer_link:hover,
.footer .home-footer-nav .footer_link:focus-visible {
  color: var(--primary);
}

/* Legal links sit between the site navigation and company disclosure. */
.footer .footer-legal-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; margin: 28px 0 16px; font-size: 14px; }
.footer .footer-legal-links a { color: var(--paragraph-gray); font-size: 13px; }
.footer .footer-legal-links a:hover,
.footer .footer-legal-links a:focus-visible { color: var(--primary); }

/* Eight social icons, always arranged as two rows of four. */
.footer .social_wrapper {
  grid-template-columns: repeat(4, auto);
  grid-template-rows: repeat(2, auto);
  justify-content: start;
}
