pub fn chunk_text(text: &str) -> Vec<Chunk>
Split text into structural chunks. Heading-looking lines start a new chunk and update the heading path; paragraphs accumulate up to the target size.