* { box-sizing: border-box; }
:root { color-scheme: dark; font: 16px/1.5 system-ui, sans-serif; }
body {
    min-height: 100vh;
    margin: 0;
    background: radial-gradient(ellipse at 50% 0%, #183950, transparent 55%), #0c1422;
    color: #edf6ff;
}
main { width: min(100%, 540px); margin: auto; padding: clamp(32px, 10vh, 108px) 20px 24px; }
header { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
header form { margin-left: auto; }
header img { border-radius: 13px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(24px, 6vw, 32px); line-height: 1.2; }
h2 { margin-bottom: 10px; font-size: 27px; }
.eyebrow { color: #72e6d6; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.card {
    background: #111f30;
    border: 1px solid #2a4158;
    border-radius: 24px;
    padding: clamp(20px, 5vw, 34px);
    box-shadow: 0 20px 60px #080f1a99;
}
.card p, footer { color: #b0c4d7; }
label { display: block; margin-top: 20px; margin-bottom: 6px; }
input, button { font: inherit; border-radius: 12px; }
input { width: 100%; padding: 12px 14px; border: 1px solid #466078; background: #0d1725; }
button { cursor: pointer; border: 1px solid transparent; font-weight: 750; min-height: 48px; padding: 9px 14px; }
button:focus-visible, input:focus-visible { outline: 3px solid #b1fff2; outline-offset: 3px; }
button:disabled { opacity: .48; cursor: default; }
.primary { margin-top: 18px; background: #66e8d1; color: #062723; width: 100%; }
.secondary { background: #192c41; border-color: #36536d; color: #edf6ff; }
.badge {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
    border: 1px solid #466078; border-radius: 30px; padding: 5px 11px;
    color: #d0dded; font-size: 13px; font-weight: 700;
}
.badge::before { content: ""; width: 8px; height: 8px; background: #ffc17e; border-radius: 50%; }
.badge.online::before { background: #66e8d1; }
.result:not(:empty) { margin-top: 16px; }
.buttons { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.buttons .primary { margin-top: 0; }
footer { margin-top: 20px; font-size: 13px; text-align: center; }
