/* PropertyMetrics NZ — long-form content pages (legal, about, guides…).
   Rides on the app-home shell (assets/app-home.css): light sidebar + slim
   top bar + this centered reading column. Replaces the per-page inline
   <style> blocks that privacy/terms/disclaimer used to each carry, so the
   content tier shares one source of truth. */

/* ── Reading column, centred inside .af-main ── */
.pm-doc {
  width: 100%;
  max-width: 792px;
  margin: 0 auto;
  padding: clamp(40px, 6vh, 76px) clamp(20px, 4vw, 40px) clamp(56px, 8vh, 96px);
  box-sizing: border-box;
}

/* ── Document header ── */
.pm-doc-head .pm-eyebrow { margin-bottom: 18px; }
.pm-doc-head h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--af-ink);
  margin: 0 0 12px;
}
.pm-doc-head h1 em { font-style: italic; font-weight: 500; color: var(--afg-mid); }
.pm-doc-updated { font-size: 13px; color: var(--af-ink-soft); }

/* ── Sectioned body ── */
.pm-doc-body section {
  padding: 30px 0;
  border-bottom: 1px solid var(--af-line);
}
.pm-doc-body section:first-of-type { padding-top: 34px; }
.pm-doc-body section:last-child { border-bottom: none; }
.pm-doc-body h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--af-ink);
  margin: 0 0 14px;
}
/* privacy nests a second heading inside a few sections */
.pm-doc-body h2 + h2,
.pm-doc-body ul + h2,
.pm-doc-body p + h2 { margin-top: 30px; }
.pm-doc-body p,
.pm-doc-body li {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--af-ink-soft);
}
.pm-doc-body p + p { margin-top: 14px; }
.pm-doc-body ul { margin: 14px 0 0; padding-left: 22px; }
.pm-doc-body li { margin-bottom: 10px; padding-left: 4px; }
.pm-doc-body li::marker { color: var(--afg-mid); }
.pm-doc-body strong { color: var(--af-ink); font-weight: 700; }
.pm-doc-body a {
  color: var(--afg-mid);
  font-weight: 600;
  border-bottom: 1px solid rgba(45, 106, 79, 0.28);
  transition: border-color 0.15s, color 0.15s;
}
.pm-doc-body a:hover { color: var(--afg); border-color: var(--afg); }

@media (max-width: 880px) {
  .pm-doc { padding-top: 30px; }
}
