.footer-link-stack {
  display: contents;
}

.footer-contact {
  grid-column: 2;
  justify-content: flex-end;
}

.footer-legal {
  display: flex;
  grid-column: 1 / -1;
  justify-content: flex-end;
  padding-top: 0.85rem;
  border-top: 1px solid rgb(42 59 50 / 0.12);
  color: rgb(42 59 50 / 0.7);
  font-size: 0.82rem;
  line-height: 1.4;
}

.footer-legal a {
  text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.privacy-policy {
  padding-block: clamp(4.5rem, 7vw, 7rem);
}

.privacy-layout {
  display: grid;
  width: min(100%, 760px);
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.privacy-title-block {
  text-align: center;
}

.privacy-title-block h1 {
  max-width: none;
  font-size: clamp(3.5rem, 6vw, 5.8rem);
  line-height: 1.05;
}

.privacy-meta {
  margin-top: 1.1rem;
  max-width: 34rem;
  margin-inline: auto;
  color: rgb(42 59 50 / 0.66);
  font-size: 0.9rem;
  line-height: 1.5;
}

.privacy-content {
  width: 100%;
  max-width: 45rem;
  margin-inline: auto;
  color: rgb(42 59 50 / 0.88);
}

.privacy-content p {
  max-width: 45rem;
  font-size: clamp(1rem, 1.08vw, 1.07rem);
  line-height: 1.76;
}

.privacy-content h2 {
  margin-top: 2.05rem;
  margin-bottom: 0.45rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 720;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.privacy-content h2:first-of-type {
  margin-top: 1.7rem;
}

.privacy-intro {
  color: rgb(42 59 50 / 0.9);
  font-size: clamp(1.06rem, 1.25vw, 1.16rem);
  line-height: 1.75;
}

.privacy-note {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border-left: 1px solid rgb(95 111 96 / 0.65);
  background: rgb(217 210 199 / 0.18);
}

@media (max-width: 760px) {
  .footer-contact {
    grid-column: 1;
    justify-content: flex-start;
  }

  .footer-legal {
    grid-column: 1;
    justify-content: flex-start;
  }

  .privacy-policy {
    padding-block: 3rem 3.8rem;
  }

  .privacy-title-block h1 {
    font-size: clamp(3rem, 13vw, 4rem);
  }

  .privacy-content h2 {
    margin-top: 1.65rem;
  }
}
