/* Standalone pages (privacy, terms). Reuses the app's tokens so the consent-screen
   links land somewhere that looks like the same product. */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 20px calc(64px + env(safe-area-inset-bottom));
}
.doc-back {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.doc h1 { font-size: 28px; line-height: 1.2; margin: 0 0 6px; }
.doc .doc-updated { color: var(--text-faint); font-size: 14px; margin: 0 0 32px; }
.doc h2 {
  font-size: 18px;
  margin: 36px 0 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.doc h2:first-of-type { border-top: 0; padding-top: 0; }
.doc p, .doc li { color: var(--text-dim); }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--accent); }
.doc code {
  background: var(--surface-2);
  border-radius: 5px;
  padding: 1px 5px;
  font-size: 0.9em;
}
.doc-callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 0 14px;
  box-shadow: var(--shadow);
}
.doc-callout p:last-child { margin-bottom: 0; }
.doc-foot {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-faint);
}
.doc-foot a { color: var(--text-faint); }
