.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero__container {
  position: relative;
  z-index: 1;
}

.hero__dots {
  position: absolute;
  z-index: 0;
  width: 350px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.hero__dots--top {
  top: 0;
  left: 44%;
  transform: translateX(-48%);
  width: 350px;
  height: auto;
  z-index: 2;
}

.hero__dots--left {
  top: 465px;
  left: -215px;
}

.hero__main {
  display: grid;
  align-items: start;
  gap: 0;
  grid-template-columns: minmax(0, 0.96fr) minmax(540px, 1.04fr);
}

.hero__content {
  min-width: 0;
}

.hero__audience {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}

.hero__audience span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: rgba(250, 250, 251, 0.82);
  font-weight: 800;
  line-height: 1.2;
}

.hero__title {
  display: grid;
  justify-items: start;
  margin-bottom: 28px;
}

.hero__title > span:not(.hero__title-accent) {
  display: block;
}

.hero__title-accent {
  display: inline-block;
  max-width: 100%;
  margin-top: 8px;
  margin-left: -28px;
  padding: 7px 22px 9px 28px;
  border-right: 4px solid var(--color-accent);
  background: var(--color-accent-soft);

}

.hero__description {
  max-width: 600px;
  margin-bottom: 38px;
}

.hero__actions {
  display: flex;
  gap: 20px;
}

.hero__benefits {
  display: grid;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero__benefit {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 10px;
  padding-inline: 18px;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.hero__benefit:first-child {
  padding-left: 0;
}

.hero__benefit:last-child {
  padding-right: 0;
}

.hero__benefit img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.hero__visual {
  min-width: 0;
}

.hero__visual img {
  width: 100%;
  height: auto;
}

@media (min-width: 1021px) {
  .dacon-page .hero__main {
    align-items: center;
  }

  .dacon-page .hero__title-accent {
    font-size: 41px;
  }
}


@media (max-width: 1250px) {
  .hero__main {
    gap: 34px;
    grid-template-columns: minmax(0, 1fr) minmax(440px, 0.9fr);
  }

}

@media (max-width: 1020px) {
  .hero__main {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: 760px;
  }

  .hero__visual {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .hero__dots--top {
    top: -300px;
    left: 72%;
  }

  .hero__dots--left {
    top: 430px;
  }
}

@media (max-width: 767px) {
  .hero__dots {
    width: 540px;
  }

  .hero__dots--top {
    top: -250px;
    left: 76%;
  }

  .hero__dots--left {
    top: 425px;
    left: -390px;
  }

  .hero__audience {
    gap: 8px;
    margin-bottom: 28px;
  }

  .hero__audience span {
    min-height: 38px;
    padding-inline: 18px;
  }

  .hero__title {
    margin-bottom: 24px;
  }

  .hero__title-accent {
    margin-left: -10px;
    padding: 7px 15px 8px 10px;
    border-right-width: 3px;

  }

  .hero__description {
    margin-bottom: 28px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero__button {
    width: 100%;
    flex: none;
  }

  .hero__benefits {
    margin-bottom: 28px;
  }

  .hero__benefit {
    gap: 8px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .hero__benefit img {
    width: 38px;
    height: 38px;
  }

  .hero__main {
    gap: 40px;
  }

}

@media (max-width: 480px) {
  .hero__audience {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero__audience span {
    padding-inline: 10px;
    font-size: 12px;
    text-align: center;
  }
}

@media (max-width:380px) {
  .hero__audience{
    display: none;
  }
}
