/* The archive layer, on top of the Webflow export and nothing inside it:
   the entrance card on the home page, the note on the other pages, the demo
   form that sends nothing, the count-up on the stats, and the demo popup's frame.
   Below 480px the site sets 1rem = 1vw, so every size is restated there in vw. */

:root {
  --ar-ease: cubic-bezier(.625, .05, 0, 1);
  --ar-ink: #161108;
}

/* ---------- the veil: in place before the first paint, so the site never flashes ---------- */

html.ar-veiled body::after,
.ar-veil {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background-color: rgba(248, 248, 248, .62);
  -webkit-backdrop-filter: blur(26px) saturate(1.15);
  backdrop-filter: blur(26px) saturate(1.15);
}

html.ar-veiled body::after {
  content: "";
}

html.ar-lock,
html.ar-lock body {
  overflow: hidden !important;
}

.ar-veil {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
  overscroll-behavior: contain;
  transition: background-color .9s var(--ar-ease), -webkit-backdrop-filter .9s var(--ar-ease), backdrop-filter .9s var(--ar-ease);
}

.ar-veil.is-clearing {
  background-color: rgba(248, 248, 248, 0);
  -webkit-backdrop-filter: blur(0) saturate(1);
  backdrop-filter: blur(0) saturate(1);
  pointer-events: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html.ar-veiled body::after,
  .ar-veil {
    background-color: rgba(248, 248, 248, .96);
  }
}

/* ---------- the entrance card ---------- */

.ar-card {
  position: relative;
  width: 100%;
  max-width: 36rem;
  max-height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 3rem 3rem 2.4rem;
  color: var(--ar-ink);
  background: #fff;
  border: 1px solid rgba(22, 17, 8, .06);
  border-radius: .5rem;
  box-shadow: 0 1px 2px rgba(22, 17, 8, .04), 0 24px 64px -24px rgba(22, 17, 8, .18);
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .9s var(--ar-ease), transform .9s var(--ar-ease);
}

.ar-veil.is-in .ar-card {
  opacity: 1;
  transform: none;
}

.ar-veil.is-out .ar-card {
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(.985);
  transition-duration: .5s;
}

/* every block rises out of its own mask */
.ar-m {
  overflow: hidden;
  padding-bottom: .15em;
  margin-bottom: -.15em;
}

.ar-m > * {
  transform: translate3d(0, 110%, 0);
  transition: transform .9s var(--ar-ease) var(--d, 0s);
}

.ar-veil.is-in .ar-m > * {
  transform: none;
}

.ar-veil.is-settled .ar-m {
  overflow: visible;
}

.ar-veil.is-out .ar-m > * {
  opacity: 0;
  transform: translate3d(0, -24%, 0);
  transition: transform .45s var(--ar-ease), opacity .3s ease;
}

.ar-icon-wrap {
  width: 3.6rem;
  height: 3.6rem;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .7s var(--ar-ease) .15s, transform .9s var(--ar-ease) .15s;
}

.ar-veil.is-in .ar-icon-wrap {
  opacity: 1;
  transform: none;
}

.ar-veil.is-out .ar-icon-wrap {
  opacity: 0;
  transform: scale(.85);
  transition: opacity .3s ease, transform .45s var(--ar-ease);
}

.ar-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.ar-m--label {
  margin-top: 5.5rem;
}

.ar-label {
  display: inline-block;
  padding: .33rem .42rem .26rem;
  color: var(--ar-ink);
  background: #e1f277;
  border-radius: .3rem;
  font-family: Formadjrdisplay, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04rem;
}

.ar-m--title {
  margin-top: 1.2rem;
}

.ar-card .ar-title {
  margin: 0;
  color: var(--ar-ink);
  font-family: Formadjrdisplay, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: .02rem;
}

.ar-m--body {
  margin-top: 1.2rem;
}

.ar-card .ar-body {
  margin: 0;
  color: rgba(22, 17, 8, .78);
  font-family: Formadjrmicro, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .012rem;
}

