html {
  scroll-behavior: smooth;
}

body {
  text-rendering: optimizeLegibility;
}

[data-site-header] {
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.apptrice-header-inner {
  transition: padding-top 180ms ease, padding-bottom 180ms ease;
}

.apptrice-header-logo {
  overflow: hidden;
  transition: height 180ms ease;
}

.free-poc-badge {
  align-items: center;
  animation: free-badge-pop 3s ease-in-out infinite;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28);
  color: #172c58;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  min-width: 3.5rem;
  padding: 0 0.75rem;
  text-transform: uppercase;
}

.floating-contact-button.is-floating {
  box-shadow: 0 22px 55px rgba(37, 99, 235, 0.28);
  cursor: pointer;
  position: fixed;
  transition: left 950ms cubic-bezier(0.22, 1, 0.36, 1), top 950ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 180ms ease, background-color 180ms ease;
  z-index: 80;
}

.mediation-promo-text {
  color: #172c58;
  font-family: "Nunito", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(1rem, 2.5vw, 2.125rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  text-align: center;
  /*text-shadow: 0 12px 28px rgba(37, 99, 235, 0.16);*/
  transform: rotate(-3deg);
  transform-origin: center;
}

.products-menu {
  align-items: center;
  display: inline-flex;
  min-height: 2.5rem;
  position: relative;
}

.products-menu-trigger {
  align-items: center;
  display: inline-flex;
  min-height: 2.5rem;
}

.products-menu::after {
  bottom: -0.9rem;
  content: "";
  height: 1rem;
  left: -1rem;
  position: absolute;
  right: -1rem;
}

.products-submenu {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #eaecf0;
  border-radius: 1.5rem;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
  display: grid;
  gap: 0.25rem;
  left: 50%;
  min-width: 19rem;
  opacity: 0;
  padding: 0.65rem;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 0.65rem);
  transform: translateX(-50%) translateY(0.5rem);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 90;
}

.products-menu:hover .products-submenu,
.products-menu:focus-within .products-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.products-submenu-item {
  align-items: center;
  border-radius: 1rem;
  color: #101828;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 2.25rem 1fr;
  padding: 0.8rem;
  transition: background-color 160ms ease, color 160ms ease;
}

.products-submenu-item:hover,
.products-submenu-item:focus-visible {
  background: #f9fafb;
  color: #1e40af;
}

.products-submenu-icon {
  align-items: center;
  background: #eff6ff;
  border-radius: 0.85rem;
  color: #2563eb;
  display: inline-flex;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.products-submenu-item strong,
.products-submenu-item small {
  display: block;
}

.products-submenu-item strong {
  font-size: 0.92rem;
  line-height: 1.2;
}

.products-submenu-item small {
  color: #667085;
  font-size: 0.75rem;
  line-height: 1.35;
  margin-top: 0.15rem;
}

.product-card {
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
  position: relative;
}

.product-card::before {
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5) 50%, transparent);
  content: "";
  height: 3px;
  left: 1.5rem;
  position: absolute;
  right: 1.5rem;
  top: 0;
}

.product-card:hover {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 26px 70px rgba(16, 24, 40, 0.13);
}

.product-card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 4px;
}

.product-icon {
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.product-feature-list p {
  align-items: flex-start;
  display: flex;
  gap: 0.65rem;
  position: relative;
}

.product-feature-list p::before {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  content: "";
  flex: 0 0 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  width: 1.25rem;
}

.product-feature-list p::after {
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  content: "";
  height: 0.3rem;
  left: 0.38rem;
  position: absolute;
  top: 0.6rem;
  transform: rotate(-45deg);
  width: 0.55rem;
}

@keyframes free-badge-pop {
  0%,
  100% {
    transform: rotate(-4deg) scale(1);
  }

  50% {
    transform: rotate(3deg) scale(1.06);
  }
}

[data-site-header].is-scrolled {
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

[data-site-header].is-scrolled .apptrice-header-inner {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

[data-site-header].is-scrolled .apptrice-header-logo {
  height: 2.5rem;
}

a,
button,
input,
textarea {
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
}

::selection {
  background: rgba(37, 99, 235, 0.18);
}
