.ds-contact-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  overflow: hidden;
}

.ds-contact-hero {
  margin-bottom: 34px;
}

.ds-contact-form {
  display: grid;
  gap: 28px;
}

.ds-contact-fieldset {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 34px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .96) 0%,
      rgba(245, 249, 255, .92) 100%
    );
  border: 1px solid rgba(11, 79, 159, .10);
  border-radius: 28px;
  box-shadow:
    0 18px 48px rgba(6, 24, 51, .08),
    inset 0 1px 0 rgba(255, 255, 255, .75);
}

.ds-contact-legend {
  padding: 0 10px;
  color: var(--ds-navy);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.ds-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ds-field {
  display: grid;
  gap: 10px;
}

.ds-field span {
  color: var(--ds-navy);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.ds-field input,
.ds-field select,
.ds-field textarea {
  width: 100%;
  min-height: 58px;
  padding: 16px 18px;
  color: var(--ds-ink);
  font-size: .96rem;
  font-family: inherit;
  line-height: 1.5;
  background: #ffffff;
  border: 1px solid #d4dfec;
  border-radius: 18px;
  box-shadow:
    inset 0 1px 2px rgba(6, 24, 51, .03);
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    transform .18s ease;
}

.ds-field textarea {
  min-height: 220px;
  resize: vertical;
}

.ds-field input::placeholder,
.ds-field textarea::placeholder {
  color: #7b8ca5;
}

.ds-field input:hover,
.ds-field select:hover,
.ds-field textarea:hover {
  border-color: rgba(0, 108, 255, .28);
}

.ds-field input:focus,
.ds-field select:focus,
.ds-field textarea:focus {
  border-color: rgba(0, 108, 255, .72);
  background: #ffffff;
  box-shadow:
    0 0 0 5px rgba(0, 108, 255, .12),
    0 12px 28px rgba(0, 108, 255, .08);
  outline: none;
}

.ds-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #445872;
  font-size: .92rem;
  line-height: 1.5;
}

.ds-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ds-blue);
}

.tool-actions {
  display: flex;
  justify-content: flex-start;
}

.tool-actions .tool-button {
  min-width: 240px;
}

.form-notice {
  margin: 0;
  color: #60738d;
  font-size: .88rem;
  line-height: 1.6;
}

@media (max-width: 760px) {

  .ds-contact-shell {
    padding: 22px;
  }

  .ds-contact-grid {
    grid-template-columns: 1fr;
  }

  .ds-contact-fieldset {
    padding: 24px;
    border-radius: 22px;
  }

  .tool-actions .tool-button {
    width: 100%;
    min-width: 0;
  }
}