If it were a basic structure then nested lists would be your awnser but as you said it's complicated I'm thinking you should be using internal links.
<div class="step" id="A">
<p>Does the thing do the thing?</p>
<div class="step" id="AA">
<p>Then hit it. <strong>End of process</strong></p>
Disclaimer. (1) Whilst I will help you sometimes, if I feel like it, and my advice in relation to your actual question will be of good quality: my posts are to be taken with a pinch of salt. I will be sarcastic, deploy irony and include obscure cultural references for my own amusement without warning.
(2) You will gain nothing from complaining, and if you try to argue with me then you will not win. No matter how noble your battle seems, I am still better than you, don't be an hero.