It just would not have been possible without OSM's data, full stop. The tag data associated with each road ("way" in OSM parlance) is invaluable, as is the ability to work with all of this information on a planet-scale in a single database (I use osm2pgsql to import the whole planet into a single box with 256GB RAM, and have plenty of headroom to run my app on top of that too).
The APIs provided by Google Maps and Apple Maps do not provide the functionality I want, even if I could pay their massive fees. Additionally, Google Maps' mapping of trails is much worse in my experience.
Whilst the data is far from perfect in some areas, I am still extremely grateful that OSM exists, and will now make a donation via https://donate.openstreetmap.org/