a. Yes, with the help of CSS3 media queries you can do so. It will detect the screen size and the pixel density ratio of the device and will load functionalities accordingly.
c. To present the data offline, you will have to use the Web SQL database to store all the data .
2 It is a bit complex thing to do. But, not impossible.
3 What do you mean here ?
4 Use Google.