.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.grid1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* < 1024px: tighter gap */
@media (max-width: 1023px) {
  .grid2 {
    gap: 12px;
  }
}

/* < 640px: инпуты в колонку */
@media (max-width: 639px) {
  .grid2 {
    grid-template-columns: 1fr;
  }
}
