Goldilocks planets