> I'm surprised they're both used, from that description it sounds like one would fall by the wayside, like cursive has in North America.
Katakana, hiragana, and kanji are all in active use--that's why they don't fall away.
Kanji are your primary word base. They are sort of like root words in English.
Hiragana often serves as kind of a marker--endings of certain words as well as phrase markers (particles). These are particularly important because Japanese does not normally break words with spaces.
Katakana often denotes a foreign phonetic word or foreign names. Login is particularly good example for this forum: ログイン (ro-gu-i-n).
Japanese speakers actively use the differences as cues when reading. Watch a native Japanese speaker try to puzzle out Japanese learning materials for non-native speakers. If everything is written in hiragana (not uncommon for beginning materials), native speakers often have to puzzle over things a bit before they work out what a sentence says. This is one of the reasons why you want to get to Kanji as fast as possible when learning Japanese--the differences in script are important for reading comprehension.
You can see all of these in play on the Asahi Shimbun webpage:
https://www.asahi.com/