.page-header {
  padding: 4rem 0 2rem;
}

.section-head {
  margin: 10rem 0 2.4rem;
  text-align: center;
}

.section-title {
  margin: 0 0 1.2rem;
  font-size: 2.4rem;
  color: var(--text-gray);
  text-align: center;
}

.section-desc {
  margin: 0;
  color: var(--text-gray);
  line-height: 1.8;
  text-align: center;
}

.survey-form .form-shell {
  background: transparent;
  padding: 2.4rem;
  margin: 4rem auto;
  width: 100%;
  max-width: 96rem;
  box-sizing: border-box;
}

.survey-form .form-shell input,
.survey-form .form-shell textarea {
  box-sizing: border-box;
  max-width: 100%;
}

.form-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-section {
  margin-top: 2.4rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.form-field * {
  outline: 0;
}
.form-field textarea {
  resize: none;
}
.form-field input[type="text"],
.form-field textarea {
  padding: 1.4rem 2rem;
  background: #fff;
  border: 0.1rem solid var(--gray-200);
}
.form-field label {
  font-size: 1.4rem;
  color: #fff;
  font-weight: 600;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-label {
  color: #fff;
  font-weight: 600;
  font-size: 1.4rem;
}

.form-error {
  color: #b91c1c;
  font-size: 0.9rem;
}

.form-success {
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  background: #ecfdf3;
  border: 1px solid #16a34a;
  color: #166534;
}

.form-submit {
  margin-top: 1.6rem;
  padding: 1.2rem 2rem;
  background: var(--accent-main);
  color: var(--text-gray);
  border: none;
  cursor: pointer;
}

/* Checkbox group for discovery methods */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.4rem;
  margin-top: 0.8rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 1.8rem;
  height: 1.8rem;
  accent-color: var(--accent-main);
  cursor: pointer;
}

/* Rating radio groups */
.rating-section {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.rating-field {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-field:last-child {
  border-bottom: none;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 3.2rem;
  margin-top: 0.8rem;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  cursor: pointer;
}

.radio-item input[type="radio"] {
  width: 1.8rem;
  height: 1.8rem;
  accent-color: var(--accent-main);
  cursor: pointer;
}

@media (max-width: 767px) {
  .page-header {
    padding: 4rem 0 3rem;
  }
  .section-head {
    margin-top: 2rem;
  }
  .page-survey {
    overflow-x: hidden;
  }
  .form-shell {
    padding: 1.6rem;
    margin: 2rem auto;
    width: 100%;
  }
  .form-shell * {
    width: 100%;
    box-sizing: border-box;
  }
  .form-shell ul input[type="checkbox"],
  .form-shell ul input[type="radio"],
  .checkbox-item input[type="checkbox"],
  .radio-item input[type="radio"] {
    width: -moz-fit-content;
    width: fit-content;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .checkbox-group {
    flex-direction: column;
    gap: 0.8rem;
  }
  .radio-group {
    gap: 0.8rem 2rem;
  }
}
