.dea-ts,
.dea-ts * {
  box-sizing: border-box;
}

.dea-ts[hidden],
.dea-ts [hidden] {
  display: none !important;
}

.dea-ts {
  --dea-pink: #e30075;
  --dea-pink-dark: #b9005f;
  --dea-pink-soft: #fff1f8;
  --dea-navy: #263548;
  --dea-navy-deep: #1d2938;
  --dea-text: #334155;
  --dea-muted: #64748b;
  --dea-border: #dfe5ec;
  --dea-surface: #ffffff;
  --dea-surface-soft: #f7f9fc;
  width: min(100%, 980px);
  margin: 42px auto;
  overflow: hidden;
  color: var(--dea-text);
  background: var(--dea-surface);
  border: 1px solid var(--dea-border);
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(29, 41, 56, 0.12);
  font-family: Inter, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  scroll-margin-top: 28px;
}

.dea-ts button,
.dea-ts input,
.dea-ts select,
.dea-ts textarea {
  font: inherit;
}

.dea-ts__accent {
  height: 8px;
  background: var(--dea-pink);
}

.dea-ts__header {
  position: relative;
  padding: 42px 48px 38px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 16%, rgba(227, 0, 117, 0.32), transparent 31%),
    linear-gradient(135deg, var(--dea-navy-deep), var(--dea-navy));
}

.dea-ts__header::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 310px;
  height: 310px;
  content: "";
  border: 42px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
}

.dea-ts__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 9px;
  color: var(--dea-pink);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.dea-ts__header .dea-ts__eyebrow {
  color: #ff55ac;
}

.dea-ts__header h2 {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-family: Roboto, Inter, sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.dea-ts__progress-wrap {
  padding: 20px 48px 0;
  background: #fff;
}

.dea-ts__progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--dea-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.dea-ts__progress {
  height: 7px;
  overflow: hidden;
  background: #e9edf3;
  border-radius: 999px;
}

.dea-ts__progress-bar {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--dea-pink);
  border-radius: inherit;
  transition: width 280ms ease;
}

.dea-ts__body {
  padding: 42px 48px 48px;
}

.dea-ts__step {
  display: none;
  animation: dea-ts-fade 240ms ease both;
}

.dea-ts__step.is-active {
  display: block;
}

@keyframes dea-ts-fade {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dea-ts h3,
.dea-ts legend {
  color: var(--dea-navy-deep);
  font-family: Roboto, Inter, sans-serif;
  font-size: clamp(27px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.dea-ts h3 {
  margin: 0 0 16px;
}

.dea-ts p {
  margin: 0 0 17px;
}

.dea-ts__intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, 0.8fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 28px;
}

.dea-ts__promise {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--dea-surface-soft);
  border: 1px solid var(--dea-border);
  border-radius: 16px;
}

.dea-ts__promise-icon {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--dea-pink);
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
  place-items: center;
}

.dea-ts__promise strong {
  display: block;
  margin-bottom: 3px;
  color: var(--dea-navy-deep);
}

.dea-ts__promise p {
  margin: 0;
  color: var(--dea-muted);
  font-size: 14px;
  line-height: 1.5;
}

.dea-ts fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.dea-ts legend {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 8px;
  outline: none;
}

.dea-ts__hint {
  color: var(--dea-muted);
  font-size: 15px;
}

