:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f3f5f7;
    color: #17232f;
}

* { box-sizing: border-box; }

body { margin: 0; }

.page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.card {
    width: min(100%, 560px);
    background: #fff;
    border: 1px solid #dce3e9;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 18px 48px rgb(23 35 47 / 7%);
}

.card--login { max-width: 430px; }

.eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #246ab7;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

h1 { margin: 0 0 16px; font-size: clamp(28px, 5vw, 38px); line-height: 1.12; }
p { margin: 0 0 26px; color: #526170; line-height: 1.6; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    background: #1769be;
    color: #fff;
    font: inherit;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
}

.button:hover { background: #0e559f; }
.button:focus-visible, input:focus-visible, .back-link:focus-visible { outline: 3px solid #8dc6ff; outline-offset: 2px; }

.back-link { display: inline-block; margin-bottom: 28px; color: #526170; text-decoration: none; }

label { display: block; margin: 18px 0 8px; font-weight: 600; }

input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #bac7d2;
    border-radius: 9px;
    background: #fff;
    color: inherit;
    font: inherit;
}

form .button { margin-top: 26px; }
.alert { padding: 12px 14px; border-radius: 9px; background: #fff0f0; color: #9b1f1f; }

@media (max-width: 480px) {
    .card { padding: 28px 22px; }
}
