:root {
  --wise-blue: #0d05ec;
  --wise-blue-dark: #0902b8;
  --wise-graphite: #111827;
  --wise-mist: #f4f7fb;
  --wise-white: #ffffff;
  --wise-yellow: #ffe066;
  --wise-radius-lg: 32px;
  --wise-radius-md: 16px;
  --wise-shadow: none;
  --wise-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wise-form-shell,
.wise-form-shell * {
  box-sizing: border-box;
}

.wise-form-shell {
  width: min(100%, 680px);
  margin: 40px auto;
  background: var(--wise-white);
  border: 1px solid #e7edf7;
  border-radius: 36px;
  box-shadow: none;
  overflow: hidden;
  font-family: Montserrat, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--wise-graphite);
}

.wise-form-shell-single {
  display: block;
}

.wise-form-panel {
  padding: 44px;
}

.wise-form-top {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.wise-logo {
  display: block;
  max-width: 180px;
  max-height: 70px;
  width: auto;
  height: auto;
}

.wise-logo-placeholder {
  display: inline-grid;
  place-items: center;
  height: 58px;
  min-width: 110px;
  padding: 0 18px;
  border-radius: 18px;
  background: var(--wise-blue);
  color: white;
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: none;
}

.wise-form-panel h3 {
  font-family: Juturu, Montserrat, Inter, system-ui, sans-serif;
  letter-spacing: -0.05em;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 0.96;
  margin: 0;
}

.wise-progress {
  height: 8px;
  background: var(--wise-mist);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 28px;
}

.wise-progress-fill {
  height: 100%;
  width: 25%;
  background: var(--wise-blue);
  border-radius: inherit;
  transition: width 320ms var(--wise-ease);
}

.wise-step {
  display: none;
  animation: wiseEnter 360ms var(--wise-ease) both;
}

.wise-step.is-active {
  display: grid;
  gap: 16px;
}

@keyframes wiseEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wise-step-count {
  color: var(--wise-blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

.wise-intro {
  color: #5d6677;
  line-height: 1.55;
  margin: 0 0 10px;
}

.wise-step label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 750;
}

.wise-step input,
.wise-step select,
.wise-step textarea {
  width: 100%;
  border: 1px solid #dde5f1;
  background: #fbfcff;
  border-radius: var(--wise-radius-md);
  padding: 15px 16px;
  font: inherit;
  color: var(--wise-graphite);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.wise-step textarea {
  min-height: 120px;
  resize: vertical;
}

.wise-step input:focus,
.wise-step select:focus,
.wise-step textarea:focus {
  border-color: var(--wise-blue);
  background: white;
  box-shadow: none;
}

.wise-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  color: #5d6677;
  line-height: 1.45;
  font-weight: 500 !important;
}

.wise-consent input {
  width: auto;
  margin-top: 4px;
}

.wise-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
}

.wise-btn {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  border-radius: 999px;
  padding: 15px 24px;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.wise-btn:active {
  transform: scale(0.98);
}

.wise-btn-primary {
  background: var(--wise-blue);
  color: white;
}

.wise-btn-primary:hover {
  background: var(--wise-blue-dark);
}

.wise-btn-primary:disabled {
  opacity: 0.72;
  cursor: wait;
}

.wise-btn-secondary {
  background: var(--wise-mist);
  color: var(--wise-graphite);
}

.wise-btn-secondary:disabled {
  opacity: 0;
  pointer-events: none;
}

.wise-form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.wise-form-status.is-success {
  display: block;
  background: rgba(13, 5, 236, 0.08);
  color: var(--wise-blue-dark);
}

.wise-form-status.is-error {
  display: block;
  background: #fff1f1;
  color: #a30000;
}

.wise-hp {
  display: none !important;
}

@media (max-width: 780px) {
  .wise-form-shell {
    width: 100%;
    border-radius: 28px;
    margin: 24px auto;
  }

  .wise-form-panel {
    padding: 30px;
  }

  .wise-form-top {
    justify-content: flex-start;
  }
}
