#rmi-popup[hidden], #rmi-popup [hidden]{display:none!important}
html.rmi-scroll-lock{overflow:hidden!important;overscroll-behavior:none}
#rmi-popup, #rmi-popup *{box-sizing:border-box}
#rmi-popup{--rmi-blue:#2AB6E8;--rmi-navy:#0A0F1E;--rmi-border:#DEE5EB;position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(10,15,30,.68);backdrop-filter:blur(4px);font-family:Inter,Arial,sans-serif;color:#1C2131;line-height:1.5;animation:rmi-fade .22s ease both}
#rmi-popup .rmi-panel{position:relative;width:min(100%,560px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;background:#fff;border-radius:12px;box-shadow:0 24px 80px #0005;animation:rmi-rise .28s ease both;outline:none;text-align:left}
#rmi-popup .rmi-header{position:relative;background:linear-gradient(125deg,#0A0F1E,#142a40);border-top:4px solid var(--rmi-blue);padding:24px 66px 20px 28px;color:#fff}


#rmi-popup .rmi-close{position:absolute;top:12px;right:12px;width:42px;height:42px;display:grid;place-items:center;padding:0;border:1px solid #ffffff55;border-radius:50%;color:white;background:#ffffff12;font:400 30px/1 Arial,sans-serif;cursor:pointer;box-shadow:none}
#rmi-popup .rmi-close:hover{background:#ffffff30}
#rmi-popup .rmi-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#66d4fa;margin-bottom:4px}
#rmi-popup h2{font-family:'Barlow Condensed','Arial Narrow',Inter,Arial,sans-serif;font-weight:700;font-size:clamp(27px,5vw,36px);line-height:1.1;letter-spacing:.1px;color:white;margin:0 0 8px}
#rmi-popup .rmi-header p{color:#e3ebf2;font-size:13px;line-height:1.55;margin:0;max-width:450px}
#rmi-popup .rmi-body{padding:21px 28px 18px;background:#fff}
#rmi-popup .wpcf7{margin:0}
#rmi-popup .wpcf7 form{margin:0;font-size:14px;color:#1C2131}
#rmi-popup .wpcf7 form p{margin:0 0 12px;line-height:1.5}
#rmi-popup .wpcf7 form p:last-of-type{margin-bottom:0}
#rmi-popup .wpcf7 label{font-size:13px;font-weight:600;color:#1C2131;display:block;margin:0}
#rmi-popup .wpcf7 input:not([type=submit]):not([type=button]):not([type=reset]):not([type=checkbox]):not([type=radio]):not([type=hidden]),#rmi-popup .wpcf7 select,#rmi-popup .wpcf7 textarea{width:100%;max-width:100%;min-width:0;min-height:43px;background:#F4F8FB;color:#1C2131;border:1px solid #DEE5EB;border-radius:5px;box-shadow:none;padding:10px 12px;font:400 14px/1.4 Inter,Arial,sans-serif;margin:3px 0 0;outline-offset:2px}
#rmi-popup .wpcf7 textarea{min-height:85px;height:90px;resize:vertical}
#rmi-popup .wpcf7 input[type=checkbox],#rmi-popup .wpcf7 input[type=radio]{accent-color:#1682ad;width:auto;height:auto;margin-right:5px}
#rmi-popup .wpcf7 .wpcf7-list-item{margin:0 10px 5px 0}
#rmi-popup .wpcf7 .wpcf7-list-item label{display:inline-flex;align-items:flex-start;gap:4px;font-weight:400}
#rmi-popup .wpcf7 input:focus,#rmi-popup .wpcf7 select:focus,#rmi-popup .wpcf7 textarea:focus{border-color:#1599c9;outline:2px solid #2AB6E855}
#rmi-popup .wpcf7 input[type=submit],#rmi-popup .wpcf7 button[type=submit],#rmi-popup .rmi-home-link{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:46px;border:0;border-radius:5px;background:#2AB6E8;color:#0A0F1E;font:700 14px/1.3 Inter,Arial,sans-serif;cursor:pointer;padding:12px 15px;text-decoration:none;box-shadow:none;white-space:normal}
#rmi-popup .wpcf7 input[type=submit]:hover,#rmi-popup .wpcf7 button[type=submit]:hover,#rmi-popup .rmi-home-link:hover{background:#59cdf4;color:#0A0F1E}
#rmi-popup .wpcf7 input[type=submit]:disabled,#rmi-popup .wpcf7 button[type=submit]:disabled{opacity:.55;cursor:not-allowed}
#rmi-popup .wpcf7-not-valid-tip{font-size:12px;margin:4px 0;color:#b42318}
#rmi-popup .wpcf7 form .wpcf7-response-output{margin:10px 0 0;padding:9px 12px;font-size:13px;border-radius:4px}
#rmi-popup .rmi-footer{padding:13px 16px;background:#F4F8FB;border-top:1px solid #DEE5EB;color:#526171;font-size:12px;text-align:center}
#rmi-popup .rmi-footer a{font-weight:700;color:#125e80;text-decoration:none;white-space:nowrap}
#rmi-popup .rmi-success{text-align:center;padding:18px 0;outline:none}
#rmi-popup .rmi-check{display:inline-grid;place-items:center;width:60px;height:60px;border-radius:50%;background:#e0f6ef;color:#15805c;font-size:32px;margin-bottom:12px}
#rmi-popup .rmi-success h3{font-size:24px;font-weight:700;color:#0A0F1E;margin:0 0 8px;line-height:1.2}
#rmi-popup .rmi-success p{font-size:14px;margin:0 0 12px;color:#526171}
#rmi-popup .rmi-success .rmi-redirect-text{font-size:12px}
#rmi-popup .rmi-home-link{width:auto;margin-top:3px}
#rmi-popup button:focus-visible,#rmi-popup a:focus-visible{outline:3px solid #2AB6E8;outline-offset:3px}
@media(max-width:600px){#rmi-popup{padding:10px}#rmi-popup .rmi-panel{max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);border-radius:9px}#rmi-popup .rmi-header{padding:20px 61px 15px 17px}#rmi-popup .rmi-body{padding:15px 17px}#rmi-popup .rmi-close{top:9px;right:9px}#rmi-popup .wpcf7 input:not([type=submit]):not([type=button]):not([type=reset]):not([type=checkbox]):not([type=radio]):not([type=hidden]),#rmi-popup .wpcf7 select,#rmi-popup .wpcf7 textarea{font-size:16px}#rmi-popup .rmi-header p{font-size:12px}}
@keyframes rmi-fade{from{opacity:0}to{opacity:1}}@keyframes rmi-rise{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#rmi-popup,#rmi-popup .rmi-panel{animation:none}}
