US inflation slows but remains elevated