How to create page-unrelated multi-level menus?

You can use the parent field. See docs.

The parent identifier reference works in config.toml as well.

There are several existing answers with examples here if you search.

This is a recent one