.tskz {
  scroll-margin-top: 100px;
  margin: 24px 0 32px;
}

.tskz * {
  box-sizing: border-box;
}

.tskz__wrap {
  padding: 28px;
  border: 1px solid #ddd5c8;
  border-radius: 18px;
  background: #ffffff;
}

.tskz__eyebrow {
  margin: 0 0 8px;
  color: #16335b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tskz__title {
  margin: 0 0 8px;
  color: #16335b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
}

.tskz__subtitle {
  margin: 0 0 24px;
  max-width: 760px;
  color: #6f6a62;
  line-height: 1.6;
}

.tskz__progress {
  height: 8px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: #efe7dc;
  overflow: hidden;
}

.tskz__progress_bar {
  width: 14.28%;
  height: 100%;
  background: #16335b;
  transition: width 0.25s ease;
}

.tskz__step_meta {
  margin-bottom: 10px;
  color: #16335b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tskz__step_title {
  margin: 0 0 8px;
  color: #16335b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.15;
}

.tskz__step_description {
  margin: 0 0 20px;
  color: #6f6a62;
  line-height: 1.6;
}

.tskz__options {
  display: grid;
  gap: 12px;
}

.tskz__option {
  display: block;
  cursor: pointer;
}

.tskz__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tskz__option_content {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid #ddd5c8;
  border-radius: 14px;
  background: #ffffff;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.tskz__option input:checked + .tskz__option_content {
  border-color: #16335b;
  background: #eef2f8;
}

.tskz__option:hover .tskz__option_content {
  transform: translateY(-1px);
}

.tskz__option_label {
  font-weight: 600;
}

.tskz__option_check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid #ddd5c8;
  border-radius: 999px;
  background: #ffffff;
  position: relative;
}

.tskz__option input:checked + .tskz__option_content .tskz__option_check {
  border-color: #16335b;
  background: #16335b;
}

.tskz__option input:checked + .tskz__option_content .tskz__option_check::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: #ffffff;
}

.tskz__form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.tskz__field {
  display: grid;
  gap: 6px;
}

.tskz__label {
  font-size: 14px;
  font-weight: 600;
  color: #1f2530;
}

.tskz__input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #16335b;
  border-radius: 12px;
  font: inherit;
  color: #1f2530;
  background: #ffffff;
}

.tskz__help {
  color: #6f6a62;
  font-size: 13px;
  line-height: 1.5;
}

.tskz__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.tskz__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 12px;
  background: #c74a2c;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.tskz__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.tskz__button_ghost {
  background: #ffffff;
  color: #16335b;
  border: 1px solid #d8dee8;
}

.tskz__invalid .tskz__card,
.tskz__form_invalid {
  animation: tskz_shake 0.28s linear;
}

@keyframes tskz_shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

@media (max-width: 900px) {
  .tskz__wrap {
    padding: 22px 18px;
  }

  .tskz__nav {
    flex-direction: column;
  }

  .tskz__button {
    width: 100%;
  }
}
