Sorry, I missed that the curve was working it that direction, that’s okay then;)
|Yesterday late night
Sometimes things don’t work late at night, try them next morning:

Pivot Point is set to Active Element and the straighten them out with S, Z, 0.
Same with the bottom edge:

Gap is gone!
Move the top edge down a bit:

Now maybe you can see why I made a few segments first an then cut on out, instead of just making one segment an getting in all sorts of trouble…