[step:Estimate the truncated Perron kernel away from the transition point]Fix $c>0$ and $T \geq 1$. Let $\mathcal{L}^1$ denote one-dimensional Lebesgue measure on $\mathbb{R}$. Define the truncated Perron kernel $K_T:(0,\infty)\setminus\{1\}\to\mathbb{C}$ by
\begin{align*}
K_T(y)
:=
\frac{1}{2\pi i}\int_{c-iT}^{c+iT}\frac{y^s}{s}\,ds.
\end{align*}
We prove that there is an absolute constant $C_0>0$ such that, for every $y>0$ with $y\neq 1$,
\begin{align*}
\left|K_T(y)-\mathbb{1}_{(1,\infty)}(y)\right|
\leq
C_0 y^c \min\left\{1,\frac{1}{T|\log y|}\right\}.
\end{align*}
Put $u:=\log y$, so $u\neq 0$. Parametrising the vertical line by the map $\gamma:[-T,T]\to\mathbb{C}$, $t\mapsto c+it$, gives
\begin{align*}
K_T(y)
=
\frac{y^c}{2\pi}\int_{-T}^{\,T}\frac{e^{itu}}{c+it}\,d\mathcal{L}^1(t).
\end{align*}
Taking real parts symmetrically yields
\begin{align*}
K_T(y)
=
\frac{y^c}{\pi}\int_0^{\,T} \frac{c\cos(tu)+t\sin(tu)}{c^2+t^2}\,d\mathcal{L}^1(t).
\end{align*}
If $T|u|\leq 1$, then $|\sin(tu)|\leq t|u|$ for $0\leq t\leq T$, and therefore
\begin{align*}
|K_T(y)|
&\leq
\frac{y^c}{\pi}\int_0^{\,T} \frac{c}{c^2+t^2}\,d\mathcal{L}^1(t)
+
\frac{y^c}{\pi}\int_0^{\,T} \frac{t^2|u|}{c^2+t^2}\,d\mathcal{L}^1(t) \\
&\leq
\frac{y^c}{2}+\frac{y^c}{\pi}T|u|
\leq
\left(\frac{1}{2}+\frac{1}{\pi}\right)y^c.
\end{align*}
For $0<y<1$ this already gives
\begin{align*}
\left|K_T(y)-\mathbb{1}_{(1,\infty)}(y)\right|
\leq
\left(\frac{1}{2}+\frac{1}{\pi}\right)y^c.
\end{align*}
For $y>1$, the same estimate and $y^c\geq 1$ give
\begin{align*}
\left|K_T(y)-1\right|
\leq
1+|K_T(y)|
\leq
\left(\frac{3}{2}+\frac{1}{\pi}\right)y^c.
\end{align*}
Thus the desired uniform estimate holds in the case $T|u|\leq 1$ with the absolute constant $C_1:=3/2+1/\pi$.
It remains to prove the sharper estimate when $T|u|>1$. Suppose first that $y>1$, so $u>0$. For $R>0$, let $Q_R$ be the positively oriented rectangle with vertical sides $\operatorname{Re}(s)=c$ and $\operatorname{Re}(s)=-R$ and horizontal sides $\operatorname{Im}(s)=\pm T$. The meromorphic map $s\mapsto y^s/s$ has exactly one pole in $Q_R$, namely a simple pole at $s=0$ with residue $1$. By the residue theorem applied to this rectangle,
\begin{align*}
K_T(y)-1
=
-\frac{1}{2\pi i}\int_{-R+iT}^{c+iT}\frac{y^s}{s}\,ds
-\frac{1}{2\pi i}\int_{-R-iT}^{-R+iT}\frac{y^s}{s}\,ds
-\frac{1}{2\pi i}\int_{c-iT}^{-R-iT}\frac{y^s}{s}\,ds.
\end{align*}
On either horizontal side, with $s=\sigma\pm iT$ and $-R\leq \sigma\leq c$, we have $|s|\geq T$ and $|y^s|=e^{\sigma u}$, hence
\begin{align*}
\left|\int_{-R}^{c}\frac{y^{\sigma\pm iT}}{\sigma\pm iT}\,d\mathcal{L}^1(\sigma)\right|
\leq
\frac{1}{T}\int_{-R}^{c}e^{\sigma u}\,d\mathcal{L}^1(\sigma)
\leq
\frac{y^c}{T u}.
\end{align*}
On the left side, if $R>T$, then $|-R+it|\geq R-T$ for $-T\leq t\leq T$, so
\begin{align*}
\left|\int_{-T}^{\,T}\frac{y^{-R+it}}{-R+it}\,d\mathcal{L}^1(t)\right|
\leq
\frac{2T e^{-Ru}}{R-T}\to 0
\end{align*}
as $R\to\infty$. Letting $R\to\infty$ gives
\begin{align*}
|K_T(y)-1|
\leq
\frac{1}{\pi}\frac{y^c}{T\log y}.
\end{align*}
Now suppose that $0<y<1$, so $u<0$. For $R>c$, close the rectangle to the right with vertical sides $\operatorname{Re}(s)=c$ and $\operatorname{Re}(s)=R$. This rectangle contains no pole of $s\mapsto y^s/s$. The same residue computation gives $K_T(y)$ as the negative of the two horizontal integrals and the right vertical integral. On either horizontal side,
\begin{align*}
\left|\int_c^R \frac{y^{\sigma\pm iT}}{\sigma\pm iT}\,d\mathcal{L}^1(\sigma)\right|
\leq
\frac{1}{T}\int_c^R e^{\sigma u}\,d\mathcal{L}^1(\sigma)
\leq
\frac{y^c}{T|u|}.
\end{align*}
The right vertical side is bounded by
\begin{align*}
\left|\int_{-T}^{\,T}\frac{y^{R+it}}{R+it}\,d\mathcal{L}^1(t)\right|
\leq
\frac{2T e^{Ru}}{R-T}\to 0
\end{align*}
as $R\to\infty$ through values $R>T$. Therefore
\begin{align*}
|K_T(y)|
\leq
\frac{1}{\pi}\frac{y^c}{T|\log y|}.
\end{align*}
Combining the cases $T|\log y|\leq 1$ and $T|\log y|>1$ proves the claimed estimate with
\begin{align*}
C_0:=\max\left\{\frac{3}{2}+\frac{1}{\pi},\frac{1}{\pi}\right\}.
\end{align*}[/step]