Step 1: Sketch the step function:
The function is $0$ up to $x = \frac\pi4$ and $1$ afterwards, because $\tan\frac\pi3 = \sqrt3 < 2$ so it never reaches $2$.
Step 2: Area:
The area under the step is a rectangle of height $1$ and width $\frac\pi3 - \frac\pi4 = \frac\pi{12}$.
Final Answer:
The integral equals $\frac{\pi}{12}$, option (A).
\[ \boxed{\frac{\pi}{12}} \]