/* Rebrand footer trigger + popup theme for the unchanged production newsletter-invite.css.
 * Visual only: nothing here hides or alters popup fields, consent text, links or buttons.
 * newsletter-footer.js moves the production "Join our newsletter" button into the footer
 * slot and hides the emptied invitation section. */
[data-tg-newsletter="section"]{display:none!important}

/* Compact footer trigger (the production button, restyled in place). */
.agency-footer .tgn-invite-btn{
  display:inline-flex;align-items:center;gap:10px;
  min-height:44px;padding:0 18px;
  font:600 12px/1 "Century Gothic",Geist,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;
  color:#f7f5fc;background:linear-gradient(#0d1230,#0d1230) padding-box,
    linear-gradient(90deg,#a468ed,#28d8f3) border-box;
  border:1px solid transparent;border-radius:999px;
  transition:background .2s ease,color .2s ease;
}
.agency-footer .tgn-invite-btn::before{
  content:"";flex:0 0 auto;width:7px;height:7px;border-radius:50%;
  background:linear-gradient(135deg,#a468ed,#28d8f3);
}
.agency-footer .tgn-invite-btn:hover{
  opacity:1;color:#070b21;
  background:linear-gradient(90deg,#c9a6ff,#7cebf9) padding-box,linear-gradient(90deg,#a468ed,#28d8f3) border-box;
}
.agency-footer .tgn-invite-btn:hover::before{background:#070b21}
.agency-footer .tgn-invite-btn:focus-visible{outline:2px solid #28d8f3;outline-offset:3px}
@media(max-width:640px){.agency-footer .tgn-invite-btn{width:auto}}

/* Popup */
.tgn-dialog,.tgn-submit{font-family:"Century Gothic",Geist,system-ui,sans-serif}
.tgn-field label,.tgn-consent label,.tgn-success p{color:#b8bdd3}
.tgn-submit{background:#28d8f3;color:#070b21;border:1px solid #7cebf9;border-radius:9px;letter-spacing:.08em}
.tgn-submit:hover{opacity:1;background:#a3f5ff}
.tgn-overlay{background:#030615cd}
.tgn-dialog{background:#111633;border:1px solid #b1a0e53b;border-top-color:#a468ed;border-radius:20px}
.tgn-form input[type=text],.tgn-form input[type=email]{background:#090e28;border-color:#77769a;border-radius:8px}
.tgn-req,.tgn-privacy{color:#28d8f3}
.tgn-consent input{accent-color:#28d8f3}
.tgn-submit:focus-visible,.tgn-close:focus-visible,
.tgn-form input:focus-visible,.tgn-form a:focus-visible{outline-color:#28d8f3}

@media(max-width:640px){.tgn-dialog{border-radius:16px 16px 0 0}}
@media(prefers-reduced-motion:reduce){.agency-footer .tgn-invite-btn{transition:none}}
