Currently the accordion title section always have an underline, regardless if it's expanded or closed. This underline acts as a divider when closed.
However, when there are multiple accordions stacking vertically and expanded, this line's function becomes less clear and can create some confusion in visual grouping.
Please see screenshots for further explanations.