*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Playfair Display";
  background: #eaeffd;
  color: #1a1a1a;
  padding: 2rem 1rem;
}

.survey-wrap {
  max-width: 620px;
  margin: 0 auto;
}

.survey-header {
  margin-bottom: 1.5rem;
}

.survey-header h1 {
  font-size: 2rem;
  font-weight: 500;
  font-family: "Press Start 2P";
  margin-bottom: 1.5rem;
}

.survey-header p {
  font-size: 14px;
  text-align: justify;
  font-family: "Playfair Display";
  color: #555;
  line-height: 1.6;
}

#survey-form {
  background: #ffffff;
  border: 2px solid #ccd9fd;
  border-radius: 12px;
  padding: 1.5rem;
}

.question {
  padding: 1.25rem 0;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.12);
  margin-bottom: 0;
}

.question:last-of-type {
  border-bottom: none;
}

.q-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  font-family: "Montserrat";
  color: #5962ae;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.question h2 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}

.hint {
  font-size: 13px;
  color: #666;
  margin-bottom: 1rem;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 0.75rem;
}

.field-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

input[type="text"] {
  width: 100%;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a1a;
  background: #f3f6fe;
  border: 1.5px solid #ccd9fd;
  border-radius: 8px;
  border-style: solid none;
  padding: 8px 12px;
  outline: none;
}

input[type="text"]:focus {
  border-color: #89a8ff;
}

.check-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 0.75rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 4px 6px;
  margin: 0 -6px;
  width: fit-content;
}

.check-item input {
  width: 15px;
  height: 15px;
  cursor: pointer;
  accent-color: #1a1a1a;
}

.check-item span {
  font-size: 14px;
}

.check-item:hover {
  background: #e1e8fd;
  border-radius: 6px;
  width: fit-content;
  transition: background 0.3s ease;
}

.divider {
  border: none;
  border-top: 0.5px solid #ccd9fd;
  margin: 4px 0;
}

textarea {
  width: 100%;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a1a;
  background: #f3f6fe;
  border: 1.5px solid #ccd9fd;
  border-style: solid none;
  border-radius: 8px;
  padding: 10px 12px;
  resize: vertical;
  min-height: 80px;
  margin-top: 0.75rem;
  outline: none;
}

textarea:focus {
  border-color: #89a8ff;
}

select {
  width: 100%;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a1a;
  background: #f3f6fe;
  border: 1.5px solid #ccd9fd;
  border-style: solid none;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 0.75rem;
  appearance: none;
  cursor: pointer;
  outline: none;
}

select:focus {
  border-color: #89a8ff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}

.btn-submit {
  background: #89a8ff;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 18px;
  font-family: Montserrat;
  font-weight: 500;
  cursor: pointer;
}

.btn-submit:hover {
  background: #9db7fe;
  transition: background 0.2s ease;
}

.btn-reset {
  background: transparent;
  color: #666;
  border: 0.5px solid rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 18px;
  font-family: Montserrat;
  cursor: pointer;
}

.btn-reset:hover {
  background: #eef3ff;
  transition: background 0.2s ease;
}

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