/* =========================================================
   PRIVACY POLICY PAGE (privacy.html)
   ========================================================= */

/* Give the page breathing room under your fixed header */

/* Scope everything to the privacy card so we don't break other pages */
.legal-wrap {
  width: min(920px, calc(100% - 2rem));
  margin: 8rem auto 4rem; /* space for fixed header */
  padding: 2.5rem 2.25rem;

  border-radius: 22px;

  /* solid, clean paper look */
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.07);

  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.10),
    0 2px 10px rgba(0, 0, 0, 0.04);

  /* CRITICAL: prevents anything from visually spilling out */
  overflow: hidden;

  color: #111;
}

/* If your .glass class adds blur/tint that makes it ugly, neutralize it here */
.legal-wrap.glass {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Headings + text */
.legal-wrap h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111;
}

.legal-meta {
  margin: 0 0 2rem;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.95rem;
}

.legal-wrap h2 {
  margin: 2rem 0 0.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);

  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
}

.legal-wrap h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.legal-wrap p {
  margin: 0 0 1.05rem;
  line-height: 1.85;
  font-size: 1.02rem;
  color: rgba(0, 0, 0, 0.82);
}

/* ✅ BULLETS FIX: keep them inside the white card */
.legal-wrap ul {
  margin: 0.75rem 0 1.25rem;

  /* reset any global UL indentation that might be huge */
  padding: 0;

  /* then add controlled indentation INSIDE the card */
  padding-left: 1.25rem;

  list-style: disc;
  list-style-position: inside; /* forces bullets to stay inside the box */
}

.legal-wrap li {
  margin: 0.45rem 0;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.82);
}

/* Mobile */
@media (max-width: 700px) {
  .legal-wrap {
    width: min(920px, calc(100% - 1.25rem));
    margin: 7rem auto 3rem;
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
  }

  .legal-wrap ul {
    padding-left: 1.1rem;
  }
}