That really is dramatically restrictive, so sorry. If you're close to 40 you could go try the appeals process, you never know, maybe it's streamlined...
It's definitely a bummer when you start wanting chickens yet where you live is not condusive. I had assumed at my last house since I was on 2 acres, all would be well. But even then, they developed strict HOA new homes all around me and those people were not thrilled about my non HOA existence...
If you have some reading time start doing a forum search for this. There are many, many threads with people doing it anyway, then upset when they are told to remove them... Or doing an appeal possibly. Or having no issues. Anyhow, it's your decision ultimately but we all have a different wish...