Convert headings, product names, or sentences into lowercase, hyphen-separated slugs ready for URLs and filenames.
It lowercases text, replaces spaces with hyphens, and strips characters that aren't URL-safe.
This basic version keeps ASCII; accented characters are removed. For full Unicode slugs, normalize first.
In blog post URLs, page paths, and filenames where spaces and symbols aren't allowed.