/* ═══════════════════════════════════════════
   LEGAL PAGES — privacy / terms / sms-policy
   Uses brand tokens from styles.css (:root)
   ═══════════════════════════════════════════ */

.legal-page {
  background: var(--bg);
}

/* Simple header */
.legal-header {
  padding: 22px 32px;
  border-bottom: 1px solid rgba(47, 47, 228, 0.18);
}

.legal-header img {
  display: block;
  height: 34px;
  width: auto;
}

/* Readable article container */
.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal-main h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}

.legal-effective {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(47, 47, 228, 0.18);
}

.legal-main h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin: 36px 0 12px;
  line-height: 1.3;
}

.legal-main p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-main ul {
  margin: 0 0 14px 22px;
}

.legal-main li {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-main a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 212, 0, 0.35);
  transition: text-decoration-color 0.2s;
}

.legal-main a:hover {
  text-decoration-color: var(--yellow);
}

/* Placeholder markers stand out so they aren't published by accident */
.legal-main .ph {
  color: var(--yellow);
  font-weight: 600;
}

/* Quoted sample opt-in language */
.legal-quote {
  background: var(--deep);
  border: 1px solid rgba(47, 47, 228, 0.35);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 14px 0;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  font-size: 15px;
}

@media (max-width: 768px) {
  .legal-header {
    padding: 18px 20px;
  }
  .legal-main {
    padding: 48px 20px 72px;
  }
}
