Stanford isn’t any less liberal arts focused than Harvard - they’re both liberal arts universities. Stanford has top 10 programs in history, psychology, anthropology, French language and literature, Spanish language and literature, English literature, religious studies, classics, sociology, linguistics, economics, political science and philosophy. And they have a heavy emphasis on combining tech and sscience with the humanities and social science - they have several CS+ joint majors; you can do a joint major in CS and Slavic languages and literatures, Italian, linguistics, music, philosophy, French, English, German, history, and classics. It’s just a well-rounded, excellent world-class university all around (just like Harvard).
In one of my fields (psychology), Harvard and Stanford are about neck-and-neck - but I perceive Stanford as better for my subfield and specific research interests. Stanford doesn’t have public health and Harvard is a top 5 program in that field, so it’s better for that by default.
As an undergrad in 2004, I probably would’ve chosen Harvard just by dint of familiarity. But if I had to choose knowing what I know now, I’d choose Stanford - because of my interests in statistics and data science, their major in science, technology, and society, the major in comparative studies in race and ethnicity, Greek life (not recognized at Harvard), and the warmer weather at Stanford - but they also have a Japanese major and a creative writing major, both of which appeal to the 17-year-old me.
College Board data suggests that yield at Harvard is about 85%, and yield at Stanford is about 78%.