I remember reading a children's novel in the 1980s. It had two main characters. One was an older man, who had retired a some kind of high-level governmental position off Earth; the other was a rich heiress, who had recently inherited a controlling share in one of the handful of companies who together control the Earth and its colonies.
The man is returning to Earth for his retirement. Somehow he meets the woman, and they become embroiled with a cult that is trying to overthrow her company's rule. (The corporate controlled world is, while not portrayed as ideal, not particularly dystopic either.) The leader of the cult is called "the Dolmen," after the giant concrete dolmen structure in which the cult meetings occur. When people are gathered there, they are fed jellybeans with tranquilizers and watch some kind of movies.
Somehow, the cult's plan is to subvert control over the population of the region around the temple and overthrow the company that owns the area. When the protagonists learn this, the cult tries to kidnap them. They flee incognito, eventually making it to the moon (where they encounter an annoying food droid "pushing prune whip," as the man puts it). They manage to make it back to the corporate headquarters and work to interrupt the cult's drug supply, eventually leaving to the group's downfall.