.legal-footer {
  position: relative;
  z-index: 40;
  background:
    radial-gradient(circle at 10% 20%, rgba(102, 56, 145, .2), transparent 32%),
    #14101d;
  color: rgba(255, 255, 255, .76);
}

.legal-footer__inner {
  display: flex;
  width: min(1180px, calc(100% - 64px));
  min-height: 82px;
  margin: 0 auto;
  padding: 16px 0;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.legal-footer__brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.legal-footer__brand img {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  object-fit: contain;
}

.legal-footer__brand p {
  margin: 0;
  font: 400 12px/1.4 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: .01em;
}

.legal-footer__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.5vw, 34px);
}

.legal-footer__links a {
  color: rgba(255, 255, 255, .78);
  font: 500 12px/1.4 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.legal-footer__links a:hover,
.legal-footer__links a:focus-visible {
  color: #fff;
}

.legal-footer__links a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .9);
  outline-offset: 5px;
  border-radius: 2px;
}

@media (max-width: 680px) {
  .legal-footer__inner {
    width: calc(100% - 24px);
    min-height: 58px;
    padding: 10px 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2.6vw, 14px);
  }

  .legal-footer__brand img {
    display: none;
  }

  .legal-footer__brand p,
  .legal-footer__links a {
    font-size: clamp(8px, 2.1vw, 10px);
    white-space: nowrap;
  }

  .legal-footer__links {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: clamp(7px, 2vw, 11px);
  }
}

@media (max-width: 350px) {
  .legal-footer__inner {
    width: calc(100% - 16px);
    gap: 7px;
  }

  .legal-footer__brand p,
  .legal-footer__links a {
    font-size: 7.5px;
  }

  .legal-footer__links {
    gap: 6px;
  }
}
