.contact-section h2 span {
  color: var(--violet);
}
.contact-section .lead {
  max-width: 56ch;
  font-size: 20px;
  line-height: 1.5;
}
.contact-workbench {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 90px);
  align-items: start;
  margin-top: 42px;
}
.contact-task-picker h3 {
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 10px;
}
.contact-choice-note {
  font-size: 18px;
  line-height: 1.45;
  color: #d4c7df;
  margin-bottom: 22px;
}
.contact-task-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.contact-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 14px 17px;
  border: 1px solid #8b799d;
  border-radius: 0;
  background: #211b29a6;
  color: #f3f0e9;
  font-size: 17px;
  font-weight: 450;
  line-height: 1.35;
  text-align: left;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.contact-task:last-child {
  grid-column: 1 / -1;
}
.contact-task:hover {
  background: #352b42;
  border-color: #c8adf7;
}
.contact-task[aria-pressed="true"] {
  background: #b69cff;
  border-color: #b69cff;
  color: #17101e;
}
.contact-task-check {
  flex: none;
  width: 16px;
  color: currentColor;
  opacity: 0;
  font-size: 18px;
  font-weight: 600;
}
.contact-task > span:first-child {
  min-width: 0;
}
.contact-task[aria-pressed="true"] .contact-task-check {
  opacity: 1;
}
.contact-clear {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: #d3c1e7;
  padding: 10px 0 5px;
  margin-top: 8px;
  min-height: 44px;
  font-size: 16px;
}
.contact-clear:disabled {
  opacity: 0.4;
}
.contact-message-panel {
  padding: 26px;
  border-top: 2px solid #b69cff;
  background: #211a2ae6;
}
.contact-message-panel > label {
  display: block;
  color: #d7bdf2;
  font-size: 18px;
  margin-bottom: 17px;
}
.contact-message-panel textarea {
  display: block;
  width: 100%;
  height: 178px;
  resize: none;
  padding: 16px;
  border: 1px solid #857093;
  border-radius: 0;
  background: #100f1380;
  color: #f3f0e9;
  font-size: 18px;
  line-height: 1.5;
  overflow-y: auto;
}
.contact-message-panel textarea:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}
.contact-copy-row {
  display: grid;
  gap: 3px;
  margin-top: 10px;
  margin-bottom: 18px;
}
.contact-copy-row button {
  justify-self: start;
  border: 0;
  border-bottom: 1px solid #9c84ae;
  background: none;
  padding: 8px 0;
  color: #e1cdef;
  min-height: 44px;
  font-size: 17px;
}
.contact-copy-row [role="status"] {
  display: block;
  min-height: 2.8em;
  color: #dcc7f4;
  font-size: 16px;
  line-height: 1.4;
}
.contact-message-panel .contact-telegram {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  font-size: 17px;
  line-height: 1.4;
  text-align: center;
}
.contact-telegram-hint {
  margin-top: 13px;
  color: #c9b9d5;
  font-size: 16px;
  line-height: 1.45;
}
.contact-section .contact-links {
  border-top: 1px solid #6e597e;
  margin-top: 40px;
  padding-top: 12px;
}
.contact-section .contact-links .contact-link span {
  color: #c8b5db;
  font-size: 17px;
}
.contact-section .contact-links .contact-link strong {
  font-size: 20px;
  line-height: 1.45;
}
@media (max-width: 950px) {
  .contact-workbench {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-message-panel {
    max-width: 680px;
  }
}
@media (max-width: 760px) {
  .contact-section .lead {
    font-size: 18px;
  }
  .contact-workbench {
    margin-top: 30px;
  }
  .contact-task-picker h3 {
    font-size: 26px;
  }
  .contact-choice-note {
    font-size: 17px;
  }
  .contact-task-grid {
    gap: 8px;
  }
  .contact-task {
    min-height: 80px;
    padding: 12px;
    gap: 7px;
    font-size: 17px;
  }
  .contact-task-check {
    width: 12px;
    font-size: 16px;
  }
  .contact-task:last-child {
    min-height: 58px;
  }
  .contact-message-panel {
    padding: 20px 16px;
  }
  .contact-message-panel textarea {
    height: 190px;
    padding: 13px;
    font-size: 17px;
  }
  .contact-message-panel > label {
    font-size: 17px;
  }
  .contact-section .contact-links {
    gap: 16px;
  }
  .contact-section .contact-links .contact-link strong {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .contact-task-grid {
    grid-template-columns: 1fr;
  }
  .contact-task:last-child {
    grid-column: auto;
  }
  .contact-task > span:first-child {
    overflow-wrap: anywhere;
  }
}
