.footer-grid > img {
  mix-blend-mode: normal;
  filter: none;
}

footer {
  background: #ffffff;
  color: #4f5b62;
  border-top: 1px solid #d8dad9;
}

.footer-grid a {
  color: #20272b;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #eceeed;
}

.social-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d8dad9;
  border-radius: 999px;
  color: #69747a;
  font-size: 0.82rem;
}

.social-placeholder svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-placeholder rect,
.social-placeholder circle:not(.social-dot) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-placeholder .social-dot {
  fill: currentColor;
}

.legal {
  border-top-color: #d8dad9;
  color: #69747a;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}

.legal-links a {
  color: #4f5b62;
  text-decoration: underline;
  text-decoration-color: rgba(239, 51, 64, 0.45);
  text-underline-offset: 4px;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  color: #ef3340;
}

.legal-page {
  min-height: 100vh;
  background: #f6f7f7;
  color: #20272b;
}

.legal-page-header {
  padding: 24px 0;
  background: #fff;
  border-bottom: 1px solid #d8dad9;
}

.legal-page-header img {
  display: block;
  width: min(360px, 78vw);
  height: auto;
}

.legal-page-main {
  padding: clamp(72px, 10vw, 130px) 0;
}

.legal-document {
  max-width: 760px;
  padding: clamp(30px, 6vw, 64px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(32, 39, 43, 0.10);
}

.legal-document h1 {
  margin: 12px 0 22px;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.05;
}

.legal-document p {
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.75;
  color: #4f5b62;
}

.legal-document .btn {
  display: inline-flex;
  margin-top: 18px;
}

.btn,
.nav-cta {
  border-radius: 999px;
}

.storefront-photo {
  position: relative;
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 18px;
  background: #eef0f0;
  box-shadow: 0 22px 50px rgba(32, 39, 43, 0.14);
}

.storefront-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.storefront-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #4f5b62;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (max-width: 560px) {
  .legal-links {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .storefront-photo {
    border-radius: 12px;
  }

  .storefront-photo img {
    height: auto;
  }

  .storefront-photo figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    text-align: center;
  }
}
