*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
}

body {
    display: grid;
    place-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 1.5rem;
    font-family: system-ui, sans-serif;
    line-height: 1.5;
    color: #fff;
    background: #07080c;
}

/* The picture is already blurred in the file, so no CSS filter is needed. */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(rgb(7 8 12 / 0.2), rgb(7 8 12 / 0.55)),
        url('assets/background.webp') center / cover;
}

.card {
    width: min(100%, 30rem);
    padding: 2.5rem 2rem;
    text-align: center;
    background: rgb(20 21 27 / 0.82);
    border: 1px solid rgb(255 255 255 / 0.1);
    border-radius: 1.25rem;
    box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 0.5);
}

.mark {
    display: block;
    margin: -2rem auto;
}

.brand {
    font-weight: 600;
    color: #a9a6ff;
}

h1 {
    margin-top: 0.75rem;
    font-size: 2rem;
    line-height: 1.2;
}

.lead {
    margin-top: 0.75rem;
    color: #b9bbc4;
}

form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

form[hidden] {
    display: none;
}

input,
button {
    min-height: 3rem;
    font: inherit;
    border-radius: 0.75rem;
}

input {
    flex: 1 1 14rem;
    min-width: 0;
    padding: 0 1rem;
    color: #fff;
    background: rgb(255 255 255 / 0.06);
    border: 1px solid rgb(255 255 255 / 0.38);
}

button {
    flex: 1 0 auto;
    padding: 0 1.25rem;
    font-weight: 700;
    color: #0b0c10;
    background: linear-gradient(90deg, #8cadff, #de9dff);
    border: 0;
    cursor: pointer;
}

input:focus-visible,
button:focus-visible {
    outline: 2px solid #8cadff;
    outline-offset: 2px;
}

form[hidden] + .status {
    margin-block: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    text-wrap: balance;
}

.status {
    min-height: 1.5rem;
    margin-top: 0.75rem;
    color: #b9bbc4;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.lang {
    display: block;
    margin-top: -1.25rem;
    text-align: right;
    font-size: 0.875rem;
}

a {
    color: #a9a6ff;
}

#turnstile {
    flex-basis: 100%;
}

#turnstile:empty {
    display: none;
}

.note {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: #9a9ca6;
}
