/* Long legal texts in the site frame (/agb/, /terms/). Scoped to .terms-doc; loaded after site.css. */
.terms-doc { max-width: 52rem; margin: 0 auto; text-align: left; line-height: 1.65; }
.terms-doc h3 { margin: 2.25rem 0 .75rem; font-size: 1.15rem; line-height: 1.3; text-transform: uppercase; text-align: left; }
.terms-doc section + section { margin-top: .5rem; }
.terms-doc ol { margin: 0 0 1rem; padding: 0 0 0 1.6rem; list-style: decimal outside; }
.terms-doc ol > li { margin: 0 0 .7rem; padding-left: .25rem; list-style: decimal outside; }
.terms-doc ul { margin: .5rem 0 .75rem; padding: 0 0 0 1.4rem; list-style: disc outside; }
.terms-doc ul > li { margin: 0 0 .35rem; list-style: disc outside; }
.terms-doc code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; background: #f3f3f3; padding: 1px 5px; border-radius: 3px; overflow-wrap: anywhere; }
.terms-meta { color: #666; font-size: .95rem; text-align: center; }
.terms-toc { background: #f5f5f6; border-left: 3px solid #ff4747; padding: 1rem 1.25rem; margin: 1.5rem 0 1rem; }
.terms-toc ol { margin: .5rem 0 0; columns: 2; column-gap: 2rem; }
.terms-toc li { break-inside: avoid; margin-bottom: .25rem; }
.terms-footnote { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid #e4e4e4; font-size: .95rem; text-align: center; }
@media (max-width: 700px) { .terms-toc ol { columns: 1; } }
