moving CSS to <style>

where possible, and partial CSS consolidation