.dea-ts__selected-name-label {
  margin: 0 0 7px;
  color: var(--dea-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dea-ts__selected-name {
  display: inline-flex;
  padding: 9px 16px;
  margin: 0 0 24px;
  color: #fff;
  background: var(--dea-pink);
  border-radius: 999px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.dea-ts__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 26px 0 10px;
}

.dea-ts__choice {
  position: relative;
  display: flex;
  min-height: 142px;
  padding: 23px 50px 22px 22px;
  cursor: pointer;
  background: #fff;
  border: 2px solid var(--dea-border);
  border-radius: 17px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.025);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.dea-ts__choice:hover {
  border-color: #f06cab;
  box-shadow: 0 10px 24px rgba(227, 0, 117, 0.1);
  transform: translateY(-2px);
}

.dea-ts__choice.is-selected {
  background: var(--dea-pink-soft);
  border-color: var(--dea-pink);
  box-shadow: 0 0 0 3px rgba(227, 0, 117, 0.1);
}

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

.dea-ts__choice:focus-within {
  outline: 3px solid rgba(227, 0, 117, 0.28);
  outline-offset: 3px;
}

.dea-ts__choice-check {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 27px;
  height: 27px;
  color: transparent;
  background: #fff;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  place-items: center;
}

.dea-ts__choice.is-selected .dea-ts__choice-check {
  color: #fff;
  background: var(--dea-pink);
  border-color: var(--dea-pink);
}

.dea-ts__choice-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.dea-ts__choice-content strong {
  display: block;
  margin-bottom: 9px;
  color: var(--dea-navy-deep);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.dea-ts__tagline {
  display: block;
  color: var(--dea-muted);
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-line;
}

.dea-ts__choice--tagline {
  min-height: 104px;
}

.dea-ts__choice--tagline .dea-ts__choice-content strong {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.35;
}

.dea-ts__error,
.dea-ts__submit-error {
  padding: 10px 13px;
  margin: 14px 0 0;
  color: #9f1239;
  background: #fff1f2;
  border-left: 4px solid #e11d48;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
}

.dea-ts__navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
}

.dea-ts__button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 13px 25px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.dea-ts__button:hover {
  transform: translateY(-1px);
}

.dea-ts__button:focus-visible {
  outline: 3px solid rgba(227, 0, 117, 0.28);
  outline-offset: 3px;
}

.dea-ts__button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.dea-ts__button--primary {
  color: #fff;
  background: var(--dea-pink);
  box-shadow: 0 9px 20px rgba(227, 0, 117, 0.2);
}

.dea-ts__button--primary:hover {
  color: #fff;
  background: var(--dea-pink-dark);
}

.dea-ts__button--secondary {
  color: var(--dea-navy-deep);
  background: #fff;
  border-color: #cbd5e1;
}

.dea-ts__button--secondary:hover {
  color: var(--dea-pink-dark);
  border-color: var(--dea-pink);
}

.dea-ts__field {
  margin-top: 24px;
}

.dea-ts__field label {
  display: block;
  margin-bottom: 7px;
  color: var(--dea-navy-deep);
  font-weight: 800;
}

.dea-ts__field label span {
  color: var(--dea-muted);
  font-size: 13px;
  font-weight: 500;
}

.dea-ts__field select,
.dea-ts__field textarea {
  width: 100%;
  color: var(--dea-text);
  background: #fff;
  border: 2px solid var(--dea-border);
  border-radius: 12px;
  outline: none;
}

.dea-ts__field select {
  min-height: 52px;
  padding: 10px 42px 10px 14px;
}

.dea-ts__field textarea {
  display: block;
  min-height: 125px;
  padding: 13px 14px;
  resize: vertical;
}

.dea-ts__field select:focus,
.dea-ts__field textarea:focus {
  border-color: var(--dea-pink);
  box-shadow: 0 0 0 3px rgba(227, 0, 117, 0.1);
}

.dea-ts__privacy-note {
  margin-top: 7px !important;
  color: var(--dea-muted);
  font-size: 12px;
}

.dea-ts__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.dea-ts__step--thanks {
  max-width: 650px;
  padding: 12px 0 8px;
  text-align: center;
  margin-inline: auto;
}

.dea-ts__thanks-icon {
  display: grid;
  width: 78px;
  height: 78px;
  margin: 0 auto 20px;
  color: #fff;
  background: var(--dea-pink);
  border-radius: 50%;
  box-shadow: 0 13px 30px rgba(227, 0, 117, 0.23);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  place-items: center;
}

.dea-ts__step--thanks .dea-ts__eyebrow {
  margin-bottom: 8px;
}

.dea-ts__step--thanks p:last-child {
  color: var(--dea-muted);
}

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

@media (max-width: 760px) {
  .dea-ts {
    margin: 24px auto;
    border-radius: 18px;
  }

  .dea-ts__header {
    padding: 32px 24px 30px;
  }

  .dea-ts__header h2 {
    font-size: 34px;
  }

  .dea-ts__progress-wrap {
    padding: 17px 22px 0;
  }

  .dea-ts__body {
    padding: 30px 22px 34px;
  }

  .dea-ts__intro-grid,
  .dea-ts__choices {
    grid-template-columns: 1fr;
  }

  .dea-ts__intro-grid {
    gap: 12px;
  }

  .dea-ts__choice {
    min-height: 120px;
  }
}

@media (max-width: 430px) {
  .dea-ts {
    font-size: 16px;
  }

  .dea-ts__header h2 {
    font-size: 30px;
  }

  .dea-ts h3,
  .dea-ts legend {
    font-size: 27px;
  }

  .dea-ts__navigation {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .dea-ts__button {
    width: 100%;
  }

  .dea-ts__choice-content strong {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dea-ts *,
  .dea-ts *::before,
  .dea-ts *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
