:root { --bg: #070a0d; --panel: rgba(16, 21, 27, .88); --line: #2a333d; --text: #eef2f6; --muted: #9aa6b2; --green: #22e05a; --blue: #2f80ff; --blue2: #1f68dd; --err: #ff8a7a; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: "Segoe UI", system-ui, -apple-system, sans-serif; }
#ekg { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.wrap { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 32px 16px; }
.welcome { text-align: center; text-shadow: 0 2px 14px #000; }
h1 { margin: 0; font-size: clamp(30px, 5vw, 52px); font-weight: 700; letter-spacing: -.01em; }
h1 span { color: var(--green); }
.welcome p { margin: 10px 0 0; color: #cfd7df; font-size: clamp(16px, 2vw, 20px); }
.card { width: 100%; max-width: 400px; padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .55); backdrop-filter: blur(5px); }
h2 { margin: 0 0 16px; font-size: 21px; }
label { display: block; margin-bottom: 13px; font-size: 14px; color: #d6dde4; }
input, textarea { display: block; width: 100%; margin-top: 5px; padding: 10px 11px; font: inherit; font-size: 16px; color: var(--text); background: #0d1217; border: 1px solid #38424e; border-radius: 8px; }
textarea { resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
button { font: inherit; cursor: pointer; }
.primary, .interest { width: 100%; padding: 11px 14px; font-weight: 650; font-size: 16px; color: #fff; border: 0; border-radius: 8px; }
.primary { background: #27313b; } .primary:hover { background: #33404c; }
.interest { background: var(--blue); } .interest:hover { background: var(--blue2); }
button:disabled { opacity: .6; cursor: default; }
.divider { height: 1px; margin: 18px 0; background: var(--line); }
.msg { min-height: 19px; margin: 10px 0 0; font-size: 14px; color: var(--err); }
.msg.ok { color: var(--green); }
.modal { position: fixed; inset: 0; z-index: 10; display: flex; align-items: flex-start; justify-content: center; padding: 24px 16px; overflow-y: auto; background: rgba(0, 0, 0, .68); }
.modal[hidden] { display: none; }
.dialog { position: relative; width: 100%; max-width: 520px; margin: auto; padding: 26px; background: #10151b; border: 1px solid var(--line); border-radius: 14px; }
.close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; color: var(--text); font-size: 22px; line-height: 1; background: #222b34; border: 0; border-radius: 7px; }
.close:hover { background: #303b47; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { color: var(--muted); }
.choice { margin: 0 0 13px; padding: 0; border: 0; }
.choice legend { padding: 0; margin-bottom: 7px; font-size: 14px; color: #d6dde4; }
.choice label { display: inline-flex; align-items: center; gap: 7px; margin: 0 22px 0 0; font-size: 15px; cursor: pointer; }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
#otherWrap[hidden] { display: none; }
.count { margin: -8px 0 13px; text-align: right; font-size: 12px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#turnstile:not(:empty) { margin-bottom: 13px; }
@media (max-width: 460px) { .two { grid-template-columns: 1fr; gap: 0; } .card, .dialog { padding: 20px; } }
