/* nd gate widget — namespaced ndg-, no external deps */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Lora:wght@500;600;700&display=swap');

#nd-gate{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;
  padding:24px;font-family:'Manrope',-apple-system,system-ui,sans-serif;color:#22303d}
#nd-gate .ndg-scrim{position:absolute;inset:0;background:rgba(10,27,43,.5);
  backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}

#nd-gate .ndg-popup{position:relative;display:none;background:#fff;border-radius:20px;
  box-shadow:0 24px 70px rgba(8,20,35,.45);width:100%;max-width:860px;max-height:100%;overflow:auto;
  grid-template-columns:.86fr 1fr}
#nd-gate .ndg-popup.ndg-show{display:grid;animation:ndg-pop .32s cubic-bezier(.2,.8,.2,1)}
@keyframes ndg-pop{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}

#nd-gate .ndg-brand{padding:34px 30px;color:#fff;position:relative;overflow:hidden;
  background:radial-gradient(circle at 85% 10%,rgba(170,33,132,.45),transparent 50%),
    radial-gradient(circle at 0% 100%,rgba(211,11,90,.30),transparent 46%),
    linear-gradient(160deg,#0d3e67,#0a2e4d)}
#nd-gate .ndg-eyebrow{display:inline-block;font-size:10.5px;font-weight:800;letter-spacing:2px;
  text-transform:uppercase;color:#d30b5a;background:rgba(255,255,255,.96);padding:6px 13px;border-radius:30px}
#nd-gate .ndg-bh{font-family:'Lora',serif;font-size:26px;line-height:1.18;margin:18px 0 14px}
#nd-gate .ndg-blead{font-size:13.5px;color:rgba(255,255,255,.82);line-height:1.55;margin-bottom:22px}
#nd-gate .ndg-brand ul{list-style:none;display:flex;flex-direction:column;gap:13px;margin:0;padding:0}
#nd-gate .ndg-brand li{font-size:13.5px;color:rgba(255,255,255,.92);display:flex;gap:10px;align-items:flex-start;line-height:1.4}
#nd-gate .ndg-brand li b{color:#fff}
#nd-gate .ndg-brand li::before{content:'';flex:0 0 auto;width:20px;height:20px;border-radius:50%;margin-top:1px;
  background:rgba(255,255,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.2 3.2L11 1.4' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat}

#nd-gate .ndg-formside{padding:30px 30px 26px}
#nd-gate .ndg-fttl{font-family:'Lora',serif;font-size:20px;color:#0d3e67;margin-bottom:16px}
#nd-gate .ndg-form{display:flex;flex-direction:column;gap:13px}
#nd-gate .ndg-row2{display:grid;grid-template-columns:1fr 1fr;gap:11px}
#nd-gate .ndg-fld{display:flex;flex-direction:column;gap:6px}
#nd-gate .ndg-lbl{font-size:12.5px;font-weight:700;color:#22303d}
#nd-gate .ndg-lbl i{color:#d30b5a;font-style:normal}
#nd-gate .ndg-lbl em{font-style:normal;font-weight:600;color:#76777b;font-size:11px}
#nd-gate .ndg-inp{font:inherit;font-size:14.5px;color:#22303d;background:#fff;border:1.5px solid #e1e9f0;
  border-radius:11px;padding:11px 13px;width:100%}
#nd-gate .ndg-inp::placeholder{color:#a9b6c4}
#nd-gate .ndg-inp:focus{outline:none;border-color:#aa2184;box-shadow:0 0 0 3px rgba(170,33,132,.12)}
#nd-gate select.ndg-inp{appearance:none;cursor:pointer;padding-right:34px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2376777b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 13px center}
#nd-gate .ndg-seg{display:flex;background:#f1f5f9;border:1px solid #e1e9f0;border-radius:11px;padding:3px;gap:2px}
#nd-gate .ndg-seg button{flex:1;appearance:none;border:none;background:transparent;font:inherit;font-size:13px;
  font-weight:600;color:#475663;padding:8px 4px;border-radius:8px;cursor:pointer}
#nd-gate .ndg-seg button.on{background:#fff;color:#0d3e67;box-shadow:0 1px 5px rgba(13,62,103,.14)}
#nd-gate .ndg-chk{display:flex;gap:10px;align-items:flex-start;cursor:pointer;font-size:12.7px;color:#475663;line-height:1.45}
#nd-gate .ndg-chk input{appearance:none;flex:0 0 auto;width:19px;height:19px;margin-top:1px;border:1.5px solid #c2cedb;
  border-radius:6px;background:#fff;cursor:pointer;position:relative}
#nd-gate .ndg-chk input:checked{background:linear-gradient(90deg,#d30b5a,#aa2184);border-color:transparent}
#nd-gate .ndg-chk input:checked::after{content:'';position:absolute;left:6px;top:2.5px;width:5px;height:9px;
  border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
#nd-gate .ndg-chk a{color:#aa2184;font-weight:600}
#nd-gate .ndg-submit{margin-top:4px;font:inherit;font-size:15.5px;font-weight:700;color:#fff;
  background:linear-gradient(90deg,#d30b5a,#aa2184);border:none;border-radius:12px;padding:14px;cursor:pointer;
  box-shadow:0 8px 22px rgba(211,11,90,.32)}
#nd-gate .ndg-submit:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
#nd-gate .ndg-micro{font-size:11.5px;color:#76777b;text-align:center;line-height:1.45;margin-top:2px}
#nd-gate .ndg-err{font-size:11.5px;color:#d30b5a;font-weight:600}
#nd-gate .ndg-formerr{font-size:12.5px;color:#d30b5a;text-align:center;font-weight:600}
#nd-gate .ndg-inp.bad{border-color:#d30b5a;box-shadow:0 0 0 3px rgba(211,11,90,.10)}

/* mobile — bottom sheet, stacked */
@media(max-width:680px){
  #nd-gate{align-items:flex-end;padding:0}
  #nd-gate .ndg-popup{grid-template-columns:1fr;border-radius:22px 22px 0 0;max-width:none;max-height:94%}
  #nd-gate .ndg-popup.ndg-show{animation:ndg-sheet .34s cubic-bezier(.2,.8,.2,1)}
  @keyframes ndg-sheet{from{transform:translateY(60px)}to{transform:none}}
  #nd-gate .ndg-brand{padding:20px 20px 16px}
  #nd-gate .ndg-bh{font-size:20px;margin:12px 0 8px}
  #nd-gate .ndg-blead{margin-bottom:12px}
  #nd-gate .ndg-brand ul{flex-direction:row;flex-wrap:wrap;gap:8px 14px}
  #nd-gate .ndg-brand li{font-size:11.5px;flex:1 1 42%}
  #nd-gate .ndg-formside{padding:20px}
  #nd-gate .ndg-row2{grid-template-columns:1fr}
}
