@font-face {
    font-family: Nunito;
    src: url('NunitoSans.woff2') format('woff2');
    font-weight: 200 900;
    font-display: swap;
}

:root {
    font-family: Nunito, system-ui, sans-serif;
    color: #2c2530;
    background: #f4f0fc;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100svh;
    display: grid;
    place-items: center;
    background: radial-gradient(ellipse at 12% 10%, #e7ddfb, transparent 55%),
        radial-gradient(ellipse at 100% 95%, #ded0f8, transparent 45%);
}

.shell {
    width: min(100%, 610px);
    padding: 32px 24px;
}

.access-brand {
    margin-bottom: 28px;
}

.access-brand img {
    display: block;
}

.access-card {
    background: #fff;
    border: 1px solid #e5dcef;
    border-radius: 24px;
    padding: 44px;
    width: min(100%, 560px);
    box-shadow: 0 24px 90px #32175e0c;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: .15em;
    font-weight: 800;
    color: #6d35d5;
}

h1 {
    font-size: clamp(32px, 5vw, 42px);
    line-height: 1.12;
    letter-spacing: -.04em;
    margin: 16px 0 20px;
    font-weight: 800;
}

h1 em {
    font-style: normal;
    color: #6d35d5;
}

.intro {
    line-height: 1.7;
    color: #655d70;
    font-size: 15px;
    margin-bottom: 28px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

input[type=password] {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #c8bdd7;
    border-radius: 10px;
    font: inherit;
    margin: 8px 0 18px;
    background: #fdfcfe;
}

input:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid #9e75e5;
    outline-offset: 3px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #655d70;
    font-weight: 500;
    margin: 18px 0 24px;
}

.remember input {
    width: 17px;
    height: 17px;
    accent-color: #6d35d5;
}

button {
    width: 100%;
    background: #6d35d5;
    border: 0;
    color: #fff;
    border-radius: 10px;
    padding: 15px 18px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

button:hover {
    background: #5926b8;
}

.help {
    font-size: 12px;
    line-height: 1.6;
    color: #655d70;
    text-align: center;
    margin: 18px 0 0;
}

.error {
    font-size: 14px;
    color: #a12436;
    line-height: 1.5;
}

a {
    color: #6d35d5;
}

footer {
    color: #655d70;
    text-align: center;
    font-size: 12px;
    margin-top: 24px;
}

footer span {
    margin: 0 10px;
}

@media (max-width: 480px) {
    .shell {
        padding: 24px 16px;
    }

    .access-card {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .remember {
        font-size: 12px;
    }
}
