Phase space theory suggests that the largest course-graining region, $p$, in a phase space, $P$, is the point in the phase space with the highest entropy. As such, it is in thermal equilibrium with the course-graining regions surrounding it.
Now, when an intensity vs frequency graph is obtained for the CMB (Cosmic Microwave Background), a curve almost identical to Planck's curve representing black-body radiation is seen. The temperature of the CMB is observed to be almost uniform across the universe, and the curve of black-body radiation represents a point of thermal equilibrium for a system. Since the CMB has the same curve as black-body radiation, this would suggest that at the birth of the cosmic microwave background, the universe was in a state of thermal equilibrium.
Referring back to the phase space spoken of in the first paragraph, since the universe was in a state of thermal equilibrium, it was at a point of highest entropy.
However, surely due to the Second Law of Thermodynamics, the entropy of the universe would need to decrease - so it wouldn't be possible for the entropy of the universe to be in such a high state so soon after its birth - so it should surely begin in a low state of entropy.
So what's the deal here? Did the universe begin in a really low state of entropy, or a really high one? Are all my explanations here logical or quite inaccurate?