* {
    box-sizing: border-box;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
    background: #fff;
    color: #263247;
    font: 1rem/1.5 system-ui, sans-serif;
}

a {
    color: #1939a4;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid #176daf;
    outline-offset: 3px;
}

.container {
    width: min(100% - 2rem, 65rem);
    margin-inline: auto;
}

.site-header {
    border-bottom: 1px solid #dce5f2;
}

.header-content,
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 1.25rem;
}

.logo {
    display: block;
    width: min(13rem, 100%);
    height: auto;
}

address {
    flex-shrink: 0;
    font-style: normal;
    text-align: right;
}

address a {
    display: block;
}

address a:first-child {
    color: #263247;
    font-weight: 700;
    text-decoration: none;
}

.page {
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    align-items: start;
    gap: clamp(1.5rem, 5vw, 4rem);
    padding-block: clamp(2rem, 7vw, 5rem);
}

.login-panel,
.banner {
    border-radius: .75rem;
    padding: clamp(1.25rem, 4vw, 2rem);
}

.login-panel {
    border: 2px solid #2468b5;
}

.banner {
    background: #eef5fc;
}

h1,
h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    line-height: 1.2;
}

.banner p {
    margin: 0 0 1.25rem;
}

form label {
    display: block;
    margin-bottom: .3rem;
    font-weight: 600;
}

form input {
    width: 100%;
    min-height: 2.75rem;
    margin: 0 0 1rem;
    padding: .5rem .75rem;
    border: 1px solid #77869b;
    border-radius: .375rem;
    color: inherit;
    font: inherit;
}

.button {
    display: inline-block;
    min-height: 2.75rem;
    padding: .625rem 1.125rem;
    border: 0;
    border-radius: .375rem;
    background: #1939a4;
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.button:hover {
    background: #132b7e;
}

.forgot {
    display: inline-block;
    margin-top: 1rem;
}

.site-footer {
    background: #eef5fc;
}

@media (max-width: 42rem) {
    .page {
        grid-template-columns: minmax(0, 1fr);
    }

    .header-content,
    .footer-content {
        flex-wrap: wrap;
    }

    address {
        text-align: left;
    }
}
