/* Footer - Figma node 1134:5166 */

.footer {
  background: var(--grey-dark-charcoal);
  color: var(--grey-pure-white);
}

/* Investor-alert ticker */
.footer__ticker {
  background: var(--grey-darkest-grey);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}

.footer__ticker-track {
  display: inline-flex;
  width: max-content;
  animation: footer-ticker-scroll 90s linear infinite;
}

.footer__ticker-text {
  display: inline-block;
  margin: 0;
  padding-right: 80px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey-pure-white);
  white-space: normal;
  max-width: none;
}

@keyframes footer-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .footer__ticker-track {
    animation: none;
  }
}

.footer__inner {
  padding-top: 45px;
  padding-bottom: 40px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 300px;
}

.footer__logo img {
  width: 200px;
  height: auto;
}

.footer__qr {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px dashed var(--grey-dark-grey);
  border-radius: 12px;
  padding: 14px;
}

.footer__qr-image {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-pure-white);
  border-radius: 8px;
  padding: 4px;
}

.footer__qr-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
}

.footer__qr-text {
  font-size: 14px;
  color: var(--grey-light-grey);
  margin-bottom: 10px;
}

.footer__qr-stores {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__qr-stores img {
  width: 22px;
  height: 22px;
}

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

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06); /* no matching Figma token - subtle dark-mode icon chip */
  transition: background 0.15s ease, transform 0.15s ease;
}

.footer__social-link:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

.footer__social-link:active {
  background: #003a65;
  transform: translateY(0);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  flex: 1;
  justify-content: space-between;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 160px;
}

.footer__col-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--grey-pure-white);
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__col-links a {
  font-size: 16px;
  color: var(--grey-light-grey);
}

.footer__col-links a:hover {
  color: var(--grey-pure-white);
}

.footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12); /* no matching Figma token - dark-mode hairline */
  margin: 20px 0;
}

.footer__copyright {
  text-align: center;
  font-size: 14px;
  color: var(--grey-light-grey);
}
.footer__copyright2 {
  margin-bottom: 10px;
}

.footer__copyright-credit {
  text-decoration: underline;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.footer__legal-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--grey-medium-light-grey);
}

.footer__legal-text a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.footer__legal-text a:hover {
  color: var(--grey-pure-white);
}

.footer__legal-address {
  color: var(--grey-light-grey);
}

.footer__legal-expanded {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__legal-expanded[hidden] {
  display: none !important;
}

.footer__legal-expanded p {
  margin: 0;
}

.footer__legal-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--grey-medium-light-grey);
}

.footer__legal-toggle {
  background: none;
  border: none;
  padding: 0;
  color: var(--primary-blue);
  text-decoration: underline;
  font-size: 12px;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.footer__legal-toggle:hover {
  color: var(--grey-pure-white);
}

.footer__legal-toggle:active {
  opacity: 0.7;
}

.footer__legal-more {
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--grey-medium-light-grey);
}

.footer__legal-more[hidden] {
  display: none;
}

@media (max-width: 1023px) {
  .footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .footer__brand {
    max-width: none;
  }

  .footer__nav {
    gap: 32px;
  }
}

@media (max-width: 639px) {
  .footer__inner {
    padding-top: 40px;
  }

  .footer__nav {
    flex-direction: column;
    gap: 32px;
  }
}
