/* Website forms (/assets/forms.js): field errors, the sending state and the thank-you note. Calm, no jumps:
   the form fades out and the note fades in where the form was. */
.sl-trap{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}

/* a field to fix: a red hairline, no shaking */
form[data-sl-form] .f.bad input,form[data-sl-form] .f.bad textarea{box-shadow:inset 0 0 0 1px rgba(242,84,91,.85)!important;border-color:rgba(242,84,91,.85)!important}
form[data-sl-form] .f.bad label{color:#F2545B!important}
.sl-err{grid-column:1/-1;margin-top:12px;font-size:13.5px;line-height:1.5;color:#F2545B;min-height:0}
.sl-err:empty{display:none}
.sl-err a{color:#fff;border-bottom:1px solid rgba(242,84,91,.7)}

/* sending: the button stays where it is and calms down */
form[data-sl-form].sending [type="submit"]{opacity:.7;cursor:progress;filter:saturate(.8)}

/* thank-you */
form[data-sl-form]{transition:opacity .35s ease}
form[data-sl-form].sl-out>*:not(.grain):not(.rim2):not(.sheen){opacity:0;transition:opacity .3s ease}
form[data-sl-form].sl-done{display:grid;place-items:center}
.sl-thanks{position:relative;z-index:1;display:grid;justify-items:center;text-align:center;gap:12px;padding:clamp(28px,5vh,48px) clamp(20px,3vw,36px);outline:none;
  animation:sl-in .6s cubic-bezier(.22,.8,.24,1) both}
.sl-thanks h3{font-size:clamp(22px,2vw,28px);letter-spacing:-.02em;line-height:1.15;color:#fff}
.sl-thanks p{font-size:15px;line-height:1.6;color:#C9CDD4;max-width:360px}
.sl-tick{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,#F2545B,#A3152A);box-shadow:0 0 30px -6px rgba(226,50,62,.7)}
.sl-tick svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@keyframes sl-in{from{opacity:0;transform:translateY(8px)}}
@media (prefers-reduced-motion:reduce){.sl-thanks{animation:none}form[data-sl-form],form[data-sl-form].sl-out>*{transition:none}}
