They are not supposed to be curved, but they are - even from factory 🙂
On a very original mk 3, I had 1/4 inch in difference between floor and lip at the middle /front and rear, making the difference on the picture below up to 1/2 an inch.
And - don't try to push lower lip of outer sill up to the floor as the new floor panels flange are not as deep as original: See picture: