/* Legal pages — styles for Markdown-rendered content */

.legal-page {
  padding: 72px 0 96px;
  min-height: 60vh;
}

.legal-loading {
  color: var(--text-muted);
  font-style: italic;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
}

/* Markdown rendered typography */
.legal-content h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}
.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin: 24px 0 8px;
}
.legal-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-content ul,
.legal-content ol {
  margin: 12px 0 20px 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}
.legal-content li { margin-bottom: 6px; }
.legal-content a {
  color: var(--blue);
  text-decoration: underline;
}
.legal-content a:hover { color: var(--white); }
.legal-content strong { color: var(--white); font-weight: 600; }
.legal-content em { color: var(--text-muted); }
.legal-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 36px 0;
}

/* Last updated badge */
.legal-content p:first-of-type em {
  display: inline-block;
  background: var(--gold-dim);
  border: 1px solid rgba(245,184,0,0.3);
  color: var(--gold);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 32px;
}

@media (max-width: 680px) {
  .legal-content {
    padding: 32px 24px;
  }
}
