Rouhani's legacy of pragmatism and moderation gains renewed relevance amid Iran's sensitive leadership transition phase.