/* Midnight Blue, concept 14. Kept independent of the site's theme switcher. */
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 65px 55px;
    background: #101e35;
    color: #f2f5fa;
    color-scheme: dark;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
main { width: 100%; max-width: 800px; }
h1 {
    margin: 0 0 26px;
    font-size: 80px;
    line-height: 1.07;
    font-weight: 750;
    letter-spacing: -4px;
    text-wrap: balance;
}
p {
    max-width: 600px;
    margin: 0 0 34px;
    font-size: 20px;
    line-height: 1.65;
    color: #acbbd2;
    text-wrap: pretty;
}
form { display: flex; align-items: flex-start; gap: 10px; max-width: 600px; }
.email-field { min-width: 0; flex: 1; }
input, button {
    font: inherit;
    font-size: 15px;
    min-height: 54px;
    padding: 16px 19px;
    border-radius: 4px;
}
input { width: 100%; border: 1px solid #415674; background: #182b48; color: #f1f5ff; }
input::placeholder { color: #b6c4d9; opacity: 1; }
button { flex-shrink: 0; border: 0; background: #8cb9ff; color: #10233e; font-weight: 600; cursor: pointer; }
button:hover { filter: brightness(.94); }
button:focus-visible, input:focus-visible { outline: 3px solid #c7ddff; outline-offset: 4px; }
button:disabled, input:disabled { opacity: .5; cursor: not-allowed; }
.errorlist { margin: 10px 0 0; padding: 0; list-style: none; color: #ffbdbd; font-size: 14px; line-height: 1.5; }
input[aria-invalid="true"] { border-color: #ffbdbd; }
@media (max-width: 600px) {
    body { padding: 45px 25px; }
    h1 { font-size: clamp(36px, 10.8vw, 54px); letter-spacing: -1.8px; line-height: 1.08; }
    p { font-size: 18px; line-height: 1.6; }
    form { flex-direction: column; }
    .email-field, button { width: 100%; }
}
