/* Long-form legal text (templates/privacy.html, templates/terms.html) on the Ippo tokens. */

.prose { max-width: 720px; width: 100%; margin: 0 auto; line-height: 1.6; overflow-wrap: anywhere; }
.prose > * + * { margin-top: var(--s3); }
.prose h1 { margin-top: var(--s4); }
.prose h2 { margin-top: var(--s6); font-size: var(--fs-h); line-height: 1.3; font-weight: 700; scroll-margin-top: var(--s7); }
.prose h3 { margin-top: var(--s5); font-size: var(--fs-body); line-height: 1.4; font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--s1); }
.prose a { font-weight: 600; }
.prose-draft { cursor: default; border: 2px dashed currentColor; }
.prose-updated { margin-top: var(--s1); }

/* "In short": the summary at the top of each page */
.prose-summary { background: var(--surface-2); border-radius: var(--r-md); padding: var(--s4); }
.prose .prose-summary h2 { margin-top: 0; }
.prose-summary > * + * { margin-top: var(--s2); }

/* "On this page": a collapsed list of links (details/summary, no script) */
.prose-toc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prose-toc summary { padding: var(--s3) 0; cursor: pointer; font-weight: 600; color: var(--ink-2); } /* 44 px+ tap height; keeps the disclosure triangle */
.prose-toc summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.prose-toc ul { list-style: none; padding: 0 0 var(--s3); display: flex; flex-wrap: wrap; gap: var(--s2); }
.prose-toc li + li { margin-top: 0; }
.prose-toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3); border-radius: var(--r-sm); background: var(--surface-2); font-size: var(--fs-small); text-decoration: none; }
.prose-toc a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* The one pending item: the contact email before it's decided */
.prose-pending { display: inline-block; padding: 0 var(--s2); border: 2px dashed var(--warn); border-radius: var(--r-sm); background: var(--warn-soft); color: var(--warn); font-weight: 600; }