.ar-card .ar-body a {
  color: var(--ar-ink);
  text-decoration: underline;
  text-underline-offset: .18em;
}

.ar-m--cta {
  margin-top: 2.4rem;
}

.ar-card .ar-cta {
  width: 100%;
  height: 2.6rem;
  min-width: 0;
  margin: 0;
  border: 0;
  cursor: pointer;
  border-radius: calc(.156vw + 1px);
  font-size: .89rem;
  letter-spacing: .04rem;
}

.ar-m--back {
  margin-top: 1.3rem;
  text-align: center;
}

.ar-back {
  display: inline-block;
  color: rgba(22, 17, 8, .6);
  font-family: Formadjrmicro, sans-serif;
  font-size: .83rem;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: rgba(22, 17, 8, .22);
  text-underline-offset: .25em;
  transition: color .3s;
}

.ar-back:hover {
  color: rgba(22, 17, 8, .85);
}

.ar-card .ar-cta:focus-visible,
.ar-card a:focus-visible,
.ar-note a:focus-visible,
.ar-note-close:focus-visible {
  outline: 2px solid var(--ar-ink);
  outline-offset: 3px;
}

.ar-card .ar-cta[data-quiet]:focus-visible {
  outline: none;
}

/* short screens (a phone on its side, a small laptop window) */
@media screen and (min-width: 480px) and (max-height: 620px) {
  .ar-veil {
    padding: .6rem 1rem;
  }

  .ar-card {
    padding: 1.8rem 2.2rem 1.6rem;
  }

  .ar-icon-wrap {
    width: 2.6rem;
    height: 2.6rem;
  }

  .ar-m--label {
    margin-top: 1.6rem;
  }

  .ar-card .ar-title {
    font-size: 1.6rem;
  }

  .ar-m--cta {
    margin-top: 1.6rem;
  }
}

/* ---------- the note on every other page ---------- */

.ar-note {
  position: fixed;
  left: 1.33rem;
  bottom: 1.33rem;
  z-index: 250;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: calc(100% - 2.66rem);
  max-width: 25rem;
  padding: 1.2rem 3.6rem 1.25rem 1.2rem;
  color: var(--ar-ink);
  background: #fff;
  border: 1px solid rgba(22, 17, 8, .06);
  border-radius: .5rem;
  box-shadow: 0 1px 2px rgba(22, 17, 8, .04), 0 18px 48px -18px rgba(22, 17, 8, .22);
  opacity: 0;
  transform: translate3d(0, calc(100% + 2rem), 0);
  transition: opacity .9s var(--ar-ease), transform .9s var(--ar-ease);
}

.ar-note.is-in {
  opacity: 1;
  transform: none;
}

.ar-note.is-out {
  opacity: 0;
  transform: translate3d(0, 40%, 0);
  transition-duration: .45s;
}

.ar-note-icon {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
}

.ar-note-copy {
  min-width: 0;
}

.ar-note .ar-label {
  padding: .28rem .36rem .22rem;
  border-radius: .26rem;
  font-size: .66rem;
}

.ar-note .ar-note-title {
  margin: .6rem 0 0;
  color: var(--ar-ink);
  font-family: Formadjrdisplay, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .01rem;
}

.ar-note .ar-back {
  margin-top: .75rem;
  font-size: .78rem;
}

.ar-note-close {
  position: absolute;
  top: .9rem;
  right: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 1.66rem;
  padding: 0;
  border: 0;
  border-radius: .166667rem;
  background: #f4f4f4;
  cursor: pointer;
  transition: background-color .3s;
}

.ar-note-close:hover {
  background: #e9e9e9;
}

.ar-note-close svg {
  display: block;
  width: .5rem;
  height: .5rem;
}

/* ---------- the demo form sends nothing ---------- */

