We spend quite a bit of time in San Francisco because we have family there. We love to walk but we do avoid the Tenderloin and Civic Center areas. When we want to go farther, we use the Muni Metro light rail lines, and have had no issues ( which we have had on Muni buses).
We use the N- Judah line to reach Golden Gate Park if we aren’t up for walking there. This east-west rail line starts downtown in the same stations as BART, but on a different ( higher) level. Then runs west to the ocean beach, running the length of Golden Gate Park just 3 blocks south of it, on Judah St.
https://www.sfmta.com/sites/default/files/pdf_map/2021/05/n_judah_pdf_map_20210515.pdf
Get off at the 9th Ave stop to enter the park through that gate; it is close to the botanical garden. Then walk west through the park to the next exit at 19th Ave. if you want to see something wonderful, walk south to Judah and turn left to 15th. Continue south one block and dogleg to 16th Ave. You are aiming for the famous 16th Ave tiled steps, but first you will come to a lower set of tiled steps called Hidden Garden steps.
I described the route this way (with the dogleg) because when we were last there in January , 16th Ave did not go through to the steps; we had to first take 15th and switch to 16th at the “ K” street ( streets in this area are in alphabetical order from north to south.) The 16th Ave steps extend from Moraga St. to Noriega.
If you are game for more steps, go right on Moraga at the top of the tiled steps and you will see wood and metal steps leading to the top of the hill in Grandview Park. I believe it is 200+more steps to the summit.
https://sfrecpark.org/Facilities/Facility/Details/Grandview-Park-Trail-400
The view from there is indeed grand, well worth the effort.
Retrace your steps down the tiled steps and back to Judah St. to find a Muni stop for the tram. They are every 2 blocks or so, and can be easily recognized by the railed platform separated a bit from the sidewalk.
Links with photos of the tiled steps are below.
An alternate route to take from Daly City to Golden Gate Park would be BART just to Balboa Park Station, changing there to the J-Church Muni Metro light rail line which runs north to Market Street, then east to downtown SF. Get off at Market/DuBoce, , where you can switch to the N-Judah westbound to Golden Gate Park. This route avoids possible issues with other BART riders through the Mission, Civic Center, and downtown areas. It is what we take to go to the airport.
Map of the J-Church is below. Compare with the N-Judah map above and you will see the point near Market street where you need to transfer from one line to the other.
http://www.16thavenuetiledsteps.com/
https://storyateverycorner.com/san-francisco-mosiac-stairs/
https://www.sfmta.com/sites/default/files/pdf_map/2022/02/j_lrv_20220215.pdf