DocumentSpec
data class DocumentSpec(val metadata: PdfMetadata, val pages: List<PageSpec>, val customFonts: List<PdfFont.Custom>)
Resolved, immutable description of a document. Produced by the DSL builders and consumed by the layout engine + renderer. Library users normally never see this type — they go through pdf { ... } instead.