Deductions & credits

However, I suspect you will be better off with the HSA through your employer.

When you contribute to an HSA separately, you save income taxes.  When you contribute through your employers plan/HSA, you save both income tax AND Social Security/Medicare tax (7.65%).  It would be unusual for the "better investment options" to overcome the 7.65% you would be saving through your employer.