Compress a string with Brotli (RFC 7932) and return it as base64. Brotli typically beats gzip by 15-25% on text — useful when bytes matter (e.g. cramming context into an LLM prompt, fitting under a transport cap). Slower than gzip; pick gzip if sp...