/* ========== LEGAL PAGES (privacy, terms, refund) ========== */
.legal-page {
  padding: 6rem 0 5rem;
  background: var(--bg-primary);
}

.legal-page .container {
  max-width: 820px;
}

.legal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}

.legal-header h1 {
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.legal-content {
  color: var(--text-primary);
  line-height: 1.75;
  font-size: 1rem;
}

.legal-content h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.4rem;
  color: var(--accent-text);
}

.legal-content h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.1rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.legal-content ul {
  margin: 0.5rem 0 1.25rem 1.25rem;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--accent-hover-text);
}

.legal-content strong {
  color: var(--text-primary);
}

/* MSA page only: a gold hairline under each main section heading, reusing the
   site-wide --border-tinted card hairline (theme-aware). Scoped to
   data-page='msa' so privacy/terms/refund keep their plain headings. */
body[data-page='msa'] .legal-content h2 {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-tinted);
}

/* MSA page only: deeper hanging indent for bullet lists so the markers sit
   clearly right of the body copy. */
body[data-page='msa'] .legal-content ul {
  padding-left: 1.5rem;
}

/* MSA page only: breathing room below the title, above the version line.
   Uses padding-top (not margin) so it can't collapse into the h1's
   margin-bottom and net out to nothing. */
body[data-page='msa'] .legal-meta {
  padding-top: 1.25rem;
}

.legal-placeholder {
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent);
  padding: 0.15rem 0.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  color: var(--text-primary);
}

.blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-list-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--bg-tertiary);
}

.blog-list-item:last-child {
  border-bottom: none;
}

.blog-list-item h2 {
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
}

.blog-list-item h2 a {
  color: var(--text-primary);
}

.blog-list-item h2 a:hover {
  color: var(--accent-text);
}

.blog-meta {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}
