Am I missing something… isn’t it just a simple substitution?
.page form {
border: 2px solid #223;
border-radius: 0.15rem;
}
.page form button {
background-color: red;
transition: background-color 0.15s ease;
}
.page form:hover button {
background-color: blue;
}