/* =============================================
   LEGAL PAGES — Shared Styles (terms, privacy, refund)
   Extends styles.css (shared design system)
   ============================================= */

.nav-active { color: var(--accent) !important; }

/* ---- Page wrapper ---- */
#legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 40px 80px;
  padding-top: calc(64px + 64px); /* navbar height + top gap */
}

/* ---- Page header ---- */
.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 42px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}

.legal-meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

/* ---- Section ---- */
.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-section p,
.legal-section li {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.legal-section p + p {
  margin-top: 12px;
}

.legal-section ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.legal-section a {
  color: var(--accent);
  text-decoration: none;
}

.legal-section a:hover { text-decoration: underline; }

.legal-section strong {
  color: var(--white);
  font-weight: 600;
}

/* ---- Divider ---- */
.legal-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ---- Contact block ---- */
.legal-contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-top: 48px;
}

.legal-contact p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-contact a {
  color: var(--accent);
  text-decoration: none;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  #legal-page {
    padding: calc(64px + 40px) 24px 60px;
  }
  .legal-title { font-size: 32px; }
}
