/* ============================================================
   LEGAL PAGES — Popy Floppy
   Privacy Policy, Terms & Conditions, and similar
   ============================================================ */

.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem var(--gap) 0;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */

.legal-hero {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.legal-hero h1 {
  font-family: 'LuckiestGuy', system-ui, sans-serif;
  font-size: 2.6rem;
  color: var(--logo-purple);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   BODY
   ============================================================ */

.legal-body section {
  margin-bottom: 2.5rem;
}

.legal-body h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--logo-green);
  margin-bottom: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.legal-body p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

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

.legal-body ul {
  list-style: none;
  margin: 0.5rem 0 0.8rem 0;
}

.legal-body ul li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.3rem;
}

.legal-body ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

.legal-body a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body a:hover {
  color: var(--logo-purple);
}

.legal-highlight {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 0.8rem;
}

.legal-highlight p {
  margin-bottom: 0;
  color: var(--text);
}

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

@media (max-width: 600px) {
  .legal-hero h1 {
    font-size: 2rem;
  }
}
