/**
 * Simple content pages (Privacy, TOS).
 * Uses brand.css and base.css. Neutral background, black text, card-style content.
 */
.page-body {
  background: var(--flik-nav-bg);
  color: var(--flik-text);
  min-height: 100vh;
}

.page-body .page-main {
  max-width: 42rem;
  margin: 0 auto 2rem auto;
  background: var(--flik-card-bg);
  padding: 2rem 2.25rem 3rem;
  border-radius: var(--flik-radius-sm);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.page-body .page-main h1,
.page-body .page-section h2,
.page-body .page-section p,
.page-body .page-updated {
  color: var(--flik-text);
}

/* Release notes page: neutral background (no orange), easy to read and parse */
.releasenotes-page {
  background: #fafafa;
}
.releasenotes-main {
  background: #fff;
  padding: 2rem 2.25rem 3rem;
  border-radius: var(--flik-radius-sm);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.releasenotes-changelog-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--flik-border);
}
.releasenotes-changelog-section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--flik-text);
}

.page-main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.page-main h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--flik-text);
}

.page-updated {
  font-size: 0.875rem;
  color: var(--flik-text-tertiary);
  margin: 0 0 2rem 0;
}

.page-section {
  margin-bottom: 2rem;
}

.page-section h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--flik-text);
}

.page-section p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--flik-text-muted);
  margin: 0;
}

.page-section a {
  color: var(--flik-primary);
  text-decoration: none;
}

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

.page-lead {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--flik-text-muted);
  margin: 0 0 2rem 0;
}

.page-lead code {
  font-size: 0.875em;
  padding: 0.15em 0.4em;
  background: var(--flik-bg-elevated, rgba(0, 0, 0, 0.06));
  border-radius: 4px;
}

.page-code {
  background: var(--flik-bg-elevated, rgba(0, 0, 0, 0.06));
  border-radius: 8px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin: 0.5rem 0 1rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.page-code code {
  font-family: ui-monospace, monospace;
}

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

.releasenotes-list li {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--flik-text-muted);
  margin-bottom: 0.75rem;
  padding-left: 0;
}

.releasenotes-list li strong {
  color: var(--flik-text);
  margin-right: 0.25rem;
}

.releasenotes-list code {
  font-size: 0.875em;
  padding: 0.15em 0.4em;
  background: var(--flik-bg-elevated, rgba(0, 0, 0, 0.06));
  border-radius: 4px;
}

/* Rendered markdown from cli/CHANGELOG.md — easy to read and parse */
.releasenotes-changelog {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--flik-text-secondary);
}

/* Version heading (e.g. "0.3.11 (2025-01-15)" or "Unreleased") */
.releasenotes-changelog h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem 0;
  padding: 0.5rem 0 0.5rem 0.75rem;
  border-left: 3px solid var(--flik-border);
  color: var(--flik-text);
}
.releasenotes-changelog h2:first-child {
  margin-top: 0;
  padding-top: 0;
}

.releasenotes-changelog h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 1rem 0 0.35rem 0;
  color: var(--flik-text);
}

.releasenotes-changelog p {
  margin: 0 0 0.5rem 0;
}

.releasenotes-changelog ul {
  margin: 0.35rem 0 1rem 0;
  padding-left: 1.5rem;
}

.releasenotes-changelog li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.releasenotes-changelog code {
  font-size: 0.875em;
  padding: 0.15em 0.4em;
  background: #f3f4f6;
  border-radius: 4px;
  color: var(--flik-text);
}
