@for $i from 1 through 3 {
.page-#{$i} {
display: none;
}
#radio-page-#{$i}:checked ~ .page-#{$i} {
display: block;