body > div:first-child {
  overflow-x: clip !important;
}

/* Keep numbered card labels on the site typeface. */
.help-card::before {
  font-family: var(--font-sans);
}

.ctx-person-avatar {
  display: grid !important;
  padding: 0 !important;
  place-items: center !important;
  flex: none;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
  text-align: center;
}

.site-header {
  position: sticky !important;
  top: 0;
  z-index: 100;
}

.use-case-mobile-demo {
  display: none;
}

.use-case-switcher {
  border-top: 1px solid rgba(43, 38, 32, 0.12);
  background: #efe8de;
}

.use-case-switcher-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 60px) 32px;
}

.use-case-switcher-label {
  display: flex;
  margin: 0 0 16px;
  align-items: center;
  gap: 12px;
  color: #a9542c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.use-case-switcher-label::after {
  height: 1px;
  background: rgba(43, 38, 32, 0.14);
  content: "";
  flex: 1;
}

.use-case-switcher-links {
  --switcher-slide-duration: 420ms;
  position: relative;
  display: grid;
  overflow: hidden;
  padding: 6px;
  border: 1px solid rgba(43, 38, 32, 0.15);
  border-radius: 18px;
  background: rgba(248, 244, 237, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  isolation: isolate;
}

.use-case-switcher-link {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  min-height: 94px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  color: #2b2620;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.use-case-switcher-link > span:last-child {
  max-width: 13em;
}

.use-case-switcher-link:not([aria-current="page"])::after {
  position: absolute;
  top: 13px;
  right: 14px;
  color: rgba(43, 38, 32, 0.34);
  content: "↗";
  font-size: 12px;
  font-weight: 600;
  transition: color 160ms ease, opacity 100ms ease;
}

.use-case-switcher-link:not([aria-current="page"]):hover {
  border-color: rgba(43, 38, 32, 0.12);
  background: #f8f4ed;
  color: #2b2620;
}

.use-case-switcher-link:not([aria-current="page"]):hover::after {
  color: #a9542c;
}

.use-case-switcher-link:focus-visible {
  outline: 2px solid #a9542c;
  outline-offset: 2px;
}

.use-case-switcher-number {
  color: rgba(43, 38, 32, 0.38);
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 600;
}

.use-case-switcher-link[aria-current="page"] {
  border-color: #2b2620;
  background: #2b2620;
  color: #f5f0e9;
}

.use-case-switcher-link[aria-current="page"]::after {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #b8c5b3;
  content: "Current";
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: opacity 100ms ease;
}

.use-case-switcher-link[aria-current="page"]:hover {
  background: #2b2620;
  color: #f5f0e9;
}

.use-case-switcher-link[aria-current="page"] .use-case-switcher-number {
  color: rgba(245, 240, 233, 0.52);
}

.use-case-switcher-slider {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  border: 1px solid #2b2620;
  border-radius: 12px;
  background: #2b2620;
  pointer-events: none;
  transition:
    transform var(--switcher-slide-duration)
      cubic-bezier(0.22, 0.61, 0.36, 1),
    width var(--switcher-slide-duration) cubic-bezier(0.22, 0.61, 0.36, 1),
    height var(--switcher-slide-duration) cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform, width, height;
}

.use-case-switcher-links.is-transitioning {
  cursor: progress;
}

.use-case-switcher-links.is-transitioning .use-case-switcher-link {
  pointer-events: none;
}

.use-case-switcher-links.is-transitioning
  .use-case-switcher-link[aria-current="page"] {
  border-color: transparent;
  background: transparent;
  color: #2b2620;
  transition: color 140ms ease 100ms;
}

.use-case-switcher-links.is-transitioning
  .use-case-switcher-link[aria-current="page"]::after,
.use-case-switcher-links.is-transitioning
  .use-case-switcher-link.is-transition-target::after {
  opacity: 0;
}

.use-case-switcher-links.is-transitioning
  .use-case-switcher-link.is-transition-target {
  border-color: transparent;
  background: transparent;
  color: #f5f0e9;
  transition: color 140ms ease 170ms;
}

@media (min-width: 769px) and (max-width: 1020px) {
  .use-case-switcher-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .use-case-switcher-link {
    min-height: 88px;
  }
}

@media (max-width: 768px) {
  .site-nav {
    gap: 10px !important;
  }

  .nav-logo {
    margin-right: auto;
  }

  .use-case-mobile-demo {
    display: inline-flex;
    min-height: 40px;
    margin: 0 !important;
    padding: 0 14px !important;
    font-size: 12.5px;
    white-space: nowrap;
  }

  .nav-links .nav-cta {
    display: none;
  }

  .use-case-switcher-shell {
    padding: 34px 20px 38px;
  }

  .use-case-switcher-links {
    display: flex;
    overflow-x: auto;
    padding: 5px;
    border-radius: 16px;
    gap: 5px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .use-case-switcher-links::-webkit-scrollbar {
    display: none;
  }

  .use-case-switcher-link {
    min-height: 88px;
    padding: 14px;
    flex: 0 0 194px;
    scroll-snap-align: start;
  }

  .use-case-switcher-link[aria-current="page"] {
    order: -1;
  }
}

@media (max-width: 430px) {
  .use-case-mobile-demo {
    min-height: 38px;
    padding: 0 11px !important;
    font-size: 11.5px;
  }

  .use-case-switcher-link {
    flex-basis: 184px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .use-case-switcher-link,
  .use-case-switcher-slider {
    transition: none;
  }
}
