/* seo-section.css — the readable section at the foot of each service page.
 *
 * Kept in its own file rather than added to common.css: common.css is the shared
 * design system and stays untouched so the redesign layer can be pulled without
 * taking anything else with it. Uses the existing tokens only — no new colours.
 *
 * Sits below the interactive area, above the scripts. Bottom padding clears the
 * fixed bottom nav on the pages that have one.
 */

.seo-section {
  max-width: 480px;
  margin: 48px auto 0;
  padding: 0 20px calc(96px + env(safe-area-inset-bottom, 0px));
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.seo-section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 14px;
}

.seo-section h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 32px 0 12px;
}

.seo-section h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 20px 0 6px;
}

.seo-section p {
  margin: 0 0 12px;
}

.seo-section ul,
.seo-section ol {
  margin: 0;
  padding-left: 20px;
}

.seo-section li {
  margin-bottom: 8px;
}

/* The lineage list is the differentiator — set it apart from the page prose. */
.seo-sources {
  list-style: none;
  padding: 14px 16px;
  background: var(--bg-surface-2);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  font-size: 14px;
}

.seo-sources li {
  position: relative;
  padding-left: 14px;
}

.seo-sources li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.seo-faq h4:first-child {
  margin-top: 0;
}

@media (min-width: 720px) {
  .seo-section {
    max-width: 620px;
    font-size: 16px;
  }
}
