No official PC release of the original Final Fantasy exists, so there is nothing to buy through a storefront.
The game has been ported extensively elsewhere, though — various PlayStation, Game Boy Advance, PlayStation Portable, mobile and console digital releases all carry it, usually with updated graphics and quality-of-life fixes. If you want to play it legally, one of those is the way in.