/* =========================================
   UrbanNest — Legal Pages
   privacy-policy.html & terms-conditions.html
   ========================================= */

.un-legal-main {
  padding-top: 5rem; /* запас под fixed header */
}

.un-legal-article {
  max-width: 760px;
  margin: 0 auto 3rem;
  padding: 0 1.2rem;
}

.un-legal-header {
  margin-bottom: 1.8rem;
}

.un-legal-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--un-muted);
}

.un-legal-title {
  margin: 0 0 0.6rem;
  font-family: var(--un-font-display);
  font-size: 1.7rem;
  line-height: 1.3;
  color: var(--un-ink);
}

.un-legal-intro {
  margin: 0 0 0.4rem;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--un-muted);
}

.un-legal-intro-note {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--un-muted);
  padding: 0.5rem 0.7rem;
  border-radius: 16px;
  background: rgba(251, 247, 242, 0.96);
  border: 1px dashed rgba(223, 212, 200, 0.9);
}

/* Sections */

.un-legal-section {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(223, 212, 200, 0.7);
}

.un-legal-h2 {
  margin: 0 0 0.4rem;
  font-family: var(--un-font-display);
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--un-ink);
}

.un-legal-section p {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--un-muted);
}

.un-legal-section ul {
  margin: 0 0 0.4rem;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--un-muted);
}

.un-legal-section ul li + li {
  margin-top: 0.16rem;
}

/* Ссылки внутри текста */

.un-legal-section a {
  color: var(--un-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.un-legal-section a:hover {
  text-decoration-style: dotted;
}

/* Responsive */

@media (max-width: 599px) {
  .un-legal-main {
    padding-top: 4.25rem;
  }

  .un-legal-article {
    padding-inline: 1rem;
    margin-bottom: 2.4rem;
  }

  .un-legal-title {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .un-legal-article {
    padding-inline: 0;
  }
}
