.sl-form-shell {
  border: 1px solid var(--sl-line, #d8d3c9);
  border-radius: var(--sl-radius-lg, 2rem);
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 26, 28, 0.1);
  padding: clamp(1.25rem, 4vw, 3rem);
}

.sl-form-alert {
  margin-bottom: 1.5rem;
  border: 1px solid #a72c20;
  border-radius: 0.8rem;
  background: #fff4f1;
  color: #6f1912;
  padding: 1rem 1.1rem;
}

.sl-form-alert p {
  margin: 0.25rem 0 0;
}

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

.sl-field {
  min-width: 0;
}

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

.sl-field label,
.sl-consent label {
  display: block;
  margin-bottom: 0.45rem;
  color: #25292b;
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.35;
}

.sl-field label span {
  float: right;
  color: #6b7275;
  font-size: 0.74rem;
  font-weight: 600;
}

.sl-field input,
.sl-field select,
.sl-field textarea {
  width: 100%;
  min-height: 3.35rem;
  border: 1px solid #b7b4ad;
  border-radius: 0.75rem;
  background: #fff;
  color: #171a1c;
  font: inherit;
  line-height: 1.4;
  padding: 0.78rem 0.9rem;
}

.sl-field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.sl-field input:hover,
.sl-field select:hover,
.sl-field textarea:hover {
  border-color: #676c6e;
}

.sl-field input:focus,
.sl-field select:focus,
.sl-field textarea:focus {
  border-color: #171a1c;
  outline: 3px solid var(--sl-signal-dark, #205a9e);
  outline-offset: 1px;
}

.sl-field-help,
.sl-form-note {
  margin: 0.4rem 0 0;
  color: #646b6e;
  font-size: 0.78rem;
  line-height: 1.45;
}

.sl-field-error {
  display: none;
  margin: 0.38rem 0 0;
  color: #8c2118;
  font-size: 0.78rem;
  font-weight: 680;
}

.sl-field.has-error .sl-field-error,
.sl-consent.has-error + .sl-consent-error,
.sl-field [aria-invalid="true"] ~ .sl-field-error {
  display: block;
}

.sl-field.has-error input,
.sl-field.has-error select,
.sl-field.has-error textarea,
.sl-field [aria-invalid="true"] {
  border-color: #a72c20;
}

.sl-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin: 1.5rem 0 0.4rem;
}

.sl-consent input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  accent-color: #171a1c;
}

.sl-consent label {
  margin: 0;
  font-weight: 580;
}

.sl-submit {
  min-height: 3.3rem;
  margin-top: 1.4rem;
  border: 1px solid #171a1c;
  border-radius: 999px;
  background: #171a1c;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0.9rem 1.5rem;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.sl-submit:hover {
  transform: translateY(-2px);
  background: var(--sl-signal, #c7dfff);
  color: #171a1c;
}

.sl-submit[aria-busy="true"] {
  cursor: wait;
  opacity: 0.75;
}

.sl-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.sl-thank-you {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) 0;
  text-align: center;
}

.sl-thank-you__mark {
  display: inline-flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: var(--sl-signal, #c7dfff);
  color: #171a1c;
  font-size: 1.8rem;
  font-weight: 900;
}

.sl-thank-you h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.sl-thank-you p {
  font-size: 1.1rem;
}

.sl-thank-you .sl-button {
  margin-top: 1rem;
}

@media (max-width: 680px) {
  .sl-form-grid {
    grid-template-columns: 1fr;
  }

  .sl-field--full {
    grid-column: auto;
  }

  .sl-submit {
    width: 100%;
  }
}
