> otherwise the North Pole and Scandinavia, having super long days, should be hot during summer
They are hot during the summer, relative to winter. You’re assuming a particular definition of warmth/heat, but these places do have a summer that is much warmer, the average annual temperature swing of ~25C is similar to many cities in the US and Europe. (Which doesn’t answer your question directly, but does say a little something about the relative importance of angle vs length of daylight.)
*edit, btw check out plots of temperature during the day vs during the year. Angle affects temperature on an hourly basis. [1]
Here’s another article all about sun power vs angle, and mentions atmospheric absorption. Note that while lower surface angles receive less surface energy, it doesn’t change the angle of atmospheric energy absorption, and low angles increase the distance light travels through atmosphere. The atmosphere gets about a third of the sun’s energy absorbed by the earth, the surface gets the other two thirds. [2]
[1] https://weatherspark.com/y/9847/Average-Weather-in-Kansas-Ci...
[2] https://en.wikipedia.org/wiki/Solar_irradiance