/* ════════════════════════════════════
   LEGAL PAGES (Privacy Policy / Terms)
   ════════════════════════════════════ */

.legal-hero {
  padding: 130px 1.5rem 3rem;
  background: linear-gradient(135deg, #f0eeff 0%, #e8f0ff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(124, 114, 255, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 90%, rgba(236, 72, 153, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.legal-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}
.legal-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c63ff;
  background: rgba(124, 114, 255, 0.08);
  border: 1px solid rgba(124, 114, 255, 0.2);
  margin-bottom: 1.2rem;
}
.legal-hero h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 3rem);
  color: #0F172A;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}
.legal-updated {
  color: #64748B;
  font-size: 0.9rem;
}

/* ── Body ── */
.legal-section {
  padding: 3.5rem 1.5rem 5rem;
  background: #fff;
}
.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
  color: #334155;
}
.legal-intro {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 2.4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eef0f5;
}

.legal-block {
  margin-bottom: 2.4rem;
  scroll-margin-top: 100px;
}
.legal-block h2 {
  font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  color: #0F172A;
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.legal-block h2 .num {
  color: #7c72ff;
  font-weight: 800;
  font-size: 0.95em;
  flex-shrink: 0;
}
.legal-block h3 {
  font-weight: 600;
  font-size: 1.02rem;
  color: #1e293b;
  margin: 1.2rem 0 0.6rem;
}
.legal-block p {
  line-height: 1.8;
  font-size: 0.96rem;
  margin-bottom: 0.9rem;
}
.legal-block ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.legal-block ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  line-height: 1.7;
  font-size: 0.95rem;
}
.legal-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7c72ff;
}
.legal-block strong {
  color: #1e293b;
  font-weight: 600;
}

/* Highlighted call-out (emergency / important notes) */
.legal-callout {
  background: #f8f7ff;
  border-left: 4px solid #7c72ff;
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
  margin: 1.2rem 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #475569;
}

/* Contact box at the bottom */
.legal-contact-box {
  background: linear-gradient(135deg, #f5f3ff, #eef2ff);
  border: 1px solid rgba(124, 114, 255, 0.15);
  border-radius: 16px;
  padding: 1.8rem 1.6rem;
  margin-top: 1rem;
}
.legal-contact-box h3 {
  margin-top: 0;
  color: #4a3faa;
  font-weight: 700;
}
.legal-contact-box p {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}
.legal-contact-box a {
  color: #7c72ff;
  text-decoration: none;
  font-weight: 600;
}
.legal-contact-box a:hover {
  text-decoration: underline;
}

/* Cross-link between Privacy & Terms */
.legal-crosslink {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: #64748B;
}
.legal-crosslink a {
  color: #7c72ff;
  font-weight: 600;
  text-decoration: none;
}
.legal-crosslink a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .legal-section { padding: 2.5rem 1.2rem 3.5rem; }
  .legal-block h2 { gap: 0.45rem; }
}
