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

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(194, 91, 55, .13), transparent 34rem),
        #f5f2eb;
}

.card {
    width: min(100%, 440px);
    padding: 34px;
    border: 1px solid #ded8ca;
    border-radius: 24px;
    background: rgba(255, 253, 248, .96);
    box-shadow: 0 24px 70px rgba(54, 45, 31, .12);
}

.mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: #bd4f2d;
    color: white;
    font-size: 24px;
    font-weight: 750;
}

.eyebrow {
    margin: 20px 0 5px;
    color: #90634f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(34px, 8vw, 46px);
    line-height: 1.05;
}

.intro {
    margin: 12px 0 28px;
    color: #696359;
    line-height: 1.55;
}

.panel h2 {
    margin: 0 0 14px;
    font-size: 17px;
}

.authenticated p {
    margin: 0 0 18px;
    color: #696359;
    line-height: 1.55;
}

label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 650;
}

input,
button {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    font: inherit;
}

input {
    margin-bottom: 10px;
    padding: 0 14px;
    border: 1px solid #cfc8bb;
    background: white;
    color: inherit;
}

input:focus {
    border-color: #bd4f2d;
    outline: 3px solid rgba(189, 79, 45, .16);
}

button {
    border: 0;
    padding: 0 16px;
    cursor: pointer;
    font-weight: 700;
}

button:disabled {
    cursor: wait;
    opacity: .62;
}

.primary {
    background: #25231f;
    color: white;
}

.secondary {
    background: #bd4f2d;
    color: white;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px 0;
    color: #8c8579;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #ded8ca;
}

.hint {
    margin: 10px 0 0;
    color: #777064;
    font-size: 12px;
    line-height: 1.45;
}

.status {
    min-height: 22px;
    margin: 20px 0 4px;
    color: #4e674d;
    font-size: 14px;
    line-height: 1.45;
}

.status.error {
    color: #a13525;
}

@media (max-width: 520px) {
    body {
        padding: 0;
        place-items: stretch;
    }

    .card {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        padding: 28px 22px;
    }
}
