/* ─────────────────────────────────────
   LEGAL PAGES
───────────────────────────────────── */

html {
  scroll-behavior: smooth;
}


/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */

.legal-hero {
  padding: 180px 5% 90px;

  background:
    linear-gradient(
      135deg,
      rgba(248,244,255,0.82),
      rgba(255,255,255,0.74)
    ),
    url("../../assets/images/hero-bg-premium.png");

  background-size: cover;
  background-position: center;

  position: relative;
  overflow: hidden;
}

.legal-hero-inner {
  max-width: 900px;
  margin: 0 auto;

  text-align: center;
}

.legal-badge {
  display: inline-flex;
  align-items: center;

  padding: 8px 18px;

  border-radius: 999px;

  background: rgba(255,255,255,0.78);

  border: 2px solid #d8b4fe;

  color: #5b21b6;

  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  margin-bottom: 24px;
}

.legal-title {
  font-family: "the-seasons", serif;

  font-size: clamp(4rem, 8vw, 6.4rem);

  font-weight: 500;

  line-height: 0.92;
  letter-spacing: -0.03em;

  color: #4c1d95;

  margin-bottom: 24px;

  text-wrap: balance;
}

.legal-sub {
  max-width: 720px;

  margin: 0 auto 24px;

  font-size: 1.08rem;
  line-height: 1.9;

  color: var(--text-mid);
}

.legal-meta {
  font-family: 'Nunito', sans-serif;

  font-size: 0.85rem;
  font-weight: 800;

  color: #6d28d9;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* ─────────────────────────────────────
   CONTENT LAYOUT
───────────────────────────────────── */

.legal-layout {
  max-width: 980px;

  margin: 0 auto;

  padding: 72px 5% 100px;
}

.legal-content {
  background: rgba(255,255,255,0.72);

  backdrop-filter: blur(12px);

  border-radius: 36px;

  padding: 56px;

  box-shadow:
    0 20px 60px rgba(76,29,149,0.08);
}


/* ─────────────────────────────────────
   SECTIONS
───────────────────────────────────── */

.legal-section {
  margin-bottom: 48px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: "the-seasons", serif;

  font-size: clamp(2rem, 4vw, 2.8rem);

  font-weight: 500;

  line-height: 1;
  letter-spacing: -0.02em;

  color: #4c1d95;

  margin-bottom: 20px;
}

.legal-section p {
  font-size: 1rem;

  line-height: 1.95;

  color: var(--text-mid);

  margin-bottom: 20px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}


/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */

@media (max-width: 900px) {

  .legal-hero {
    padding-top: 220px;
  }

  .legal-content {
    padding: 40px 30px;
  }

  .legal-title {
    font-size: clamp(3.2rem, 12vw, 5rem);
  }
}

@media (max-width: 600px) {

  .legal-content {
    padding: 30px 22px;
    border-radius: 28px;
  }

  .legal-section h2 {
    line-height: 1.08;
  }
}
