* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: #f6f2e9;
    color: #12283a;
}

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

.login-card {
    width: min(100%, 420px);
    padding: 42px;
    border-radius: 18px;
    background: #fffdf8;
    box-shadow:
        0 20px 50px rgba(16, 40, 61, 0.12);
}

.brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #10283d;
    color: #f8f2e5;
    font-size: 24px;
    font-weight: 800;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 180px;
    height: auto;
    max-height: 72px;
    object-fit: contain;
}

.afteros-wordmark {
    display: block;
    width: 176px;
    max-width: 70%;
    height: auto;
    margin-top: 26px;
}

.afteros-wordmark--standalone {
    margin-top: 0;
}

.eyebrow {
    margin:
        12px 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64717d;
}

h1 {
    margin: 0;
    font-size: 30px;
}

.intro {
    margin:
        10px 0 28px;
    color: #64717d;
    line-height: 1.5;
}

form {
    display: grid;
    gap: 18px;
}

label {
    display: grid;
    gap: 8px;
    font-size: 14px;
    font-weight: 650;
}

input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border:
        1px solid #cfc7b8;
    border-radius: 9px;
    font: inherit;
}

input:focus {
    outline:
        2px solid #a77a25;
    outline-offset: 1px;
}

button {
    min-height: 48px;
    border: 0;
    border-radius: 9px;
    background: #10283d;
    color: #f8f2e5;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.login-message {
    padding: 11px 12px;
    border-radius: 8px;
    background: #fff3f2;
    color: #b42318;
    font-size: 14px;
}
