:root {
    color-scheme: dark;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #fff;
    background: #101318;
}

* { box-sizing: border-box; }

body {
    min-height: 100dvh;
    margin: 0;
}

.welcome {
    display: grid;
    min-height: 100dvh;
    place-items: center;
    padding: 32px 24px;
    background: #101318 url('welcome-grid.png') center / cover no-repeat;
}

.welcome-content {
    width: min(100%, 900px);
    padding: clamp(28px, 4vw, 56px);
    background: #0d1015f2;
}

.brand {
    display: inline-block;
    margin-bottom: 28px;
    color: #a9d4e3;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .16em;
}

h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.welcome-content > p {
    max-width: 580px;
    margin: 0 0 38px;
    color: #c8d7dd;
    font-size: 18px;
    line-height: 1.55;
}

form label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
}

.room-entry {
    display: flex;
    align-items: end;
    gap: 24px;
}

input, button { font: inherit; }

input {
    min-width: 0;
    flex: 1;
    height: 48px;
    padding: 0 0 8px;
    border: 0;
    border-bottom: 1px solid #7895a2;
    border-radius: 0;
    outline: none;
    color: #fff;
    background: transparent;
}

input::placeholder { color: #9bb0b9; }
input:focus { border-bottom-color: #c8e8f4; }

button {
    min-height: 48px;
    padding: 0 0 8px;
    border: 0;
    border-radius: 0;
    color: #d8eff7;
    background: transparent;
    font-weight: 700;
    cursor: pointer;
}

button:hover { color: #fff; }
button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.form-error {
    margin: 10px 0 0;
    color: #ffb8b8;
    font-size: 14px;
}

@media (max-width: 560px) {
    .welcome { padding: 20px; }
    .welcome-content { padding: 28px 22px; }
    .welcome-content > p { font-size: 16px; }
    .room-entry { gap: 16px; }
}
