Everything pb4ugo said here is exactly right (expecially reusing line nuts new ones don't fit as good as taller). This is how I did mine also. Nicop also easy to form around a pipe to make your lines( Loops like factory ) from body to frame for movement.
https://www.speedwaymotors.com/10MM-1-0-Japanese-to-3-AN-Steel-Male-Brake-Adapter-Connector-Fitting,30299.html?sku=6174143&utm_medium=CSEGoogle&utm_source=CSE&utm_campaign=CSEGOOGLE&gclid=EAIaIQobChMIs_zyutLH-QIV6hTUAR0CRgwVEAQYAiABEgJ_6fD_BwE
something like this then a 3AN nut and sleeve with a...
AN requires 37 degree flare.DOT requires double flare on all brake lines.You would have to use adapter from stock 45 deg. inverted to AN. So doubling your connections to do AN would be a negative in my opinion.