:root{--navy:#101b36;--blue:#316bff;--red:#f25353;--paper:#f7f4ed;--muted:#657088;--line:#d9dce3}
@property --input-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
*{box-sizing:border-box}
html,body{margin:0;height:100%;overflow:hidden;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--navy)}
body{height:100dvh;min-height:0;background-color:var(--paper);background-image:linear-gradient(rgba(247,244,237,.12),rgba(247,244,237,.12)),url("/static/background.png");background-size:cover;background-position:center;background-repeat:no-repeat;display:flex;flex-direction:column}
body:before{content:"";height:5px;flex:0 0 5px;background:linear-gradient(90deg,var(--blue) 0 50%,var(--red) 50%)}
main{width:min(100% - 32px,1080px);min-height:0;flex:1;margin:0 auto;display:grid;place-items:center;padding:10px 0}
.card{width:min(100%,720px);text-align:center;background:rgba(255,255,255,.76);border:1px solid rgba(16,27,54,.1);border-radius:24px;padding:18px 48px 16px;box-shadow:0 20px 60px rgba(16,27,54,.11);backdrop-filter:blur(16px)}
.brand{display:flex;flex-direction:column;align-items:center;gap:2px;font-weight:800;font-size:15px;letter-spacing:-.02em}.brand img{width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 8px 10px rgba(16,27,54,.15))}
.status{display:inline-flex;align-items:center;gap:8px;margin-top:9px;padding:5px 10px;border:1px solid #ccd7f5;border-radius:999px;background:#f5f8ff;color:#234cbb;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.09em}.status i{width:7px;height:7px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 3px rgba(49,107,255,.13)}
h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(34px,5.5vw,54px);line-height:.99;letter-spacing:-.055em;margin:12px auto 10px;max-width:680px}.lede{font-size:15px;line-height:1.45;color:var(--muted);max-width:590px;margin:0 auto 15px}
form{text-align:left;max-width:590px;margin:auto}label{display:block;font-size:12px;font-weight:750;margin:0 0 5px 4px}.fields{display:flex;gap:8px}input,button{font:inherit;border-radius:12px;height:48px}input{--input-angle:0deg;min-width:0;flex:1;padding:0 16px;border:2px solid transparent;background:linear-gradient(#fff,#fff) padding-box,conic-gradient(from var(--input-angle),var(--blue),#a8c0ff,var(--red),#ffb0b0,var(--blue)) border-box;color:var(--navy);outline:none;animation:input-border-spin 4s linear infinite}input:focus{box-shadow:0 0 0 4px rgba(49,107,255,.12)}button{border:0;padding:0 20px;background:var(--navy);color:#fff;font-weight:750;cursor:pointer;transition:transform .15s,background .15s}button:hover{background:#1c2d55;transform:translateY(-1px)}button:focus-visible{outline:3px solid rgba(49,107,255,.35);outline-offset:2px}
@keyframes input-border-spin{to{--input-angle:360deg}}
@media(prefers-reduced-motion:reduce){input{animation:none}}
.message{max-width:590px;margin:8px auto 0;padding:8px 12px;border-radius:10px;background:#eaf5ee;color:#27633d;font-weight:650}.privacy{font-size:10px;line-height:1.35;color:#7b8496;margin:10px auto 0;max-width:550px}
footer{width:min(100% - 40px,1080px);flex:0 0 auto;margin:0 auto;padding:6px 0 10px;display:flex;justify-content:space-between;color:#747d90;font-size:11px}
@media(max-width:640px){main{width:min(100% - 20px,1080px);padding:6px 0}.card{padding:12px 15px 10px;border-radius:18px}.brand img{width:48px;height:48px}.brand{font-size:13px}.status{margin-top:6px}h1{font-size:clamp(29px,9vw,40px);margin:8px auto 6px}.lede{font-size:13px;line-height:1.35;margin-bottom:9px}.fields{gap:6px}input,button{height:44px}input{padding:0 11px}button{padding:0 13px}.privacy{margin-top:7px;font-size:9px}footer{padding:4px 0 6px;font-size:10px}}
@media(max-height:620px){.brand img{width:40px;height:40px}.status{margin-top:4px}h1{font-size:32px;margin:5px auto}.lede{font-size:12px;margin-bottom:7px}.card{padding-top:8px;padding-bottom:7px}.privacy{margin-top:5px}footer{display:none}}

button{white-space:nowrap;touch-action:manipulation}
@media(max-width:480px){body{background-position:center top}main{width:calc(100% - 16px);padding:max(5px,env(safe-area-inset-top)) 0 5px}.card{width:100%;padding:10px 12px 9px}.fields{flex-direction:column;gap:7px}input,button{width:100%;height:44px;font-size:16px}button{flex:none}.lede{max-width:34em}.privacy{max-width:38em}footer{display:none}}
@media(max-width:360px){.brand img{width:40px;height:40px}.status{margin-top:4px}h1{font-size:27px;margin:6px auto 5px}.lede{font-size:12px;margin-bottom:7px}.card{padding:8px 10px 7px}.privacy{margin-top:5px}}
@media(max-height:500px) and (orientation:landscape){main{width:min(100% - 20px,760px);padding:4px 0}.card{padding:6px 18px}.brand{flex-direction:row;justify-content:center;gap:6px}.brand img{width:30px;height:30px}.status{margin-top:2px;padding:3px 8px}h1{font-size:27px;margin:3px auto}.lede{font-size:11px;line-height:1.25;margin-bottom:4px}.fields{flex-direction:row}input,button{height:38px}.privacy{font-size:8px;margin-top:3px}}

/* Purpose-built portrait phone layout. */
@media(max-width:640px) and (orientation:portrait){body{background-position:42% center}body:before{height:4px;flex-basis:4px}main{width:100%;padding:10px 12px;align-items:center}.card{width:100%;max-width:460px;padding:22px 20px 18px;border-radius:26px;background:rgba(255,255,255,.88);box-shadow:0 14px 44px rgba(16,27,54,.16);backdrop-filter:blur(20px)}.brand{gap:5px;font-size:15px}.brand img{width:60px;height:60px}.status{margin-top:12px;padding:6px 11px;font-size:10px}h1{max-width:360px;margin:14px auto 10px;font-size:clamp(34px,10.5vw,44px);line-height:1.02}.lede{max-width:350px;margin-bottom:18px;font-size:14px;line-height:1.45}form{max-width:360px}label{margin:0 0 7px 2px;font-size:13px}.fields{display:grid;grid-template-columns:1fr;gap:9px}input,button{width:100%;height:50px;border-radius:14px;font-size:16px}input{padding:0 15px}button{padding:0 18px;font-size:15px}.message{max-width:360px;margin-top:9px;padding:9px 12px;font-size:13px}.privacy{max-width:340px;margin-top:12px;font-size:10px;line-height:1.4}footer{display:none}}
@media(max-width:640px) and (orientation:portrait) and (max-height:700px){main{padding:6px 10px}.card{padding:14px 16px 12px;border-radius:22px}.brand{gap:2px;font-size:13px}.brand img{width:46px;height:46px}.status{margin-top:6px;padding:4px 9px}h1{margin:8px auto 6px;font-size:clamp(30px,9.5vw,38px)}.lede{margin-bottom:10px;font-size:13px;line-height:1.35}.fields{gap:7px}input,button{height:46px}.privacy{margin-top:7px;font-size:9px}}
@media(max-width:640px) and (orientation:portrait) and (max-height:580px){.card{padding:9px 14px 8px}.brand img{width:36px;height:36px}.status{margin-top:3px}h1{margin:5px auto 4px;font-size:28px}.lede{font-size:11px;margin-bottom:6px}label{margin-bottom:3px}.fields{grid-template-columns:minmax(0,1fr) auto;gap:6px}input,button{height:42px}button{width:auto}.privacy{margin-top:4px;font-size:8px}}
