/* Digital assets hero: the playbook pill as a working form.

   The pill keeps its treasurup.css look through .hero-pb. Only the form inside
   it is new. It is a separate copy of the gate's form styling rather than the
   .pb-formwrap class, because the playbook-download snippet claims the first
   .pb-formwrap on the page, and this one would come before the real gate. */

.hero-pb.hero-pbf{display:flex;flex-wrap:wrap;align-items:center;gap:14px 16px;
  width:min(820px,100%);padding:12px 14px}

/* it is a form now, not a link: nothing should lift or light up under the mouse */
.hero-pb.hero-pbf:hover{border-color:var(--dark-line);background:var(--dark-fill);transform:none}

.hero-pbf .hero-pb-txt{flex:1 1 220px}

.hero-pbf-wrap,.hero-pbf-done{flex:1 1 380px;min-width:0}

.hero-pbf .hero-pbf-wrap .elementor-form-fields-wrapper{display:flex;flex-wrap:wrap;gap:10px;
  align-items:stretch;margin:0}
.hero-pbf .hero-pbf-wrap .elementor-field-group{padding:0;margin:0;width:auto}
.hero-pbf .hero-pbf-wrap .elementor-field-type-email{flex:1 1 190px}
.hero-pbf .hero-pbf-wrap .elementor-field-type-hidden{display:none}
.hero-pbf .hero-pbf-wrap .elementor-field-type-submit{flex:0 0 auto;width:auto}
.hero-pbf .hero-pbf-wrap .elementor-field-label{display:none}
.hero-pbf .hero-pbf-wrap .elementor-field-textual{background:#fff;border-color:rgba(255,255,255,.4);
  color:var(--ink);padding:11px 14px;font-size:14.5px}
.hero-pbf .hero-pbf-wrap .elementor-field-textual:focus{border-color:var(--t3);
  box-shadow:0 0 0 3px rgba(181,217,253,.3)}
.hero-pbf .hero-pbf-wrap .elementor-field-textual.elementor-error{border-color:#F0A08C}
.hero-pbf .hero-pbf-wrap .elementor-button{background:var(--t3);border-color:var(--t3);
  color:var(--deep)!important;padding:11px 20px;font-size:14.5px;white-space:nowrap}
.hero-pbf .hero-pbf-wrap .elementor-button:hover{background:#fff;border-color:#fff;color:var(--deep)!important}
.hero-pbf .hero-pbf-wrap .elementor-message{width:100%;font-size:13px;margin:2px 0 0}
.hero-pbf .hero-pbf-wrap .elementor-message-danger,
.hero-pbf .hero-pbf-wrap .elementor-help-inline{color:#F3B7A8}
.hero-pbf .hero-pbf-wrap .elementor-message-success{display:none}

.hero-pbf-done{display:none;align-items:flex-start;gap:10px;font-size:13.5px;line-height:1.5;
  color:var(--on-dark)}
.hero-pbf.is-done .hero-pbf-wrap{display:none}
.hero-pbf.is-done .hero-pbf-done{display:flex}
.hero-pbf-done a{color:var(--t3);text-decoration:underline;text-underline-offset:2px}
.hero-pbf-ico{flex:none;width:22px;height:22px;border-radius:50%;background:var(--t3);
  display:grid;place-items:center}
.hero-pbf-ico svg{width:13px;height:13px;fill:none;stroke:var(--deep);stroke-width:2.4;
  stroke-linecap:round;stroke-linejoin:round}

@media (max-width:600px){
  /* the button goes under the field rather than squeezing beside it */
  .hero-pbf .hero-pbf-wrap .elementor-field-type-submit{flex:1 1 100%}
  .hero-pbf .hero-pbf-wrap .elementor-button{width:100%;justify-content:center}
}