.contact-form .submit-button[aria-disabled="true"],
.contact-form .submit-button[aria-disabled="true"]:hover {
  opacity: .4;
  cursor: not-allowed;
  background-color: #effc3a;
}

/* ---------- the demo popup: darker room, and the same air on the right as above and below.
   100vw counted the scrollbar, which cut the panel's right edge where scrollbars show. ---------- */

html .contat-wrap {
  width: auto;
  background-color: rgba(0, 0, 0, .45);
}

@media screen and (min-width: 480px) {
  html .contat-wrap {
    padding-right: .333333rem;
  }
}

/* ---------- the count-up on 47% and 94%, as on the Webflow original ---------- */

.count-wrap {
  z-index: 99;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  height: 1em;
  overflow: hidden;
}

.count-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
}

.count-item > div {
  transform: translate3d(0, 0, 0);
}

.count-wrap.is-on .count-item > div {
  transform: translate3d(0, var(--to), 0);
  transition: transform var(--dur) cubic-bezier(.22, .61, .36, 1);
}

.ar-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- phones: the site measures in vw here ---------- */

@media screen and (max-width: 479px) {
  .ar-veil {
    padding: 6.4vw;
  }

  .ar-card {
    max-width: none;
    padding: 6.4vw 6.4vw 5.4vw;
    border-radius: 1.867vw;
    box-shadow: 0 1px 2px rgba(22, 17, 8, .04), 0 6vw 16vw -6vw rgba(22, 17, 8, .2);
  }

  .ar-icon-wrap {
    width: 14vw;
    height: 14vw;
  }

  .ar-m--label {
    margin-top: 12vw;
  }

  .ar-label {
    padding: 1.2vw 1.5vw 1vw;
    border-radius: 1.067vw;
    font-size: 3.2vw;
    letter-spacing: .15vw;
  }

  .ar-m--title {
    margin-top: 3.6vw;
  }

  .ar-card .ar-title {
    font-size: 7.4vw;
    letter-spacing: .1vw;
  }

  .ar-m--body {
    margin-top: 3.6vw;
  }

  .ar-card .ar-body {
    font-size: 4vw;
    letter-spacing: .03vw;
  }

  .ar-m--cta {
    margin-top: 6.4vw;
  }

  .ar-card .ar-cta {
    height: 10.4vw;
    border-radius: calc(.8vw + 1px);
    font-size: 3.733vw;
    letter-spacing: .12vw;
  }

  .ar-m--back {
    margin-top: 4.8vw;
  }

  .ar-back {
    font-size: 3.467vw;
  }

  .ar-note {
    left: 4.267vw;
    right: 4.267vw;
    bottom: 4.267vw;
    width: auto;
    max-width: none;
    gap: 3.2vw;
    padding: 4.267vw 12.8vw 4.8vw 4.267vw;
    border-radius: 1.867vw;
    box-shadow: 0 1px 2px rgba(22, 17, 8, .04), 0 5vw 13vw -5vw rgba(22, 17, 8, .24);
  }

  .ar-note-icon {
    width: 9.6vw;
    height: 9.6vw;
  }

  .ar-note .ar-label {
    padding: 1vw 1.3vw .8vw;
    border-radius: 1.067vw;
    font-size: 2.8vw;
  }

  .ar-note .ar-note-title {
    margin-top: 2.2vw;
    font-size: 4.267vw;
  }

  .ar-note .ar-back {
    margin-top: 2.6vw;
    font-size: 3.467vw;
  }

  .ar-note-close {
    top: 3.2vw;
    right: 3.2vw;
    width: 8vw;
    height: 6.8vw;
    border-radius: .8vw;
  }

  .ar-note-close svg {
    width: 2.2vw;
    height: 2.2vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ar-veil,
  .ar-card,
  .ar-m > *,
  .ar-icon-wrap,
  .ar-note,
  .count-wrap.is-on .count-item > div {
    transition-duration: .01s !important;
    transition-delay: 0s !important;
  }
}
