/* =====================================================
   PÁGINAS LEGALES
===================================================== */

.legal-shell {
  width: min(100% - 40px, 980px);
  margin-inline: auto;
}

.legal-hero {
  padding: 72px 0 64px;
  background: #f4f1ea;
}

.legal-back {
  display: inline-block;
  margin-bottom: 48px;
  color: inherit;
  font-family: "Geist Mono", monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-back:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.legal-hero .label-eyebrow {
  display: block;
  margin-bottom: 18px;
}

.legal-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.7rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.legal-intro {
  max-width: 720px;
  margin: 36px 0 0;
  font-family: "Geist Mono", monospace;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.legal-updated {
  margin: 30px 0 0;
  color: #66625c;
  font-family: "Geist Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.legal-content {
  padding: 24px 0 100px;
  background: #f4f1ea;
}

.legal-article > section {
  padding: 56px 0;
  border-top: 1px solid #171512;
}

.legal-article h2 {
  max-width: 760px;
  margin: 0 0 28px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.legal-article h3 {
  margin: 36px 0 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.legal-article p,
.legal-article li {
  max-width: 800px;
  font-family: "Geist Mono", monospace;
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-article p {
  margin: 0 0 18px;
}

.legal-article ul {
  margin: 24px 0 28px;
  padding-left: 24px;
}

.legal-article li {
  margin-bottom: 12px;
}

.legal-article a {
  color: inherit;
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-article a:hover {
  text-decoration-thickness: 2px;
}

.legal-back:focus-visible,
.legal-article a:focus-visible {
  outline: 3px solid #dfb72f;
  outline-offset: 5px;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 700px) {
  .legal-shell {
    width: min(100% - 28px, 980px);
  }

  .legal-hero {
    padding: 48px 0 44px;
  }

  .legal-back {
    margin-bottom: 36px;
  }

  .legal-content {
    padding-bottom: 64px;
  }

  .legal-article > section {
    padding: 42px 0;
  }

  .legal-article p,
  .legal-article li {
    font-size: 0.9rem;
    line-height: 1.75;
  }
}