Maximizing After-Tax Returns: Navigating Tax Implications in Goal-Based Investments