[data-node="s-privacy"]::before,
[data-node="s-terms"]::before,
[data-node="s-contacts"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: var(--color-bg);
  background-repeat: no-repeat;
}

.legal::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(10 8 6 / 0.32) 0%, rgb(10 8 6 / 0.48) 40%, rgb(10 8 6 / 0.55) 100%);
}

.legal-hero {
  text-align: center;
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 4vw, 3rem);
}

.legal-hero__title {
  font-size: clamp(1.65rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fdf3d9, var(--color-gold-soft) 55%, var(--color-gold));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.legal__layout {
  max-width: 52rem;
  margin-inline: auto;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.legal-section + .legal-section {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.legal-block + .legal-block {
  margin-top: clamp(0.85rem, 1.4vw, 1.15rem);
}

.legal-add-row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.legal-section__title {
  padding-bottom: clamp(0.6rem, 1.2vw, 0.9rem);
  border-bottom: var(--border-gold);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 400;
  line-height: var(--leading-body);
  color: var(--color-gold);
}

.legal-section__text {
  margin-top: clamp(0.85rem, 1.4vw, 1.15rem);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text);
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: clamp(0.85rem, 1.4vw, 1.15rem);
  padding-left: 1.25em;
  list-style: disc;
}

.legal-list__item {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text);
}

.contacts-doc {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contacts-doc__line {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text);
}

.contacts-doc__line a,
.legal-section__text a,
.legal-list__item a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contacts-doc__line a:hover,
.legal-section__text a:hover,
.legal-list__item a:hover {
  color: var(--color-gold-soft);
}

@media not all and (min-width: 650px) {
  html[lang="ru"] .legal-hero__title--privacy {
    font-size: 1.35rem;
  }
}
